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/chip/chip.cjs.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("vue"),n={name:"Chip",emits:["remove"],props:{label:{type:String,default:null},icon:{type:String,default:null},image:{type:String,default:null},removable:{type:Boolean,default:!1},removeIcon:{type:String,default:
|
|
1
|
+
"use strict";var e=require("primevue/basecomponent"),n=require("primevue/icons/timescircle"),o=require("vue");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=t(e),l=t(n),c={name:"Chip",extends:i.default,emits:["remove"],props:{label:{type:String,default:null},icon:{type:String,default:null},image:{type:String,default:null},removable:{type:Boolean,default:!1},removeIcon:{type:String,default:void 0}},data:()=>({visible:!0}),methods:{onKeydown(e){"Enter"!==e.key&&"Backspace"!==e.key||this.close(e)},close(e){this.visible=!1,this.$emit("remove",e)}},computed:{containerClass(){return["p-chip p-component",{"p-chip-image":null!=this.image}]}},components:{TimesCircleIcon:l.default}};const r=["aria-label"],s=["src"];!function(e,n){void 0===n&&(n={});var o=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===o&&t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}("\n.p-chip {\n display: inline-flex;\n align-items: center;\n}\n.p-chip-text {\n line-height: 1.5;\n}\n.p-chip-icon.pi {\n line-height: 1.5;\n}\n.p-chip-remove-icon {\n line-height: 1.5;\n cursor: pointer;\n}\n.p-chip img {\n border-radius: 50%;\n}\n"),c.render=function(e,n,t,i,l,c){return l.visible?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0,class:c.containerClass,"aria-label":t.label},e.ptm("root")),[o.renderSlot(e.$slots,"default",{},(()=>[t.image?(o.openBlock(),o.createElementBlock("img",o.mergeProps({key:0,src:t.image},e.ptm("image")),null,16,s)):e.$slots.icon?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.$slots.icon),o.mergeProps({key:1,class:"p-chip-icon"},e.ptm("icon")),null,16)):t.icon?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:2,class:["p-chip-icon",t.icon]},e.ptm("icon")),null,16)):o.createCommentVNode("",!0),t.label?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:3,class:"p-chip-text"},e.ptm("label")),o.toDisplayString(t.label),17)):o.createCommentVNode("",!0)])),t.removable?o.renderSlot(e.$slots,"removeicon",{key:0,onClick:c.close,onKeydown:c.onKeydown},(()=>[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(t.removeIcon?"span":"TimesCircleIcon"),o.mergeProps({tabindex:"0",class:["p-chip-remove-icon",t.removeIcon],onClick:c.close,onKeydown:c.onKeydown},e.ptm("removeIcon")),null,16,["class","onClick","onKeydown"]))])):o.createCommentVNode("",!0)],16,r)):o.createCommentVNode("",!0)},module.exports=c;
|
package/chip/chip.esm.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import BaseComponent from 'primevue/basecomponent';
|
|
2
|
+
import TimesCircleIcon from 'primevue/icons/timescircle';
|
|
3
|
+
import { openBlock, createElementBlock, mergeProps, renderSlot, createBlock, resolveDynamicComponent, createCommentVNode, toDisplayString } from 'vue';
|
|
2
4
|
|
|
3
5
|
var script = {
|
|
4
6
|
name: 'Chip',
|
|
7
|
+
extends: BaseComponent,
|
|
5
8
|
emits: ['remove'],
|
|
6
9
|
props: {
|
|
7
10
|
label: {
|
|
@@ -22,7 +25,7 @@ var script = {
|
|
|
22
25
|
},
|
|
23
26
|
removeIcon: {
|
|
24
27
|
type: String,
|
|
25
|
-
default:
|
|
28
|
+
default: undefined
|
|
26
29
|
}
|
|
27
30
|
},
|
|
28
31
|
data() {
|
|
@@ -49,56 +52,62 @@ var script = {
|
|
|
49
52
|
'p-chip-image': this.image != null
|
|
50
53
|
}
|
|
51
54
|
];
|
|
52
|
-
},
|
|
53
|
-
iconClass() {
|
|
54
|
-
return ['p-chip-icon', this.icon];
|
|
55
|
-
},
|
|
56
|
-
removeIconClass() {
|
|
57
|
-
return ['p-chip-remove-icon', this.removeIcon];
|
|
58
55
|
}
|
|
56
|
+
},
|
|
57
|
+
components: {
|
|
58
|
+
TimesCircleIcon
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
const _hoisted_1 = ["aria-label"];
|
|
63
63
|
const _hoisted_2 = ["src"];
|
|
64
|
-
const _hoisted_3 = {
|
|
65
|
-
key: 2,
|
|
66
|
-
class: "p-chip-text"
|
|
67
|
-
};
|
|
68
64
|
|
|
69
65
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
70
66
|
return ($data.visible)
|
|
71
|
-
? (openBlock(), createElementBlock("div", {
|
|
67
|
+
? (openBlock(), createElementBlock("div", mergeProps({
|
|
72
68
|
key: 0,
|
|
73
|
-
class:
|
|
69
|
+
class: $options.containerClass,
|
|
74
70
|
"aria-label": $props.label
|
|
75
|
-
}, [
|
|
71
|
+
}, _ctx.ptm('root')), [
|
|
76
72
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
77
73
|
($props.image)
|
|
78
|
-
? (openBlock(), createElementBlock("img", {
|
|
74
|
+
? (openBlock(), createElementBlock("img", mergeProps({
|
|
79
75
|
key: 0,
|
|
80
76
|
src: $props.image
|
|
81
|
-
}, null,
|
|
82
|
-
: (
|
|
83
|
-
? (openBlock(),
|
|
77
|
+
}, _ctx.ptm('image')), null, 16, _hoisted_2))
|
|
78
|
+
: (_ctx.$slots.icon)
|
|
79
|
+
? (openBlock(), createBlock(resolveDynamicComponent(_ctx.$slots.icon), mergeProps({
|
|
84
80
|
key: 1,
|
|
85
|
-
class:
|
|
86
|
-
}, null,
|
|
87
|
-
:
|
|
81
|
+
class: "p-chip-icon"
|
|
82
|
+
}, _ctx.ptm('icon')), null, 16))
|
|
83
|
+
: ($props.icon)
|
|
84
|
+
? (openBlock(), createElementBlock("span", mergeProps({
|
|
85
|
+
key: 2,
|
|
86
|
+
class: ['p-chip-icon', $props.icon]
|
|
87
|
+
}, _ctx.ptm('icon')), null, 16))
|
|
88
|
+
: createCommentVNode("", true),
|
|
88
89
|
($props.label)
|
|
89
|
-
? (openBlock(), createElementBlock("div",
|
|
90
|
+
? (openBlock(), createElementBlock("div", mergeProps({
|
|
91
|
+
key: 3,
|
|
92
|
+
class: "p-chip-text"
|
|
93
|
+
}, _ctx.ptm('label')), toDisplayString($props.label), 17))
|
|
90
94
|
: createCommentVNode("", true)
|
|
91
95
|
]),
|
|
92
96
|
($props.removable)
|
|
93
|
-
? (
|
|
97
|
+
? renderSlot(_ctx.$slots, "removeicon", {
|
|
94
98
|
key: 0,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
99
|
+
onClick: $options.close,
|
|
100
|
+
onKeydown: $options.onKeydown
|
|
101
|
+
}, () => [
|
|
102
|
+
(openBlock(), createBlock(resolveDynamicComponent($props.removeIcon ? 'span' : 'TimesCircleIcon'), mergeProps({
|
|
103
|
+
tabindex: "0",
|
|
104
|
+
class: ['p-chip-remove-icon', $props.removeIcon],
|
|
105
|
+
onClick: $options.close,
|
|
106
|
+
onKeydown: $options.onKeydown
|
|
107
|
+
}, _ctx.ptm('removeIcon')), null, 16, ["class", "onClick", "onKeydown"]))
|
|
108
|
+
])
|
|
100
109
|
: createCommentVNode("", true)
|
|
101
|
-
],
|
|
110
|
+
], 16, _hoisted_1))
|
|
102
111
|
: createCommentVNode("", true)
|
|
103
112
|
}
|
|
104
113
|
|
package/chip/chip.esm.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{openBlock as
|
|
1
|
+
import e from"primevue/basecomponent";import n from"primevue/icons/timescircle";import{openBlock as i,createElementBlock as o,mergeProps as t,renderSlot as l,createBlock as c,resolveDynamicComponent as s,createCommentVNode as a,toDisplayString as p}from"vue";var r={name:"Chip",extends:e,emits:["remove"],props:{label:{type:String,default:null},icon:{type:String,default:null},image:{type:String,default:null},removable:{type:Boolean,default:!1},removeIcon:{type:String,default:void 0}},data:()=>({visible:!0}),methods:{onKeydown(e){"Enter"!==e.key&&"Backspace"!==e.key||this.close(e)},close(e){this.visible=!1,this.$emit("remove",e)}},computed:{containerClass(){return["p-chip p-component",{"p-chip-image":null!=this.image}]}},components:{TimesCircleIcon:n}};const m=["aria-label"],d=["src"];!function(e,n){void 0===n&&(n={});var i=n.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style");t.type="text/css","top"===i&&o.firstChild?o.insertBefore(t,o.firstChild):o.appendChild(t),t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}}("\n.p-chip {\n display: inline-flex;\n align-items: center;\n}\n.p-chip-text {\n line-height: 1.5;\n}\n.p-chip-icon.pi {\n line-height: 1.5;\n}\n.p-chip-remove-icon {\n line-height: 1.5;\n cursor: pointer;\n}\n.p-chip img {\n border-radius: 50%;\n}\n"),r.render=function(e,n,r,h,u,y){return u.visible?(i(),o("div",t({key:0,class:y.containerClass,"aria-label":r.label},e.ptm("root")),[l(e.$slots,"default",{},(()=>[r.image?(i(),o("img",t({key:0,src:r.image},e.ptm("image")),null,16,d)):e.$slots.icon?(i(),c(s(e.$slots.icon),t({key:1,class:"p-chip-icon"},e.ptm("icon")),null,16)):r.icon?(i(),o("span",t({key:2,class:["p-chip-icon",r.icon]},e.ptm("icon")),null,16)):a("",!0),r.label?(i(),o("div",t({key:3,class:"p-chip-text"},e.ptm("label")),p(r.label),17)):a("",!0)])),r.removable?l(e.$slots,"removeicon",{key:0,onClick:y.close,onKeydown:y.onKeydown},(()=>[(i(),c(s(r.removeIcon?"span":"TimesCircleIcon"),t({tabindex:"0",class:["p-chip-remove-icon",r.removeIcon],onClick:y.close,onKeydown:y.onKeydown},e.ptm("removeIcon")),null,16,["class","onClick","onKeydown"]))])):a("",!0)],16,m)):a("",!0)};export{r as default};
|
package/chip/chip.js
CHANGED
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
this.primevue = this.primevue || {};
|
|
2
|
-
this.primevue.chip = (function (vue) {
|
|
2
|
+
this.primevue.chip = (function (BaseComponent, TimesCircleIcon, 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
|
+
var TimesCircleIcon__default = /*#__PURE__*/_interopDefaultLegacy(TimesCircleIcon);
|
|
9
|
+
|
|
5
10
|
var script = {
|
|
6
11
|
name: 'Chip',
|
|
12
|
+
extends: BaseComponent__default["default"],
|
|
7
13
|
emits: ['remove'],
|
|
8
14
|
props: {
|
|
9
15
|
label: {
|
|
@@ -24,7 +30,7 @@ this.primevue.chip = (function (vue) {
|
|
|
24
30
|
},
|
|
25
31
|
removeIcon: {
|
|
26
32
|
type: String,
|
|
27
|
-
default:
|
|
33
|
+
default: undefined
|
|
28
34
|
}
|
|
29
35
|
},
|
|
30
36
|
data() {
|
|
@@ -51,56 +57,62 @@ this.primevue.chip = (function (vue) {
|
|
|
51
57
|
'p-chip-image': this.image != null
|
|
52
58
|
}
|
|
53
59
|
];
|
|
54
|
-
},
|
|
55
|
-
iconClass() {
|
|
56
|
-
return ['p-chip-icon', this.icon];
|
|
57
|
-
},
|
|
58
|
-
removeIconClass() {
|
|
59
|
-
return ['p-chip-remove-icon', this.removeIcon];
|
|
60
60
|
}
|
|
61
|
+
},
|
|
62
|
+
components: {
|
|
63
|
+
TimesCircleIcon: TimesCircleIcon__default["default"]
|
|
61
64
|
}
|
|
62
65
|
};
|
|
63
66
|
|
|
64
67
|
const _hoisted_1 = ["aria-label"];
|
|
65
68
|
const _hoisted_2 = ["src"];
|
|
66
|
-
const _hoisted_3 = {
|
|
67
|
-
key: 2,
|
|
68
|
-
class: "p-chip-text"
|
|
69
|
-
};
|
|
70
69
|
|
|
71
70
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
72
71
|
return ($data.visible)
|
|
73
|
-
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
72
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
74
73
|
key: 0,
|
|
75
|
-
class:
|
|
74
|
+
class: $options.containerClass,
|
|
76
75
|
"aria-label": $props.label
|
|
77
|
-
}, [
|
|
76
|
+
}, _ctx.ptm('root')), [
|
|
78
77
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
79
78
|
($props.image)
|
|
80
|
-
? (vue.openBlock(), vue.createElementBlock("img", {
|
|
79
|
+
? (vue.openBlock(), vue.createElementBlock("img", vue.mergeProps({
|
|
81
80
|
key: 0,
|
|
82
81
|
src: $props.image
|
|
83
|
-
}, null,
|
|
84
|
-
: (
|
|
85
|
-
? (vue.openBlock(), vue.
|
|
82
|
+
}, _ctx.ptm('image')), null, 16, _hoisted_2))
|
|
83
|
+
: (_ctx.$slots.icon)
|
|
84
|
+
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.$slots.icon), vue.mergeProps({
|
|
86
85
|
key: 1,
|
|
87
|
-
class:
|
|
88
|
-
}, null,
|
|
89
|
-
:
|
|
86
|
+
class: "p-chip-icon"
|
|
87
|
+
}, _ctx.ptm('icon')), null, 16))
|
|
88
|
+
: ($props.icon)
|
|
89
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
90
|
+
key: 2,
|
|
91
|
+
class: ['p-chip-icon', $props.icon]
|
|
92
|
+
}, _ctx.ptm('icon')), null, 16))
|
|
93
|
+
: vue.createCommentVNode("", true),
|
|
90
94
|
($props.label)
|
|
91
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
95
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
96
|
+
key: 3,
|
|
97
|
+
class: "p-chip-text"
|
|
98
|
+
}, _ctx.ptm('label')), vue.toDisplayString($props.label), 17))
|
|
92
99
|
: vue.createCommentVNode("", true)
|
|
93
100
|
]),
|
|
94
101
|
($props.removable)
|
|
95
|
-
?
|
|
102
|
+
? vue.renderSlot(_ctx.$slots, "removeicon", {
|
|
96
103
|
key: 0,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
104
|
+
onClick: $options.close,
|
|
105
|
+
onKeydown: $options.onKeydown
|
|
106
|
+
}, () => [
|
|
107
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.removeIcon ? 'span' : 'TimesCircleIcon'), vue.mergeProps({
|
|
108
|
+
tabindex: "0",
|
|
109
|
+
class: ['p-chip-remove-icon', $props.removeIcon],
|
|
110
|
+
onClick: $options.close,
|
|
111
|
+
onKeydown: $options.onKeydown
|
|
112
|
+
}, _ctx.ptm('removeIcon')), null, 16, ["class", "onClick", "onKeydown"]))
|
|
113
|
+
])
|
|
102
114
|
: vue.createCommentVNode("", true)
|
|
103
|
-
],
|
|
115
|
+
], 16, _hoisted_1))
|
|
104
116
|
: vue.createCommentVNode("", true)
|
|
105
117
|
}
|
|
106
118
|
|
|
@@ -138,4 +150,4 @@ this.primevue.chip = (function (vue) {
|
|
|
138
150
|
|
|
139
151
|
return script;
|
|
140
152
|
|
|
141
|
-
})(Vue);
|
|
153
|
+
})(primevue.basecomponent, primevue.icons.timescircle, Vue);
|
package/chip/chip.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.chip=function(e){"use strict";var n={name:"Chip",emits:["remove"],props:{label:{type:String,default:null},icon:{type:String,default:null},image:{type:String,default:null},removable:{type:Boolean,default:!1},removeIcon:{type:String,default:
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.chip=function(e,n,o){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=t(e),l=t(n),c={name:"Chip",extends:i.default,emits:["remove"],props:{label:{type:String,default:null},icon:{type:String,default:null},image:{type:String,default:null},removable:{type:Boolean,default:!1},removeIcon:{type:String,default:void 0}},data:()=>({visible:!0}),methods:{onKeydown(e){"Enter"!==e.key&&"Backspace"!==e.key||this.close(e)},close(e){this.visible=!1,this.$emit("remove",e)}},computed:{containerClass(){return["p-chip p-component",{"p-chip-image":null!=this.image}]}},components:{TimesCircleIcon:l.default}};const r=["aria-label"],s=["src"];return function(e,n){void 0===n&&(n={});var o=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===o&&t.firstChild?t.insertBefore(i,t.firstChild):t.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}("\n.p-chip {\n display: inline-flex;\n align-items: center;\n}\n.p-chip-text {\n line-height: 1.5;\n}\n.p-chip-icon.pi {\n line-height: 1.5;\n}\n.p-chip-remove-icon {\n line-height: 1.5;\n cursor: pointer;\n}\n.p-chip img {\n border-radius: 50%;\n}\n"),c.render=function(e,n,t,i,l,c){return l.visible?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0,class:c.containerClass,"aria-label":t.label},e.ptm("root")),[o.renderSlot(e.$slots,"default",{},(()=>[t.image?(o.openBlock(),o.createElementBlock("img",o.mergeProps({key:0,src:t.image},e.ptm("image")),null,16,s)):e.$slots.icon?(o.openBlock(),o.createBlock(o.resolveDynamicComponent(e.$slots.icon),o.mergeProps({key:1,class:"p-chip-icon"},e.ptm("icon")),null,16)):t.icon?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:2,class:["p-chip-icon",t.icon]},e.ptm("icon")),null,16)):o.createCommentVNode("",!0),t.label?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:3,class:"p-chip-text"},e.ptm("label")),o.toDisplayString(t.label),17)):o.createCommentVNode("",!0)])),t.removable?o.renderSlot(e.$slots,"removeicon",{key:0,onClick:c.close,onKeydown:c.onKeydown},(()=>[(o.openBlock(),o.createBlock(o.resolveDynamicComponent(t.removeIcon?"span":"TimesCircleIcon"),o.mergeProps({tabindex:"0",class:["p-chip-remove-icon",t.removeIcon],onClick:c.close,onKeydown:c.onKeydown},e.ptm("removeIcon")),null,16,["class","onClick","onKeydown"]))])):o.createCommentVNode("",!0)],16,r)):o.createCommentVNode("",!0)},c}(primevue.basecomponent,primevue.icons.timescircle,Vue);
|
package/chips/Chips.d.ts
CHANGED
|
@@ -72,11 +72,12 @@ export interface ChipsProps {
|
|
|
72
72
|
inputStyle?: object | undefined;
|
|
73
73
|
/**
|
|
74
74
|
* Uses to pass all properties of the HTMLInputElement to the focusable input element inside the component.
|
|
75
|
+
* @deprecated since v3.26.0. Use 'pt' property instead.
|
|
75
76
|
*/
|
|
76
77
|
inputProps?: InputHTMLAttributes | undefined;
|
|
77
78
|
/**
|
|
78
79
|
* Icon to display in chip remove action.
|
|
79
|
-
* @
|
|
80
|
+
* @deprecated since v3.27.0. Use 'removetokenicon' slot.
|
|
80
81
|
*/
|
|
81
82
|
removeTokenIcon?: string | undefined;
|
|
82
83
|
/**
|
|
@@ -110,6 +111,16 @@ export interface ChipsSlots {
|
|
|
110
111
|
*/
|
|
111
112
|
value: any;
|
|
112
113
|
}): VNode[];
|
|
114
|
+
/**
|
|
115
|
+
* Custom remove token icon template.
|
|
116
|
+
* @param {Object} scope - remove token icon slot's params.
|
|
117
|
+
*/
|
|
118
|
+
removetokenicon(scope: {
|
|
119
|
+
/**
|
|
120
|
+
* Remove icon click event
|
|
121
|
+
*/
|
|
122
|
+
onClick(): void;
|
|
123
|
+
}): VNode[];
|
|
113
124
|
}
|
|
114
125
|
/**
|
|
115
126
|
* Defines valid emits in Chips component.
|
package/chips/Chips.vue
CHANGED
|
@@ -28,7 +28,9 @@
|
|
|
28
28
|
<slot name="chip" :value="val">
|
|
29
29
|
<span class="p-chips-token-label">{{ val }}</span>
|
|
30
30
|
</slot>
|
|
31
|
-
<
|
|
31
|
+
<slot name="removetokenicon" :onClick="(event) => removeItem(event, i)">
|
|
32
|
+
<component :is="removeTokenIcon ? 'span' : 'TimesCircleIcon'" :class="['p-chips-token-icon', removeTokenIcon]" @click="removeItem($event, i)" aria-hidden="true" />
|
|
33
|
+
</slot>
|
|
32
34
|
</li>
|
|
33
35
|
<li class="p-chips-input-token" role="option">
|
|
34
36
|
<input
|
|
@@ -52,6 +54,7 @@
|
|
|
52
54
|
</template>
|
|
53
55
|
|
|
54
56
|
<script>
|
|
57
|
+
import TimesCircleIcon from 'primevue/icons/timescircle';
|
|
55
58
|
import { UniqueComponentId } from 'primevue/utils';
|
|
56
59
|
|
|
57
60
|
export default {
|
|
@@ -104,7 +107,7 @@ export default {
|
|
|
104
107
|
},
|
|
105
108
|
removeTokenIcon: {
|
|
106
109
|
type: String,
|
|
107
|
-
default:
|
|
110
|
+
default: undefined
|
|
108
111
|
},
|
|
109
112
|
'aria-labelledby': {
|
|
110
113
|
type: String,
|
|
@@ -309,6 +312,9 @@ export default {
|
|
|
309
312
|
focusedOptionId() {
|
|
310
313
|
return this.focusedIndex !== null ? `${this.id}_chips_item_${this.focusedIndex}` : null;
|
|
311
314
|
}
|
|
315
|
+
},
|
|
316
|
+
components: {
|
|
317
|
+
TimesCircleIcon: TimesCircleIcon
|
|
312
318
|
}
|
|
313
319
|
};
|
|
314
320
|
</script>
|
package/chips/chips.cjs.js
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var TimesCircleIcon = require('primevue/icons/timescircle');
|
|
3
4
|
var utils = require('primevue/utils');
|
|
4
5
|
var vue = require('vue');
|
|
5
6
|
|
|
7
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
|
+
|
|
9
|
+
var TimesCircleIcon__default = /*#__PURE__*/_interopDefaultLegacy(TimesCircleIcon);
|
|
10
|
+
|
|
6
11
|
var script = {
|
|
7
12
|
name: 'Chips',
|
|
8
13
|
emits: ['update:modelValue', 'add', 'remove', 'focus', 'blur'],
|
|
@@ -53,7 +58,7 @@ var script = {
|
|
|
53
58
|
},
|
|
54
59
|
removeTokenIcon: {
|
|
55
60
|
type: String,
|
|
56
|
-
default:
|
|
61
|
+
default: undefined
|
|
57
62
|
},
|
|
58
63
|
'aria-labelledby': {
|
|
59
64
|
type: String,
|
|
@@ -255,18 +260,20 @@ var script = {
|
|
|
255
260
|
focusedOptionId() {
|
|
256
261
|
return this.focusedIndex !== null ? `${this.id}_chips_item_${this.focusedIndex}` : null;
|
|
257
262
|
}
|
|
263
|
+
},
|
|
264
|
+
components: {
|
|
265
|
+
TimesCircleIcon: TimesCircleIcon__default["default"]
|
|
258
266
|
}
|
|
259
267
|
};
|
|
260
268
|
|
|
261
269
|
const _hoisted_1 = ["aria-labelledby", "aria-label", "aria-activedescendant"];
|
|
262
270
|
const _hoisted_2 = ["id", "aria-label", "aria-setsize", "aria-posinset"];
|
|
263
271
|
const _hoisted_3 = { class: "p-chips-token-label" };
|
|
264
|
-
const _hoisted_4 =
|
|
265
|
-
const _hoisted_5 = {
|
|
272
|
+
const _hoisted_4 = {
|
|
266
273
|
class: "p-chips-input-token",
|
|
267
274
|
role: "option"
|
|
268
275
|
};
|
|
269
|
-
const
|
|
276
|
+
const _hoisted_5 = ["id", "disabled", "placeholder"];
|
|
270
277
|
|
|
271
278
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
272
279
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -300,14 +307,18 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
300
307
|
vue.renderSlot(_ctx.$slots, "chip", { value: val }, () => [
|
|
301
308
|
vue.createElementVNode("span", _hoisted_3, vue.toDisplayString(val), 1)
|
|
302
309
|
]),
|
|
303
|
-
vue.
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
310
|
+
vue.renderSlot(_ctx.$slots, "removetokenicon", {
|
|
311
|
+
onClick: (event) => $options.removeItem(event, i)
|
|
312
|
+
}, () => [
|
|
313
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.removeTokenIcon ? 'span' : 'TimesCircleIcon'), {
|
|
314
|
+
class: vue.normalizeClass(['p-chips-token-icon', $props.removeTokenIcon]),
|
|
315
|
+
onClick: $event => ($options.removeItem($event, i)),
|
|
316
|
+
"aria-hidden": "true"
|
|
317
|
+
}, null, 8, ["class", "onClick"]))
|
|
318
|
+
])
|
|
308
319
|
], 10, _hoisted_2))
|
|
309
320
|
}), 128)),
|
|
310
|
-
vue.createElementVNode("li",
|
|
321
|
+
vue.createElementVNode("li", _hoisted_4, [
|
|
311
322
|
vue.createElementVNode("input", vue.mergeProps({
|
|
312
323
|
ref: "input",
|
|
313
324
|
id: $props.inputId,
|
|
@@ -321,7 +332,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
321
332
|
onInput: _cache[2] || (_cache[2] = (...args) => ($options.onInput && $options.onInput(...args))),
|
|
322
333
|
onKeydown: _cache[3] || (_cache[3] = $event => ($options.onKeyDown($event))),
|
|
323
334
|
onPaste: _cache[4] || (_cache[4] = $event => ($options.onPaste($event)))
|
|
324
|
-
}, $props.inputProps), null, 16,
|
|
335
|
+
}, $props.inputProps), null, 16, _hoisted_5)
|
|
325
336
|
])
|
|
326
337
|
], 40, _hoisted_1)
|
|
327
338
|
], 2))
|
package/chips/chips.cjs.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("primevue/
|
|
1
|
+
"use strict";var e=require("primevue/icons/timescircle"),t=require("primevue/utils"),n=require("vue");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i={name:"Chips",emits:["update:modelValue","add","remove","focus","blur"],props:{modelValue:{type:Array,default:null},max:{type:Number,default:null},separator:{type:[String,Object],default:null},addOnBlur:{type:Boolean,default:null},allowDuplicate:{type:Boolean,default:!0},placeholder:{type:String,default:null},disabled:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},inputProps:{type:null,default:null},removeTokenIcon:{type:String,default:void 0},"aria-labelledby":{type:String,default:null},"aria-label":{type:String,default:null}},data:()=>({id:t.UniqueComponentId(),inputValue:null,focused:!1,focusedIndex:null}),methods:{onWrapperClick(){this.$refs.input.focus()},onInput(e){this.inputValue=e.target.value,this.focusedIndex=null},onFocus(e){this.focused=!0,this.focusedIndex=null,this.$emit("focus",e)},onBlur(e){this.focused=!1,this.focusedIndex=null,this.addOnBlur&&this.addItem(e,e.target.value,!1),this.$emit("blur",e)},onKeyDown(e){const t=e.target.value;switch(e.code){case"Backspace":0===t.length&&this.modelValue&&this.modelValue.length>0&&(null!==this.focusedIndex?this.removeItem(e,this.focusedIndex):this.removeItem(e,this.modelValue.length-1));break;case"Enter":t&&t.trim().length&&!this.maxedOut&&this.addItem(e,t,!0);break;case"ArrowLeft":0===t.length&&this.modelValue&&this.modelValue.length>0&&this.$refs.container.focus();break;case"ArrowRight":e.stopPropagation();break;default:this.separator&&(this.separator===e.key||e.key.match(this.separator))&&this.addItem(e,t,!0)}},onPaste(e){if(this.separator){let t=(e.clipboardData||window.clipboardData).getData("Text");if(t){let n=this.modelValue||[],l=t.split(this.separator);l=l.filter((e=>this.allowDuplicate||-1===n.indexOf(e))),n=[...n,...l],this.updateModel(e,n,!0)}}},onContainerFocus(){this.focused=!0},onContainerBlur(){this.focusedIndex=-1,this.focused=!1},onContainerKeyDown(e){switch(e.code){case"ArrowLeft":this.onArrowLeftKeyOn(e);break;case"ArrowRight":this.onArrowRightKeyOn(e);break;case"Backspace":this.onBackspaceKeyOn(e)}},onArrowLeftKeyOn(){0===this.inputValue.length&&this.modelValue&&this.modelValue.length>0&&(this.focusedIndex=null===this.focusedIndex?this.modelValue.length-1:this.focusedIndex-1,this.focusedIndex<0&&(this.focusedIndex=0))},onArrowRightKeyOn(){0===this.inputValue.length&&this.modelValue&&this.modelValue.length>0&&(this.focusedIndex===this.modelValue.length-1?(this.focusedIndex=null,this.$refs.input.focus()):this.focusedIndex++)},onBackspaceKeyOn(e){null!==this.focusedIndex&&this.removeItem(e,this.focusedIndex)},updateModel(e,t,n){this.$emit("update:modelValue",t),this.$emit("add",{originalEvent:e,value:t}),this.$refs.input.value="",this.inputValue="",setTimeout((()=>{this.maxedOut&&(this.focused=!1)}),0),n&&e.preventDefault()},addItem(e,t,n){if(t&&t.trim().length){let l=this.modelValue?[...this.modelValue]:[];(this.allowDuplicate||-1===l.indexOf(t))&&(l.push(t),this.updateModel(e,l,n))}},removeItem(e,t){if(this.disabled)return;let n=[...this.modelValue];const l=n.splice(t,1);this.focusedIndex=null,this.$refs.input.focus(),this.$emit("update:modelValue",n),this.$emit("remove",{originalEvent:e,value:l})}},computed:{maxedOut(){return this.max&&this.modelValue&&this.max===this.modelValue.length},containerClass(){return["p-chips p-component p-inputwrapper",{"p-disabled":this.disabled,"p-focus":this.focused,"p-inputwrapper-filled":this.modelValue&&this.modelValue.length||this.inputValue&&this.inputValue.length,"p-inputwrapper-focus":this.focused}]},focusedOptionId(){return null!==this.focusedIndex?`${this.id}_chips_item_${this.focusedIndex}`:null}},components:{TimesCircleIcon:l(e).default}};const o=["aria-labelledby","aria-label","aria-activedescendant"],a=["id","aria-label","aria-setsize","aria-posinset"],s={class:"p-chips-token-label"},u={class:"p-chips-input-token",role:"option"},d=["id","disabled","placeholder"];!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var l=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&l.firstChild?l.insertBefore(i,l.firstChild):l.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}("\n.p-chips {\n display: inline-flex;\n}\n.p-chips-multiple-container {\n margin: 0;\n padding: 0;\n list-style-type: none;\n cursor: text;\n overflow: hidden;\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n}\n.p-chips-token {\n cursor: default;\n display: inline-flex;\n align-items: center;\n flex: 0 0 auto;\n}\n.p-chips-input-token {\n flex: 1 1 auto;\n display: inline-flex;\n}\n.p-chips-token-icon {\n cursor: pointer;\n}\n.p-chips-input-token input {\n border: 0 none;\n outline: 0 none;\n background-color: transparent;\n margin: 0;\n padding: 0;\n box-shadow: none;\n border-radius: 0;\n width: 100%;\n}\n.p-fluid .p-chips {\n display: flex;\n}\n"),i.render=function(e,t,l,i,r,c){return n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(c.containerClass)},[n.createElementVNode("ul",{ref:"container",class:"p-inputtext p-chips-multiple-container",tabindex:"-1",role:"listbox","aria-orientation":"horizontal","aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-activedescendant":r.focused?c.focusedOptionId:void 0,onClick:t[5]||(t[5]=e=>c.onWrapperClick()),onFocus:t[6]||(t[6]=(...e)=>c.onContainerFocus&&c.onContainerFocus(...e)),onBlur:t[7]||(t[7]=(...e)=>c.onContainerBlur&&c.onContainerBlur(...e)),onKeydown:t[8]||(t[8]=(...e)=>c.onContainerKeyDown&&c.onContainerKeyDown(...e))},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(l.modelValue,((t,i)=>(n.openBlock(),n.createElementBlock("li",{key:`${i}_${t}`,id:r.id+"_chips_item_"+i,role:"option",class:n.normalizeClass(["p-chips-token",{"p-focus":r.focusedIndex===i}]),"aria-label":t,"aria-selected":!0,"aria-setsize":l.modelValue.length,"aria-posinset":i+1},[n.renderSlot(e.$slots,"chip",{value:t},(()=>[n.createElementVNode("span",s,n.toDisplayString(t),1)])),n.renderSlot(e.$slots,"removetokenicon",{onClick:e=>c.removeItem(e,i)},(()=>[(n.openBlock(),n.createBlock(n.resolveDynamicComponent(l.removeTokenIcon?"span":"TimesCircleIcon"),{class:n.normalizeClass(["p-chips-token-icon",l.removeTokenIcon]),onClick:e=>c.removeItem(e,i),"aria-hidden":"true"},null,8,["class","onClick"]))]))],10,a)))),128)),n.createElementVNode("li",u,[n.createElementVNode("input",n.mergeProps({ref:"input",id:l.inputId,type:"text",class:l.inputClass,style:l.inputStyle,disabled:l.disabled||c.maxedOut,placeholder:l.placeholder,onFocus:t[0]||(t[0]=e=>c.onFocus(e)),onBlur:t[1]||(t[1]=e=>c.onBlur(e)),onInput:t[2]||(t[2]=(...e)=>c.onInput&&c.onInput(...e)),onKeydown:t[3]||(t[3]=e=>c.onKeyDown(e)),onPaste:t[4]||(t[4]=e=>c.onPaste(e))},l.inputProps),null,16,d)])],40,o)],2)},module.exports=i;
|
package/chips/chips.esm.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import TimesCircleIcon from 'primevue/icons/timescircle';
|
|
1
2
|
import { UniqueComponentId } from 'primevue/utils';
|
|
2
|
-
import { openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, renderSlot, toDisplayString, mergeProps } from 'vue';
|
|
3
|
+
import { openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, renderSlot, toDisplayString, createBlock, resolveDynamicComponent, mergeProps } from 'vue';
|
|
3
4
|
|
|
4
5
|
var script = {
|
|
5
6
|
name: 'Chips',
|
|
@@ -51,7 +52,7 @@ var script = {
|
|
|
51
52
|
},
|
|
52
53
|
removeTokenIcon: {
|
|
53
54
|
type: String,
|
|
54
|
-
default:
|
|
55
|
+
default: undefined
|
|
55
56
|
},
|
|
56
57
|
'aria-labelledby': {
|
|
57
58
|
type: String,
|
|
@@ -253,18 +254,20 @@ var script = {
|
|
|
253
254
|
focusedOptionId() {
|
|
254
255
|
return this.focusedIndex !== null ? `${this.id}_chips_item_${this.focusedIndex}` : null;
|
|
255
256
|
}
|
|
257
|
+
},
|
|
258
|
+
components: {
|
|
259
|
+
TimesCircleIcon: TimesCircleIcon
|
|
256
260
|
}
|
|
257
261
|
};
|
|
258
262
|
|
|
259
263
|
const _hoisted_1 = ["aria-labelledby", "aria-label", "aria-activedescendant"];
|
|
260
264
|
const _hoisted_2 = ["id", "aria-label", "aria-setsize", "aria-posinset"];
|
|
261
265
|
const _hoisted_3 = { class: "p-chips-token-label" };
|
|
262
|
-
const _hoisted_4 =
|
|
263
|
-
const _hoisted_5 = {
|
|
266
|
+
const _hoisted_4 = {
|
|
264
267
|
class: "p-chips-input-token",
|
|
265
268
|
role: "option"
|
|
266
269
|
};
|
|
267
|
-
const
|
|
270
|
+
const _hoisted_5 = ["id", "disabled", "placeholder"];
|
|
268
271
|
|
|
269
272
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
270
273
|
return (openBlock(), createElementBlock("div", {
|
|
@@ -298,14 +301,18 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
298
301
|
renderSlot(_ctx.$slots, "chip", { value: val }, () => [
|
|
299
302
|
createElementVNode("span", _hoisted_3, toDisplayString(val), 1)
|
|
300
303
|
]),
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
304
|
+
renderSlot(_ctx.$slots, "removetokenicon", {
|
|
305
|
+
onClick: (event) => $options.removeItem(event, i)
|
|
306
|
+
}, () => [
|
|
307
|
+
(openBlock(), createBlock(resolveDynamicComponent($props.removeTokenIcon ? 'span' : 'TimesCircleIcon'), {
|
|
308
|
+
class: normalizeClass(['p-chips-token-icon', $props.removeTokenIcon]),
|
|
309
|
+
onClick: $event => ($options.removeItem($event, i)),
|
|
310
|
+
"aria-hidden": "true"
|
|
311
|
+
}, null, 8, ["class", "onClick"]))
|
|
312
|
+
])
|
|
306
313
|
], 10, _hoisted_2))
|
|
307
314
|
}), 128)),
|
|
308
|
-
createElementVNode("li",
|
|
315
|
+
createElementVNode("li", _hoisted_4, [
|
|
309
316
|
createElementVNode("input", mergeProps({
|
|
310
317
|
ref: "input",
|
|
311
318
|
id: $props.inputId,
|
|
@@ -319,7 +326,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
319
326
|
onInput: _cache[2] || (_cache[2] = (...args) => ($options.onInput && $options.onInput(...args))),
|
|
320
327
|
onKeydown: _cache[3] || (_cache[3] = $event => ($options.onKeyDown($event))),
|
|
321
328
|
onPaste: _cache[4] || (_cache[4] = $event => ($options.onPaste($event)))
|
|
322
|
-
}, $props.inputProps), null, 16,
|
|
329
|
+
}, $props.inputProps), null, 16, _hoisted_5)
|
|
323
330
|
])
|
|
324
331
|
], 40, _hoisted_1)
|
|
325
332
|
], 2))
|
package/chips/chips.esm.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{UniqueComponentId as
|
|
1
|
+
import e from"primevue/icons/timescircle";import{UniqueComponentId as t}from"primevue/utils";import{openBlock as n,createElementBlock as i,normalizeClass as l,createElementVNode as o,Fragment as a,renderList as s,renderSlot as u,toDisplayString as d,createBlock as r,resolveDynamicComponent as p,mergeProps as c}from"vue";var h={name:"Chips",emits:["update:modelValue","add","remove","focus","blur"],props:{modelValue:{type:Array,default:null},max:{type:Number,default:null},separator:{type:[String,Object],default:null},addOnBlur:{type:Boolean,default:null},allowDuplicate:{type:Boolean,default:!0},placeholder:{type:String,default:null},disabled:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},inputProps:{type:null,default:null},removeTokenIcon:{type:String,default:void 0},"aria-labelledby":{type:String,default:null},"aria-label":{type:String,default:null}},data:()=>({id:t(),inputValue:null,focused:!1,focusedIndex:null}),methods:{onWrapperClick(){this.$refs.input.focus()},onInput(e){this.inputValue=e.target.value,this.focusedIndex=null},onFocus(e){this.focused=!0,this.focusedIndex=null,this.$emit("focus",e)},onBlur(e){this.focused=!1,this.focusedIndex=null,this.addOnBlur&&this.addItem(e,e.target.value,!1),this.$emit("blur",e)},onKeyDown(e){const t=e.target.value;switch(e.code){case"Backspace":0===t.length&&this.modelValue&&this.modelValue.length>0&&(null!==this.focusedIndex?this.removeItem(e,this.focusedIndex):this.removeItem(e,this.modelValue.length-1));break;case"Enter":t&&t.trim().length&&!this.maxedOut&&this.addItem(e,t,!0);break;case"ArrowLeft":0===t.length&&this.modelValue&&this.modelValue.length>0&&this.$refs.container.focus();break;case"ArrowRight":e.stopPropagation();break;default:this.separator&&(this.separator===e.key||e.key.match(this.separator))&&this.addItem(e,t,!0)}},onPaste(e){if(this.separator){let t=(e.clipboardData||window.clipboardData).getData("Text");if(t){let n=this.modelValue||[],i=t.split(this.separator);i=i.filter((e=>this.allowDuplicate||-1===n.indexOf(e))),n=[...n,...i],this.updateModel(e,n,!0)}}},onContainerFocus(){this.focused=!0},onContainerBlur(){this.focusedIndex=-1,this.focused=!1},onContainerKeyDown(e){switch(e.code){case"ArrowLeft":this.onArrowLeftKeyOn(e);break;case"ArrowRight":this.onArrowRightKeyOn(e);break;case"Backspace":this.onBackspaceKeyOn(e)}},onArrowLeftKeyOn(){0===this.inputValue.length&&this.modelValue&&this.modelValue.length>0&&(this.focusedIndex=null===this.focusedIndex?this.modelValue.length-1:this.focusedIndex-1,this.focusedIndex<0&&(this.focusedIndex=0))},onArrowRightKeyOn(){0===this.inputValue.length&&this.modelValue&&this.modelValue.length>0&&(this.focusedIndex===this.modelValue.length-1?(this.focusedIndex=null,this.$refs.input.focus()):this.focusedIndex++)},onBackspaceKeyOn(e){null!==this.focusedIndex&&this.removeItem(e,this.focusedIndex)},updateModel(e,t,n){this.$emit("update:modelValue",t),this.$emit("add",{originalEvent:e,value:t}),this.$refs.input.value="",this.inputValue="",setTimeout((()=>{this.maxedOut&&(this.focused=!1)}),0),n&&e.preventDefault()},addItem(e,t,n){if(t&&t.trim().length){let i=this.modelValue?[...this.modelValue]:[];(this.allowDuplicate||-1===i.indexOf(t))&&(i.push(t),this.updateModel(e,i,n))}},removeItem(e,t){if(this.disabled)return;let n=[...this.modelValue];const i=n.splice(t,1);this.focusedIndex=null,this.$refs.input.focus(),this.$emit("update:modelValue",n),this.$emit("remove",{originalEvent:e,value:i})}},computed:{maxedOut(){return this.max&&this.modelValue&&this.max===this.modelValue.length},containerClass(){return["p-chips p-component p-inputwrapper",{"p-disabled":this.disabled,"p-focus":this.focused,"p-inputwrapper-filled":this.modelValue&&this.modelValue.length||this.inputValue&&this.inputValue.length,"p-inputwrapper-focus":this.focused}]},focusedOptionId(){return null!==this.focusedIndex?`${this.id}_chips_item_${this.focusedIndex}`:null}},components:{TimesCircleIcon:e}};const f=["aria-labelledby","aria-label","aria-activedescendant"],m=["id","aria-label","aria-setsize","aria-posinset"],y={class:"p-chips-token-label"},x={class:"p-chips-input-token",role:"option"},g=["id","disabled","placeholder"];!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css","top"===n&&i.firstChild?i.insertBefore(l,i.firstChild):i.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e))}}("\n.p-chips {\n display: inline-flex;\n}\n.p-chips-multiple-container {\n margin: 0;\n padding: 0;\n list-style-type: none;\n cursor: text;\n overflow: hidden;\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n}\n.p-chips-token {\n cursor: default;\n display: inline-flex;\n align-items: center;\n flex: 0 0 auto;\n}\n.p-chips-input-token {\n flex: 1 1 auto;\n display: inline-flex;\n}\n.p-chips-token-icon {\n cursor: pointer;\n}\n.p-chips-input-token input {\n border: 0 none;\n outline: 0 none;\n background-color: transparent;\n margin: 0;\n padding: 0;\n box-shadow: none;\n border-radius: 0;\n width: 100%;\n}\n.p-fluid .p-chips {\n display: flex;\n}\n"),h.render=function(e,t,h,I,b,v){return n(),i("div",{class:l(v.containerClass)},[o("ul",{ref:"container",class:"p-inputtext p-chips-multiple-container",tabindex:"-1",role:"listbox","aria-orientation":"horizontal","aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-activedescendant":b.focused?v.focusedOptionId:void 0,onClick:t[5]||(t[5]=e=>v.onWrapperClick()),onFocus:t[6]||(t[6]=(...e)=>v.onContainerFocus&&v.onContainerFocus(...e)),onBlur:t[7]||(t[7]=(...e)=>v.onContainerBlur&&v.onContainerBlur(...e)),onKeydown:t[8]||(t[8]=(...e)=>v.onContainerKeyDown&&v.onContainerKeyDown(...e))},[(n(!0),i(a,null,s(h.modelValue,((t,a)=>(n(),i("li",{key:`${a}_${t}`,id:b.id+"_chips_item_"+a,role:"option",class:l(["p-chips-token",{"p-focus":b.focusedIndex===a}]),"aria-label":t,"aria-selected":!0,"aria-setsize":h.modelValue.length,"aria-posinset":a+1},[u(e.$slots,"chip",{value:t},(()=>[o("span",y,d(t),1)])),u(e.$slots,"removetokenicon",{onClick:e=>v.removeItem(e,a)},(()=>[(n(),r(p(h.removeTokenIcon?"span":"TimesCircleIcon"),{class:l(["p-chips-token-icon",h.removeTokenIcon]),onClick:e=>v.removeItem(e,a),"aria-hidden":"true"},null,8,["class","onClick"]))]))],10,m)))),128)),o("li",x,[o("input",c({ref:"input",id:h.inputId,type:"text",class:h.inputClass,style:h.inputStyle,disabled:h.disabled||v.maxedOut,placeholder:h.placeholder,onFocus:t[0]||(t[0]=e=>v.onFocus(e)),onBlur:t[1]||(t[1]=e=>v.onBlur(e)),onInput:t[2]||(t[2]=(...e)=>v.onInput&&v.onInput(...e)),onKeydown:t[3]||(t[3]=e=>v.onKeyDown(e)),onPaste:t[4]||(t[4]=e=>v.onPaste(e))},h.inputProps),null,16,g)])],40,f)],2)};export{h as default};
|