primevue 3.26.1 → 3.28.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/README.md +5 -9
- package/accordion/Accordion.d.ts +46 -2
- package/accordion/Accordion.vue +29 -13
- package/accordion/accordion.cjs.js +60 -33
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.js +58 -34
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +59 -35
- package/accordion/accordion.min.js +1 -1
- package/accordiontab/AccordionTab.d.ts +76 -1
- package/accordiontab/AccordionTab.vue +3 -0
- package/accordiontab/accordiontab.cjs.js +6 -0
- package/accordiontab/accordiontab.cjs.min.js +1 -1
- package/accordiontab/accordiontab.esm.js +2 -0
- package/accordiontab/accordiontab.esm.min.js +1 -1
- package/accordiontab/accordiontab.js +7 -2
- package/accordiontab/accordiontab.min.js +1 -1
- package/autocomplete/AutoComplete.d.ts +24 -3
- package/autocomplete/AutoComplete.vue +25 -10
- package/autocomplete/autocomplete.cjs.js +65 -36
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +63 -37
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +64 -38
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/Avatar.d.ts +49 -0
- package/avatar/Avatar.vue +8 -7
- package/avatar/avatar.cjs.js +31 -24
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.js +28 -25
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +32 -26
- package/avatar/avatar.min.js +1 -1
- package/avatargroup/AvatarGroup.d.ts +27 -1
- package/avatargroup/AvatarGroup.vue +5 -2
- package/avatargroup/avatargroup.cjs.js +9 -5
- package/avatargroup/avatargroup.cjs.min.js +1 -1
- package/avatargroup/avatargroup.esm.js +6 -6
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.js +10 -7
- package/avatargroup/avatargroup.min.js +1 -1
- package/badge/Badge.d.ts +32 -0
- package/badge/Badge.vue +3 -1
- package/badge/badge.cjs.js +8 -4
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.esm.js +5 -5
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +9 -6
- package/badge/badge.min.js +1 -1
- package/basecomponent/BaseComponent.vue +33 -0
- package/basecomponent/basecomponent.cjs.js +35 -0
- package/basecomponent/basecomponent.cjs.min.js +1 -0
- package/basecomponent/basecomponent.esm.js +33 -0
- package/basecomponent/basecomponent.esm.min.js +1 -0
- package/basecomponent/basecomponent.js +37 -0
- package/basecomponent/basecomponent.min.js +1 -0
- package/basecomponent/package.json +8 -0
- package/baseicon/BaseIcon.vue +66 -0
- package/baseicon/baseicon.cjs.js +66 -0
- package/baseicon/baseicon.cjs.min.js +1 -0
- package/baseicon/baseicon.esm.js +64 -0
- package/baseicon/baseicon.esm.min.js +1 -0
- package/baseicon/baseicon.js +68 -0
- package/baseicon/baseicon.min.js +1 -0
- package/baseicon/package.json +8 -0
- package/blockui/BlockUI.d.ts +44 -0
- package/blockui/BlockUI.vue +3 -1
- package/blockui/blockui.cjs.js +9 -3
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +6 -4
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +10 -5
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/Breadcrumb.d.ts +78 -0
- package/breadcrumb/Breadcrumb.vue +13 -7
- package/breadcrumb/BreadcrumbItem.vue +17 -16
- package/breadcrumb/breadcrumb.cjs.js +82 -69
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +78 -70
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +82 -71
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/Button.d.ts +68 -1
- package/button/Button.vue +25 -9
- package/button/button.cjs.js +50 -22
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +49 -23
- package/button/button.esm.min.js +1 -1
- package/button/button.js +50 -24
- package/button/button.min.js +1 -1
- package/calendar/Calendar.d.ts +25 -5
- package/calendar/Calendar.vue +56 -23
- package/calendar/calendar.cjs.js +84 -43
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +80 -44
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +81 -45
- package/calendar/calendar.min.js +1 -1
- package/card/Card.d.ts +51 -1
- package/card/Card.vue +15 -14
- package/card/card.cjs.js +33 -65
- package/card/card.cjs.min.js +1 -1
- package/card/card.esm.js +30 -66
- package/card/card.esm.min.js +1 -1
- package/card/card.js +34 -67
- package/card/card.min.js +1 -1
- package/carousel/Carousel.d.ts +8 -0
- package/carousel/Carousel.vue +16 -2
- package/carousel/carousel.cjs.js +20 -6
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +17 -7
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +18 -8
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/CascadeSelect.d.ts +16 -3
- package/cascadeselect/CascadeSelect.vue +16 -9
- package/cascadeselect/CascadeSelectSub.vue +10 -1
- package/cascadeselect/cascadeselect.cjs.js +46 -14
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +43 -14
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +45 -16
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/chart/Chart.d.ts +36 -0
- package/chart/Chart.vue +5 -2
- package/chart/chart.cjs.js +10 -5
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +7 -6
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +11 -7
- package/chart/chart.min.js +1 -1
- package/checkbox/Checkbox.d.ts +13 -2
- package/checkbox/Checkbox.vue +7 -1
- package/checkbox/checkbox.cjs.js +11 -3
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +8 -4
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +12 -5
- package/checkbox/checkbox.min.js +1 -1
- package/chip/Chip.d.ts +80 -1
- package/chip/Chip.vue +16 -12
- package/chip/chip.cjs.js +43 -29
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.esm.js +39 -30
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +43 -31
- package/chip/chip.min.js +1 -1
- package/chips/Chips.d.ts +12 -1
- package/chips/Chips.vue +8 -2
- package/chips/chips.cjs.js +22 -11
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +19 -12
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +23 -13
- package/chips/chips.min.js +1 -1
- package/column/Column.d.ts +77 -1
- package/column/Column.vue +1 -1
- package/column/column.cjs.js +1 -1
- package/column/column.cjs.min.js +1 -1
- package/column/column.esm.js +1 -1
- package/column/column.esm.min.js +1 -1
- package/column/column.js +1 -1
- package/column/column.min.js +1 -1
- package/config/PrimeVue.d.ts +8 -0
- package/config/config.cjs.js +3 -1
- package/config/config.cjs.min.js +1 -1
- package/config/config.esm.js +3 -2
- package/config/config.esm.min.js +1 -1
- package/config/config.js +3 -1
- package/config/config.min.js +1 -1
- package/confirmdialog/ConfirmDialog.d.ts +111 -1
- package/confirmdialog/ConfirmDialog.vue +22 -4
- package/confirmdialog/confirmdialog.cjs.js +47 -18
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +47 -19
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +48 -20
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/ConfirmPopup.d.ts +98 -1
- package/confirmpopup/ConfirmPopup.vue +24 -7
- package/confirmpopup/confirmpopup.cjs.js +51 -23
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +51 -24
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +52 -25
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/ContextMenu.d.ts +158 -0
- package/contextmenu/ContextMenu.vue +5 -2
- package/contextmenu/ContextMenuSub.vue +60 -15
- package/contextmenu/contextmenu.cjs.js +93 -57
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +92 -58
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +93 -59
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +2825 -424
- package/core/core.min.js +108 -14
- package/datatable/BodyCell.vue +44 -13
- package/datatable/ColumnFilter.vue +59 -17
- package/datatable/DataTable.d.ts +41 -3
- package/datatable/DataTable.vue +46 -10
- package/datatable/FooterCell.vue +1 -1
- package/datatable/HeaderCell.vue +36 -15
- package/datatable/HeaderCheckbox.vue +11 -2
- package/datatable/RowCheckbox.vue +11 -2
- package/datatable/TableBody.vue +15 -13
- package/datatable/TableFooter.vue +1 -1
- package/datatable/TableHeader.vue +10 -0
- package/datatable/datatable.cjs.js +424 -139
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +409 -140
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +410 -141
- package/datatable/datatable.min.js +1 -1
- package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +12 -2
- package/dataviewlayoutoptions/DataViewLayoutOptions.vue +13 -2
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.js +25 -11
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +21 -12
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.js +25 -13
- package/dataviewlayoutoptions/dataviewlayoutoptions.min.js +1 -1
- package/deferredcontent/DeferredContent.d.ts +49 -1
- package/deferredcontent/DeferredContent.vue +4 -1
- package/deferredcontent/deferredcontent.cjs.js +8 -4
- package/deferredcontent/deferredcontent.cjs.min.js +1 -1
- package/deferredcontent/deferredcontent.esm.js +5 -5
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +9 -6
- package/deferredcontent/deferredcontent.min.js +1 -1
- package/dialog/Dialog.d.ts +105 -4
- package/dialog/Dialog.vue +43 -21
- package/dialog/dialog.cjs.js +54 -41
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +51 -42
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +52 -43
- package/dialog/dialog.min.js +1 -1
- package/divider/Divider.d.ts +36 -0
- package/divider/Divider.vue +5 -2
- package/divider/divider.cjs.js +15 -10
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.esm.js +12 -11
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +16 -12
- package/divider/divider.min.js +1 -1
- package/dock/Dock.d.ts +94 -0
- package/dock/Dock.vue +4 -2
- package/dock/DockSub.vue +30 -6
- package/dock/dock.cjs.js +52 -39
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +52 -40
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +53 -41
- package/dock/dock.min.js +1 -1
- package/dropdown/Dropdown.d.ts +40 -4
- package/dropdown/Dropdown.vue +26 -13
- package/dropdown/dropdown.cjs.js +68 -31
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +65 -32
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +66 -33
- package/dropdown/dropdown.min.js +1 -1
- package/dynamicdialog/DynamicDialog.vue +3 -1
- package/dynamicdialog/dynamicdialog.cjs.js +5 -1
- package/dynamicdialog/dynamicdialog.cjs.min.js +1 -1
- package/dynamicdialog/dynamicdialog.esm.js +4 -1
- package/dynamicdialog/dynamicdialog.esm.min.js +1 -1
- package/dynamicdialog/dynamicdialog.js +6 -3
- package/dynamicdialog/dynamicdialog.min.js +1 -1
- package/fieldset/Fieldset.d.ts +73 -0
- package/fieldset/Fieldset.vue +18 -17
- package/fieldset/fieldset.cjs.js +33 -34
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +31 -35
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +32 -36
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/FileContent.vue +22 -9
- package/fileupload/FileUpload.d.ts +182 -3
- package/fileupload/FileUpload.vue +52 -31
- package/fileupload/fileupload.cjs.js +163 -100
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +160 -101
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +161 -102
- package/fileupload/fileupload.min.js +1 -1
- package/galleria/Galleria.d.ts +20 -0
- package/galleria/Galleria.vue +2 -2
- package/galleria/GalleriaContent.vue +7 -2
- package/galleria/GalleriaItem.vue +8 -2
- package/galleria/GalleriaThumbnails.vue +12 -20
- package/galleria/galleria.cjs.js +60 -64
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +56 -65
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +57 -66
- package/galleria/galleria.min.js +1 -1
- package/icons/angledoubledown/index.cjs.js +37 -0
- package/icons/angledoubledown/index.cjs.min.js +1 -0
- package/icons/angledoubledown/index.d.ts +12 -0
- package/icons/angledoubledown/index.esm.js +31 -0
- package/icons/angledoubledown/index.esm.min.js +1 -0
- package/icons/angledoubledown/index.js +39 -0
- package/icons/angledoubledown/index.min.js +1 -0
- package/icons/angledoubledown/index.vue +18 -0
- package/icons/angledoubledown/package.json +9 -0
- package/icons/angledoubleleft/index.cjs.js +37 -0
- package/icons/angledoubleleft/index.cjs.min.js +1 -0
- package/icons/angledoubleleft/index.d.ts +12 -0
- package/icons/angledoubleleft/index.esm.js +31 -0
- package/icons/angledoubleleft/index.esm.min.js +1 -0
- package/icons/angledoubleleft/index.js +39 -0
- package/icons/angledoubleleft/index.min.js +1 -0
- package/icons/angledoubleleft/index.vue +18 -0
- package/icons/angledoubleleft/package.json +9 -0
- package/icons/angledoubleright/index.cjs.js +37 -0
- package/icons/angledoubleright/index.cjs.min.js +1 -0
- package/icons/angledoubleright/index.d.ts +12 -0
- package/icons/angledoubleright/index.esm.js +31 -0
- package/icons/angledoubleright/index.esm.min.js +1 -0
- package/icons/angledoubleright/index.js +39 -0
- package/icons/angledoubleright/index.min.js +1 -0
- package/icons/angledoubleright/index.vue +18 -0
- package/icons/angledoubleright/package.json +9 -0
- package/icons/angledoubleup/index.cjs.js +37 -0
- package/icons/angledoubleup/index.cjs.min.js +1 -0
- package/icons/angledoubleup/index.d.ts +12 -0
- package/icons/angledoubleup/index.esm.js +31 -0
- package/icons/angledoubleup/index.esm.min.js +1 -0
- package/icons/angledoubleup/index.js +39 -0
- package/icons/angledoubleup/index.min.js +1 -0
- package/icons/angledoubleup/index.vue +18 -0
- package/icons/angledoubleup/package.json +9 -0
- package/icons/angledown/index.cjs.js +35 -0
- package/icons/angledown/index.cjs.min.js +1 -0
- package/icons/angledown/index.d.ts +12 -0
- package/icons/angledown/index.esm.js +29 -0
- package/icons/angledown/index.esm.min.js +1 -0
- package/icons/angledown/index.js +37 -0
- package/icons/angledown/index.min.js +1 -0
- package/icons/angledown/index.vue +16 -0
- package/icons/angledown/package.json +9 -0
- package/icons/angleleft/index.cjs.js +35 -0
- package/icons/angleleft/index.cjs.min.js +1 -0
- package/icons/angleleft/index.d.ts +12 -0
- package/icons/angleleft/index.esm.js +29 -0
- package/icons/angleleft/index.esm.min.js +1 -0
- package/icons/angleleft/index.js +37 -0
- package/icons/angleleft/index.min.js +1 -0
- package/icons/angleleft/index.vue +16 -0
- package/icons/angleleft/package.json +9 -0
- package/icons/angleright/index.cjs.js +35 -0
- package/icons/angleright/index.cjs.min.js +1 -0
- package/icons/angleright/index.d.ts +12 -0
- package/icons/angleright/index.esm.js +29 -0
- package/icons/angleright/index.esm.min.js +1 -0
- package/icons/angleright/index.js +37 -0
- package/icons/angleright/index.min.js +1 -0
- package/icons/angleright/index.vue +16 -0
- package/icons/angleright/package.json +9 -0
- package/icons/angleup/index.cjs.js +35 -0
- package/icons/angleup/index.cjs.min.js +1 -0
- package/icons/angleup/index.d.ts +12 -0
- package/icons/angleup/index.esm.js +29 -0
- package/icons/angleup/index.esm.min.js +1 -0
- package/icons/angleup/index.js +37 -0
- package/icons/angleup/index.min.js +1 -0
- package/icons/angleup/index.vue +16 -0
- package/icons/angleup/package.json +9 -0
- package/icons/arrowdown/index.cjs.js +49 -0
- package/icons/arrowdown/index.cjs.min.js +1 -0
- package/icons/arrowdown/index.d.ts +12 -0
- package/icons/arrowdown/index.esm.js +43 -0
- package/icons/arrowdown/index.esm.min.js +1 -0
- package/icons/arrowdown/index.js +51 -0
- package/icons/arrowdown/index.min.js +1 -0
- package/icons/arrowdown/index.vue +25 -0
- package/icons/arrowdown/package.json +9 -0
- package/icons/arrowup/index.cjs.js +49 -0
- package/icons/arrowup/index.cjs.min.js +1 -0
- package/icons/arrowup/index.d.ts +12 -0
- package/icons/arrowup/index.esm.js +43 -0
- package/icons/arrowup/index.esm.min.js +1 -0
- package/icons/arrowup/index.js +51 -0
- package/icons/arrowup/index.min.js +1 -0
- package/icons/arrowup/index.vue +25 -0
- package/icons/arrowup/package.json +9 -0
- package/icons/ban/index.cjs.js +47 -0
- package/icons/ban/index.cjs.min.js +1 -0
- package/icons/ban/index.d.ts +12 -0
- package/icons/ban/index.esm.js +41 -0
- package/icons/ban/index.esm.min.js +1 -0
- package/icons/ban/index.js +49 -0
- package/icons/ban/index.min.js +1 -0
- package/icons/ban/index.vue +23 -0
- package/icons/ban/package.json +9 -0
- package/icons/bars/index.cjs.js +37 -0
- package/icons/bars/index.cjs.min.js +1 -0
- package/icons/bars/index.d.ts +12 -0
- package/icons/bars/index.esm.js +31 -0
- package/icons/bars/index.esm.min.js +1 -0
- package/icons/bars/index.js +39 -0
- package/icons/bars/index.min.js +1 -0
- package/icons/bars/index.vue +18 -0
- package/icons/bars/package.json +9 -0
- package/icons/calendar/index.cjs.js +35 -0
- package/icons/calendar/index.cjs.min.js +1 -0
- package/icons/calendar/index.d.ts +12 -0
- package/icons/calendar/index.esm.js +29 -0
- package/icons/calendar/index.esm.min.js +1 -0
- package/icons/calendar/index.js +37 -0
- package/icons/calendar/index.min.js +1 -0
- package/icons/calendar/index.vue +16 -0
- package/icons/calendar/package.json +9 -0
- package/icons/check/index.cjs.js +35 -0
- package/icons/check/index.cjs.min.js +1 -0
- package/icons/check/index.d.ts +12 -0
- package/icons/check/index.esm.js +29 -0
- package/icons/check/index.esm.min.js +1 -0
- package/icons/check/index.js +37 -0
- package/icons/check/index.min.js +1 -0
- package/icons/check/index.vue +16 -0
- package/icons/check/package.json +9 -0
- package/icons/chevrondown/index.cjs.js +35 -0
- package/icons/chevrondown/index.cjs.min.js +1 -0
- package/icons/chevrondown/index.d.ts +12 -0
- package/icons/chevrondown/index.esm.js +29 -0
- package/icons/chevrondown/index.esm.min.js +1 -0
- package/icons/chevrondown/index.js +37 -0
- package/icons/chevrondown/index.min.js +1 -0
- package/icons/chevrondown/index.vue +16 -0
- package/icons/chevrondown/package.json +9 -0
- package/icons/chevronleft/index.cjs.js +35 -0
- package/icons/chevronleft/index.cjs.min.js +1 -0
- package/icons/chevronleft/index.d.ts +12 -0
- package/icons/chevronleft/index.esm.js +29 -0
- package/icons/chevronleft/index.esm.min.js +1 -0
- package/icons/chevronleft/index.js +37 -0
- package/icons/chevronleft/index.min.js +1 -0
- package/icons/chevronleft/index.vue +16 -0
- package/icons/chevronleft/package.json +9 -0
- package/icons/chevronright/index.cjs.js +35 -0
- package/icons/chevronright/index.cjs.min.js +1 -0
- package/icons/chevronright/index.d.ts +12 -0
- package/icons/chevronright/index.esm.js +29 -0
- package/icons/chevronright/index.esm.min.js +1 -0
- package/icons/chevronright/index.js +37 -0
- package/icons/chevronright/index.min.js +1 -0
- package/icons/chevronright/index.vue +16 -0
- package/icons/chevronright/package.json +9 -0
- package/icons/chevronup/index.cjs.js +35 -0
- package/icons/chevronup/index.cjs.min.js +1 -0
- package/icons/chevronup/index.d.ts +12 -0
- package/icons/chevronup/index.esm.js +29 -0
- package/icons/chevronup/index.esm.min.js +1 -0
- package/icons/chevronup/index.js +37 -0
- package/icons/chevronup/index.min.js +1 -0
- package/icons/chevronup/index.vue +16 -0
- package/icons/chevronup/package.json +9 -0
- package/icons/exclamationtriangle/index.cjs.js +32 -0
- package/icons/exclamationtriangle/index.cjs.min.js +1 -0
- package/icons/exclamationtriangle/index.d.ts +12 -0
- package/icons/exclamationtriangle/index.esm.js +26 -0
- package/icons/exclamationtriangle/index.esm.min.js +1 -0
- package/icons/exclamationtriangle/index.js +34 -0
- package/icons/exclamationtriangle/index.min.js +1 -0
- package/icons/exclamationtriangle/index.vue +31 -0
- package/icons/exclamationtriangle/package.json +9 -0
- package/icons/eye/index.cjs.js +37 -0
- package/icons/eye/index.cjs.min.js +1 -0
- package/icons/eye/index.d.ts +12 -0
- package/icons/eye/index.esm.js +31 -0
- package/icons/eye/index.esm.min.js +1 -0
- package/icons/eye/index.js +39 -0
- package/icons/eye/index.min.js +1 -0
- package/icons/eye/index.vue +18 -0
- package/icons/eye/package.json +9 -0
- package/icons/eyeslash/index.cjs.js +49 -0
- package/icons/eyeslash/index.cjs.min.js +1 -0
- package/icons/eyeslash/index.d.ts +12 -0
- package/icons/eyeslash/index.esm.js +43 -0
- package/icons/eyeslash/index.esm.min.js +1 -0
- package/icons/eyeslash/index.js +51 -0
- package/icons/eyeslash/index.min.js +1 -0
- package/icons/eyeslash/index.vue +25 -0
- package/icons/eyeslash/package.json +9 -0
- package/icons/filter/index.cjs.js +47 -0
- package/icons/filter/index.cjs.min.js +1 -0
- package/icons/filter/index.d.ts +12 -0
- package/icons/filter/index.esm.js +41 -0
- package/icons/filter/index.esm.min.js +1 -0
- package/icons/filter/index.js +49 -0
- package/icons/filter/index.min.js +1 -0
- package/icons/filter/index.vue +23 -0
- package/icons/filter/package.json +9 -0
- package/icons/filterslash/index.cjs.js +49 -0
- package/icons/filterslash/index.cjs.min.js +1 -0
- package/icons/filterslash/index.d.ts +12 -0
- package/icons/filterslash/index.esm.js +43 -0
- package/icons/filterslash/index.esm.min.js +1 -0
- package/icons/filterslash/index.js +51 -0
- package/icons/filterslash/index.min.js +1 -0
- package/icons/filterslash/index.vue +25 -0
- package/icons/filterslash/package.json +9 -0
- package/icons/index.d.ts +12 -0
- package/icons/infocircle/index.cjs.js +49 -0
- package/icons/infocircle/index.cjs.min.js +1 -0
- package/icons/infocircle/index.d.ts +12 -0
- package/icons/infocircle/index.esm.js +43 -0
- package/icons/infocircle/index.esm.min.js +1 -0
- package/icons/infocircle/index.js +51 -0
- package/icons/infocircle/index.min.js +1 -0
- package/icons/infocircle/index.vue +25 -0
- package/icons/infocircle/package.json +9 -0
- package/icons/minus/index.cjs.js +35 -0
- package/icons/minus/index.cjs.min.js +1 -0
- package/icons/minus/index.d.ts +12 -0
- package/icons/minus/index.esm.js +29 -0
- package/icons/minus/index.esm.min.js +1 -0
- package/icons/minus/index.js +37 -0
- package/icons/minus/index.min.js +1 -0
- package/icons/minus/index.vue +16 -0
- package/icons/minus/package.json +9 -0
- package/icons/pencil/index.cjs.js +47 -0
- package/icons/pencil/index.cjs.min.js +1 -0
- package/icons/pencil/index.d.ts +12 -0
- package/icons/pencil/index.esm.js +41 -0
- package/icons/pencil/index.esm.min.js +1 -0
- package/icons/pencil/index.js +49 -0
- package/icons/pencil/index.min.js +1 -0
- package/icons/pencil/index.vue +23 -0
- package/icons/pencil/package.json +9 -0
- package/icons/plus/index.cjs.js +47 -0
- package/icons/plus/index.cjs.min.js +1 -0
- package/icons/plus/index.d.ts +12 -0
- package/icons/plus/index.esm.js +41 -0
- package/icons/plus/index.esm.min.js +1 -0
- package/icons/plus/index.js +49 -0
- package/icons/plus/index.min.js +1 -0
- package/icons/plus/index.vue +23 -0
- package/icons/plus/package.json +9 -0
- package/icons/refresh/index.cjs.js +49 -0
- package/icons/refresh/index.cjs.min.js +1 -0
- package/icons/refresh/index.d.ts +12 -0
- package/icons/refresh/index.esm.js +43 -0
- package/icons/refresh/index.esm.min.js +1 -0
- package/icons/refresh/index.js +51 -0
- package/icons/refresh/index.min.js +1 -0
- package/icons/refresh/index.vue +25 -0
- package/icons/refresh/package.json +9 -0
- package/icons/search/index.cjs.js +49 -0
- package/icons/search/index.cjs.min.js +1 -0
- package/icons/search/index.d.ts +12 -0
- package/icons/search/index.esm.js +43 -0
- package/icons/search/index.esm.min.js +1 -0
- package/icons/search/index.js +51 -0
- package/icons/search/index.min.js +1 -0
- package/icons/search/index.vue +25 -0
- package/icons/search/package.json +9 -0
- package/icons/searchminus/index.cjs.js +49 -0
- package/icons/searchminus/index.cjs.min.js +1 -0
- package/icons/searchminus/index.d.ts +12 -0
- package/icons/searchminus/index.esm.js +43 -0
- package/icons/searchminus/index.esm.min.js +1 -0
- package/icons/searchminus/index.js +51 -0
- package/icons/searchminus/index.min.js +1 -0
- package/icons/searchminus/index.vue +25 -0
- package/icons/searchminus/package.json +9 -0
- package/icons/searchplus/index.cjs.js +49 -0
- package/icons/searchplus/index.cjs.min.js +1 -0
- package/icons/searchplus/index.d.ts +12 -0
- package/icons/searchplus/index.esm.js +43 -0
- package/icons/searchplus/index.esm.min.js +1 -0
- package/icons/searchplus/index.js +51 -0
- package/icons/searchplus/index.min.js +1 -0
- package/icons/searchplus/index.vue +25 -0
- package/icons/searchplus/package.json +9 -0
- package/icons/sortalt/index.cjs.js +32 -0
- package/icons/sortalt/index.cjs.min.js +1 -0
- package/icons/sortalt/index.d.ts +12 -0
- package/icons/sortalt/index.esm.js +26 -0
- package/icons/sortalt/index.esm.min.js +1 -0
- package/icons/sortalt/index.js +34 -0
- package/icons/sortalt/index.min.js +1 -0
- package/icons/sortalt/index.vue +29 -0
- package/icons/sortalt/package.json +9 -0
- package/icons/sortamountdown/index.cjs.js +32 -0
- package/icons/sortamountdown/index.cjs.min.js +1 -0
- package/icons/sortamountdown/index.d.ts +12 -0
- package/icons/sortamountdown/index.esm.js +26 -0
- package/icons/sortamountdown/index.esm.min.js +1 -0
- package/icons/sortamountdown/index.js +34 -0
- package/icons/sortamountdown/index.min.js +1 -0
- package/icons/sortamountdown/index.vue +43 -0
- package/icons/sortamountdown/package.json +9 -0
- package/icons/sortamountupalt/index.cjs.js +32 -0
- package/icons/sortamountupalt/index.cjs.min.js +1 -0
- package/icons/sortamountupalt/index.d.ts +12 -0
- package/icons/sortamountupalt/index.esm.js +26 -0
- package/icons/sortamountupalt/index.esm.min.js +1 -0
- package/icons/sortamountupalt/index.js +34 -0
- package/icons/sortamountupalt/index.min.js +1 -0
- package/icons/sortamountupalt/index.vue +43 -0
- package/icons/sortamountupalt/package.json +9 -0
- package/icons/spinner/index.cjs.js +47 -0
- package/icons/spinner/index.cjs.min.js +1 -0
- package/icons/spinner/index.d.ts +12 -0
- package/icons/spinner/index.esm.js +41 -0
- package/icons/spinner/index.esm.min.js +1 -0
- package/icons/spinner/index.js +49 -0
- package/icons/spinner/index.min.js +1 -0
- package/icons/spinner/index.vue +23 -0
- package/icons/spinner/package.json +9 -0
- package/icons/star/index.cjs.js +47 -0
- package/icons/star/index.cjs.min.js +1 -0
- package/icons/star/index.d.ts +12 -0
- package/icons/star/index.esm.js +41 -0
- package/icons/star/index.esm.min.js +1 -0
- package/icons/star/index.js +49 -0
- package/icons/star/index.min.js +1 -0
- package/icons/star/index.vue +23 -0
- package/icons/star/package.json +9 -0
- package/icons/starfill/index.cjs.js +47 -0
- package/icons/starfill/index.cjs.min.js +1 -0
- package/icons/starfill/index.d.ts +12 -0
- package/icons/starfill/index.esm.js +41 -0
- package/icons/starfill/index.esm.min.js +1 -0
- package/icons/starfill/index.js +49 -0
- package/icons/starfill/index.min.js +1 -0
- package/icons/starfill/index.vue +23 -0
- package/icons/starfill/package.json +9 -0
- package/icons/thlarge/index.cjs.js +49 -0
- package/icons/thlarge/index.cjs.min.js +1 -0
- package/icons/thlarge/index.d.ts +12 -0
- package/icons/thlarge/index.esm.js +43 -0
- package/icons/thlarge/index.esm.min.js +1 -0
- package/icons/thlarge/index.js +51 -0
- package/icons/thlarge/index.min.js +1 -0
- package/icons/thlarge/index.vue +25 -0
- package/icons/thlarge/package.json +9 -0
- package/icons/times/index.cjs.js +35 -0
- package/icons/times/index.cjs.min.js +1 -0
- package/icons/times/index.d.ts +12 -0
- package/icons/times/index.esm.js +29 -0
- package/icons/times/index.esm.min.js +1 -0
- package/icons/times/index.js +37 -0
- package/icons/times/index.min.js +1 -0
- package/icons/times/index.vue +16 -0
- package/icons/times/package.json +9 -0
- package/icons/timescircle/index.cjs.js +49 -0
- package/icons/timescircle/index.cjs.min.js +1 -0
- package/icons/timescircle/index.d.ts +12 -0
- package/icons/timescircle/index.esm.js +43 -0
- package/icons/timescircle/index.esm.min.js +1 -0
- package/icons/timescircle/index.js +51 -0
- package/icons/timescircle/index.min.js +1 -0
- package/icons/timescircle/index.vue +25 -0
- package/icons/timescircle/package.json +9 -0
- package/icons/trash/index.cjs.js +49 -0
- package/icons/trash/index.cjs.min.js +1 -0
- package/icons/trash/index.d.ts +12 -0
- package/icons/trash/index.esm.js +43 -0
- package/icons/trash/index.esm.min.js +1 -0
- package/icons/trash/index.js +51 -0
- package/icons/trash/index.min.js +1 -0
- package/icons/trash/index.vue +25 -0
- package/icons/trash/package.json +9 -0
- package/icons/undo/index.cjs.js +49 -0
- package/icons/undo/index.cjs.min.js +1 -0
- package/icons/undo/index.d.ts +12 -0
- package/icons/undo/index.esm.js +43 -0
- package/icons/undo/index.esm.min.js +1 -0
- package/icons/undo/index.js +51 -0
- package/icons/undo/index.min.js +1 -0
- package/icons/undo/index.vue +25 -0
- package/icons/undo/package.json +9 -0
- package/icons/upload/index.cjs.js +49 -0
- package/icons/upload/index.cjs.min.js +1 -0
- package/icons/upload/index.d.ts +12 -0
- package/icons/upload/index.esm.js +43 -0
- package/icons/upload/index.esm.min.js +1 -0
- package/icons/upload/index.js +51 -0
- package/icons/upload/index.min.js +1 -0
- package/icons/upload/index.vue +25 -0
- package/icons/upload/package.json +9 -0
- package/icons/windowmaximize/index.cjs.js +49 -0
- package/icons/windowmaximize/index.cjs.min.js +1 -0
- package/icons/windowmaximize/index.d.ts +12 -0
- package/icons/windowmaximize/index.esm.js +43 -0
- package/icons/windowmaximize/index.esm.min.js +1 -0
- package/icons/windowmaximize/index.js +51 -0
- package/icons/windowmaximize/index.min.js +1 -0
- package/icons/windowmaximize/index.vue +25 -0
- package/icons/windowmaximize/package.json +9 -0
- package/icons/windowminimize/index.cjs.js +49 -0
- package/icons/windowminimize/index.cjs.min.js +1 -0
- package/icons/windowminimize/index.d.ts +12 -0
- package/icons/windowminimize/index.esm.js +43 -0
- package/icons/windowminimize/index.esm.min.js +1 -0
- package/icons/windowminimize/index.js +51 -0
- package/icons/windowminimize/index.min.js +1 -0
- package/icons/windowminimize/index.vue +25 -0
- package/icons/windowminimize/package.json +9 -0
- package/image/Image.d.ts +1 -1
- package/image/Image.vue +21 -13
- package/image/image.cjs.js +45 -29
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +40 -30
- package/image/image.esm.min.js +1 -1
- package/image/image.js +41 -31
- package/image/image.min.js +1 -1
- package/inlinemessage/InlineMessage.d.ts +61 -0
- package/inlinemessage/InlineMessage.vue +25 -13
- package/inlinemessage/inlinemessage.cjs.js +36 -21
- package/inlinemessage/inlinemessage.cjs.min.js +1 -1
- package/inlinemessage/inlinemessage.esm.js +29 -22
- package/inlinemessage/inlinemessage.esm.min.js +1 -1
- package/inlinemessage/inlinemessage.js +33 -23
- package/inlinemessage/inlinemessage.min.js +1 -1
- package/inplace/Inplace.d.ts +64 -1
- package/inplace/Inplace.vue +16 -6
- package/inplace/inplace.cjs.js +28 -16
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +27 -17
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +28 -18
- package/inplace/inplace.min.js +1 -1
- package/inputnumber/InputNumber.d.ts +13 -4
- package/inputnumber/InputNumber.vue +35 -7
- package/inputnumber/inputnumber.cjs.js +53 -19
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +52 -20
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +53 -21
- package/inputnumber/inputnumber.min.js +1 -1
- package/listbox/Listbox.d.ts +6 -2
- package/listbox/Listbox.vue +8 -3
- package/listbox/listbox.cjs.js +10 -5
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +10 -6
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +11 -7
- package/listbox/listbox.min.js +1 -1
- package/megamenu/MegaMenu.d.ts +172 -0
- package/megamenu/MegaMenu.vue +7 -4
- package/megamenu/MegaMenuSub.vue +58 -22
- package/megamenu/megamenu.cjs.js +119 -86
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +117 -87
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +118 -88
- package/megamenu/megamenu.min.js +1 -1
- package/menu/Menu.d.ts +127 -0
- package/menu/Menu.vue +11 -8
- package/menu/Menuitem.vue +30 -11
- package/menu/menu.cjs.js +99 -71
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +99 -72
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +100 -73
- package/menu/menu.min.js +1 -1
- package/menubar/Menubar.d.ts +177 -0
- package/menubar/Menubar.vue +14 -7
- package/menubar/MenubarSub.vue +54 -18
- package/menubar/menubar.cjs.js +116 -76
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +113 -77
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +114 -78
- package/menubar/menubar.min.js +1 -1
- package/message/Message.d.ts +83 -1
- package/message/Message.vue +36 -22
- package/message/message.cjs.js +59 -35
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +54 -36
- package/message/message.esm.min.js +1 -1
- package/message/message.js +55 -37
- package/message/message.min.js +1 -1
- package/multiselect/MultiSelect.d.ts +85 -6
- package/multiselect/MultiSelect.vue +41 -17
- package/multiselect/multiselect.cjs.js +96 -32
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +91 -33
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +92 -34
- package/multiselect/multiselect.min.js +1 -1
- package/orderlist/OrderList.d.ts +16 -0
- package/orderlist/OrderList.vue +37 -5
- package/orderlist/orderlist.cjs.js +49 -9
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +46 -10
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +47 -11
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/OrganizationChart.d.ts +10 -0
- package/organizationchart/OrganizationChartNode.vue +8 -1
- package/organizationchart/organizationchart.cjs.js +21 -3
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +16 -3
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +21 -5
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/OverlayPanel.d.ts +65 -0
- package/overlaypanel/OverlayPanel.vue +15 -5
- package/overlaypanel/overlaypanel.cjs.js +23 -11
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +22 -12
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +23 -13
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +2 -3
- package/paginator/FirstPageLink.vue +11 -1
- package/paginator/LastPageLink.vue +11 -1
- package/paginator/NextPageLink.vue +11 -1
- package/paginator/Paginator.d.ts +17 -1
- package/paginator/Paginator.vue +4 -4
- package/paginator/PrevPageLink.vue +11 -1
- package/paginator/paginator.cjs.js +70 -34
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +67 -35
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +68 -36
- package/paginator/paginator.min.js +1 -1
- package/panel/Panel.d.ts +101 -1
- package/panel/Panel.vue +22 -9
- package/panel/panel.cjs.js +44 -27
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +42 -28
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +43 -29
- package/panel/panel.min.js +1 -1
- package/panelmenu/PanelMenu.d.ts +170 -0
- package/panelmenu/PanelMenu.vue +45 -17
- package/panelmenu/PanelMenuList.vue +6 -3
- package/panelmenu/PanelMenuSub.vue +48 -19
- package/panelmenu/panelmenu.cjs.js +175 -118
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +173 -119
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +174 -120
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/Password.d.ts +20 -2
- package/password/Password.vue +13 -7
- package/password/password.cjs.js +30 -12
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +29 -13
- package/password/password.esm.min.js +1 -1
- package/password/password.js +30 -14
- package/password/password.min.js +1 -1
- package/picklist/PickList.d.ts +56 -0
- package/picklist/PickList.vue +134 -30
- package/picklist/picklist.cjs.js +166 -58
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +159 -59
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +160 -60
- package/picklist/picklist.min.js +1 -1
- package/progressbar/ProgressBar.d.ts +40 -0
- package/progressbar/ProgressBar.vue +8 -5
- package/progressbar/progressbar.cjs.js +25 -23
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +22 -24
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +26 -25
- package/progressbar/progressbar.min.js +1 -1
- package/progressspinner/ProgressSpinner.d.ts +40 -0
- package/progressspinner/ProgressSpinner.vue +6 -3
- package/progressspinner/progressspinner.cjs.js +18 -13
- package/progressspinner/progressspinner.cjs.min.js +1 -1
- package/progressspinner/progressspinner.esm.js +15 -14
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.js +19 -15
- package/progressspinner/progressspinner.min.js +1 -1
- package/rating/Rating.d.ts +3 -3
- package/rating/Rating.vue +14 -15
- package/rating/rating.cjs.js +26 -21
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +21 -22
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +25 -23
- package/rating/rating.min.js +1 -1
- package/resources/primevue.css +3 -1
- package/resources/primevue.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +80 -1
- package/resources/themes/arya-green/theme.css +80 -1
- package/resources/themes/arya-orange/theme.css +80 -1
- package/resources/themes/arya-purple/theme.css +80 -1
- package/resources/themes/bootstrap4-dark-blue/theme.css +80 -1
- package/resources/themes/bootstrap4-dark-purple/theme.css +80 -1
- package/resources/themes/bootstrap4-light-blue/theme.css +80 -1
- package/resources/themes/bootstrap4-light-purple/theme.css +80 -1
- package/resources/themes/fluent-light/theme.css +80 -1
- package/resources/themes/lara-dark-blue/theme.css +80 -1
- package/resources/themes/lara-dark-indigo/theme.css +80 -1
- package/resources/themes/lara-dark-purple/theme.css +80 -1
- package/resources/themes/lara-dark-teal/theme.css +80 -1
- package/resources/themes/lara-light-blue/theme.css +80 -1
- package/resources/themes/lara-light-indigo/theme.css +80 -1
- package/resources/themes/lara-light-purple/theme.css +80 -1
- package/resources/themes/lara-light-teal/theme.css +80 -1
- package/resources/themes/luna-amber/theme.css +80 -1
- package/resources/themes/luna-blue/theme.css +80 -1
- package/resources/themes/luna-green/theme.css +80 -1
- package/resources/themes/luna-pink/theme.css +80 -1
- package/resources/themes/md-dark-deeppurple/theme.css +83 -1
- package/resources/themes/md-dark-indigo/theme.css +83 -1
- package/resources/themes/md-light-deeppurple/theme.css +83 -1
- package/resources/themes/md-light-indigo/theme.css +83 -1
- package/resources/themes/mdc-dark-deeppurple/theme.css +83 -1
- package/resources/themes/mdc-dark-indigo/theme.css +83 -1
- package/resources/themes/mdc-light-deeppurple/theme.css +83 -1
- package/resources/themes/mdc-light-indigo/theme.css +83 -1
- package/resources/themes/mira/theme.css +80 -1
- package/resources/themes/nano/theme.css +80 -1
- package/resources/themes/nova/theme.css +80 -1
- package/resources/themes/nova-accent/theme.css +80 -1
- package/resources/themes/nova-alt/theme.css +80 -1
- package/resources/themes/nova-vue/theme.css +80 -1
- package/resources/themes/rhea/theme.css +80 -1
- package/resources/themes/saga-blue/theme.css +80 -1
- package/resources/themes/saga-green/theme.css +80 -1
- package/resources/themes/saga-orange/theme.css +80 -1
- package/resources/themes/saga-purple/theme.css +80 -1
- package/resources/themes/soho-dark/theme.css +80 -1
- package/resources/themes/soho-light/theme.css +80 -1
- package/resources/themes/tailwind-light/theme.css +80 -1
- package/resources/themes/vela-blue/theme.css +80 -1
- package/resources/themes/vela-green/theme.css +80 -1
- package/resources/themes/vela-orange/theme.css +80 -1
- package/resources/themes/vela-purple/theme.css +80 -1
- package/resources/themes/viva-dark/theme.css +80 -1
- package/resources/themes/viva-light/theme.css +80 -1
- package/scrollpanel/ScrollPanel.d.ts +74 -0
- package/scrollpanel/ScrollPanel.vue +7 -3
- package/scrollpanel/scrollpanel.cjs.js +19 -15
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +16 -16
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +20 -17
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/ScrollTop.d.ts +56 -2
- package/scrolltop/ScrollTop.vue +11 -6
- package/scrolltop/scrolltop.cjs.js +22 -12
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.js +18 -13
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +22 -14
- package/scrolltop/scrolltop.min.js +1 -1
- package/sidebar/Sidebar.d.ts +73 -1
- package/sidebar/Sidebar.vue +15 -9
- package/sidebar/sidebar.cjs.js +33 -26
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +32 -27
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +33 -28
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/Skeleton.d.ts +32 -0
- package/skeleton/Skeleton.vue +4 -1
- package/skeleton/skeleton.cjs.js +10 -4
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.esm.js +7 -5
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +11 -6
- package/skeleton/skeleton.min.js +1 -1
- package/speeddial/SpeedDial.d.ts +113 -1
- package/speeddial/SpeedDial.vue +45 -14
- package/speeddial/speeddial.cjs.js +65 -34
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +64 -35
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +65 -36
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/SplitButton.d.ts +74 -0
- package/splitbutton/SplitButton.vue +23 -7
- package/splitbutton/splitbutton.cjs.js +40 -16
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +39 -17
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +40 -18
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/Splitter.d.ts +51 -0
- package/splitter/Splitter.vue +15 -3
- package/splitter/splitter.cjs.js +16 -11
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +13 -12
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +17 -13
- package/splitter/splitter.min.js +1 -1
- package/splitterpanel/SplitterPanel.d.ts +32 -0
- package/splitterpanel/SplitterPanel.vue +4 -1
- package/splitterpanel/splitterpanel.cjs.js +10 -4
- package/splitterpanel/splitterpanel.cjs.min.js +1 -1
- package/splitterpanel/splitterpanel.esm.js +7 -5
- package/splitterpanel/splitterpanel.esm.min.js +1 -1
- package/splitterpanel/splitterpanel.js +11 -6
- package/splitterpanel/splitterpanel.min.js +1 -1
- package/steps/Steps.d.ts +52 -0
- package/steps/Steps.vue +11 -8
- package/steps/steps.cjs.js +34 -33
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +31 -34
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +35 -35
- package/steps/steps.min.js +1 -1
- package/tabmenu/TabMenu.d.ts +93 -0
- package/tabmenu/TabMenu.vue +22 -10
- package/tabmenu/tabmenu.cjs.js +61 -43
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +61 -44
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +62 -45
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabpanel/TabPanel.d.ts +52 -2
- package/tabpanel/TabPanel.vue +2 -0
- package/tabpanel/tabpanel.cjs.js +6 -0
- package/tabpanel/tabpanel.cjs.min.js +1 -1
- package/tabpanel/tabpanel.esm.js +2 -0
- package/tabpanel/tabpanel.esm.min.js +1 -1
- package/tabpanel/tabpanel.js +7 -2
- package/tabpanel/tabpanel.min.js +1 -1
- package/tabview/TabView.d.ts +108 -3
- package/tabview/TabView.vue +52 -15
- package/tabview/tabview.cjs.js +81 -60
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +79 -61
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +80 -62
- package/tabview/tabview.min.js +1 -1
- package/tag/Tag.d.ts +45 -0
- package/tag/Tag.vue +7 -3
- package/tag/tag.cjs.js +19 -12
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +16 -13
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +20 -14
- package/tag/tag.min.js +1 -1
- package/terminal/Terminal.d.ts +79 -0
- package/terminal/Terminal.vue +12 -10
- package/terminal/terminal.cjs.js +23 -28
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.js +23 -29
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +24 -30
- package/terminal/terminal.min.js +1 -1
- package/tieredmenu/TieredMenu.d.ts +153 -0
- package/tieredmenu/TieredMenu.vue +5 -2
- package/tieredmenu/TieredMenuSub.vue +52 -15
- package/tieredmenu/tieredmenu.cjs.js +88 -51
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +87 -52
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +88 -53
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/toast/Toast.d.ts +94 -6
- package/toast/Toast.vue +10 -7
- package/toast/ToastMessage.vue +35 -14
- package/toast/toast.cjs.js +66 -41
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +61 -42
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +62 -43
- package/toast/toast.min.js +1 -1
- package/togglebutton/ToggleButton.d.ts +18 -2
- package/togglebutton/ToggleButton.vue +4 -2
- package/togglebutton/togglebutton.cjs.js +12 -7
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +13 -8
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +12 -7
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/Toolbar.d.ts +44 -0
- package/toolbar/Toolbar.vue +6 -4
- package/toolbar/toolbar.cjs.js +15 -12
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.esm.js +12 -13
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +16 -14
- package/toolbar/toolbar.min.js +1 -1
- package/tree/Tree.d.ts +35 -5
- package/tree/Tree.vue +13 -7
- package/tree/TreeNode.vue +20 -9
- package/tree/tree.cjs.js +73 -25
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +68 -26
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +69 -27
- package/tree/tree.min.js +1 -1
- package/treeselect/TreeSelect.d.ts +33 -0
- package/treeselect/TreeSelect.vue +20 -6
- package/treeselect/treeselect.cjs.js +44 -11
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +44 -12
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +45 -13
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/BodyCell.vue +22 -11
- package/treetable/HeaderCell.vue +28 -13
- package/treetable/TreeTable.d.ts +42 -1
- package/treetable/TreeTable.vue +32 -6
- package/treetable/TreeTableRow.vue +6 -0
- package/treetable/treetable.cjs.js +176 -41
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +168 -41
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +170 -43
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/TriStateCheckbox.d.ts +16 -2
- package/tristatecheckbox/TriStateCheckbox.vue +16 -20
- package/tristatecheckbox/tristatecheckbox.cjs.js +23 -22
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +19 -23
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +23 -24
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/utils/Utils.d.ts +1 -0
- package/utils/utils.cjs.js +5 -0
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +5 -0
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +5 -0
- package/utils/utils.min.js +1 -1
- package/vetur-attributes.json +303 -7
- package/vetur-tags.json +137 -53
- package/virtualscroller/VirtualScroller.d.ts +4 -0
- package/virtualscroller/VirtualScroller.vue +12 -1
- package/virtualscroller/virtualscroller.cjs.js +18 -6
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +15 -7
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +19 -8
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +1725 -151
- package/fullcalendar/FullCalendar.d.ts +0 -34
- package/fullcalendar/FullCalendar.vue +0 -64
- package/fullcalendar/fullcalendar.cjs.js +0 -67
- package/fullcalendar/fullcalendar.cjs.min.js +0 -1
- package/fullcalendar/fullcalendar.esm.js +0 -65
- package/fullcalendar/fullcalendar.esm.min.js +0 -1
- package/fullcalendar/fullcalendar.js +0 -67
- package/fullcalendar/fullcalendar.min.js +0 -1
- package/fullcalendar/package.json +0 -9
package/divider/divider.js
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
this.primevue = this.primevue || {};
|
|
2
|
-
this.primevue.divider = (function (vue) {
|
|
2
|
+
this.primevue.divider = (function (BaseComponent, vue) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
6
|
+
|
|
7
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
8
|
+
|
|
5
9
|
var script = {
|
|
6
10
|
name: 'Divider',
|
|
11
|
+
extends: BaseComponent__default["default"],
|
|
7
12
|
props: {
|
|
8
13
|
align: {
|
|
9
14
|
type: String,
|
|
@@ -36,23 +41,22 @@ this.primevue.divider = (function (vue) {
|
|
|
36
41
|
};
|
|
37
42
|
|
|
38
43
|
const _hoisted_1 = ["aria-orientation"];
|
|
39
|
-
const _hoisted_2 = {
|
|
40
|
-
key: 0,
|
|
41
|
-
class: "p-divider-content"
|
|
42
|
-
};
|
|
43
44
|
|
|
44
45
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
45
|
-
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
46
|
-
class:
|
|
46
|
+
return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
47
|
+
class: $options.containerClass,
|
|
47
48
|
role: "separator",
|
|
48
49
|
"aria-orientation": $props.layout
|
|
49
|
-
}, [
|
|
50
|
+
}, _ctx.ptm('root')), [
|
|
50
51
|
(_ctx.$slots.default)
|
|
51
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
52
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
53
|
+
key: 0,
|
|
54
|
+
class: "p-divider-content"
|
|
55
|
+
}, _ctx.ptm('content')), [
|
|
52
56
|
vue.renderSlot(_ctx.$slots, "default")
|
|
53
|
-
]))
|
|
57
|
+
], 16))
|
|
54
58
|
: vue.createCommentVNode("", true)
|
|
55
|
-
],
|
|
59
|
+
], 16, _hoisted_1))
|
|
56
60
|
}
|
|
57
61
|
|
|
58
62
|
function styleInject(css, ref) {
|
|
@@ -89,4 +93,4 @@ this.primevue.divider = (function (vue) {
|
|
|
89
93
|
|
|
90
94
|
return script;
|
|
91
95
|
|
|
92
|
-
})(Vue);
|
|
96
|
+
})(primevue.basecomponent, Vue);
|
package/divider/divider.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.divider=function(e){"use strict";var
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.divider=function(e,t){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n={name:"Divider",extends:i(e).default,props:{align:{type:String,default:null},layout:{type:String,default:"horizontal"},type:{type:String,default:"solid"}},computed:{containerClass(){return["p-divider p-component","p-divider-"+this.layout,"p-divider-"+this.type,{"p-divider-left":"horizontal"===this.layout&&(!this.align||"left"===this.align)},{"p-divider-center":"horizontal"===this.layout&&"center"===this.align},{"p-divider-right":"horizontal"===this.layout&&"right"===this.align},{"p-divider-top":"vertical"===this.layout&&"top"===this.align},{"p-divider-center":"vertical"===this.layout&&(!this.align||"center"===this.align)},{"p-divider-bottom":"vertical"===this.layout&&"bottom"===this.align}]}}};const r=["aria-orientation"];return function(e,t){void 0===t&&(t={});var i=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css","top"===i&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}}("\n.p-divider-horizontal {\n display: flex;\n width: 100%;\n position: relative;\n align-items: center;\n}\n.p-divider-horizontal:before {\n position: absolute;\n display: block;\n top: 50%;\n left: 0;\n width: 100%;\n content: '';\n}\n.p-divider-horizontal.p-divider-left {\n justify-content: flex-start;\n}\n.p-divider-horizontal.p-divider-right {\n justify-content: flex-end;\n}\n.p-divider-horizontal.p-divider-center {\n justify-content: center;\n}\n.p-divider-content {\n z-index: 1;\n}\n.p-divider-vertical {\n min-height: 100%;\n margin: 0 1rem;\n display: flex;\n position: relative;\n justify-content: center;\n}\n.p-divider-vertical:before {\n position: absolute;\n display: block;\n top: 0;\n left: 50%;\n height: 100%;\n content: '';\n}\n.p-divider-vertical.p-divider-top {\n align-items: flex-start;\n}\n.p-divider-vertical.p-divider-center {\n align-items: center;\n}\n.p-divider-vertical.p-divider-bottom {\n align-items: flex-end;\n}\n.p-divider-solid.p-divider-horizontal:before {\n border-top-style: solid;\n}\n.p-divider-solid.p-divider-vertical:before {\n border-left-style: solid;\n}\n.p-divider-dashed.p-divider-horizontal:before {\n border-top-style: dashed;\n}\n.p-divider-dashed.p-divider-vertical:before {\n border-left-style: dashed;\n}\n.p-divider-dotted.p-divider-horizontal:before {\n border-top-style: dotted;\n}\n.p-divider-dotted.p-divider-vertical:before {\n border-left-style: dotted;\n}\n"),n.render=function(e,i,n,d,o,l){return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:l.containerClass,role:"separator","aria-orientation":n.layout},e.ptm("root")),[e.$slots.default?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0,class:"p-divider-content"},e.ptm("content")),[t.renderSlot(e.$slots,"default")],16)):t.createCommentVNode("",!0)],16,r)},n}(primevue.basecomponent,Vue);
|
package/dock/Dock.d.ts
CHANGED
|
@@ -11,6 +11,95 @@ import { VNode } from 'vue';
|
|
|
11
11
|
import { MenuItem } from '../menuitem';
|
|
12
12
|
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
13
13
|
|
|
14
|
+
export declare type DockPassThroughOptionType = DockPassThroughAttributes | ((options: DockPassThroughMethodOptions) => DockPassThroughAttributes) | null | undefined;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Custom passthrough(pt) option method.
|
|
18
|
+
*/
|
|
19
|
+
export interface DockPassThroughMethodOptions {
|
|
20
|
+
props: DockProps;
|
|
21
|
+
state: DockState;
|
|
22
|
+
context: DockContext;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Custom passthrough(pt) options.
|
|
27
|
+
* @see {@link DockProps.pt}
|
|
28
|
+
*/
|
|
29
|
+
export interface DockPassThroughOptions {
|
|
30
|
+
/**
|
|
31
|
+
* Uses to pass attributes to the root's DOM element.
|
|
32
|
+
*/
|
|
33
|
+
root?: DockPassThroughOptionType;
|
|
34
|
+
/**
|
|
35
|
+
* Uses to pass attributes to the container's DOM element.
|
|
36
|
+
*/
|
|
37
|
+
container?: DockPassThroughOptionType;
|
|
38
|
+
/**
|
|
39
|
+
* Uses to pass attributes to the list's DOM element.
|
|
40
|
+
*/
|
|
41
|
+
menu?: DockPassThroughOptionType;
|
|
42
|
+
/**
|
|
43
|
+
* Uses to pass attributes to the list item's DOM element.
|
|
44
|
+
*/
|
|
45
|
+
menuitem?: DockPassThroughOptionType;
|
|
46
|
+
/**
|
|
47
|
+
* Uses to pass attributes to the content's DOM element.
|
|
48
|
+
*/
|
|
49
|
+
content?: DockPassThroughOptionType;
|
|
50
|
+
/**
|
|
51
|
+
* Uses to pass attributes to the action's DOM element.
|
|
52
|
+
*/
|
|
53
|
+
action?: DockPassThroughOptionType;
|
|
54
|
+
/**
|
|
55
|
+
* Uses to pass attributes to the icon's DOM element.
|
|
56
|
+
*/
|
|
57
|
+
icon?: DockPassThroughOptionType;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Custom passthrough attributes for each DOM elements
|
|
62
|
+
*/
|
|
63
|
+
export interface DockPassThroughAttributes {
|
|
64
|
+
[key: string]: any;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Defines current inline state in Dock component.
|
|
69
|
+
*/
|
|
70
|
+
export interface DockState {
|
|
71
|
+
/**
|
|
72
|
+
* Current id state as a string.
|
|
73
|
+
*/
|
|
74
|
+
id: string;
|
|
75
|
+
/**
|
|
76
|
+
* Current index as a number.
|
|
77
|
+
* @defaultvalue -3
|
|
78
|
+
*/
|
|
79
|
+
currentIndex: number;
|
|
80
|
+
/**
|
|
81
|
+
* Current focus state as a boolean.
|
|
82
|
+
* @defaultValue false
|
|
83
|
+
*/
|
|
84
|
+
focused: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Current focused item index as a number.
|
|
87
|
+
* @defaultvalue -1
|
|
88
|
+
*/
|
|
89
|
+
focusedOptionIndex: number;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Defines current options in Dock component.
|
|
94
|
+
*/
|
|
95
|
+
export interface DockContext {
|
|
96
|
+
/**
|
|
97
|
+
* Current active state of menuitem as a boolean.
|
|
98
|
+
* @defaultValue false
|
|
99
|
+
*/
|
|
100
|
+
active: boolean;
|
|
101
|
+
}
|
|
102
|
+
|
|
14
103
|
/**
|
|
15
104
|
* Defines tooltip options
|
|
16
105
|
*/
|
|
@@ -77,6 +166,11 @@ export interface DockProps {
|
|
|
77
166
|
* Establishes a string value that labels the component.
|
|
78
167
|
*/
|
|
79
168
|
'aria-label'?: string | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* Uses to pass attributes to DOM elements inside the component.
|
|
171
|
+
* @type {DockPassThroughOptions}
|
|
172
|
+
*/
|
|
173
|
+
pt?: DockPassThroughOptions;
|
|
80
174
|
}
|
|
81
175
|
|
|
82
176
|
/**
|
package/dock/Dock.vue
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div :class="containerClass" :style="style">
|
|
3
|
-
<DockSub :model="model" :templates="$slots" :exact="exact" :tooltipOptions="tooltipOptions" :position="position" :menuId="menuId" :aria-label="ariaLabel" :aria-labelledby="ariaLabelledby" :tabindex="tabindex"></DockSub>
|
|
2
|
+
<div :class="containerClass" :style="style" v-bind="ptm('root')">
|
|
3
|
+
<DockSub :model="model" :templates="$slots" :exact="exact" :tooltipOptions="tooltipOptions" :position="position" :menuId="menuId" :aria-label="ariaLabel" :aria-labelledby="ariaLabelledby" :tabindex="tabindex" :pt="pt"></DockSub>
|
|
4
4
|
</div>
|
|
5
5
|
</template>
|
|
6
6
|
|
|
7
7
|
<script>
|
|
8
|
+
import BaseComponent from 'primevue/basecomponent';
|
|
8
9
|
import DockSub from './DockSub.vue';
|
|
9
10
|
|
|
10
11
|
export default {
|
|
11
12
|
name: 'Dock',
|
|
13
|
+
extends: BaseComponent,
|
|
12
14
|
props: {
|
|
13
15
|
position: {
|
|
14
16
|
type: String,
|
package/dock/DockSub.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="p-dock-list-container">
|
|
2
|
+
<div class="p-dock-list-container" v-bind="ptm('container')">
|
|
3
3
|
<ul
|
|
4
4
|
ref="list"
|
|
5
5
|
:id="id"
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
@blur="onListBlur"
|
|
15
15
|
@keydown="onListKeyDown"
|
|
16
16
|
@mouseleave="onListMouseLeave"
|
|
17
|
+
v-bind="ptm('menu')"
|
|
17
18
|
>
|
|
18
19
|
<template v-for="(processedItem, index) of model" :key="index">
|
|
19
20
|
<li
|
|
@@ -24,8 +25,9 @@
|
|
|
24
25
|
:aria-disabled="disabled(processedItem)"
|
|
25
26
|
@click="onItemClick($event, processedItem)"
|
|
26
27
|
@mouseenter="onItemMouseEnter(index)"
|
|
28
|
+
v-bind="getPTOptions(getItemId(index), 'menuitem')"
|
|
27
29
|
>
|
|
28
|
-
<div class="p-menuitem-content">
|
|
30
|
+
<div class="p-menuitem-content" v-bind="getPTOptions(getItemId(index), 'content')">
|
|
29
31
|
<template v-if="!templates['item']">
|
|
30
32
|
<router-link v-if="processedItem.to && !disabled(processedItem)" v-slot="{ navigate, href, isActive, isExactActive }" :to="processedItem.to" custom>
|
|
31
33
|
<a
|
|
@@ -36,16 +38,26 @@
|
|
|
36
38
|
tabindex="-1"
|
|
37
39
|
aria-hidden="true"
|
|
38
40
|
@click="onItemActionClick($event, processedItem, navigate)"
|
|
41
|
+
v-bind="getPTOptions(getItemId(index), 'action')"
|
|
39
42
|
>
|
|
40
43
|
<template v-if="!templates['icon']">
|
|
41
|
-
<span v-ripple :class="['p-dock-icon', processedItem.icon]"></span>
|
|
44
|
+
<span v-ripple :class="['p-dock-icon', processedItem.icon]" v-bind="getPTOptions(getItemId(index), 'icon')"></span>
|
|
42
45
|
</template>
|
|
43
46
|
<component v-else :is="templates['icon']" :item="processedItem"></component>
|
|
44
47
|
</a>
|
|
45
48
|
</router-link>
|
|
46
|
-
<a
|
|
49
|
+
<a
|
|
50
|
+
v-else
|
|
51
|
+
v-tooltip:[tooltipOptions]="{ value: processedItem.label, disabled: !tooltipOptions }"
|
|
52
|
+
:href="processedItem.url"
|
|
53
|
+
:class="linkClass()"
|
|
54
|
+
:target="processedItem.target"
|
|
55
|
+
tabindex="-1"
|
|
56
|
+
aria-hidden="true"
|
|
57
|
+
v-bind="getPTOptions(getItemId(index), 'action')"
|
|
58
|
+
>
|
|
47
59
|
<template v-if="!templates['icon']">
|
|
48
|
-
<span v-ripple :class="['p-dock-icon', processedItem.icon]"></span>
|
|
60
|
+
<span v-ripple :class="['p-dock-icon', processedItem.icon]" v-bind="getPTOptions(getItemId(index), 'icon')"></span>
|
|
49
61
|
</template>
|
|
50
62
|
<component v-else :is="templates['icon']" :item="processedItem"></component>
|
|
51
63
|
</a>
|
|
@@ -59,12 +71,14 @@
|
|
|
59
71
|
</template>
|
|
60
72
|
|
|
61
73
|
<script>
|
|
74
|
+
import BaseComponent from 'primevue/basecomponent';
|
|
62
75
|
import Ripple from 'primevue/ripple';
|
|
63
76
|
import Tooltip from 'primevue/tooltip';
|
|
64
77
|
import { DomHandler, ObjectUtils, UniqueComponentId } from 'primevue/utils';
|
|
65
78
|
|
|
66
79
|
export default {
|
|
67
80
|
name: 'DockSub',
|
|
81
|
+
extends: BaseComponent,
|
|
68
82
|
emits: ['focus', 'blur'],
|
|
69
83
|
props: {
|
|
70
84
|
position: {
|
|
@@ -124,9 +138,19 @@ export default {
|
|
|
124
138
|
getItemProp(processedItem, name) {
|
|
125
139
|
return processedItem && processedItem.item ? ObjectUtils.getItemValue(processedItem.item[name]) : undefined;
|
|
126
140
|
},
|
|
141
|
+
getPTOptions(id, key) {
|
|
142
|
+
return this.ptm(key, {
|
|
143
|
+
context: {
|
|
144
|
+
active: this.isItemActive(id)
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
},
|
|
127
148
|
isSameMenuItem(event) {
|
|
128
149
|
return event.currentTarget && (event.currentTarget.isSameNode(event.target) || event.currentTarget.isSameNode(event.target.closest('.p-menuitem')));
|
|
129
150
|
},
|
|
151
|
+
isItemActive(id) {
|
|
152
|
+
return id === this.focusedOptionIndex;
|
|
153
|
+
},
|
|
130
154
|
onListMouseLeave() {
|
|
131
155
|
this.currentIndex = -3;
|
|
132
156
|
},
|
|
@@ -248,7 +272,7 @@ export default {
|
|
|
248
272
|
return [
|
|
249
273
|
'p-dock-item',
|
|
250
274
|
{
|
|
251
|
-
'p-focus':
|
|
275
|
+
'p-focus': this.isItemActive(id),
|
|
252
276
|
'p-disabled': this.disabled(item),
|
|
253
277
|
'p-dock-item-second-prev': this.currentIndex - 2 === index,
|
|
254
278
|
'p-dock-item-prev': this.currentIndex - 1 === index,
|
package/dock/dock.cjs.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var BaseComponent = require('primevue/basecomponent');
|
|
3
4
|
var Ripple = require('primevue/ripple');
|
|
4
5
|
var Tooltip = require('primevue/tooltip');
|
|
5
6
|
var utils = require('primevue/utils');
|
|
@@ -7,11 +8,13 @@ var vue = require('vue');
|
|
|
7
8
|
|
|
8
9
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
10
|
|
|
11
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
10
12
|
var Ripple__default = /*#__PURE__*/_interopDefaultLegacy(Ripple);
|
|
11
13
|
var Tooltip__default = /*#__PURE__*/_interopDefaultLegacy(Tooltip);
|
|
12
14
|
|
|
13
15
|
var script$1 = {
|
|
14
16
|
name: 'DockSub',
|
|
17
|
+
extends: BaseComponent__default["default"],
|
|
15
18
|
emits: ['focus', 'blur'],
|
|
16
19
|
props: {
|
|
17
20
|
position: {
|
|
@@ -71,9 +74,19 @@ var script$1 = {
|
|
|
71
74
|
getItemProp(processedItem, name) {
|
|
72
75
|
return processedItem && processedItem.item ? utils.ObjectUtils.getItemValue(processedItem.item[name]) : undefined;
|
|
73
76
|
},
|
|
77
|
+
getPTOptions(id, key) {
|
|
78
|
+
return this.ptm(key, {
|
|
79
|
+
context: {
|
|
80
|
+
active: this.isItemActive(id)
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
},
|
|
74
84
|
isSameMenuItem(event) {
|
|
75
85
|
return event.currentTarget && (event.currentTarget.isSameNode(event.target) || event.currentTarget.isSameNode(event.target.closest('.p-menuitem')));
|
|
76
86
|
},
|
|
87
|
+
isItemActive(id) {
|
|
88
|
+
return id === this.focusedOptionIndex;
|
|
89
|
+
},
|
|
77
90
|
onListMouseLeave() {
|
|
78
91
|
this.currentIndex = -3;
|
|
79
92
|
},
|
|
@@ -192,7 +205,7 @@ var script$1 = {
|
|
|
192
205
|
return [
|
|
193
206
|
'p-dock-item',
|
|
194
207
|
{
|
|
195
|
-
'p-focus':
|
|
208
|
+
'p-focus': this.isItemActive(id),
|
|
196
209
|
'p-disabled': this.disabled(item),
|
|
197
210
|
'p-dock-item-second-prev': this.currentIndex - 2 === index,
|
|
198
211
|
'p-dock-item-prev': this.currentIndex - 1 === index,
|
|
@@ -226,20 +239,18 @@ var script$1 = {
|
|
|
226
239
|
}
|
|
227
240
|
};
|
|
228
241
|
|
|
229
|
-
const _hoisted_1 =
|
|
230
|
-
const _hoisted_2 = ["id", "aria-
|
|
231
|
-
const _hoisted_3 = ["
|
|
232
|
-
const _hoisted_4 =
|
|
233
|
-
const _hoisted_5 = ["href", "target", "onClick"];
|
|
234
|
-
const _hoisted_6 = ["href", "target"];
|
|
242
|
+
const _hoisted_1 = ["id", "aria-orientation", "aria-activedescendant", "tabindex", "aria-label", "aria-labelledby"];
|
|
243
|
+
const _hoisted_2 = ["id", "aria-label", "aria-disabled", "onClick", "onMouseenter"];
|
|
244
|
+
const _hoisted_3 = ["href", "target", "onClick"];
|
|
245
|
+
const _hoisted_4 = ["href", "target"];
|
|
235
246
|
|
|
236
247
|
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
237
248
|
const _component_router_link = vue.resolveComponent("router-link");
|
|
238
249
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
239
250
|
const _directive_tooltip = vue.resolveDirective("tooltip");
|
|
240
251
|
|
|
241
|
-
return (vue.openBlock(), vue.createElementBlock("div",
|
|
242
|
-
vue.createElementVNode("ul", {
|
|
252
|
+
return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: "p-dock-list-container" }, _ctx.ptm('container')), [
|
|
253
|
+
vue.createElementVNode("ul", vue.mergeProps({
|
|
243
254
|
ref: "list",
|
|
244
255
|
id: $data.id,
|
|
245
256
|
class: "p-dock-list",
|
|
@@ -253,19 +264,19 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
253
264
|
onBlur: _cache[1] || (_cache[1] = (...args) => ($options.onListBlur && $options.onListBlur(...args))),
|
|
254
265
|
onKeydown: _cache[2] || (_cache[2] = (...args) => ($options.onListKeyDown && $options.onListKeyDown(...args))),
|
|
255
266
|
onMouseleave: _cache[3] || (_cache[3] = (...args) => ($options.onListMouseLeave && $options.onListMouseLeave(...args)))
|
|
256
|
-
}, [
|
|
267
|
+
}, _ctx.ptm('menu')), [
|
|
257
268
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.model, (processedItem, index) => {
|
|
258
|
-
return (vue.openBlock(), vue.createElementBlock("li", {
|
|
269
|
+
return (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
|
|
259
270
|
key: index,
|
|
260
271
|
id: $options.getItemId(index),
|
|
261
|
-
class:
|
|
272
|
+
class: $options.itemClass(processedItem, index, $options.getItemId(index)),
|
|
262
273
|
role: "menuitem",
|
|
263
274
|
"aria-label": processedItem.label,
|
|
264
275
|
"aria-disabled": $options.disabled(processedItem),
|
|
265
276
|
onClick: $event => ($options.onItemClick($event, processedItem)),
|
|
266
277
|
onMouseenter: $event => ($options.onItemMouseEnter(index))
|
|
267
|
-
}, [
|
|
268
|
-
vue.createElementVNode("div",
|
|
278
|
+
}, $options.getPTOptions($options.getItemId(index), 'menuitem')), [
|
|
279
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-menuitem-content" }, $options.getPTOptions($options.getItemId(index), 'content')), [
|
|
269
280
|
(!$props.templates['item'])
|
|
270
281
|
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
271
282
|
(processedItem.to && !$options.disabled(processedItem))
|
|
@@ -275,51 +286,51 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
275
286
|
custom: ""
|
|
276
287
|
}, {
|
|
277
288
|
default: vue.withCtx(({ navigate, href, isActive, isExactActive }) => [
|
|
278
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", {
|
|
289
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", vue.mergeProps({
|
|
279
290
|
href: href,
|
|
280
|
-
class:
|
|
291
|
+
class: $options.linkClass({ isActive, isExactActive }),
|
|
281
292
|
target: processedItem.target,
|
|
282
293
|
tabindex: "-1",
|
|
283
294
|
"aria-hidden": "true",
|
|
284
295
|
onClick: $event => ($options.onItemActionClick($event, processedItem, navigate))
|
|
285
|
-
}, [
|
|
296
|
+
}, $options.getPTOptions($options.getItemId(index), 'action')), [
|
|
286
297
|
(!$props.templates['icon'])
|
|
287
|
-
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
|
|
298
|
+
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
288
299
|
key: 0,
|
|
289
|
-
class:
|
|
290
|
-
}, null,
|
|
300
|
+
class: ['p-dock-icon', processedItem.icon]
|
|
301
|
+
}, $options.getPTOptions($options.getItemId(index), 'icon')), null, 16)), [
|
|
291
302
|
[_directive_ripple]
|
|
292
303
|
])
|
|
293
304
|
: (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates['icon']), {
|
|
294
305
|
key: 1,
|
|
295
306
|
item: processedItem
|
|
296
307
|
}, null, 8, ["item"]))
|
|
297
|
-
],
|
|
308
|
+
], 16, _hoisted_3)), [
|
|
298
309
|
[_directive_tooltip, { value: processedItem.label, disabled: !$props.tooltipOptions }, $props.tooltipOptions]
|
|
299
310
|
])
|
|
300
311
|
]),
|
|
301
312
|
_: 2
|
|
302
313
|
}, 1032, ["to"]))
|
|
303
|
-
: vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", {
|
|
314
|
+
: vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", vue.mergeProps({
|
|
304
315
|
key: 1,
|
|
305
316
|
href: processedItem.url,
|
|
306
|
-
class:
|
|
317
|
+
class: $options.linkClass(),
|
|
307
318
|
target: processedItem.target,
|
|
308
319
|
tabindex: "-1",
|
|
309
320
|
"aria-hidden": "true"
|
|
310
|
-
}, [
|
|
321
|
+
}, $options.getPTOptions($options.getItemId(index), 'action')), [
|
|
311
322
|
(!$props.templates['icon'])
|
|
312
|
-
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
|
|
323
|
+
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
313
324
|
key: 0,
|
|
314
|
-
class:
|
|
315
|
-
}, null,
|
|
325
|
+
class: ['p-dock-icon', processedItem.icon]
|
|
326
|
+
}, $options.getPTOptions($options.getItemId(index), 'icon')), null, 16)), [
|
|
316
327
|
[_directive_ripple]
|
|
317
328
|
])
|
|
318
329
|
: (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates['icon']), {
|
|
319
330
|
key: 1,
|
|
320
331
|
item: processedItem
|
|
321
332
|
}, null, 8, ["item"]))
|
|
322
|
-
],
|
|
333
|
+
], 16, _hoisted_4)), [
|
|
323
334
|
[_directive_tooltip, { value: processedItem.label, disabled: !$props.tooltipOptions }, $props.tooltipOptions]
|
|
324
335
|
])
|
|
325
336
|
], 64))
|
|
@@ -328,17 +339,18 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
328
339
|
item: processedItem,
|
|
329
340
|
index: index
|
|
330
341
|
}, null, 8, ["item", "index"]))
|
|
331
|
-
])
|
|
332
|
-
],
|
|
342
|
+
], 16)
|
|
343
|
+
], 16, _hoisted_2))
|
|
333
344
|
}), 128))
|
|
334
|
-
],
|
|
335
|
-
]))
|
|
345
|
+
], 16, _hoisted_1)
|
|
346
|
+
], 16))
|
|
336
347
|
}
|
|
337
348
|
|
|
338
349
|
script$1.render = render$1;
|
|
339
350
|
|
|
340
351
|
var script = {
|
|
341
352
|
name: 'Dock',
|
|
353
|
+
extends: BaseComponent__default["default"],
|
|
342
354
|
props: {
|
|
343
355
|
position: {
|
|
344
356
|
type: String,
|
|
@@ -382,10 +394,10 @@ var script = {
|
|
|
382
394
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
383
395
|
const _component_DockSub = vue.resolveComponent("DockSub");
|
|
384
396
|
|
|
385
|
-
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
386
|
-
class:
|
|
387
|
-
style:
|
|
388
|
-
}, [
|
|
397
|
+
return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
398
|
+
class: $options.containerClass,
|
|
399
|
+
style: $props.style
|
|
400
|
+
}, _ctx.ptm('root')), [
|
|
389
401
|
vue.createVNode(_component_DockSub, {
|
|
390
402
|
model: $props.model,
|
|
391
403
|
templates: _ctx.$slots,
|
|
@@ -395,9 +407,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
395
407
|
menuId: $props.menuId,
|
|
396
408
|
"aria-label": _ctx.ariaLabel,
|
|
397
409
|
"aria-labelledby": _ctx.ariaLabelledby,
|
|
398
|
-
tabindex: $props.tabindex
|
|
399
|
-
|
|
400
|
-
|
|
410
|
+
tabindex: $props.tabindex,
|
|
411
|
+
pt: _ctx.pt
|
|
412
|
+
}, null, 8, ["model", "templates", "exact", "tooltipOptions", "position", "menuId", "aria-label", "aria-labelledby", "tabindex", "pt"])
|
|
413
|
+
], 16))
|
|
401
414
|
}
|
|
402
415
|
|
|
403
416
|
function styleInject(css, ref) {
|
package/dock/dock.cjs.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("primevue/ripple"),t=require("primevue/tooltip"),n=require("primevue/utils"),i=require("vue");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=o(e),s=o(t),a={name:"DockSub",emits:["focus","blur"],props:{position:{type:String,default:"bottom"},model:{type:Array,default:null},templates:{type:null,default:null},exact:{type:Boolean,default:!0},tooltipOptions:null,menuId:{type:String,default:null},tabindex:{type:Number,default:0},"aria-label":{type:String,default:null},"aria-labelledby":{type:String,default:null}},data(){return{id:this.menuId,currentIndex:-3,focused:!1,focusedOptionIndex:-1}},watch:{menuId(e){this.id=e||n.UniqueComponentId()}},mounted(){this.id=this.id||n.UniqueComponentId()},methods:{getItemId(e){return`${this.id}_${e}`},getItemProp:(e,t)=>e&&e.item?n.ObjectUtils.getItemValue(e.item[t]):void 0,isSameMenuItem:e=>e.currentTarget&&(e.currentTarget.isSameNode(e.target)||e.currentTarget.isSameNode(e.target.closest(".p-menuitem"))),onListMouseLeave(){this.currentIndex=-3},onItemMouseEnter(e){this.currentIndex=e},onItemActionClick(e,t){t&&t(e)},onItemClick(e,t){if(this.isSameMenuItem(e)){const n=this.getItemProp(t,"command");n&&n({originalEvent:e,item:t.item})}},onListFocus(e){this.focused=!0,this.changeFocusedOptionIndex(0),this.$emit("focus",e)},onListBlur(e){this.focused=!1,this.focusedOptionIndex=-1,this.$emit("blur",e)},onListKeyDown(e){switch(e.code){case"ArrowDown":"left"!==this.position&&"right"!==this.position||this.onArrowDownKey(),e.preventDefault();break;case"ArrowUp":"left"!==this.position&&"right"!==this.position||this.onArrowUpKey(),e.preventDefault();break;case"ArrowRight":"top"!==this.position&&"bottom"!==this.position||this.onArrowDownKey(),e.preventDefault();break;case"ArrowLeft":"top"!==this.position&&"bottom"!==this.position||this.onArrowUpKey(),e.preventDefault();break;case"Home":this.onHomeKey(),e.preventDefault();break;case"End":this.onEndKey(),e.preventDefault();break;case"Enter":case"Space":this.onSpaceKey(e),e.preventDefault()}},onArrowDownKey(){const e=this.findNextOptionIndex(this.focusedOptionIndex);this.changeFocusedOptionIndex(e)},onArrowUpKey(){const e=this.findPrevOptionIndex(this.focusedOptionIndex);this.changeFocusedOptionIndex(e)},onHomeKey(){this.changeFocusedOptionIndex(0)},onEndKey(){this.changeFocusedOptionIndex(n.DomHandler.find(this.$refs.list,"li.p-dock-item:not(.p-disabled)").length-1)},onSpaceKey(){const e=n.DomHandler.findSingle(this.$refs.list,`li[id="${this.focusedOptionIndex}"]`),t=e&&n.DomHandler.findSingle(e,".p-dock-link");t?t.click():e&&e.click()},findNextOptionIndex(e){const t=[...n.DomHandler.find(this.$refs.list,"li.p-dock-item:not(.p-disabled)")].findIndex((t=>t.id===e));return t>-1?t+1:0},findPrevOptionIndex(e){const t=[...n.DomHandler.find(this.$refs.list,"li.p-dock-item:not(.p-disabled)")].findIndex((t=>t.id===e));return t>-1?t-1:0},changeFocusedOptionIndex(e){const t=n.DomHandler.find(this.$refs.list,"li.p-dock-item:not(.p-disabled)");let i=e>=t.length?t.length-1:e<0?0:e;this.focusedOptionIndex=t[i].getAttribute("id")},itemClass(e,t,n){return["p-dock-item",{"p-focus":n===this.focusedOptionIndex,"p-disabled":this.disabled(e),"p-dock-item-second-prev":this.currentIndex-2===t,"p-dock-item-prev":this.currentIndex-1===t,"p-dock-item-current":this.currentIndex===t,"p-dock-item-next":this.currentIndex+1===t,"p-dock-item-second-next":this.currentIndex+2===t}]},linkClass(e){return["p-dock-link",{"router-link-active":e&&e.isActive,"router-link-active-exact":this.exact&&e&&e.isExactActive}]},disabled:e=>"function"==typeof e.disabled?e.disabled():e.disabled},computed:{focusedOptionId(){return-1!==this.focusedOptionIndex?this.focusedOptionIndex:null}},directives:{ripple:l.default,tooltip:s.default}};const r={class:"p-dock-list-container"},d=["id","aria-orientation","aria-activedescendant","tabindex","aria-label","aria-labelledby"],c=["id","aria-label","aria-disabled","onClick","onMouseenter"],p={class:"p-menuitem-content"},u=["href","target","onClick"],m=["href","target"];a.render=function(e,t,n,o,l,s){const a=i.resolveComponent("router-link"),f=i.resolveDirective("ripple"),k=i.resolveDirective("tooltip");return i.openBlock(),i.createElementBlock("div",r,[i.createElementVNode("ul",{ref:"list",id:l.id,class:"p-dock-list",role:"menu","aria-orientation":"bottom"===n.position||"top"===n.position?"horizontal":"vertical","aria-activedescendant":l.focused?s.focusedOptionId:void 0,tabindex:n.tabindex,"aria-label":e.ariaLabel,"aria-labelledby":e.ariaLabelledby,onFocus:t[0]||(t[0]=(...e)=>s.onListFocus&&s.onListFocus(...e)),onBlur:t[1]||(t[1]=(...e)=>s.onListBlur&&s.onListBlur(...e)),onKeydown:t[2]||(t[2]=(...e)=>s.onListKeyDown&&s.onListKeyDown(...e)),onMouseleave:t[3]||(t[3]=(...e)=>s.onListMouseLeave&&s.onListMouseLeave(...e))},[(i.openBlock(!0),i.createElementBlock(i.Fragment,null,i.renderList(n.model,((e,t)=>(i.openBlock(),i.createElementBlock("li",{key:t,id:s.getItemId(t),class:i.normalizeClass(s.itemClass(e,t,s.getItemId(t))),role:"menuitem","aria-label":e.label,"aria-disabled":s.disabled(e),onClick:t=>s.onItemClick(t,e),onMouseenter:e=>s.onItemMouseEnter(t)},[i.createElementVNode("div",p,[n.templates.item?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(n.templates.item),{key:1,item:e,index:t},null,8,["item","index"])):(i.openBlock(),i.createElementBlock(i.Fragment,{key:0},[e.to&&!s.disabled(e)?(i.openBlock(),i.createBlock(a,{key:0,to:e.to,custom:""},{default:i.withCtx((({navigate:t,href:o,isActive:l,isExactActive:a})=>[i.withDirectives((i.openBlock(),i.createElementBlock("a",{href:o,class:i.normalizeClass(s.linkClass({isActive:l,isExactActive:a})),target:e.target,tabindex:"-1","aria-hidden":"true",onClick:n=>s.onItemActionClick(n,e,t)},[n.templates.icon?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(n.templates.icon),{key:1,item:e},null,8,["item"])):i.withDirectives((i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass(["p-dock-icon",e.icon])},null,2)),[[f]])],10,u)),[[k,{value:e.label,disabled:!n.tooltipOptions},n.tooltipOptions]])])),_:2},1032,["to"])):i.withDirectives((i.openBlock(),i.createElementBlock("a",{key:1,href:e.url,class:i.normalizeClass(s.linkClass()),target:e.target,tabindex:"-1","aria-hidden":"true"},[n.templates.icon?(i.openBlock(),i.createBlock(i.resolveDynamicComponent(n.templates.icon),{key:1,item:e},null,8,["item"])):i.withDirectives((i.openBlock(),i.createElementBlock("span",{key:0,class:i.normalizeClass(["p-dock-icon",e.icon])},null,2)),[[f]])],10,m)),[[k,{value:e.label,disabled:!n.tooltipOptions},n.tooltipOptions]])],64))])],42,c)))),128))],40,d)])};var f={name:"Dock",props:{position:{type:String,default:"bottom"},model:null,class:null,style:null,tooltipOptions:null,exact:{type:Boolean,default:!0},menuId:{type:String,default:null},tabindex:{type:Number,default:0},"aria-label":{type:String,default:null},"aria-labelledby":{type:String,default:null}},computed:{containerClass(){return["p-dock p-component",`p-dock-${this.position}`,this.class]}},components:{DockSub:a}};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}("\n.p-dock {\n position: absolute;\n z-index: 1;\n display: flex;\n justify-content: center;\n align-items: center;\n pointer-events: none;\n}\n.p-dock-list-container {\n display: flex;\n pointer-events: auto;\n}\n.p-dock-list {\n margin: 0;\n padding: 0;\n list-style: none;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.p-dock-item {\n transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n will-change: transform;\n}\n.p-dock-link {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n position: relative;\n overflow: hidden;\n cursor: default;\n}\n.p-dock-item-second-prev,\n.p-dock-item-second-next {\n transform: scale(1.2);\n}\n.p-dock-item-prev,\n.p-dock-item-next {\n transform: scale(1.4);\n}\n.p-dock-item-current {\n transform: scale(1.6);\n z-index: 1;\n}\n\n/* Position */\n/* top */\n.p-dock-top {\n left: 0;\n top: 0;\n width: 100%;\n}\n.p-dock-top .p-dock-item {\n transform-origin: center top;\n}\n\n/* bottom */\n.p-dock-bottom {\n left: 0;\n bottom: 0;\n width: 100%;\n}\n.p-dock-bottom .p-dock-item {\n transform-origin: center bottom;\n}\n\n/* right */\n.p-dock-right {\n right: 0;\n top: 0;\n height: 100%;\n}\n.p-dock-right .p-dock-item {\n transform-origin: center right;\n}\n.p-dock-right .p-dock-list {\n flex-direction: column;\n}\n\n/* left */\n.p-dock-left {\n left: 0;\n top: 0;\n height: 100%;\n}\n.p-dock-left .p-dock-item {\n transform-origin: center left;\n}\n.p-dock-left .p-dock-list {\n flex-direction: column;\n}\n"),f.render=function(e,t,n,o,l,s){const a=i.resolveComponent("DockSub");return i.openBlock(),i.createElementBlock("div",{class:i.normalizeClass(s.containerClass),style:i.normalizeStyle(n.style)},[i.createVNode(a,{model:n.model,templates:e.$slots,exact:n.exact,tooltipOptions:n.tooltipOptions,position:n.position,menuId:n.menuId,"aria-label":e.ariaLabel,"aria-labelledby":e.ariaLabelledby,tabindex:n.tabindex},null,8,["model","templates","exact","tooltipOptions","position","menuId","aria-label","aria-labelledby","tabindex"])],6)},module.exports=f;
|
|
1
|
+
"use strict";var e=require("primevue/basecomponent"),t=require("primevue/ripple"),n=require("primevue/tooltip"),i=require("primevue/utils"),o=require("vue");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=l(e),r=l(t),a=l(n),c={name:"DockSub",extends:s.default,emits:["focus","blur"],props:{position:{type:String,default:"bottom"},model:{type:Array,default:null},templates:{type:null,default:null},exact:{type:Boolean,default:!0},tooltipOptions:null,menuId:{type:String,default:null},tabindex:{type:Number,default:0},"aria-label":{type:String,default:null},"aria-labelledby":{type:String,default:null}},data(){return{id:this.menuId,currentIndex:-3,focused:!1,focusedOptionIndex:-1}},watch:{menuId(e){this.id=e||i.UniqueComponentId()}},mounted(){this.id=this.id||i.UniqueComponentId()},methods:{getItemId(e){return`${this.id}_${e}`},getItemProp:(e,t)=>e&&e.item?i.ObjectUtils.getItemValue(e.item[t]):void 0,getPTOptions(e,t){return this.ptm(t,{context:{active:this.isItemActive(e)}})},isSameMenuItem:e=>e.currentTarget&&(e.currentTarget.isSameNode(e.target)||e.currentTarget.isSameNode(e.target.closest(".p-menuitem"))),isItemActive(e){return e===this.focusedOptionIndex},onListMouseLeave(){this.currentIndex=-3},onItemMouseEnter(e){this.currentIndex=e},onItemActionClick(e,t){t&&t(e)},onItemClick(e,t){if(this.isSameMenuItem(e)){const n=this.getItemProp(t,"command");n&&n({originalEvent:e,item:t.item})}},onListFocus(e){this.focused=!0,this.changeFocusedOptionIndex(0),this.$emit("focus",e)},onListBlur(e){this.focused=!1,this.focusedOptionIndex=-1,this.$emit("blur",e)},onListKeyDown(e){switch(e.code){case"ArrowDown":"left"!==this.position&&"right"!==this.position||this.onArrowDownKey(),e.preventDefault();break;case"ArrowUp":"left"!==this.position&&"right"!==this.position||this.onArrowUpKey(),e.preventDefault();break;case"ArrowRight":"top"!==this.position&&"bottom"!==this.position||this.onArrowDownKey(),e.preventDefault();break;case"ArrowLeft":"top"!==this.position&&"bottom"!==this.position||this.onArrowUpKey(),e.preventDefault();break;case"Home":this.onHomeKey(),e.preventDefault();break;case"End":this.onEndKey(),e.preventDefault();break;case"Enter":case"Space":this.onSpaceKey(e),e.preventDefault()}},onArrowDownKey(){const e=this.findNextOptionIndex(this.focusedOptionIndex);this.changeFocusedOptionIndex(e)},onArrowUpKey(){const e=this.findPrevOptionIndex(this.focusedOptionIndex);this.changeFocusedOptionIndex(e)},onHomeKey(){this.changeFocusedOptionIndex(0)},onEndKey(){this.changeFocusedOptionIndex(i.DomHandler.find(this.$refs.list,"li.p-dock-item:not(.p-disabled)").length-1)},onSpaceKey(){const e=i.DomHandler.findSingle(this.$refs.list,`li[id="${this.focusedOptionIndex}"]`),t=e&&i.DomHandler.findSingle(e,".p-dock-link");t?t.click():e&&e.click()},findNextOptionIndex(e){const t=[...i.DomHandler.find(this.$refs.list,"li.p-dock-item:not(.p-disabled)")].findIndex((t=>t.id===e));return t>-1?t+1:0},findPrevOptionIndex(e){const t=[...i.DomHandler.find(this.$refs.list,"li.p-dock-item:not(.p-disabled)")].findIndex((t=>t.id===e));return t>-1?t-1:0},changeFocusedOptionIndex(e){const t=i.DomHandler.find(this.$refs.list,"li.p-dock-item:not(.p-disabled)");let n=e>=t.length?t.length-1:e<0?0:e;this.focusedOptionIndex=t[n].getAttribute("id")},itemClass(e,t,n){return["p-dock-item",{"p-focus":this.isItemActive(n),"p-disabled":this.disabled(e),"p-dock-item-second-prev":this.currentIndex-2===t,"p-dock-item-prev":this.currentIndex-1===t,"p-dock-item-current":this.currentIndex===t,"p-dock-item-next":this.currentIndex+1===t,"p-dock-item-second-next":this.currentIndex+2===t}]},linkClass(e){return["p-dock-link",{"router-link-active":e&&e.isActive,"router-link-active-exact":this.exact&&e&&e.isExactActive}]},disabled:e=>"function"==typeof e.disabled?e.disabled():e.disabled},computed:{focusedOptionId(){return-1!==this.focusedOptionIndex?this.focusedOptionIndex:null}},directives:{ripple:r.default,tooltip:a.default}};const d=["id","aria-orientation","aria-activedescendant","tabindex","aria-label","aria-labelledby"],p=["id","aria-label","aria-disabled","onClick","onMouseenter"],m=["href","target","onClick"],u=["href","target"];c.render=function(e,t,n,i,l,s){const r=o.resolveComponent("router-link"),a=o.resolveDirective("ripple"),c=o.resolveDirective("tooltip");return o.openBlock(),o.createElementBlock("div",o.mergeProps({class:"p-dock-list-container"},e.ptm("container")),[o.createElementVNode("ul",o.mergeProps({ref:"list",id:l.id,class:"p-dock-list",role:"menu","aria-orientation":"bottom"===n.position||"top"===n.position?"horizontal":"vertical","aria-activedescendant":l.focused?s.focusedOptionId:void 0,tabindex:n.tabindex,"aria-label":e.ariaLabel,"aria-labelledby":e.ariaLabelledby,onFocus:t[0]||(t[0]=(...e)=>s.onListFocus&&s.onListFocus(...e)),onBlur:t[1]||(t[1]=(...e)=>s.onListBlur&&s.onListBlur(...e)),onKeydown:t[2]||(t[2]=(...e)=>s.onListKeyDown&&s.onListKeyDown(...e)),onMouseleave:t[3]||(t[3]=(...e)=>s.onListMouseLeave&&s.onListMouseLeave(...e))},e.ptm("menu")),[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.model,((e,t)=>(o.openBlock(),o.createElementBlock("li",o.mergeProps({key:t,id:s.getItemId(t),class:s.itemClass(e,t,s.getItemId(t)),role:"menuitem","aria-label":e.label,"aria-disabled":s.disabled(e),onClick:t=>s.onItemClick(t,e),onMouseenter:e=>s.onItemMouseEnter(t)},s.getPTOptions(s.getItemId(t),"menuitem")),[o.createElementVNode("div",o.mergeProps({class:"p-menuitem-content"},s.getPTOptions(s.getItemId(t),"content")),[n.templates.item?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.templates.item),{key:1,item:e,index:t},null,8,["item","index"])):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[e.to&&!s.disabled(e)?(o.openBlock(),o.createBlock(r,{key:0,to:e.to,custom:""},{default:o.withCtx((({navigate:i,href:l,isActive:r,isExactActive:d})=>[o.withDirectives((o.openBlock(),o.createElementBlock("a",o.mergeProps({href:l,class:s.linkClass({isActive:r,isExactActive:d}),target:e.target,tabindex:"-1","aria-hidden":"true",onClick:t=>s.onItemActionClick(t,e,i)},s.getPTOptions(s.getItemId(t),"action")),[n.templates.icon?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.templates.icon),{key:1,item:e},null,8,["item"])):o.withDirectives((o.openBlock(),o.createElementBlock("span",o.mergeProps({key:0,class:["p-dock-icon",e.icon]},s.getPTOptions(s.getItemId(t),"icon")),null,16)),[[a]])],16,m)),[[c,{value:e.label,disabled:!n.tooltipOptions},n.tooltipOptions]])])),_:2},1032,["to"])):o.withDirectives((o.openBlock(),o.createElementBlock("a",o.mergeProps({key:1,href:e.url,class:s.linkClass(),target:e.target,tabindex:"-1","aria-hidden":"true"},s.getPTOptions(s.getItemId(t),"action")),[n.templates.icon?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(n.templates.icon),{key:1,item:e},null,8,["item"])):o.withDirectives((o.openBlock(),o.createElementBlock("span",o.mergeProps({key:0,class:["p-dock-icon",e.icon]},s.getPTOptions(s.getItemId(t),"icon")),null,16)),[[a]])],16,u)),[[c,{value:e.label,disabled:!n.tooltipOptions},n.tooltipOptions]])],64))],16)],16,p)))),128))],16,d)],16)};var f={name:"Dock",extends:s.default,props:{position:{type:String,default:"bottom"},model:null,class:null,style:null,tooltipOptions:null,exact:{type:Boolean,default:!0},menuId:{type:String,default:null},tabindex:{type:Number,default:0},"aria-label":{type:String,default:null},"aria-labelledby":{type:String,default:null}},computed:{containerClass(){return["p-dock p-component",`p-dock-${this.position}`,this.class]}},components:{DockSub:c}};!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&i.firstChild?i.insertBefore(o,i.firstChild):i.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}("\n.p-dock {\n position: absolute;\n z-index: 1;\n display: flex;\n justify-content: center;\n align-items: center;\n pointer-events: none;\n}\n.p-dock-list-container {\n display: flex;\n pointer-events: auto;\n}\n.p-dock-list {\n margin: 0;\n padding: 0;\n list-style: none;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.p-dock-item {\n transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n will-change: transform;\n}\n.p-dock-link {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n position: relative;\n overflow: hidden;\n cursor: default;\n}\n.p-dock-item-second-prev,\n.p-dock-item-second-next {\n transform: scale(1.2);\n}\n.p-dock-item-prev,\n.p-dock-item-next {\n transform: scale(1.4);\n}\n.p-dock-item-current {\n transform: scale(1.6);\n z-index: 1;\n}\n\n/* Position */\n/* top */\n.p-dock-top {\n left: 0;\n top: 0;\n width: 100%;\n}\n.p-dock-top .p-dock-item {\n transform-origin: center top;\n}\n\n/* bottom */\n.p-dock-bottom {\n left: 0;\n bottom: 0;\n width: 100%;\n}\n.p-dock-bottom .p-dock-item {\n transform-origin: center bottom;\n}\n\n/* right */\n.p-dock-right {\n right: 0;\n top: 0;\n height: 100%;\n}\n.p-dock-right .p-dock-item {\n transform-origin: center right;\n}\n.p-dock-right .p-dock-list {\n flex-direction: column;\n}\n\n/* left */\n.p-dock-left {\n left: 0;\n top: 0;\n height: 100%;\n}\n.p-dock-left .p-dock-item {\n transform-origin: center left;\n}\n.p-dock-left .p-dock-list {\n flex-direction: column;\n}\n"),f.render=function(e,t,n,i,l,s){const r=o.resolveComponent("DockSub");return o.openBlock(),o.createElementBlock("div",o.mergeProps({class:s.containerClass,style:n.style},e.ptm("root")),[o.createVNode(r,{model:n.model,templates:e.$slots,exact:n.exact,tooltipOptions:n.tooltipOptions,position:n.position,menuId:n.menuId,"aria-label":e.ariaLabel,"aria-labelledby":e.ariaLabelledby,tabindex:n.tabindex,pt:e.pt},null,8,["model","templates","exact","tooltipOptions","position","menuId","aria-label","aria-labelledby","tabindex","pt"])],16)},module.exports=f;
|