primevue 3.26.0 → 3.27.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 +4 -8
- 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/api/Api.d.ts +292 -284
- package/autocomplete/AutoComplete.d.ts +15 -3
- package/autocomplete/AutoComplete.vue +25 -10
- package/autocomplete/autocomplete.cjs.js +62 -36
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +60 -37
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +61 -38
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/Avatar.d.ts +5 -0
- package/avatar/Avatar.vue +5 -6
- package/avatar/avatar.cjs.js +25 -20
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.js +26 -21
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +25 -20
- package/avatar/avatar.min.js +1 -1
- package/badge/Badge.d.ts +1 -1
- package/basecomponent/BaseComponent.vue +26 -0
- package/basecomponent/basecomponent.cjs.js +28 -0
- package/basecomponent/basecomponent.cjs.min.js +1 -0
- package/basecomponent/basecomponent.esm.js +26 -0
- package/basecomponent/basecomponent.esm.min.js +1 -0
- package/basecomponent/basecomponent.js +30 -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/breadcrumb/Breadcrumb.d.ts +18 -0
- package/breadcrumb/Breadcrumb.vue +8 -4
- package/breadcrumb/BreadcrumbItem.vue +7 -10
- package/breadcrumb/breadcrumb.cjs.js +46 -35
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +43 -36
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +47 -37
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/Button.d.ts +21 -2
- package/button/Button.vue +23 -8
- package/button/button.cjs.js +54 -25
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +54 -26
- package/button/button.esm.min.js +1 -1
- package/button/button.js +55 -27
- package/button/button.min.js +1 -1
- package/calendar/Calendar.d.ts +25 -5
- package/calendar/Calendar.vue +57 -24
- package/calendar/calendar.cjs.js +85 -44
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +81 -45
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +82 -46
- 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/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 +20 -1
- package/chip/Chip.vue +13 -10
- package/chip/chip.cjs.js +46 -31
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.esm.js +43 -32
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +47 -33
- 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/config.cjs.js +1 -1
- package/config/config.cjs.min.js +1 -1
- package/config/config.esm.js +1 -1
- package/config/config.esm.min.js +1 -1
- package/config/config.js +1 -1
- package/config/config.min.js +1 -1
- package/confirmdialog/ConfirmDialog.d.ts +23 -1
- package/confirmdialog/ConfirmDialog.vue +18 -3
- package/confirmdialog/confirmdialog.cjs.js +36 -11
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +37 -12
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +36 -11
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/ConfirmPopup.d.ts +23 -1
- package/confirmpopup/ConfirmPopup.vue +18 -3
- package/confirmpopup/confirmpopup.cjs.js +35 -9
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +36 -10
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +35 -9
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/ContextMenu.d.ts +23 -0
- package/contextmenu/ContextMenu.vue +1 -1
- package/contextmenu/ContextMenuSub.vue +17 -8
- package/contextmenu/contextmenu.cjs.js +48 -23
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +48 -24
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +49 -25
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +2685 -315
- package/core/core.min.js +106 -12
- package/datatable/BodyCell.vue +44 -13
- package/datatable/ColumnFilter.vue +59 -17
- package/datatable/DataTable.d.ts +43 -5
- package/datatable/DataTable.vue +49 -11
- 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 +32 -18
- package/datatable/TableFooter.vue +1 -1
- package/datatable/TableHeader.vue +10 -0
- package/datatable/datatable.cjs.js +442 -154
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +427 -155
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +428 -156
- 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 +18 -4
- package/dialog/Dialog.vue +22 -13
- package/dialog/dialog.cjs.js +29 -17
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +27 -18
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +28 -19
- 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/dropdown/Dropdown.d.ts +41 -5
- package/dropdown/Dropdown.vue +28 -14
- package/dropdown/dropdown.cjs.js +70 -32
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +67 -33
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +68 -34
- package/dropdown/dropdown.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 +13 -2
- package/fileupload/FileUpload.d.ts +28 -3
- package/fileupload/FileUpload.vue +35 -16
- package/fileupload/fileupload.cjs.js +89 -29
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +87 -30
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +88 -31
- 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 +25 -0
- package/image/Image.vue +38 -12
- package/image/image.cjs.js +68 -42
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +63 -43
- package/image/image.esm.min.js +1 -1
- package/image/image.js +64 -44
- package/image/image.min.js +1 -1
- package/inlinemessage/InlineMessage.d.ts +10 -1
- package/inlinemessage/InlineMessage.vue +19 -11
- package/inlinemessage/inlinemessage.cjs.js +27 -13
- package/inlinemessage/inlinemessage.cjs.min.js +1 -1
- package/inlinemessage/inlinemessage.esm.js +21 -14
- package/inlinemessage/inlinemessage.esm.min.js +1 -1
- package/inlinemessage/inlinemessage.js +25 -15
- package/inlinemessage/inlinemessage.min.js +1 -1
- package/inplace/Inplace.d.ts +5 -1
- package/inplace/Inplace.vue +11 -3
- package/inplace/inplace.cjs.js +15 -4
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +15 -5
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +16 -6
- 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 +23 -0
- package/megamenu/MegaMenu.vue +1 -1
- package/megamenu/MegaMenuSub.vue +19 -11
- package/megamenu/megamenu.cjs.js +48 -23
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +46 -23
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +48 -25
- package/megamenu/megamenu.min.js +1 -1
- package/menu/Menu.d.ts +14 -0
- package/menu/Menu.vue +2 -2
- package/menu/Menuitem.vue +12 -5
- package/menu/menu.cjs.js +34 -17
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +35 -18
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +34 -17
- package/menu/menu.min.js +1 -1
- package/menubar/Menubar.d.ts +31 -0
- package/menubar/Menubar.vue +7 -3
- package/menubar/MenubarSub.vue +19 -11
- package/menubar/menubar.cjs.js +65 -35
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +63 -36
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +64 -37
- package/menubar/menubar.min.js +1 -1
- package/message/Message.d.ts +21 -2
- package/message/Message.vue +30 -18
- package/message/message.cjs.js +45 -22
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +41 -23
- package/message/message.esm.min.js +1 -1
- package/message/message.js +42 -24
- package/message/message.min.js +1 -1
- package/multiselect/MultiSelect.d.ts +86 -7
- package/multiselect/MultiSelect.vue +44 -19
- package/multiselect/multiselect.cjs.js +99 -34
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +94 -35
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +95 -36
- 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 +9 -0
- package/overlaypanel/OverlayPanel.vue +10 -2
- package/overlaypanel/overlaypanel.cjs.js +15 -6
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +15 -7
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +16 -8
- 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 +91 -0
- package/panel/Panel.vue +21 -8
- package/panel/panel.cjs.js +40 -26
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +38 -27
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +39 -28
- package/panel/panel.min.js +1 -1
- package/panelmenu/PanelMenu.d.ts +37 -0
- package/panelmenu/PanelMenu.vue +13 -8
- package/panelmenu/PanelMenuList.vue +3 -3
- package/panelmenu/PanelMenuSub.vue +19 -11
- package/panelmenu/panelmenu.cjs.js +80 -42
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +79 -43
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +80 -44
- 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/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 +80 -1
- package/resources/themes/md-dark-indigo/theme.css +80 -1
- package/resources/themes/md-light-deeppurple/theme.css +80 -1
- package/resources/themes/md-light-indigo/theme.css +80 -1
- package/resources/themes/mdc-dark-deeppurple/theme.css +80 -1
- package/resources/themes/mdc-dark-indigo/theme.css +80 -1
- package/resources/themes/mdc-light-deeppurple/theme.css +80 -1
- package/resources/themes/mdc-light-indigo/theme.css +80 -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 +8 -2
- package/scrolltop/ScrollTop.vue +8 -6
- package/scrolltop/scrolltop.cjs.js +15 -8
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.js +12 -9
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +16 -10
- package/scrolltop/scrolltop.min.js +1 -1
- package/sidebar/Sidebar.d.ts +5 -1
- package/sidebar/Sidebar.vue +7 -3
- package/sidebar/sidebar.cjs.js +10 -5
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +10 -6
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +11 -7
- package/sidebar/sidebar.min.js +1 -1
- package/speeddial/SpeedDial.d.ts +12 -1
- package/speeddial/SpeedDial.vue +16 -8
- package/speeddial/speeddial.cjs.js +25 -8
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +25 -9
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +26 -10
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/SplitButton.d.ts +11 -1
- package/splitbutton/SplitButton.vue +18 -5
- package/splitbutton/splitbutton.cjs.js +27 -8
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +27 -9
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +28 -10
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/Splitter.d.ts +51 -0
- package/splitter/Splitter.vue +5 -2
- package/splitter/splitter.cjs.js +14 -10
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +11 -11
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +15 -12
- 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/tabmenu/TabMenu.d.ts +14 -0
- package/tabmenu/TabMenu.vue +4 -2
- package/tabmenu/tabmenu.cjs.js +20 -8
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +21 -9
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +20 -8
- 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 +6 -1
- package/tag/Tag.vue +2 -1
- package/tag/tag.cjs.js +10 -5
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +11 -6
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +10 -5
- package/tag/tag.min.js +1 -1
- package/tieredmenu/TieredMenu.d.ts +23 -0
- package/tieredmenu/TieredMenu.vue +1 -1
- package/tieredmenu/TieredMenuSub.vue +17 -8
- package/tieredmenu/tieredmenu.cjs.js +49 -24
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +49 -25
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +50 -26
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/toast/Toast.d.ts +14 -5
- package/toast/Toast.vue +6 -6
- package/toast/ToastMessage.vue +26 -7
- package/toast/toast.cjs.js +42 -17
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +38 -18
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +39 -19
- 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 +34 -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 +44 -3
- 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 +148 -8
- package/vetur-tags.json +64 -24
- package/virtualscroller/VirtualScroller.d.ts +4 -0
- package/virtualscroller/VirtualScroller.vue +13 -2
- package/virtualscroller/virtualscroller.cjs.js +19 -7
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +16 -8
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +20 -9
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +1343 -136
- 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
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
this.primevue = this.primevue || {};
|
|
2
|
-
this.primevue.multiselect = (function (api, OverlayEventBus, Portal, Ripple, utils, VirtualScroller, vue) {
|
|
2
|
+
this.primevue.multiselect = (function (api, CheckIcon, ChevronDownIcon, SearchIcon, SpinnerIcon, TimesIcon, TimesCircleIcon, OverlayEventBus, Portal, Ripple, utils, VirtualScroller, vue) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
5
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
6
6
|
|
|
7
|
+
var CheckIcon__default = /*#__PURE__*/_interopDefaultLegacy(CheckIcon);
|
|
8
|
+
var ChevronDownIcon__default = /*#__PURE__*/_interopDefaultLegacy(ChevronDownIcon);
|
|
9
|
+
var SearchIcon__default = /*#__PURE__*/_interopDefaultLegacy(SearchIcon);
|
|
10
|
+
var SpinnerIcon__default = /*#__PURE__*/_interopDefaultLegacy(SpinnerIcon);
|
|
11
|
+
var TimesIcon__default = /*#__PURE__*/_interopDefaultLegacy(TimesIcon);
|
|
12
|
+
var TimesCircleIcon__default = /*#__PURE__*/_interopDefaultLegacy(TimesCircleIcon);
|
|
7
13
|
var OverlayEventBus__default = /*#__PURE__*/_interopDefaultLegacy(OverlayEventBus);
|
|
8
14
|
var Portal__default = /*#__PURE__*/_interopDefaultLegacy(Portal);
|
|
9
15
|
var Ripple__default = /*#__PURE__*/_interopDefaultLegacy(Ripple);
|
|
@@ -96,27 +102,27 @@ this.primevue.multiselect = (function (api, OverlayEventBus, Portal, Ripple, uti
|
|
|
96
102
|
},
|
|
97
103
|
checkboxIcon: {
|
|
98
104
|
type: String,
|
|
99
|
-
default:
|
|
105
|
+
default: undefined
|
|
100
106
|
},
|
|
101
107
|
closeIcon: {
|
|
102
108
|
type: String,
|
|
103
|
-
default:
|
|
109
|
+
default: undefined
|
|
104
110
|
},
|
|
105
111
|
dropdownIcon: {
|
|
106
112
|
type: String,
|
|
107
|
-
default:
|
|
113
|
+
default: undefined
|
|
108
114
|
},
|
|
109
115
|
filterIcon: {
|
|
110
116
|
type: String,
|
|
111
|
-
default:
|
|
117
|
+
default: undefined
|
|
112
118
|
},
|
|
113
119
|
loadingIcon: {
|
|
114
120
|
type: String,
|
|
115
|
-
default:
|
|
121
|
+
default: undefined
|
|
116
122
|
},
|
|
117
123
|
removeTokenIcon: {
|
|
118
124
|
type: String,
|
|
119
|
-
default:
|
|
125
|
+
default: undefined
|
|
120
126
|
},
|
|
121
127
|
selectAll: {
|
|
122
128
|
type: Boolean,
|
|
@@ -910,9 +916,6 @@ this.primevue.multiselect = (function (api, OverlayEventBus, Portal, Ripple, uti
|
|
|
910
916
|
}
|
|
911
917
|
];
|
|
912
918
|
},
|
|
913
|
-
dropdownIconClass() {
|
|
914
|
-
return ['p-multiselect-trigger-icon', this.loading ? this.loadingIcon : this.dropdownIcon];
|
|
915
|
-
},
|
|
916
919
|
panelStyleClass() {
|
|
917
920
|
return [
|
|
918
921
|
'p-multiselect-panel p-component',
|
|
@@ -943,9 +946,10 @@ this.primevue.multiselect = (function (api, OverlayEventBus, Portal, Ripple, uti
|
|
|
943
946
|
const filtered = [];
|
|
944
947
|
|
|
945
948
|
optionGroups.forEach((group) => {
|
|
946
|
-
const
|
|
949
|
+
const groupChildren = this.getOptionGroupChildren(group);
|
|
950
|
+
const filteredItems = groupChildren.filter((item) => filteredOptions.includes(item));
|
|
947
951
|
|
|
948
|
-
if (filteredItems.length > 0) filtered.push({ ...group, items: [...filteredItems] });
|
|
952
|
+
if (filteredItems.length > 0) filtered.push({ ...group, [typeof this.optionGroupChildren === 'string' ? this.optionGroupChildren : 'items']: [...filteredItems] });
|
|
949
953
|
});
|
|
950
954
|
|
|
951
955
|
return this.flatOptions(filtered);
|
|
@@ -1040,7 +1044,13 @@ this.primevue.multiselect = (function (api, OverlayEventBus, Portal, Ripple, uti
|
|
|
1040
1044
|
},
|
|
1041
1045
|
components: {
|
|
1042
1046
|
VirtualScroller: VirtualScroller__default["default"],
|
|
1043
|
-
Portal: Portal__default["default"]
|
|
1047
|
+
Portal: Portal__default["default"],
|
|
1048
|
+
TimesIcon: TimesIcon__default["default"],
|
|
1049
|
+
SearchIcon: SearchIcon__default["default"],
|
|
1050
|
+
TimesCircleIcon: TimesCircleIcon__default["default"],
|
|
1051
|
+
ChevronDownIcon: ChevronDownIcon__default["default"],
|
|
1052
|
+
SpinnerIcon: SpinnerIcon__default["default"],
|
|
1053
|
+
CheckIcon: CheckIcon__default["default"]
|
|
1044
1054
|
}
|
|
1045
1055
|
};
|
|
1046
1056
|
|
|
@@ -1095,6 +1105,8 @@ this.primevue.multiselect = (function (api, OverlayEventBus, Portal, Ripple, uti
|
|
|
1095
1105
|
};
|
|
1096
1106
|
|
|
1097
1107
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1108
|
+
const _component_TimesCircleIcon = vue.resolveComponent("TimesCircleIcon");
|
|
1109
|
+
const _component_SpinnerIcon = vue.resolveComponent("SpinnerIcon");
|
|
1098
1110
|
const _component_VirtualScroller = vue.resolveComponent("VirtualScroller");
|
|
1099
1111
|
const _component_Portal = vue.resolveComponent("Portal");
|
|
1100
1112
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
@@ -1148,11 +1160,23 @@ this.primevue.multiselect = (function (api, OverlayEventBus, Portal, Ripple, uti
|
|
|
1148
1160
|
vue.createElementVNode("span", _hoisted_4, vue.toDisplayString($options.getLabelByValue(item)), 1)
|
|
1149
1161
|
]),
|
|
1150
1162
|
(!$props.disabled)
|
|
1151
|
-
?
|
|
1163
|
+
? vue.renderSlot(_ctx.$slots, "removetokenicon", {
|
|
1152
1164
|
key: 0,
|
|
1153
|
-
class:
|
|
1154
|
-
onClick:
|
|
1155
|
-
},
|
|
1165
|
+
class: "p-multiselect-token-icon",
|
|
1166
|
+
onClick: (event) => $options.removeOption(event, item)
|
|
1167
|
+
}, () => [
|
|
1168
|
+
($props.removeTokenIcon)
|
|
1169
|
+
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
1170
|
+
key: 0,
|
|
1171
|
+
class: vue.normalizeClass(['p-multiselect-token-icon', $props.removeTokenIcon]),
|
|
1172
|
+
onClick: vue.withModifiers($event => ($options.removeOption($event, item)), ["stop"])
|
|
1173
|
+
}, null, 10, _hoisted_5))
|
|
1174
|
+
: (vue.openBlock(), vue.createBlock(_component_TimesCircleIcon, {
|
|
1175
|
+
key: 1,
|
|
1176
|
+
class: "p-multiselect-token-icon",
|
|
1177
|
+
onClick: vue.withModifiers($event => ($options.removeOption($event, item)), ["stop"])
|
|
1178
|
+
}, null, 8, ["onClick"]))
|
|
1179
|
+
])
|
|
1156
1180
|
: vue.createCommentVNode("", true)
|
|
1157
1181
|
]))
|
|
1158
1182
|
}), 128)),
|
|
@@ -1167,12 +1191,33 @@ this.primevue.multiselect = (function (api, OverlayEventBus, Portal, Ripple, uti
|
|
|
1167
1191
|
], 2)
|
|
1168
1192
|
]),
|
|
1169
1193
|
vue.createElementVNode("div", _hoisted_6, [
|
|
1170
|
-
|
|
1171
|
-
vue.
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1194
|
+
($props.loading)
|
|
1195
|
+
? vue.renderSlot(_ctx.$slots, "loadingicon", {
|
|
1196
|
+
key: 0,
|
|
1197
|
+
class: "p-multiselect-trigger-icon"
|
|
1198
|
+
}, () => [
|
|
1199
|
+
($props.loadingIcon)
|
|
1200
|
+
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
1201
|
+
key: 0,
|
|
1202
|
+
class: vue.normalizeClass(['p-multiselect-trigger-icon pi-spin', $props.loadingIcon]),
|
|
1203
|
+
"aria-hidden": "true"
|
|
1204
|
+
}, null, 2))
|
|
1205
|
+
: (vue.openBlock(), vue.createBlock(_component_SpinnerIcon, {
|
|
1206
|
+
key: 1,
|
|
1207
|
+
class: "p-multiselect-trigger-icon",
|
|
1208
|
+
spin: "",
|
|
1209
|
+
"aria-hidden": "true"
|
|
1210
|
+
}))
|
|
1211
|
+
])
|
|
1212
|
+
: vue.renderSlot(_ctx.$slots, "dropdownicon", {
|
|
1213
|
+
key: 1,
|
|
1214
|
+
class: "p-multiselect-trigger-icon"
|
|
1215
|
+
}, () => [
|
|
1216
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.dropdownIcon ? 'span' : 'ChevronDownIcon'), {
|
|
1217
|
+
class: vue.normalizeClass(['p-multiselect-trigger-icon', $props.dropdownIcon]),
|
|
1218
|
+
"aria-hidden": "true"
|
|
1219
|
+
}, null, 8, ["class"]))
|
|
1220
|
+
])
|
|
1176
1221
|
]),
|
|
1177
1222
|
vue.createVNode(_component_Portal, { appendTo: $props.appendTo }, {
|
|
1178
1223
|
default: vue.withCtx(() => [
|
|
@@ -1226,9 +1271,14 @@ this.primevue.multiselect = (function (api, OverlayEventBus, Portal, Ripple, uti
|
|
|
1226
1271
|
vue.createElementVNode("div", {
|
|
1227
1272
|
class: vue.normalizeClass(['p-checkbox-box', { 'p-highlight': $options.allSelected, 'p-focus': $data.headerCheckboxFocused }])
|
|
1228
1273
|
}, [
|
|
1229
|
-
vue.
|
|
1230
|
-
|
|
1231
|
-
|
|
1274
|
+
vue.renderSlot(_ctx.$slots, "headercheckboxicon", {
|
|
1275
|
+
allSelected: $options.allSelected,
|
|
1276
|
+
class: "p-checkbox-icon"
|
|
1277
|
+
}, () => [
|
|
1278
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.checkboxIcon ? 'span' : 'CheckIcon'), {
|
|
1279
|
+
class: vue.normalizeClass(['p-checkbox-icon', { [$props.checkboxIcon]: $options.allSelected }])
|
|
1280
|
+
}, null, 8, ["class"]))
|
|
1281
|
+
])
|
|
1232
1282
|
], 2)
|
|
1233
1283
|
], 2))
|
|
1234
1284
|
: vue.createCommentVNode("", true),
|
|
@@ -1249,9 +1299,11 @@ this.primevue.multiselect = (function (api, OverlayEventBus, Portal, Ripple, uti
|
|
|
1249
1299
|
onBlur: _cache[9] || (_cache[9] = (...args) => ($options.onFilterBlur && $options.onFilterBlur(...args))),
|
|
1250
1300
|
onInput: _cache[10] || (_cache[10] = (...args) => ($options.onFilterChange && $options.onFilterChange(...args)))
|
|
1251
1301
|
}, $props.filterInputProps), null, 16, _hoisted_11),
|
|
1252
|
-
vue.
|
|
1253
|
-
|
|
1254
|
-
|
|
1302
|
+
vue.renderSlot(_ctx.$slots, "filtericon", { class: "p-multiselect-filter-icon" }, () => [
|
|
1303
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.filterIcon ? 'span' : 'SearchIcon'), {
|
|
1304
|
+
class: vue.normalizeClass(['p-multiselect-filter-icon', $props.filterIcon])
|
|
1305
|
+
}, null, 8, ["class"]))
|
|
1306
|
+
])
|
|
1255
1307
|
]))
|
|
1256
1308
|
: vue.createCommentVNode("", true),
|
|
1257
1309
|
($props.filter)
|
|
@@ -1263,9 +1315,11 @@ this.primevue.multiselect = (function (api, OverlayEventBus, Portal, Ripple, uti
|
|
|
1263
1315
|
onClick: _cache[11] || (_cache[11] = (...args) => ($options.onCloseClick && $options.onCloseClick(...args))),
|
|
1264
1316
|
type: "button"
|
|
1265
1317
|
}, $props.closeButtonProps), [
|
|
1266
|
-
vue.
|
|
1267
|
-
|
|
1268
|
-
|
|
1318
|
+
vue.renderSlot(_ctx.$slots, "closeicon", { class: "p-multiselect-close-icon" }, () => [
|
|
1319
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.closeIcon ? 'span' : 'TimesIcon'), {
|
|
1320
|
+
class: vue.normalizeClass(['p-multiselect-close-icon', $props.closeIcon])
|
|
1321
|
+
}, null, 8, ["class"]))
|
|
1322
|
+
])
|
|
1269
1323
|
], 16, _hoisted_13)), [
|
|
1270
1324
|
[_directive_ripple]
|
|
1271
1325
|
])
|
|
@@ -1327,9 +1381,14 @@ this.primevue.multiselect = (function (api, OverlayEventBus, Portal, Ripple, uti
|
|
|
1327
1381
|
vue.createElementVNode("div", {
|
|
1328
1382
|
class: vue.normalizeClass(['p-checkbox-box', { 'p-highlight': $options.isSelected(option) }])
|
|
1329
1383
|
}, [
|
|
1330
|
-
vue.
|
|
1331
|
-
|
|
1332
|
-
|
|
1384
|
+
vue.renderSlot(_ctx.$slots, "itemcheckboxicon", {
|
|
1385
|
+
selected: $options.isSelected(option),
|
|
1386
|
+
class: "p-checkbox-icon"
|
|
1387
|
+
}, () => [
|
|
1388
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.checkboxIcon ? 'span' : 'CheckIcon'), {
|
|
1389
|
+
class: vue.normalizeClass(['p-checkbox-icon', { [$props.checkboxIcon]: $options.isSelected(option) }])
|
|
1390
|
+
}, null, 8, ["class"]))
|
|
1391
|
+
])
|
|
1333
1392
|
], 2)
|
|
1334
1393
|
]),
|
|
1335
1394
|
vue.renderSlot(_ctx.$slots, "option", {
|
|
@@ -1432,4 +1491,4 @@ this.primevue.multiselect = (function (api, OverlayEventBus, Portal, Ripple, uti
|
|
|
1432
1491
|
|
|
1433
1492
|
return script;
|
|
1434
1493
|
|
|
1435
|
-
})(primevue.api, primevue.overlayeventbus, primevue.portal, primevue.ripple, primevue.utils, primevue.virtualscroller, Vue);
|
|
1494
|
+
})(primevue.api, primevue.icons.check, primevue.icons.chevrondown, primevue.icons.search, primevue.icons.spinner, primevue.icons.times, primevue.icons.timescircle, primevue.overlayeventbus, primevue.portal, primevue.ripple, primevue.utils, primevue.virtualscroller, Vue);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.multiselect=function(e,t,i,l,s,n,o){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=a(t),c=a(i),d=a(l),p=a(n),h={name:"MultiSelect",emits:["update:modelValue","change","focus","blur","before-show","before-hide","show","hide","filter","selectall-change"],props:{modelValue:null,options:Array,optionLabel:null,optionValue:null,optionDisabled:null,optionGroupLabel:null,optionGroupChildren:null,scrollHeight:{type:String,default:"200px"},placeholder:String,disabled:Boolean,inputId:{type:String,default:null},inputProps:{type:null,default:null},panelClass:{type:String,default:null},panelStyle:{type:null,default:null},panelProps:{type:null,default:null},filterInputProps:{type:null,default:null},closeButtonProps:{type:null,default:null},dataKey:null,filter:Boolean,filterPlaceholder:String,filterLocale:String,filterMatchMode:{type:String,default:"contains"},filterFields:{type:Array,default:null},appendTo:{type:String,default:"body"},display:{type:String,default:"comma"},selectedItemsLabel:{type:String,default:"{0} items selected"},maxSelectedLabels:{type:Number,default:null},selectionLimit:{type:Number,default:null},showToggleAll:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},checkboxIcon:{type:String,default:"pi pi-check"},closeIcon:{type:String,default:"pi pi-times"},dropdownIcon:{type:String,default:"pi pi-chevron-down"},filterIcon:{type:String,default:"pi pi-search"},loadingIcon:{type:String,default:"pi pi-spinner pi-spin"},removeTokenIcon:{type:String,default:"pi pi-times-circle"},selectAll:{type:Boolean,default:null},resetFilterOnHide:{type:Boolean,default:!1},virtualScrollerOptions:{type:Object,default:null},autoOptionFocus:{type:Boolean,default:!0},autoFilterFocus:{type:Boolean,default:!1},filterMessage:{type:String,default:null},selectionMessage:{type:String,default:null},emptySelectionMessage:{type:String,default:null},emptyFilterMessage:{type:String,default:null},emptyMessage:{type:String,default:null},tabindex:{type:Number,default:0},"aria-label":{type:String,default:null},"aria-labelledby":{type:String,default:null}},outsideClickListener:null,scrollHandler:null,resizeListener:null,overlay:null,list:null,virtualScroller:null,startRangeIndex:-1,searchTimeout:null,searchValue:"",selectOnFocus:!1,focusOnHover:!1,data(){return{id:this.$attrs.id,focused:!1,focusedOptionIndex:-1,headerCheckboxFocused:!1,filterValue:null,overlayVisible:!1}},watch:{"$attrs.id":function(e){this.id=e||s.UniqueComponentId()},options(){this.autoUpdateModel()}},mounted(){this.id=this.id||s.UniqueComponentId(),this.autoUpdateModel()},beforeUnmount(){this.unbindOutsideClickListener(),this.unbindResizeListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.overlay&&(s.ZIndexUtils.clear(this.overlay),this.overlay=null)},methods:{getOptionIndex(e,t){return this.virtualScrollerDisabled?e:t&&t(e).index},getOptionLabel(e){return this.optionLabel?s.ObjectUtils.resolveFieldData(e,this.optionLabel):e},getOptionValue(e){return this.optionValue?s.ObjectUtils.resolveFieldData(e,this.optionValue):e},getOptionRenderKey(e){return this.dataKey?s.ObjectUtils.resolveFieldData(e,this.dataKey):this.getOptionLabel(e)},isOptionDisabled(e){return!(!this.maxSelectionLimitReached||this.isSelected(e))||!!this.optionDisabled&&s.ObjectUtils.resolveFieldData(e,this.optionDisabled)},isOptionGroup(e){return this.optionGroupLabel&&e.optionGroup&&e.group},getOptionGroupLabel(e){return s.ObjectUtils.resolveFieldData(e,this.optionGroupLabel)},getOptionGroupChildren(e){return s.ObjectUtils.resolveFieldData(e,this.optionGroupChildren)},getAriaPosInset(e){return(this.optionGroupLabel?e-this.visibleOptions.slice(0,e).filter((e=>this.isOptionGroup(e))).length:e)+1},show(e){this.$emit("before-show"),this.overlayVisible=!0,this.focusedOptionIndex=-1!==this.focusedOptionIndex?this.focusedOptionIndex:this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1,e&&s.DomHandler.focus(this.$refs.focusInput)},hide(e){const t=()=>{this.$emit("before-hide"),this.overlayVisible=!1,this.focusedOptionIndex=-1,this.searchValue="",this.resetFilterOnHide&&(this.filterValue=null),e&&s.DomHandler.focus(this.$refs.focusInput)};setTimeout((()=>{t()}),0)},onFocus(e){this.disabled||(this.focused=!0,this.focusedOptionIndex=-1!==this.focusedOptionIndex?this.focusedOptionIndex:this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1,this.overlayVisible&&this.scrollInView(this.focusedOptionIndex),this.$emit("focus",e))},onBlur(e){this.focused=!1,this.focusedOptionIndex=-1,this.searchValue="",this.$emit("blur",e)},onKeyDown(e){if(this.disabled)return void e.preventDefault();const t=e.metaKey||e.ctrlKey;switch(e.code){case"ArrowDown":this.onArrowDownKey(e);break;case"ArrowUp":this.onArrowUpKey(e);break;case"Home":this.onHomeKey(e);break;case"End":this.onEndKey(e);break;case"PageDown":this.onPageDownKey(e);break;case"PageUp":this.onPageUpKey(e);break;case"Enter":case"Space":this.onEnterKey(e);break;case"Escape":this.onEscapeKey(e);break;case"Tab":this.onTabKey(e);break;case"ShiftLeft":case"ShiftRight":this.onShiftKey(e);break;default:if("KeyA"===e.code&&t){const t=this.visibleOptions.filter((e=>this.isValidOption(e))).map((e=>this.getOptionValue(e)));this.updateModel(e,t),e.preventDefault();break}!t&&s.ObjectUtils.isPrintableCharacter(e.key)&&(!this.overlayVisible&&this.show(),this.searchOptions(e),e.preventDefault())}},onContainerClick(e){this.disabled||this.loading||this.overlay&&this.overlay.contains(e.target)||(this.overlayVisible?this.hide(!0):this.show(!0))},onFirstHiddenFocus(e){const t=e.relatedTarget===this.$refs.focusInput?s.DomHandler.getFirstFocusableElement(this.overlay,":not(.p-hidden-focusable)"):this.$refs.focusInput;s.DomHandler.focus(t)},onLastHiddenFocus(e){const t=e.relatedTarget===this.$refs.focusInput?s.DomHandler.getLastFocusableElement(this.overlay,":not(.p-hidden-focusable)"):this.$refs.focusInput;s.DomHandler.focus(t)},onCloseClick(){this.hide(!0)},onHeaderCheckboxFocus(){this.headerCheckboxFocused=!0},onHeaderCheckboxBlur(){this.headerCheckboxFocused=!1},onOptionSelect(e,t,i=-1,l=!1){if(this.disabled||this.isOptionDisabled(t))return;let n=null;n=this.isSelected(t)?this.modelValue.filter((e=>!s.ObjectUtils.equals(e,this.getOptionValue(t),this.equalityKey))):[...this.modelValue||[],this.getOptionValue(t)],this.updateModel(e,n),-1!==i&&(this.focusedOptionIndex=i),l&&s.DomHandler.focus(this.$refs.focusInput)},onOptionMouseMove(e,t){this.focusOnHover&&this.changeFocusedOptionIndex(e,t)},onOptionSelectRange(e,t=-1,i=-1){if(-1===t&&(t=this.findNearestSelectedOptionIndex(i,!0)),-1===i&&(i=this.findNearestSelectedOptionIndex(t)),-1!==t&&-1!==i){const l=Math.min(t,i),s=Math.max(t,i),n=this.visibleOptions.slice(l,s+1).filter((e=>this.isValidOption(e))).map((e=>this.getOptionValue(e)));this.updateModel(e,n)}},onFilterChange(e){const t=e.target.value;this.filterValue=t,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:e,value:t}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown(e){switch(e.code){case"ArrowDown":this.onArrowDownKey(e);break;case"ArrowUp":this.onArrowUpKey(e,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(e,!0);break;case"Home":this.onHomeKey(e,!0);break;case"End":this.onEndKey(e,!0);break;case"Enter":this.onEnterKey(e);break;case"Escape":this.onEscapeKey(e);break;case"Tab":this.onTabKey(e,!0)}},onFilterBlur(){this.focusedOptionIndex=-1},onFilterUpdated(){this.overlayVisible&&this.alignOverlay()},onOverlayClick(e){r.default.emit("overlay-click",{originalEvent:e,target:this.$el})},onOverlayKeyDown(e){if("Escape"===e.code)this.onEscapeKey(e)},onArrowDownKey(e){const t=-1!==this.focusedOptionIndex?this.findNextOptionIndex(this.focusedOptionIndex):this.findFirstFocusedOptionIndex();e.shiftKey&&this.onOptionSelectRange(e,this.startRangeIndex,t),this.changeFocusedOptionIndex(e,t),!this.overlayVisible&&this.show(),e.preventDefault()},onArrowUpKey(e,t=!1){if(e.altKey&&!t)-1!==this.focusedOptionIndex&&this.onOptionSelect(e,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),e.preventDefault();else{const t=-1!==this.focusedOptionIndex?this.findPrevOptionIndex(this.focusedOptionIndex):this.findLastFocusedOptionIndex();e.shiftKey&&this.onOptionSelectRange(e,t,this.startRangeIndex),this.changeFocusedOptionIndex(e,t),!this.overlayVisible&&this.show(),e.preventDefault()}},onArrowLeftKey(e,t=!1){t&&(this.focusedOptionIndex=-1)},onHomeKey(e,t=!1){const{currentTarget:i}=e;if(t){const t=i.value.length;i.setSelectionRange(0,e.shiftKey?t:0),this.focusedOptionIndex=-1}else{let t=e.metaKey||e.ctrlKey,i=this.findFirstOptionIndex();e.shiftKey&&t&&this.onOptionSelectRange(e,i,this.startRangeIndex),this.changeFocusedOptionIndex(e,i),!this.overlayVisible&&this.show()}e.preventDefault()},onEndKey(e,t=!1){const{currentTarget:i}=e;if(t){const t=i.value.length;i.setSelectionRange(e.shiftKey?0:t,t),this.focusedOptionIndex=-1}else{let t=e.metaKey||e.ctrlKey,i=this.findLastOptionIndex();e.shiftKey&&t&&this.onOptionSelectRange(e,this.startRangeIndex,i),this.changeFocusedOptionIndex(e,i),!this.overlayVisible&&this.show()}e.preventDefault()},onPageUpKey(e){this.scrollInView(0),e.preventDefault()},onPageDownKey(e){this.scrollInView(this.visibleOptions.length-1),e.preventDefault()},onEnterKey(e){this.overlayVisible?-1!==this.focusedOptionIndex&&(e.shiftKey?this.onOptionSelectRange(e,this.focusedOptionIndex):this.onOptionSelect(e,this.visibleOptions[this.focusedOptionIndex])):this.onArrowDownKey(e),e.preventDefault()},onEscapeKey(e){this.overlayVisible&&this.hide(!0),e.preventDefault()},onTabKey(e,t=!1){t||(this.overlayVisible&&this.hasFocusableElements()?(s.DomHandler.focus(e.shiftKey?this.$refs.lastHiddenFocusableElementOnOverlay:this.$refs.firstHiddenFocusableElementOnOverlay),e.preventDefault()):(-1!==this.focusedOptionIndex&&this.onOptionSelect(e,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onShiftKey(){this.startRangeIndex=this.focusedOptionIndex},onOverlayEnter(e){s.ZIndexUtils.set("overlay",e,this.$primevue.config.zIndex.overlay),this.alignOverlay(),this.scrollInView(),this.autoFilterFocus&&s.DomHandler.focus(this.$refs.filterInput)},onOverlayAfterEnter(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave(){this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave(e){s.ZIndexUtils.clear(e)},alignOverlay(){"self"===this.appendTo?s.DomHandler.relativePosition(this.overlay,this.$el):(this.overlay.style.minWidth=s.DomHandler.getOuterWidth(this.$el)+"px",s.DomHandler.absolutePosition(this.overlay,this.$el))},bindOutsideClickListener(){this.outsideClickListener||(this.outsideClickListener=e=>{this.overlayVisible&&this.isOutsideClicked(e)&&this.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener(){this.scrollHandler||(this.scrollHandler=new s.ConnectedOverlayScrollHandler(this.$refs.container,(()=>{this.overlayVisible&&this.hide()}))),this.scrollHandler.bindScrollListener()},unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener(){this.resizeListener||(this.resizeListener=()=>{this.overlayVisible&&!s.DomHandler.isTouchDevice()&&this.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},isOutsideClicked(e){return!(this.$el.isSameNode(e.target)||this.$el.contains(e.target)||this.overlay&&this.overlay.contains(e.target))},getLabelByValue(e){const t=(this.optionGroupLabel?this.flatOptions(this.options):this.options||[]).find((t=>!this.isOptionGroup(t)&&s.ObjectUtils.equals(this.getOptionValue(t),e,this.equalityKey)));return t?this.getOptionLabel(t):null},getSelectedItemsLabel(){let e=/{(.*?)}/;return e.test(this.selectedItemsLabel)?this.selectedItemsLabel.replace(this.selectedItemsLabel.match(e)[0],this.modelValue.length+""):this.selectedItemsLabel},onToggleAll(e){if(null!==this.selectAll)this.$emit("selectall-change",{originalEvent:e,checked:!this.allSelected});else{const t=this.allSelected?[]:this.visibleOptions.filter((e=>this.isValidOption(e))).map((e=>this.getOptionValue(e)));this.updateModel(e,t)}this.headerCheckboxFocused=!0},removeOption(e,t){let i=this.modelValue.filter((e=>!s.ObjectUtils.equals(e,t,this.equalityKey)));this.updateModel(e,i)},clearFilter(){this.filterValue=null},hasFocusableElements(){return s.DomHandler.getFocusableElements(this.overlay,":not(.p-hidden-focusable)").length>0},isOptionMatched(e){return this.isValidOption(e)&&this.getOptionLabel(e).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))},isValidOption(e){return e&&!(this.isOptionDisabled(e)||this.isOptionGroup(e))},isValidSelectedOption(e){return this.isValidOption(e)&&this.isSelected(e)},isSelected(e){const t=this.getOptionValue(e);return(this.modelValue||[]).some((e=>s.ObjectUtils.equals(e,t,this.equalityKey)))},findFirstOptionIndex(){return this.visibleOptions.findIndex((e=>this.isValidOption(e)))},findLastOptionIndex(){return s.ObjectUtils.findLastIndex(this.visibleOptions,(e=>this.isValidOption(e)))},findNextOptionIndex(e){const t=e<this.visibleOptions.length-1?this.visibleOptions.slice(e+1).findIndex((e=>this.isValidOption(e))):-1;return t>-1?t+e+1:e},findPrevOptionIndex(e){const t=e>0?s.ObjectUtils.findLastIndex(this.visibleOptions.slice(0,e),(e=>this.isValidOption(e))):-1;return t>-1?t:e},findFirstSelectedOptionIndex(){return this.hasSelectedOption?this.visibleOptions.findIndex((e=>this.isValidSelectedOption(e))):-1},findLastSelectedOptionIndex(){return this.hasSelectedOption?s.ObjectUtils.findLastIndex(this.visibleOptions,(e=>this.isValidSelectedOption(e))):-1},findNextSelectedOptionIndex(e){const t=this.hasSelectedOption&&e<this.visibleOptions.length-1?this.visibleOptions.slice(e+1).findIndex((e=>this.isValidSelectedOption(e))):-1;return t>-1?t+e+1:-1},findPrevSelectedOptionIndex(e){const t=this.hasSelectedOption&&e>0?s.ObjectUtils.findLastIndex(this.visibleOptions.slice(0,e),(e=>this.isValidSelectedOption(e))):-1;return t>-1?t:-1},findNearestSelectedOptionIndex(e,t=!1){let i=-1;return this.hasSelectedOption&&(t?(i=this.findPrevSelectedOptionIndex(e),i=-1===i?this.findNextSelectedOptionIndex(e):i):(i=this.findNextSelectedOptionIndex(e),i=-1===i?this.findPrevSelectedOptionIndex(e):i)),i>-1?i:e},findFirstFocusedOptionIndex(){const e=this.findFirstSelectedOptionIndex();return e<0?this.findFirstOptionIndex():e},findLastFocusedOptionIndex(){const e=this.findLastSelectedOptionIndex();return e<0?this.findLastOptionIndex():e},searchOptions(e){this.searchValue=(this.searchValue||"")+e.key;let t=-1;-1!==this.focusedOptionIndex?(t=this.visibleOptions.slice(this.focusedOptionIndex).findIndex((e=>this.isOptionMatched(e))),t=-1===t?this.visibleOptions.slice(0,this.focusedOptionIndex).findIndex((e=>this.isOptionMatched(e))):t+this.focusedOptionIndex):t=this.visibleOptions.findIndex((e=>this.isOptionMatched(e))),-1===t&&-1===this.focusedOptionIndex&&(t=this.findFirstFocusedOptionIndex()),-1!==t&&this.changeFocusedOptionIndex(e,t),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout((()=>{this.searchValue="",this.searchTimeout=null}),500)},changeFocusedOptionIndex(e,t){this.focusedOptionIndex!==t&&(this.focusedOptionIndex=t,this.scrollInView())},scrollInView(e=-1){const t=-1!==e?`${this.id}_${e}`:this.focusedOptionId,i=s.DomHandler.findSingle(this.list,`li[id="${t}"]`);i?i.scrollIntoView&&i.scrollIntoView({block:"nearest",inline:"nearest"}):this.virtualScrollerDisabled||this.virtualScroller&&this.virtualScroller.scrollToIndex(-1!==e?e:this.focusedOptionIndex)},autoUpdateModel(){if(this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption){this.focusedOptionIndex=this.findFirstFocusedOptionIndex();const e=this.getOptionValue(this.visibleOptions[this.focusedOptionIndex]);this.updateModel(null,[e])}},updateModel(e,t){this.$emit("update:modelValue",t),this.$emit("change",{originalEvent:e,value:t})},flatOptions(e){return(e||[]).reduce(((e,t,i)=>{e.push({optionGroup:t,group:!0,index:i});const l=this.getOptionGroupChildren(t);return l&&l.forEach((t=>e.push(t))),e}),[])},overlayRef(e){this.overlay=e},listRef(e,t){this.list=e,t&&t(e)},virtualScrollerRef(e){this.virtualScroller=e}},computed:{containerClass(){return["p-multiselect p-component p-inputwrapper",{"p-multiselect-chip":"chip"===this.display,"p-disabled":this.disabled,"p-focus":this.focused,"p-inputwrapper-filled":this.modelValue&&this.modelValue.length,"p-inputwrapper-focus":this.focused||this.overlayVisible,"p-overlay-open":this.overlayVisible}]},labelClass(){return["p-multiselect-label",{"p-placeholder":this.label===this.placeholder,"p-multiselect-label-empty":!(this.placeholder||this.modelValue&&0!==this.modelValue.length)}]},dropdownIconClass(){return["p-multiselect-trigger-icon",this.loading?this.loadingIcon:this.dropdownIcon]},panelStyleClass(){return["p-multiselect-panel p-component",this.panelClass,{"p-input-filled":"filled"===this.$primevue.config.inputStyle,"p-ripple-disabled":!1===this.$primevue.config.ripple}]},headerCheckboxClass(){return["p-checkbox p-component",{"p-checkbox-checked":this.allSelected,"p-checkbox-focused":this.headerCheckboxFocused}]},visibleOptions(){const t=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){const i=e.FilterService.filter(t,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){const e=this.options||[],t=[];return e.forEach((e=>{const l=e.items.filter((e=>i.includes(e)));l.length>0&&t.push({...e,items:[...l]})})),this.flatOptions(t)}return i}return t},label(){let e;if(this.modelValue&&this.modelValue.length){if(s.ObjectUtils.isNotEmpty(this.maxSelectedLabels)&&this.modelValue.length>this.maxSelectedLabels)return this.getSelectedItemsLabel();e="";for(let t=0;t<this.modelValue.length;t++)0!==t&&(e+=", "),e+=this.getLabelByValue(this.modelValue[t])}else e=this.placeholder;return e},chipSelectedItems(){return s.ObjectUtils.isNotEmpty(this.maxSelectedLabels)&&this.modelValue&&this.modelValue.length>this.maxSelectedLabels?this.modelValue.slice(0,this.maxSelectedLabels):this.modelValue},allSelected(){return null!==this.selectAll?this.selectAll:s.ObjectUtils.isNotEmpty(this.visibleOptions)&&this.visibleOptions.every((e=>this.isOptionGroup(e)||this.isOptionDisabled(e)||this.isSelected(e)))},hasSelectedOption(){return s.ObjectUtils.isNotEmpty(this.modelValue)},equalityKey(){return this.optionValue?null:this.dataKey},searchFields(){return this.filterFields||[this.optionLabel]},maxSelectionLimitReached(){return this.selectionLimit&&this.modelValue&&this.modelValue.length===this.selectionLimit},filterResultMessageText(){return s.ObjectUtils.isNotEmpty(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText(){return this.hasSelectedOption?this.selectionMessageText.replaceAll("{0}",this.modelValue.length):this.emptySelectionMessageText},focusedOptionId(){return-1!==this.focusedOptionIndex?`${this.id}_${this.focusedOptionIndex}`:null},ariaSetSize(){return this.visibleOptions.filter((e=>!this.isOptionGroup(e))).length},toggleAllAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria[this.allSelected?"selectAll":"unselectAll"]:void 0},closeAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0},virtualScrollerDisabled(){return!this.virtualScrollerOptions}},directives:{ripple:d.default},components:{VirtualScroller:p.default,Portal:c.default}};const u={class:"p-hidden-accessible"},m=["id","disabled","placeholder","tabindex","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant"],f={class:"p-multiselect-label-container"},y={class:"p-multiselect-token-label"},b=["onClick"],O={class:"p-multiselect-trigger"},g={key:0,class:"p-multiselect-header"},v={class:"p-hidden-accessible"},x=["checked","aria-label"],S={key:1,class:"p-multiselect-filter-container"},I=["value","placeholder","aria-owns","aria-activedescendant"],k={key:2,role:"status","aria-live":"polite",class:"p-hidden-accessible"},V=["aria-label"],L=["id"],C=["id"],F=["id","aria-label","aria-selected","aria-disabled","aria-setsize","aria-posinset","onClick","onMousemove"],w={class:"p-checkbox p-component"},E={key:0,class:"p-multiselect-empty-message",role:"option"},D={key:1,class:"p-multiselect-empty-message",role:"option"},K={key:1,role:"status","aria-live":"polite",class:"p-hidden-accessible"},B={role:"status","aria-live":"polite",class:"p-hidden-accessible"};return function(e,t){void 0===t&&(t={});var i=t.insertAt;if(e&&"undefined"!=typeof document){var l=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css","top"===i&&l.firstChild?l.insertBefore(s,l.firstChild):l.appendChild(s),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(document.createTextNode(e))}}("\n.p-multiselect {\n display: inline-flex;\n cursor: pointer;\n position: relative;\n user-select: none;\n}\n.p-multiselect-trigger {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n}\n.p-multiselect-label-container {\n overflow: hidden;\n flex: 1 1 auto;\n cursor: pointer;\n}\n.p-multiselect-label {\n display: block;\n white-space: nowrap;\n cursor: pointer;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.p-multiselect-label-empty {\n overflow: hidden;\n visibility: hidden;\n}\n.p-multiselect-token {\n cursor: default;\n display: inline-flex;\n align-items: center;\n flex: 0 0 auto;\n}\n.p-multiselect-token-icon {\n cursor: pointer;\n}\n.p-multiselect .p-multiselect-panel {\n min-width: 100%;\n}\n.p-multiselect-panel {\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-multiselect-items-wrapper {\n overflow: auto;\n}\n.p-multiselect-items {\n margin: 0;\n padding: 0;\n list-style-type: none;\n}\n.p-multiselect-item {\n cursor: pointer;\n display: flex;\n align-items: center;\n font-weight: normal;\n white-space: nowrap;\n position: relative;\n overflow: hidden;\n}\n.p-multiselect-item-group {\n cursor: auto;\n}\n.p-multiselect-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.p-multiselect-filter-container {\n position: relative;\n flex: 1 1 auto;\n}\n.p-multiselect-filter-icon {\n position: absolute;\n top: 50%;\n margin-top: -0.5rem;\n}\n.p-multiselect-filter-container .p-inputtext {\n width: 100%;\n}\n.p-multiselect-close {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n overflow: hidden;\n position: relative;\n margin-left: auto;\n}\n.p-fluid .p-multiselect {\n display: flex;\n}\n"),h.render=function(e,t,i,l,s,n){const a=o.resolveComponent("VirtualScroller"),r=o.resolveComponent("Portal"),c=o.resolveDirective("ripple");return o.openBlock(),o.createElementBlock("div",{ref:"container",class:o.normalizeClass(n.containerClass),onClick:t[15]||(t[15]=(...e)=>n.onContainerClick&&n.onContainerClick(...e))},[o.createElementVNode("div",u,[o.createElementVNode("input",o.mergeProps({ref:"focusInput",id:i.inputId,type:"text",readonly:"",disabled:i.disabled,placeholder:i.placeholder,tabindex:i.disabled?-1:i.tabindex,role:"combobox","aria-label":e.ariaLabel,"aria-labelledby":e.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":s.overlayVisible,"aria-controls":s.id+"_list","aria-activedescendant":s.focused?n.focusedOptionId:void 0,onFocus:t[0]||(t[0]=(...e)=>n.onFocus&&n.onFocus(...e)),onBlur:t[1]||(t[1]=(...e)=>n.onBlur&&n.onBlur(...e)),onKeydown:t[2]||(t[2]=(...e)=>n.onKeyDown&&n.onKeyDown(...e))},i.inputProps),null,16,m)]),o.createElementVNode("div",f,[o.createElementVNode("div",{class:o.normalizeClass(n.labelClass)},[o.renderSlot(e.$slots,"value",{value:i.modelValue,placeholder:i.placeholder},(()=>["comma"===i.display?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(n.label||"empty"),1)],64)):"chip"===i.display?(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.chipSelectedItems,(t=>(o.openBlock(),o.createElementBlock("div",{key:n.getLabelByValue(t),class:"p-multiselect-token"},[o.renderSlot(e.$slots,"chip",{value:t},(()=>[o.createElementVNode("span",y,o.toDisplayString(n.getLabelByValue(t)),1)])),i.disabled?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("span",{key:0,class:o.normalizeClass(["p-multiselect-token-icon",i.removeTokenIcon]),onClick:o.withModifiers((e=>n.removeOption(e,t)),["stop"])},null,10,b))])))),128)),i.modelValue&&0!==i.modelValue.length?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createTextVNode(o.toDisplayString(i.placeholder||"empty"),1)],64))],64)):o.createCommentVNode("",!0)]))],2)]),o.createElementVNode("div",O,[o.renderSlot(e.$slots,"indicator",{},(()=>[o.createElementVNode("span",{class:o.normalizeClass(n.dropdownIconClass),"aria-hidden":"true"},null,2)]))]),o.createVNode(r,{appendTo:i.appendTo},{default:o.withCtx((()=>[o.createVNode(o.Transition,{name:"p-connected-overlay",onEnter:n.onOverlayEnter,onAfterEnter:n.onOverlayAfterEnter,onLeave:n.onOverlayLeave,onAfterLeave:n.onOverlayAfterLeave},{default:o.withCtx((()=>[s.overlayVisible?(o.openBlock(),o.createElementBlock("div",o.mergeProps({key:0,ref:n.overlayRef,style:i.panelStyle,class:n.panelStyleClass,onClick:t[13]||(t[13]=(...e)=>n.onOverlayClick&&n.onOverlayClick(...e)),onKeydown:t[14]||(t[14]=(...e)=>n.onOverlayKeyDown&&n.onOverlayKeyDown(...e))},i.panelProps),[o.createElementVNode("span",{ref:"firstHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:t[3]||(t[3]=(...e)=>n.onFirstHiddenFocus&&n.onFirstHiddenFocus(...e))},null,544),o.renderSlot(e.$slots,"header",{value:i.modelValue,options:n.visibleOptions}),i.showToggleAll&&null==i.selectionLimit||i.filter?(o.openBlock(),o.createElementBlock("div",g,[i.showToggleAll&&null==i.selectionLimit?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(n.headerCheckboxClass),onClick:t[6]||(t[6]=(...e)=>n.onToggleAll&&n.onToggleAll(...e))},[o.createElementVNode("div",v,[o.createElementVNode("input",{type:"checkbox",readonly:"",checked:n.allSelected,"aria-label":n.toggleAllAriaLabel,onFocus:t[4]||(t[4]=(...e)=>n.onHeaderCheckboxFocus&&n.onHeaderCheckboxFocus(...e)),onBlur:t[5]||(t[5]=(...e)=>n.onHeaderCheckboxBlur&&n.onHeaderCheckboxBlur(...e))},null,40,x)]),o.createElementVNode("div",{class:o.normalizeClass(["p-checkbox-box",{"p-highlight":n.allSelected,"p-focus":s.headerCheckboxFocused}])},[o.createElementVNode("span",{class:o.normalizeClass(["p-checkbox-icon",{[i.checkboxIcon]:n.allSelected}])},null,2)],2)],2)):o.createCommentVNode("",!0),i.filter?(o.openBlock(),o.createElementBlock("div",S,[o.createElementVNode("input",o.mergeProps({ref:"filterInput",type:"text",value:s.filterValue,onVnodeUpdated:t[7]||(t[7]=(...e)=>n.onFilterUpdated&&n.onFilterUpdated(...e)),class:"p-multiselect-filter p-inputtext p-component",placeholder:i.filterPlaceholder,role:"searchbox",autocomplete:"off","aria-owns":s.id+"_list","aria-activedescendant":n.focusedOptionId,onKeydown:t[8]||(t[8]=(...e)=>n.onFilterKeyDown&&n.onFilterKeyDown(...e)),onBlur:t[9]||(t[9]=(...e)=>n.onFilterBlur&&n.onFilterBlur(...e)),onInput:t[10]||(t[10]=(...e)=>n.onFilterChange&&n.onFilterChange(...e))},i.filterInputProps),null,16,I),o.createElementVNode("span",{class:o.normalizeClass(["p-multiselect-filter-icon",i.filterIcon])},null,2)])):o.createCommentVNode("",!0),i.filter?(o.openBlock(),o.createElementBlock("span",k,o.toDisplayString(n.filterResultMessageText),1)):o.createCommentVNode("",!0),o.withDirectives((o.openBlock(),o.createElementBlock("button",o.mergeProps({class:"p-multiselect-close p-link","aria-label":n.closeAriaLabel,onClick:t[11]||(t[11]=(...e)=>n.onCloseClick&&n.onCloseClick(...e)),type:"button"},i.closeButtonProps),[o.createElementVNode("span",{class:o.normalizeClass(["p-multiselect-close-icon",i.closeIcon])},null,2)],16,V)),[[c]])])):o.createCommentVNode("",!0),o.createElementVNode("div",{class:"p-multiselect-items-wrapper",style:o.normalizeStyle({"max-height":n.virtualScrollerDisabled?i.scrollHeight:""})},[o.createVNode(a,o.mergeProps({ref:n.virtualScrollerRef},i.virtualScrollerOptions,{items:n.visibleOptions,style:{height:i.scrollHeight},tabindex:-1,disabled:n.virtualScrollerDisabled}),o.createSlots({content:o.withCtx((({styleClass:t,contentRef:l,items:a,getItemOptions:r,contentStyle:d,itemSize:p})=>[o.createElementVNode("ul",{ref:e=>n.listRef(e,l),id:s.id+"_list",class:o.normalizeClass(["p-multiselect-items p-component",t]),style:o.normalizeStyle(d),role:"listbox","aria-multiselectable":"true"},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a,((t,l)=>(o.openBlock(),o.createElementBlock(o.Fragment,{key:n.getOptionRenderKey(t,n.getOptionIndex(l,r))},[n.isOptionGroup(t)?(o.openBlock(),o.createElementBlock("li",{key:0,id:s.id+"_"+n.getOptionIndex(l,r),style:o.normalizeStyle({height:p?p+"px":void 0}),class:"p-multiselect-item-group",role:"option"},[o.renderSlot(e.$slots,"optiongroup",{option:t.optionGroup,index:n.getOptionIndex(l,r)},(()=>[o.createTextVNode(o.toDisplayString(n.getOptionGroupLabel(t.optionGroup)),1)]))],12,C)):o.withDirectives((o.openBlock(),o.createElementBlock("li",{key:1,id:s.id+"_"+n.getOptionIndex(l,r),style:o.normalizeStyle({height:p?p+"px":void 0}),class:o.normalizeClass(["p-multiselect-item",{"p-highlight":n.isSelected(t),"p-focus":s.focusedOptionIndex===n.getOptionIndex(l,r),"p-disabled":n.isOptionDisabled(t)}]),role:"option","aria-label":n.getOptionLabel(t),"aria-selected":n.isSelected(t),"aria-disabled":n.isOptionDisabled(t),"aria-setsize":n.ariaSetSize,"aria-posinset":n.getAriaPosInset(n.getOptionIndex(l,r)),onClick:e=>n.onOptionSelect(e,t,n.getOptionIndex(l,r),!0),onMousemove:e=>n.onOptionMouseMove(e,n.getOptionIndex(l,r))},[o.createElementVNode("div",w,[o.createElementVNode("div",{class:o.normalizeClass(["p-checkbox-box",{"p-highlight":n.isSelected(t)}])},[o.createElementVNode("span",{class:o.normalizeClass(["p-checkbox-icon",{[i.checkboxIcon]:n.isSelected(t)}])},null,2)],2)]),o.renderSlot(e.$slots,"option",{option:t,index:n.getOptionIndex(l,r)},(()=>[o.createElementVNode("span",null,o.toDisplayString(n.getOptionLabel(t)),1)]))],46,F)),[[c]])],64)))),128)),s.filterValue&&(!a||a&&0===a.length)?(o.openBlock(),o.createElementBlock("li",E,[o.renderSlot(e.$slots,"emptyfilter",{},(()=>[o.createTextVNode(o.toDisplayString(n.emptyFilterMessageText),1)]))])):!i.options||i.options&&0===i.options.length?(o.openBlock(),o.createElementBlock("li",D,[o.renderSlot(e.$slots,"empty",{},(()=>[o.createTextVNode(o.toDisplayString(n.emptyMessageText),1)]))])):o.createCommentVNode("",!0)],14,L)])),_:2},[e.$slots.loader?{name:"loader",fn:o.withCtx((({options:t})=>[o.renderSlot(e.$slots,"loader",{options:t})])),key:"0"}:void 0]),1040,["items","style","disabled"])],4),o.renderSlot(e.$slots,"footer",{value:i.modelValue,options:n.visibleOptions}),!i.options||i.options&&0===i.options.length?(o.openBlock(),o.createElementBlock("span",K,o.toDisplayString(n.emptyMessageText),1)):o.createCommentVNode("",!0),o.createElementVNode("span",B,o.toDisplayString(n.selectedMessageText),1),o.createElementVNode("span",{ref:"lastHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:t[12]||(t[12]=(...e)=>n.onLastHiddenFocus&&n.onLastHiddenFocus(...e))},null,544)],16)):o.createCommentVNode("",!0)])),_:3},8,["onEnter","onAfterEnter","onLeave","onAfterLeave"])])),_:3},8,["appendTo"])],2)},h}(primevue.api,primevue.overlayeventbus,primevue.portal,primevue.ripple,primevue.utils,primevue.virtualscroller,Vue);
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.multiselect=function(e,t,i,l,s,n,o,a,r,c,d,p,h){"use strict";function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var m=u(t),f=u(i),y=u(l),b=u(s),v=u(n),g=u(o),O=u(a),x=u(r),k=u(c),I=u(p),S={name:"MultiSelect",emits:["update:modelValue","change","focus","blur","before-show","before-hide","show","hide","filter","selectall-change"],props:{modelValue:null,options:Array,optionLabel:null,optionValue:null,optionDisabled:null,optionGroupLabel:null,optionGroupChildren:null,scrollHeight:{type:String,default:"200px"},placeholder:String,disabled:Boolean,inputId:{type:String,default:null},inputProps:{type:null,default:null},panelClass:{type:String,default:null},panelStyle:{type:null,default:null},panelProps:{type:null,default:null},filterInputProps:{type:null,default:null},closeButtonProps:{type:null,default:null},dataKey:null,filter:Boolean,filterPlaceholder:String,filterLocale:String,filterMatchMode:{type:String,default:"contains"},filterFields:{type:Array,default:null},appendTo:{type:String,default:"body"},display:{type:String,default:"comma"},selectedItemsLabel:{type:String,default:"{0} items selected"},maxSelectedLabels:{type:Number,default:null},selectionLimit:{type:Number,default:null},showToggleAll:{type:Boolean,default:!0},loading:{type:Boolean,default:!1},checkboxIcon:{type:String,default:void 0},closeIcon:{type:String,default:void 0},dropdownIcon:{type:String,default:void 0},filterIcon:{type:String,default:void 0},loadingIcon:{type:String,default:void 0},removeTokenIcon:{type:String,default:void 0},selectAll:{type:Boolean,default:null},resetFilterOnHide:{type:Boolean,default:!1},virtualScrollerOptions:{type:Object,default:null},autoOptionFocus:{type:Boolean,default:!0},autoFilterFocus:{type:Boolean,default:!1},filterMessage:{type:String,default:null},selectionMessage:{type:String,default:null},emptySelectionMessage:{type:String,default:null},emptyFilterMessage:{type:String,default:null},emptyMessage:{type:String,default:null},tabindex:{type:Number,default:0},"aria-label":{type:String,default:null},"aria-labelledby":{type:String,default:null}},outsideClickListener:null,scrollHandler:null,resizeListener:null,overlay:null,list:null,virtualScroller:null,startRangeIndex:-1,searchTimeout:null,searchValue:"",selectOnFocus:!1,focusOnHover:!1,data(){return{id:this.$attrs.id,focused:!1,focusedOptionIndex:-1,headerCheckboxFocused:!1,filterValue:null,overlayVisible:!1}},watch:{"$attrs.id":function(e){this.id=e||d.UniqueComponentId()},options(){this.autoUpdateModel()}},mounted(){this.id=this.id||d.UniqueComponentId(),this.autoUpdateModel()},beforeUnmount(){this.unbindOutsideClickListener(),this.unbindResizeListener(),this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.overlay&&(d.ZIndexUtils.clear(this.overlay),this.overlay=null)},methods:{getOptionIndex(e,t){return this.virtualScrollerDisabled?e:t&&t(e).index},getOptionLabel(e){return this.optionLabel?d.ObjectUtils.resolveFieldData(e,this.optionLabel):e},getOptionValue(e){return this.optionValue?d.ObjectUtils.resolveFieldData(e,this.optionValue):e},getOptionRenderKey(e){return this.dataKey?d.ObjectUtils.resolveFieldData(e,this.dataKey):this.getOptionLabel(e)},isOptionDisabled(e){return!(!this.maxSelectionLimitReached||this.isSelected(e))||!!this.optionDisabled&&d.ObjectUtils.resolveFieldData(e,this.optionDisabled)},isOptionGroup(e){return this.optionGroupLabel&&e.optionGroup&&e.group},getOptionGroupLabel(e){return d.ObjectUtils.resolveFieldData(e,this.optionGroupLabel)},getOptionGroupChildren(e){return d.ObjectUtils.resolveFieldData(e,this.optionGroupChildren)},getAriaPosInset(e){return(this.optionGroupLabel?e-this.visibleOptions.slice(0,e).filter((e=>this.isOptionGroup(e))).length:e)+1},show(e){this.$emit("before-show"),this.overlayVisible=!0,this.focusedOptionIndex=-1!==this.focusedOptionIndex?this.focusedOptionIndex:this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1,e&&d.DomHandler.focus(this.$refs.focusInput)},hide(e){const t=()=>{this.$emit("before-hide"),this.overlayVisible=!1,this.focusedOptionIndex=-1,this.searchValue="",this.resetFilterOnHide&&(this.filterValue=null),e&&d.DomHandler.focus(this.$refs.focusInput)};setTimeout((()=>{t()}),0)},onFocus(e){this.disabled||(this.focused=!0,this.focusedOptionIndex=-1!==this.focusedOptionIndex?this.focusedOptionIndex:this.overlayVisible&&this.autoOptionFocus?this.findFirstFocusedOptionIndex():-1,this.overlayVisible&&this.scrollInView(this.focusedOptionIndex),this.$emit("focus",e))},onBlur(e){this.focused=!1,this.focusedOptionIndex=-1,this.searchValue="",this.$emit("blur",e)},onKeyDown(e){if(this.disabled)return void e.preventDefault();const t=e.metaKey||e.ctrlKey;switch(e.code){case"ArrowDown":this.onArrowDownKey(e);break;case"ArrowUp":this.onArrowUpKey(e);break;case"Home":this.onHomeKey(e);break;case"End":this.onEndKey(e);break;case"PageDown":this.onPageDownKey(e);break;case"PageUp":this.onPageUpKey(e);break;case"Enter":case"Space":this.onEnterKey(e);break;case"Escape":this.onEscapeKey(e);break;case"Tab":this.onTabKey(e);break;case"ShiftLeft":case"ShiftRight":this.onShiftKey(e);break;default:if("KeyA"===e.code&&t){const t=this.visibleOptions.filter((e=>this.isValidOption(e))).map((e=>this.getOptionValue(e)));this.updateModel(e,t),e.preventDefault();break}!t&&d.ObjectUtils.isPrintableCharacter(e.key)&&(!this.overlayVisible&&this.show(),this.searchOptions(e),e.preventDefault())}},onContainerClick(e){this.disabled||this.loading||this.overlay&&this.overlay.contains(e.target)||(this.overlayVisible?this.hide(!0):this.show(!0))},onFirstHiddenFocus(e){const t=e.relatedTarget===this.$refs.focusInput?d.DomHandler.getFirstFocusableElement(this.overlay,":not(.p-hidden-focusable)"):this.$refs.focusInput;d.DomHandler.focus(t)},onLastHiddenFocus(e){const t=e.relatedTarget===this.$refs.focusInput?d.DomHandler.getLastFocusableElement(this.overlay,":not(.p-hidden-focusable)"):this.$refs.focusInput;d.DomHandler.focus(t)},onCloseClick(){this.hide(!0)},onHeaderCheckboxFocus(){this.headerCheckboxFocused=!0},onHeaderCheckboxBlur(){this.headerCheckboxFocused=!1},onOptionSelect(e,t,i=-1,l=!1){if(this.disabled||this.isOptionDisabled(t))return;let s=null;s=this.isSelected(t)?this.modelValue.filter((e=>!d.ObjectUtils.equals(e,this.getOptionValue(t),this.equalityKey))):[...this.modelValue||[],this.getOptionValue(t)],this.updateModel(e,s),-1!==i&&(this.focusedOptionIndex=i),l&&d.DomHandler.focus(this.$refs.focusInput)},onOptionMouseMove(e,t){this.focusOnHover&&this.changeFocusedOptionIndex(e,t)},onOptionSelectRange(e,t=-1,i=-1){if(-1===t&&(t=this.findNearestSelectedOptionIndex(i,!0)),-1===i&&(i=this.findNearestSelectedOptionIndex(t)),-1!==t&&-1!==i){const l=Math.min(t,i),s=Math.max(t,i),n=this.visibleOptions.slice(l,s+1).filter((e=>this.isValidOption(e))).map((e=>this.getOptionValue(e)));this.updateModel(e,n)}},onFilterChange(e){const t=e.target.value;this.filterValue=t,this.focusedOptionIndex=-1,this.$emit("filter",{originalEvent:e,value:t}),!this.virtualScrollerDisabled&&this.virtualScroller.scrollToIndex(0)},onFilterKeyDown(e){switch(e.code){case"ArrowDown":this.onArrowDownKey(e);break;case"ArrowUp":this.onArrowUpKey(e,!0);break;case"ArrowLeft":case"ArrowRight":this.onArrowLeftKey(e,!0);break;case"Home":this.onHomeKey(e,!0);break;case"End":this.onEndKey(e,!0);break;case"Enter":this.onEnterKey(e);break;case"Escape":this.onEscapeKey(e);break;case"Tab":this.onTabKey(e,!0)}},onFilterBlur(){this.focusedOptionIndex=-1},onFilterUpdated(){this.overlayVisible&&this.alignOverlay()},onOverlayClick(e){O.default.emit("overlay-click",{originalEvent:e,target:this.$el})},onOverlayKeyDown(e){if("Escape"===e.code)this.onEscapeKey(e)},onArrowDownKey(e){const t=-1!==this.focusedOptionIndex?this.findNextOptionIndex(this.focusedOptionIndex):this.findFirstFocusedOptionIndex();e.shiftKey&&this.onOptionSelectRange(e,this.startRangeIndex,t),this.changeFocusedOptionIndex(e,t),!this.overlayVisible&&this.show(),e.preventDefault()},onArrowUpKey(e,t=!1){if(e.altKey&&!t)-1!==this.focusedOptionIndex&&this.onOptionSelect(e,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(),e.preventDefault();else{const t=-1!==this.focusedOptionIndex?this.findPrevOptionIndex(this.focusedOptionIndex):this.findLastFocusedOptionIndex();e.shiftKey&&this.onOptionSelectRange(e,t,this.startRangeIndex),this.changeFocusedOptionIndex(e,t),!this.overlayVisible&&this.show(),e.preventDefault()}},onArrowLeftKey(e,t=!1){t&&(this.focusedOptionIndex=-1)},onHomeKey(e,t=!1){const{currentTarget:i}=e;if(t){const t=i.value.length;i.setSelectionRange(0,e.shiftKey?t:0),this.focusedOptionIndex=-1}else{let t=e.metaKey||e.ctrlKey,i=this.findFirstOptionIndex();e.shiftKey&&t&&this.onOptionSelectRange(e,i,this.startRangeIndex),this.changeFocusedOptionIndex(e,i),!this.overlayVisible&&this.show()}e.preventDefault()},onEndKey(e,t=!1){const{currentTarget:i}=e;if(t){const t=i.value.length;i.setSelectionRange(e.shiftKey?0:t,t),this.focusedOptionIndex=-1}else{let t=e.metaKey||e.ctrlKey,i=this.findLastOptionIndex();e.shiftKey&&t&&this.onOptionSelectRange(e,this.startRangeIndex,i),this.changeFocusedOptionIndex(e,i),!this.overlayVisible&&this.show()}e.preventDefault()},onPageUpKey(e){this.scrollInView(0),e.preventDefault()},onPageDownKey(e){this.scrollInView(this.visibleOptions.length-1),e.preventDefault()},onEnterKey(e){this.overlayVisible?-1!==this.focusedOptionIndex&&(e.shiftKey?this.onOptionSelectRange(e,this.focusedOptionIndex):this.onOptionSelect(e,this.visibleOptions[this.focusedOptionIndex])):this.onArrowDownKey(e),e.preventDefault()},onEscapeKey(e){this.overlayVisible&&this.hide(!0),e.preventDefault()},onTabKey(e,t=!1){t||(this.overlayVisible&&this.hasFocusableElements()?(d.DomHandler.focus(e.shiftKey?this.$refs.lastHiddenFocusableElementOnOverlay:this.$refs.firstHiddenFocusableElementOnOverlay),e.preventDefault()):(-1!==this.focusedOptionIndex&&this.onOptionSelect(e,this.visibleOptions[this.focusedOptionIndex]),this.overlayVisible&&this.hide(this.filter)))},onShiftKey(){this.startRangeIndex=this.focusedOptionIndex},onOverlayEnter(e){d.ZIndexUtils.set("overlay",e,this.$primevue.config.zIndex.overlay),this.alignOverlay(),this.scrollInView(),this.autoFilterFocus&&d.DomHandler.focus(this.$refs.filterInput)},onOverlayAfterEnter(){this.bindOutsideClickListener(),this.bindScrollListener(),this.bindResizeListener(),this.$emit("show")},onOverlayLeave(){this.unbindOutsideClickListener(),this.unbindScrollListener(),this.unbindResizeListener(),this.$emit("hide"),this.overlay=null},onOverlayAfterLeave(e){d.ZIndexUtils.clear(e)},alignOverlay(){"self"===this.appendTo?d.DomHandler.relativePosition(this.overlay,this.$el):(this.overlay.style.minWidth=d.DomHandler.getOuterWidth(this.$el)+"px",d.DomHandler.absolutePosition(this.overlay,this.$el))},bindOutsideClickListener(){this.outsideClickListener||(this.outsideClickListener=e=>{this.overlayVisible&&this.isOutsideClicked(e)&&this.hide()},document.addEventListener("click",this.outsideClickListener))},unbindOutsideClickListener(){this.outsideClickListener&&(document.removeEventListener("click",this.outsideClickListener),this.outsideClickListener=null)},bindScrollListener(){this.scrollHandler||(this.scrollHandler=new d.ConnectedOverlayScrollHandler(this.$refs.container,(()=>{this.overlayVisible&&this.hide()}))),this.scrollHandler.bindScrollListener()},unbindScrollListener(){this.scrollHandler&&this.scrollHandler.unbindScrollListener()},bindResizeListener(){this.resizeListener||(this.resizeListener=()=>{this.overlayVisible&&!d.DomHandler.isTouchDevice()&&this.hide()},window.addEventListener("resize",this.resizeListener))},unbindResizeListener(){this.resizeListener&&(window.removeEventListener("resize",this.resizeListener),this.resizeListener=null)},isOutsideClicked(e){return!(this.$el.isSameNode(e.target)||this.$el.contains(e.target)||this.overlay&&this.overlay.contains(e.target))},getLabelByValue(e){const t=(this.optionGroupLabel?this.flatOptions(this.options):this.options||[]).find((t=>!this.isOptionGroup(t)&&d.ObjectUtils.equals(this.getOptionValue(t),e,this.equalityKey)));return t?this.getOptionLabel(t):null},getSelectedItemsLabel(){let e=/{(.*?)}/;return e.test(this.selectedItemsLabel)?this.selectedItemsLabel.replace(this.selectedItemsLabel.match(e)[0],this.modelValue.length+""):this.selectedItemsLabel},onToggleAll(e){if(null!==this.selectAll)this.$emit("selectall-change",{originalEvent:e,checked:!this.allSelected});else{const t=this.allSelected?[]:this.visibleOptions.filter((e=>this.isValidOption(e))).map((e=>this.getOptionValue(e)));this.updateModel(e,t)}this.headerCheckboxFocused=!0},removeOption(e,t){let i=this.modelValue.filter((e=>!d.ObjectUtils.equals(e,t,this.equalityKey)));this.updateModel(e,i)},clearFilter(){this.filterValue=null},hasFocusableElements(){return d.DomHandler.getFocusableElements(this.overlay,":not(.p-hidden-focusable)").length>0},isOptionMatched(e){return this.isValidOption(e)&&this.getOptionLabel(e).toLocaleLowerCase(this.filterLocale).startsWith(this.searchValue.toLocaleLowerCase(this.filterLocale))},isValidOption(e){return e&&!(this.isOptionDisabled(e)||this.isOptionGroup(e))},isValidSelectedOption(e){return this.isValidOption(e)&&this.isSelected(e)},isSelected(e){const t=this.getOptionValue(e);return(this.modelValue||[]).some((e=>d.ObjectUtils.equals(e,t,this.equalityKey)))},findFirstOptionIndex(){return this.visibleOptions.findIndex((e=>this.isValidOption(e)))},findLastOptionIndex(){return d.ObjectUtils.findLastIndex(this.visibleOptions,(e=>this.isValidOption(e)))},findNextOptionIndex(e){const t=e<this.visibleOptions.length-1?this.visibleOptions.slice(e+1).findIndex((e=>this.isValidOption(e))):-1;return t>-1?t+e+1:e},findPrevOptionIndex(e){const t=e>0?d.ObjectUtils.findLastIndex(this.visibleOptions.slice(0,e),(e=>this.isValidOption(e))):-1;return t>-1?t:e},findFirstSelectedOptionIndex(){return this.hasSelectedOption?this.visibleOptions.findIndex((e=>this.isValidSelectedOption(e))):-1},findLastSelectedOptionIndex(){return this.hasSelectedOption?d.ObjectUtils.findLastIndex(this.visibleOptions,(e=>this.isValidSelectedOption(e))):-1},findNextSelectedOptionIndex(e){const t=this.hasSelectedOption&&e<this.visibleOptions.length-1?this.visibleOptions.slice(e+1).findIndex((e=>this.isValidSelectedOption(e))):-1;return t>-1?t+e+1:-1},findPrevSelectedOptionIndex(e){const t=this.hasSelectedOption&&e>0?d.ObjectUtils.findLastIndex(this.visibleOptions.slice(0,e),(e=>this.isValidSelectedOption(e))):-1;return t>-1?t:-1},findNearestSelectedOptionIndex(e,t=!1){let i=-1;return this.hasSelectedOption&&(t?(i=this.findPrevSelectedOptionIndex(e),i=-1===i?this.findNextSelectedOptionIndex(e):i):(i=this.findNextSelectedOptionIndex(e),i=-1===i?this.findPrevSelectedOptionIndex(e):i)),i>-1?i:e},findFirstFocusedOptionIndex(){const e=this.findFirstSelectedOptionIndex();return e<0?this.findFirstOptionIndex():e},findLastFocusedOptionIndex(){const e=this.findLastSelectedOptionIndex();return e<0?this.findLastOptionIndex():e},searchOptions(e){this.searchValue=(this.searchValue||"")+e.key;let t=-1;-1!==this.focusedOptionIndex?(t=this.visibleOptions.slice(this.focusedOptionIndex).findIndex((e=>this.isOptionMatched(e))),t=-1===t?this.visibleOptions.slice(0,this.focusedOptionIndex).findIndex((e=>this.isOptionMatched(e))):t+this.focusedOptionIndex):t=this.visibleOptions.findIndex((e=>this.isOptionMatched(e))),-1===t&&-1===this.focusedOptionIndex&&(t=this.findFirstFocusedOptionIndex()),-1!==t&&this.changeFocusedOptionIndex(e,t),this.searchTimeout&&clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout((()=>{this.searchValue="",this.searchTimeout=null}),500)},changeFocusedOptionIndex(e,t){this.focusedOptionIndex!==t&&(this.focusedOptionIndex=t,this.scrollInView())},scrollInView(e=-1){const t=-1!==e?`${this.id}_${e}`:this.focusedOptionId,i=d.DomHandler.findSingle(this.list,`li[id="${t}"]`);i?i.scrollIntoView&&i.scrollIntoView({block:"nearest",inline:"nearest"}):this.virtualScrollerDisabled||this.virtualScroller&&this.virtualScroller.scrollToIndex(-1!==e?e:this.focusedOptionIndex)},autoUpdateModel(){if(this.selectOnFocus&&this.autoOptionFocus&&!this.hasSelectedOption){this.focusedOptionIndex=this.findFirstFocusedOptionIndex();const e=this.getOptionValue(this.visibleOptions[this.focusedOptionIndex]);this.updateModel(null,[e])}},updateModel(e,t){this.$emit("update:modelValue",t),this.$emit("change",{originalEvent:e,value:t})},flatOptions(e){return(e||[]).reduce(((e,t,i)=>{e.push({optionGroup:t,group:!0,index:i});const l=this.getOptionGroupChildren(t);return l&&l.forEach((t=>e.push(t))),e}),[])},overlayRef(e){this.overlay=e},listRef(e,t){this.list=e,t&&t(e)},virtualScrollerRef(e){this.virtualScroller=e}},computed:{containerClass(){return["p-multiselect p-component p-inputwrapper",{"p-multiselect-chip":"chip"===this.display,"p-disabled":this.disabled,"p-focus":this.focused,"p-inputwrapper-filled":this.modelValue&&this.modelValue.length,"p-inputwrapper-focus":this.focused||this.overlayVisible,"p-overlay-open":this.overlayVisible}]},labelClass(){return["p-multiselect-label",{"p-placeholder":this.label===this.placeholder,"p-multiselect-label-empty":!(this.placeholder||this.modelValue&&0!==this.modelValue.length)}]},panelStyleClass(){return["p-multiselect-panel p-component",this.panelClass,{"p-input-filled":"filled"===this.$primevue.config.inputStyle,"p-ripple-disabled":!1===this.$primevue.config.ripple}]},headerCheckboxClass(){return["p-checkbox p-component",{"p-checkbox-checked":this.allSelected,"p-checkbox-focused":this.headerCheckboxFocused}]},visibleOptions(){const t=this.optionGroupLabel?this.flatOptions(this.options):this.options||[];if(this.filterValue){const i=e.FilterService.filter(t,this.searchFields,this.filterValue,this.filterMatchMode,this.filterLocale);if(this.optionGroupLabel){const e=this.options||[],t=[];return e.forEach((e=>{const l=this.getOptionGroupChildren(e).filter((e=>i.includes(e)));l.length>0&&t.push({...e,["string"==typeof this.optionGroupChildren?this.optionGroupChildren:"items"]:[...l]})})),this.flatOptions(t)}return i}return t},label(){let e;if(this.modelValue&&this.modelValue.length){if(d.ObjectUtils.isNotEmpty(this.maxSelectedLabels)&&this.modelValue.length>this.maxSelectedLabels)return this.getSelectedItemsLabel();e="";for(let t=0;t<this.modelValue.length;t++)0!==t&&(e+=", "),e+=this.getLabelByValue(this.modelValue[t])}else e=this.placeholder;return e},chipSelectedItems(){return d.ObjectUtils.isNotEmpty(this.maxSelectedLabels)&&this.modelValue&&this.modelValue.length>this.maxSelectedLabels?this.modelValue.slice(0,this.maxSelectedLabels):this.modelValue},allSelected(){return null!==this.selectAll?this.selectAll:d.ObjectUtils.isNotEmpty(this.visibleOptions)&&this.visibleOptions.every((e=>this.isOptionGroup(e)||this.isOptionDisabled(e)||this.isSelected(e)))},hasSelectedOption(){return d.ObjectUtils.isNotEmpty(this.modelValue)},equalityKey(){return this.optionValue?null:this.dataKey},searchFields(){return this.filterFields||[this.optionLabel]},maxSelectionLimitReached(){return this.selectionLimit&&this.modelValue&&this.modelValue.length===this.selectionLimit},filterResultMessageText(){return d.ObjectUtils.isNotEmpty(this.visibleOptions)?this.filterMessageText.replaceAll("{0}",this.visibleOptions.length):this.emptyFilterMessageText},filterMessageText(){return this.filterMessage||this.$primevue.config.locale.searchMessage||""},emptyFilterMessageText(){return this.emptyFilterMessage||this.$primevue.config.locale.emptySearchMessage||this.$primevue.config.locale.emptyFilterMessage||""},emptyMessageText(){return this.emptyMessage||this.$primevue.config.locale.emptyMessage||""},selectionMessageText(){return this.selectionMessage||this.$primevue.config.locale.selectionMessage||""},emptySelectionMessageText(){return this.emptySelectionMessage||this.$primevue.config.locale.emptySelectionMessage||""},selectedMessageText(){return this.hasSelectedOption?this.selectionMessageText.replaceAll("{0}",this.modelValue.length):this.emptySelectionMessageText},focusedOptionId(){return-1!==this.focusedOptionIndex?`${this.id}_${this.focusedOptionIndex}`:null},ariaSetSize(){return this.visibleOptions.filter((e=>!this.isOptionGroup(e))).length},toggleAllAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria[this.allSelected?"selectAll":"unselectAll"]:void 0},closeAriaLabel(){return this.$primevue.config.locale.aria?this.$primevue.config.locale.aria.close:void 0},virtualScrollerDisabled(){return!this.virtualScrollerOptions}},directives:{ripple:k.default},components:{VirtualScroller:I.default,Portal:x.default,TimesIcon:v.default,SearchIcon:y.default,TimesCircleIcon:g.default,ChevronDownIcon:f.default,SpinnerIcon:b.default,CheckIcon:m.default}};const V={class:"p-hidden-accessible"},C=["id","disabled","placeholder","tabindex","aria-label","aria-labelledby","aria-expanded","aria-controls","aria-activedescendant"],L={class:"p-multiselect-label-container"},F={class:"p-multiselect-token-label"},w=["onClick"],E={class:"p-multiselect-trigger"},D={key:0,class:"p-multiselect-header"},B={class:"p-hidden-accessible"},K=["checked","aria-label"],$={key:1,class:"p-multiselect-filter-container"},T=["value","placeholder","aria-owns","aria-activedescendant"],M={key:2,role:"status","aria-live":"polite",class:"p-hidden-accessible"},N=["aria-label"],H=["id"],A=["id"],U=["id","aria-label","aria-selected","aria-disabled","aria-setsize","aria-posinset","onClick","onMousemove"],z={class:"p-checkbox p-component"},R={key:0,class:"p-multiselect-empty-message",role:"option"},P={key:1,class:"p-multiselect-empty-message",role:"option"},G={key:1,role:"status","aria-live":"polite",class:"p-hidden-accessible"},j={role:"status","aria-live":"polite",class:"p-hidden-accessible"};return function(e,t){void 0===t&&(t={});var i=t.insertAt;if(e&&"undefined"!=typeof document){var l=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css","top"===i&&l.firstChild?l.insertBefore(s,l.firstChild):l.appendChild(s),s.styleSheet?s.styleSheet.cssText=e:s.appendChild(document.createTextNode(e))}}("\n.p-multiselect {\n display: inline-flex;\n cursor: pointer;\n position: relative;\n user-select: none;\n}\n.p-multiselect-trigger {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n}\n.p-multiselect-label-container {\n overflow: hidden;\n flex: 1 1 auto;\n cursor: pointer;\n}\n.p-multiselect-label {\n display: block;\n white-space: nowrap;\n cursor: pointer;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.p-multiselect-label-empty {\n overflow: hidden;\n visibility: hidden;\n}\n.p-multiselect-token {\n cursor: default;\n display: inline-flex;\n align-items: center;\n flex: 0 0 auto;\n}\n.p-multiselect-token-icon {\n cursor: pointer;\n}\n.p-multiselect .p-multiselect-panel {\n min-width: 100%;\n}\n.p-multiselect-panel {\n position: absolute;\n top: 0;\n left: 0;\n}\n.p-multiselect-items-wrapper {\n overflow: auto;\n}\n.p-multiselect-items {\n margin: 0;\n padding: 0;\n list-style-type: none;\n}\n.p-multiselect-item {\n cursor: pointer;\n display: flex;\n align-items: center;\n font-weight: normal;\n white-space: nowrap;\n position: relative;\n overflow: hidden;\n}\n.p-multiselect-item-group {\n cursor: auto;\n}\n.p-multiselect-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n}\n.p-multiselect-filter-container {\n position: relative;\n flex: 1 1 auto;\n}\n.p-multiselect-filter-icon {\n position: absolute;\n top: 50%;\n margin-top: -0.5rem;\n}\n.p-multiselect-filter-container .p-inputtext {\n width: 100%;\n}\n.p-multiselect-close {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n overflow: hidden;\n position: relative;\n margin-left: auto;\n}\n.p-fluid .p-multiselect {\n display: flex;\n}\n"),S.render=function(e,t,i,l,s,n){const o=h.resolveComponent("TimesCircleIcon"),a=h.resolveComponent("SpinnerIcon"),r=h.resolveComponent("VirtualScroller"),c=h.resolveComponent("Portal"),d=h.resolveDirective("ripple");return h.openBlock(),h.createElementBlock("div",{ref:"container",class:h.normalizeClass(n.containerClass),onClick:t[15]||(t[15]=(...e)=>n.onContainerClick&&n.onContainerClick(...e))},[h.createElementVNode("div",V,[h.createElementVNode("input",h.mergeProps({ref:"focusInput",id:i.inputId,type:"text",readonly:"",disabled:i.disabled,placeholder:i.placeholder,tabindex:i.disabled?-1:i.tabindex,role:"combobox","aria-label":e.ariaLabel,"aria-labelledby":e.ariaLabelledby,"aria-haspopup":"listbox","aria-expanded":s.overlayVisible,"aria-controls":s.id+"_list","aria-activedescendant":s.focused?n.focusedOptionId:void 0,onFocus:t[0]||(t[0]=(...e)=>n.onFocus&&n.onFocus(...e)),onBlur:t[1]||(t[1]=(...e)=>n.onBlur&&n.onBlur(...e)),onKeydown:t[2]||(t[2]=(...e)=>n.onKeyDown&&n.onKeyDown(...e))},i.inputProps),null,16,C)]),h.createElementVNode("div",L,[h.createElementVNode("div",{class:h.normalizeClass(n.labelClass)},[h.renderSlot(e.$slots,"value",{value:i.modelValue,placeholder:i.placeholder},(()=>["comma"===i.display?(h.openBlock(),h.createElementBlock(h.Fragment,{key:0},[h.createTextVNode(h.toDisplayString(n.label||"empty"),1)],64)):"chip"===i.display?(h.openBlock(),h.createElementBlock(h.Fragment,{key:1},[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(n.chipSelectedItems,(t=>(h.openBlock(),h.createElementBlock("div",{key:n.getLabelByValue(t),class:"p-multiselect-token"},[h.renderSlot(e.$slots,"chip",{value:t},(()=>[h.createElementVNode("span",F,h.toDisplayString(n.getLabelByValue(t)),1)])),i.disabled?h.createCommentVNode("",!0):h.renderSlot(e.$slots,"removetokenicon",{key:0,class:"p-multiselect-token-icon",onClick:e=>n.removeOption(e,t)},(()=>[i.removeTokenIcon?(h.openBlock(),h.createElementBlock("span",{key:0,class:h.normalizeClass(["p-multiselect-token-icon",i.removeTokenIcon]),onClick:h.withModifiers((e=>n.removeOption(e,t)),["stop"])},null,10,w)):(h.openBlock(),h.createBlock(o,{key:1,class:"p-multiselect-token-icon",onClick:h.withModifiers((e=>n.removeOption(e,t)),["stop"])},null,8,["onClick"]))]))])))),128)),i.modelValue&&0!==i.modelValue.length?h.createCommentVNode("",!0):(h.openBlock(),h.createElementBlock(h.Fragment,{key:0},[h.createTextVNode(h.toDisplayString(i.placeholder||"empty"),1)],64))],64)):h.createCommentVNode("",!0)]))],2)]),h.createElementVNode("div",E,[i.loading?h.renderSlot(e.$slots,"loadingicon",{key:0,class:"p-multiselect-trigger-icon"},(()=>[i.loadingIcon?(h.openBlock(),h.createElementBlock("span",{key:0,class:h.normalizeClass(["p-multiselect-trigger-icon pi-spin",i.loadingIcon]),"aria-hidden":"true"},null,2)):(h.openBlock(),h.createBlock(a,{key:1,class:"p-multiselect-trigger-icon",spin:"","aria-hidden":"true"}))])):h.renderSlot(e.$slots,"dropdownicon",{key:1,class:"p-multiselect-trigger-icon"},(()=>[(h.openBlock(),h.createBlock(h.resolveDynamicComponent(i.dropdownIcon?"span":"ChevronDownIcon"),{class:h.normalizeClass(["p-multiselect-trigger-icon",i.dropdownIcon]),"aria-hidden":"true"},null,8,["class"]))]))]),h.createVNode(c,{appendTo:i.appendTo},{default:h.withCtx((()=>[h.createVNode(h.Transition,{name:"p-connected-overlay",onEnter:n.onOverlayEnter,onAfterEnter:n.onOverlayAfterEnter,onLeave:n.onOverlayLeave,onAfterLeave:n.onOverlayAfterLeave},{default:h.withCtx((()=>[s.overlayVisible?(h.openBlock(),h.createElementBlock("div",h.mergeProps({key:0,ref:n.overlayRef,style:i.panelStyle,class:n.panelStyleClass,onClick:t[13]||(t[13]=(...e)=>n.onOverlayClick&&n.onOverlayClick(...e)),onKeydown:t[14]||(t[14]=(...e)=>n.onOverlayKeyDown&&n.onOverlayKeyDown(...e))},i.panelProps),[h.createElementVNode("span",{ref:"firstHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:t[3]||(t[3]=(...e)=>n.onFirstHiddenFocus&&n.onFirstHiddenFocus(...e))},null,544),h.renderSlot(e.$slots,"header",{value:i.modelValue,options:n.visibleOptions}),i.showToggleAll&&null==i.selectionLimit||i.filter?(h.openBlock(),h.createElementBlock("div",D,[i.showToggleAll&&null==i.selectionLimit?(h.openBlock(),h.createElementBlock("div",{key:0,class:h.normalizeClass(n.headerCheckboxClass),onClick:t[6]||(t[6]=(...e)=>n.onToggleAll&&n.onToggleAll(...e))},[h.createElementVNode("div",B,[h.createElementVNode("input",{type:"checkbox",readonly:"",checked:n.allSelected,"aria-label":n.toggleAllAriaLabel,onFocus:t[4]||(t[4]=(...e)=>n.onHeaderCheckboxFocus&&n.onHeaderCheckboxFocus(...e)),onBlur:t[5]||(t[5]=(...e)=>n.onHeaderCheckboxBlur&&n.onHeaderCheckboxBlur(...e))},null,40,K)]),h.createElementVNode("div",{class:h.normalizeClass(["p-checkbox-box",{"p-highlight":n.allSelected,"p-focus":s.headerCheckboxFocused}])},[h.renderSlot(e.$slots,"headercheckboxicon",{allSelected:n.allSelected,class:"p-checkbox-icon"},(()=>[(h.openBlock(),h.createBlock(h.resolveDynamicComponent(i.checkboxIcon?"span":"CheckIcon"),{class:h.normalizeClass(["p-checkbox-icon",{[i.checkboxIcon]:n.allSelected}])},null,8,["class"]))]))],2)],2)):h.createCommentVNode("",!0),i.filter?(h.openBlock(),h.createElementBlock("div",$,[h.createElementVNode("input",h.mergeProps({ref:"filterInput",type:"text",value:s.filterValue,onVnodeUpdated:t[7]||(t[7]=(...e)=>n.onFilterUpdated&&n.onFilterUpdated(...e)),class:"p-multiselect-filter p-inputtext p-component",placeholder:i.filterPlaceholder,role:"searchbox",autocomplete:"off","aria-owns":s.id+"_list","aria-activedescendant":n.focusedOptionId,onKeydown:t[8]||(t[8]=(...e)=>n.onFilterKeyDown&&n.onFilterKeyDown(...e)),onBlur:t[9]||(t[9]=(...e)=>n.onFilterBlur&&n.onFilterBlur(...e)),onInput:t[10]||(t[10]=(...e)=>n.onFilterChange&&n.onFilterChange(...e))},i.filterInputProps),null,16,T),h.renderSlot(e.$slots,"filtericon",{class:"p-multiselect-filter-icon"},(()=>[(h.openBlock(),h.createBlock(h.resolveDynamicComponent(i.filterIcon?"span":"SearchIcon"),{class:h.normalizeClass(["p-multiselect-filter-icon",i.filterIcon])},null,8,["class"]))]))])):h.createCommentVNode("",!0),i.filter?(h.openBlock(),h.createElementBlock("span",M,h.toDisplayString(n.filterResultMessageText),1)):h.createCommentVNode("",!0),h.withDirectives((h.openBlock(),h.createElementBlock("button",h.mergeProps({class:"p-multiselect-close p-link","aria-label":n.closeAriaLabel,onClick:t[11]||(t[11]=(...e)=>n.onCloseClick&&n.onCloseClick(...e)),type:"button"},i.closeButtonProps),[h.renderSlot(e.$slots,"closeicon",{class:"p-multiselect-close-icon"},(()=>[(h.openBlock(),h.createBlock(h.resolveDynamicComponent(i.closeIcon?"span":"TimesIcon"),{class:h.normalizeClass(["p-multiselect-close-icon",i.closeIcon])},null,8,["class"]))]))],16,N)),[[d]])])):h.createCommentVNode("",!0),h.createElementVNode("div",{class:"p-multiselect-items-wrapper",style:h.normalizeStyle({"max-height":n.virtualScrollerDisabled?i.scrollHeight:""})},[h.createVNode(r,h.mergeProps({ref:n.virtualScrollerRef},i.virtualScrollerOptions,{items:n.visibleOptions,style:{height:i.scrollHeight},tabindex:-1,disabled:n.virtualScrollerDisabled}),h.createSlots({content:h.withCtx((({styleClass:t,contentRef:l,items:o,getItemOptions:a,contentStyle:r,itemSize:c})=>[h.createElementVNode("ul",{ref:e=>n.listRef(e,l),id:s.id+"_list",class:h.normalizeClass(["p-multiselect-items p-component",t]),style:h.normalizeStyle(r),role:"listbox","aria-multiselectable":"true"},[(h.openBlock(!0),h.createElementBlock(h.Fragment,null,h.renderList(o,((t,l)=>(h.openBlock(),h.createElementBlock(h.Fragment,{key:n.getOptionRenderKey(t,n.getOptionIndex(l,a))},[n.isOptionGroup(t)?(h.openBlock(),h.createElementBlock("li",{key:0,id:s.id+"_"+n.getOptionIndex(l,a),style:h.normalizeStyle({height:c?c+"px":void 0}),class:"p-multiselect-item-group",role:"option"},[h.renderSlot(e.$slots,"optiongroup",{option:t.optionGroup,index:n.getOptionIndex(l,a)},(()=>[h.createTextVNode(h.toDisplayString(n.getOptionGroupLabel(t.optionGroup)),1)]))],12,A)):h.withDirectives((h.openBlock(),h.createElementBlock("li",{key:1,id:s.id+"_"+n.getOptionIndex(l,a),style:h.normalizeStyle({height:c?c+"px":void 0}),class:h.normalizeClass(["p-multiselect-item",{"p-highlight":n.isSelected(t),"p-focus":s.focusedOptionIndex===n.getOptionIndex(l,a),"p-disabled":n.isOptionDisabled(t)}]),role:"option","aria-label":n.getOptionLabel(t),"aria-selected":n.isSelected(t),"aria-disabled":n.isOptionDisabled(t),"aria-setsize":n.ariaSetSize,"aria-posinset":n.getAriaPosInset(n.getOptionIndex(l,a)),onClick:e=>n.onOptionSelect(e,t,n.getOptionIndex(l,a),!0),onMousemove:e=>n.onOptionMouseMove(e,n.getOptionIndex(l,a))},[h.createElementVNode("div",z,[h.createElementVNode("div",{class:h.normalizeClass(["p-checkbox-box",{"p-highlight":n.isSelected(t)}])},[h.renderSlot(e.$slots,"itemcheckboxicon",{selected:n.isSelected(t),class:"p-checkbox-icon"},(()=>[(h.openBlock(),h.createBlock(h.resolveDynamicComponent(i.checkboxIcon?"span":"CheckIcon"),{class:h.normalizeClass(["p-checkbox-icon",{[i.checkboxIcon]:n.isSelected(t)}])},null,8,["class"]))]))],2)]),h.renderSlot(e.$slots,"option",{option:t,index:n.getOptionIndex(l,a)},(()=>[h.createElementVNode("span",null,h.toDisplayString(n.getOptionLabel(t)),1)]))],46,U)),[[d]])],64)))),128)),s.filterValue&&(!o||o&&0===o.length)?(h.openBlock(),h.createElementBlock("li",R,[h.renderSlot(e.$slots,"emptyfilter",{},(()=>[h.createTextVNode(h.toDisplayString(n.emptyFilterMessageText),1)]))])):!i.options||i.options&&0===i.options.length?(h.openBlock(),h.createElementBlock("li",P,[h.renderSlot(e.$slots,"empty",{},(()=>[h.createTextVNode(h.toDisplayString(n.emptyMessageText),1)]))])):h.createCommentVNode("",!0)],14,H)])),_:2},[e.$slots.loader?{name:"loader",fn:h.withCtx((({options:t})=>[h.renderSlot(e.$slots,"loader",{options:t})])),key:"0"}:void 0]),1040,["items","style","disabled"])],4),h.renderSlot(e.$slots,"footer",{value:i.modelValue,options:n.visibleOptions}),!i.options||i.options&&0===i.options.length?(h.openBlock(),h.createElementBlock("span",G,h.toDisplayString(n.emptyMessageText),1)):h.createCommentVNode("",!0),h.createElementVNode("span",j,h.toDisplayString(n.selectedMessageText),1),h.createElementVNode("span",{ref:"lastHiddenFocusableElementOnOverlay",role:"presentation","aria-hidden":"true",class:"p-hidden-accessible p-hidden-focusable",tabindex:0,onFocus:t[12]||(t[12]=(...e)=>n.onLastHiddenFocus&&n.onLastHiddenFocus(...e))},null,544)],16)):h.createCommentVNode("",!0)])),_:3},8,["onEnter","onAfterEnter","onLeave","onAfterLeave"])])),_:3},8,["appendTo"])],2)},S}(primevue.api,primevue.icons.check,primevue.icons.chevrondown,primevue.icons.search,primevue.icons.spinner,primevue.icons.times,primevue.icons.timescircle,primevue.overlayeventbus,primevue.portal,primevue.ripple,primevue.utils,primevue.virtualscroller,Vue);
|
package/orderlist/OrderList.d.ts
CHANGED
|
@@ -149,6 +149,22 @@ export interface OrderListSlots {
|
|
|
149
149
|
* Custom controls end template.
|
|
150
150
|
*/
|
|
151
151
|
controlsend(): VNode[];
|
|
152
|
+
/**
|
|
153
|
+
* Custom move up icon template.
|
|
154
|
+
*/
|
|
155
|
+
moveupicon(): VNode[];
|
|
156
|
+
/**
|
|
157
|
+
* Custom move top icon template.
|
|
158
|
+
*/
|
|
159
|
+
movetopicon(): VNode[];
|
|
160
|
+
/**
|
|
161
|
+
* Custom move down icon template.
|
|
162
|
+
*/
|
|
163
|
+
movedownicon(): VNode[];
|
|
164
|
+
/**
|
|
165
|
+
* Custom move bottom icon template.
|
|
166
|
+
*/
|
|
167
|
+
movebottomicon(): VNode[];
|
|
152
168
|
}
|
|
153
169
|
|
|
154
170
|
/**
|
package/orderlist/OrderList.vue
CHANGED
|
@@ -2,10 +2,34 @@
|
|
|
2
2
|
<div :class="containerClass">
|
|
3
3
|
<div class="p-orderlist-controls">
|
|
4
4
|
<slot name="controlsstart"></slot>
|
|
5
|
-
<OLButton type="button"
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
<OLButton type="button" @click="moveUp" :aria-label="moveUpAriaLabel" :disabled="moveDisabled()" v-bind="moveUpButtonProps">
|
|
6
|
+
<template #icon>
|
|
7
|
+
<slot name="moveupicon">
|
|
8
|
+
<AngleUpIcon />
|
|
9
|
+
</slot>
|
|
10
|
+
</template>
|
|
11
|
+
</OLButton>
|
|
12
|
+
<OLButton type="button" @click="moveTop" :aria-label="moveTopAriaLabel" :disabled="moveDisabled()" v-bind="moveTopButtonProps">
|
|
13
|
+
<template #icon
|
|
14
|
+
><slot name="movetopicon">
|
|
15
|
+
<AngleDoubleUpIcon />
|
|
16
|
+
</slot>
|
|
17
|
+
</template>
|
|
18
|
+
</OLButton>
|
|
19
|
+
<OLButton type="button" @click="moveDown" :aria-label="moveDownAriaLabel" :disabled="moveDisabled()" v-bind="moveDownButtonProps">
|
|
20
|
+
<template #icon>
|
|
21
|
+
<slot name="movedownicon">
|
|
22
|
+
<AngleDownIcon />
|
|
23
|
+
</slot>
|
|
24
|
+
</template>
|
|
25
|
+
</OLButton>
|
|
26
|
+
<OLButton type="button" @click="moveBottom" :aria-label="moveBottomAriaLabel" :disabled="moveDisabled()" v-bind="moveBottomButtonProps">
|
|
27
|
+
<template #icon>
|
|
28
|
+
<slot name="movebottomicon">
|
|
29
|
+
<AngleDoubleDownIcon />
|
|
30
|
+
</slot>
|
|
31
|
+
</template>
|
|
32
|
+
</OLButton>
|
|
9
33
|
<slot name="controlsend"></slot>
|
|
10
34
|
</div>
|
|
11
35
|
<div class="p-orderlist-list-container">
|
|
@@ -42,6 +66,10 @@
|
|
|
42
66
|
|
|
43
67
|
<script>
|
|
44
68
|
import Button from 'primevue/button';
|
|
69
|
+
import AngleDoubleDownIcon from 'primevue/icons/angledoubledown';
|
|
70
|
+
import AngleDoubleUpIcon from 'primevue/icons/angledoubleup';
|
|
71
|
+
import AngleDownIcon from 'primevue/icons/angledown';
|
|
72
|
+
import AngleUpIcon from 'primevue/icons/angleup';
|
|
45
73
|
import Ripple from 'primevue/ripple';
|
|
46
74
|
import { DomHandler, ObjectUtils, UniqueComponentId } from 'primevue/utils';
|
|
47
75
|
|
|
@@ -578,7 +606,11 @@ export default {
|
|
|
578
606
|
}
|
|
579
607
|
},
|
|
580
608
|
components: {
|
|
581
|
-
OLButton: Button
|
|
609
|
+
OLButton: Button,
|
|
610
|
+
AngleUpIcon: AngleUpIcon,
|
|
611
|
+
AngleDownIcon: AngleDownIcon,
|
|
612
|
+
AngleDoubleUpIcon: AngleDoubleUpIcon,
|
|
613
|
+
AngleDoubleDownIcon: AngleDoubleDownIcon
|
|
582
614
|
},
|
|
583
615
|
directives: {
|
|
584
616
|
ripple: Ripple
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var Button = require('primevue/button');
|
|
4
|
+
var AngleDoubleDownIcon = require('primevue/icons/angledoubledown');
|
|
5
|
+
var AngleDoubleUpIcon = require('primevue/icons/angledoubleup');
|
|
6
|
+
var AngleDownIcon = require('primevue/icons/angledown');
|
|
7
|
+
var AngleUpIcon = require('primevue/icons/angleup');
|
|
4
8
|
var Ripple = require('primevue/ripple');
|
|
5
9
|
var utils = require('primevue/utils');
|
|
6
10
|
var vue = require('vue');
|
|
@@ -8,6 +12,10 @@ var vue = require('vue');
|
|
|
8
12
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
13
|
|
|
10
14
|
var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
|
|
15
|
+
var AngleDoubleDownIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleDoubleDownIcon);
|
|
16
|
+
var AngleDoubleUpIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleDoubleUpIcon);
|
|
17
|
+
var AngleDownIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleDownIcon);
|
|
18
|
+
var AngleUpIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleUpIcon);
|
|
11
19
|
var Ripple__default = /*#__PURE__*/_interopDefaultLegacy(Ripple);
|
|
12
20
|
|
|
13
21
|
var script = {
|
|
@@ -537,7 +545,11 @@ var script = {
|
|
|
537
545
|
}
|
|
538
546
|
},
|
|
539
547
|
components: {
|
|
540
|
-
OLButton: Button__default["default"]
|
|
548
|
+
OLButton: Button__default["default"],
|
|
549
|
+
AngleUpIcon: AngleUpIcon__default["default"],
|
|
550
|
+
AngleDownIcon: AngleDownIcon__default["default"],
|
|
551
|
+
AngleDoubleUpIcon: AngleDoubleUpIcon__default["default"],
|
|
552
|
+
AngleDoubleDownIcon: AngleDoubleDownIcon__default["default"]
|
|
541
553
|
},
|
|
542
554
|
directives: {
|
|
543
555
|
ripple: Ripple__default["default"]
|
|
@@ -553,7 +565,11 @@ const _hoisted_3 = {
|
|
|
553
565
|
const _hoisted_4 = ["id", "onClick", "aria-selected", "onMousedown"];
|
|
554
566
|
|
|
555
567
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
568
|
+
const _component_AngleUpIcon = vue.resolveComponent("AngleUpIcon");
|
|
556
569
|
const _component_OLButton = vue.resolveComponent("OLButton");
|
|
570
|
+
const _component_AngleDoubleUpIcon = vue.resolveComponent("AngleDoubleUpIcon");
|
|
571
|
+
const _component_AngleDownIcon = vue.resolveComponent("AngleDownIcon");
|
|
572
|
+
const _component_AngleDoubleDownIcon = vue.resolveComponent("AngleDoubleDownIcon");
|
|
557
573
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
558
574
|
|
|
559
575
|
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
@@ -563,32 +579,56 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
563
579
|
vue.renderSlot(_ctx.$slots, "controlsstart"),
|
|
564
580
|
vue.createVNode(_component_OLButton, vue.mergeProps({
|
|
565
581
|
type: "button",
|
|
566
|
-
icon: "pi pi-angle-up",
|
|
567
582
|
onClick: $options.moveUp,
|
|
568
583
|
"aria-label": $options.moveUpAriaLabel,
|
|
569
584
|
disabled: $options.moveDisabled()
|
|
570
|
-
}, $props.moveUpButtonProps),
|
|
585
|
+
}, $props.moveUpButtonProps), {
|
|
586
|
+
icon: vue.withCtx(() => [
|
|
587
|
+
vue.renderSlot(_ctx.$slots, "moveupicon", {}, () => [
|
|
588
|
+
vue.createVNode(_component_AngleUpIcon)
|
|
589
|
+
])
|
|
590
|
+
]),
|
|
591
|
+
_: 3
|
|
592
|
+
}, 16, ["onClick", "aria-label", "disabled"]),
|
|
571
593
|
vue.createVNode(_component_OLButton, vue.mergeProps({
|
|
572
594
|
type: "button",
|
|
573
|
-
icon: "pi pi-angle-double-up",
|
|
574
595
|
onClick: $options.moveTop,
|
|
575
596
|
"aria-label": $options.moveTopAriaLabel,
|
|
576
597
|
disabled: $options.moveDisabled()
|
|
577
|
-
}, $props.moveTopButtonProps),
|
|
598
|
+
}, $props.moveTopButtonProps), {
|
|
599
|
+
icon: vue.withCtx(() => [
|
|
600
|
+
vue.renderSlot(_ctx.$slots, "movetopicon", {}, () => [
|
|
601
|
+
vue.createVNode(_component_AngleDoubleUpIcon)
|
|
602
|
+
])
|
|
603
|
+
]),
|
|
604
|
+
_: 3
|
|
605
|
+
}, 16, ["onClick", "aria-label", "disabled"]),
|
|
578
606
|
vue.createVNode(_component_OLButton, vue.mergeProps({
|
|
579
607
|
type: "button",
|
|
580
|
-
icon: "pi pi-angle-down",
|
|
581
608
|
onClick: $options.moveDown,
|
|
582
609
|
"aria-label": $options.moveDownAriaLabel,
|
|
583
610
|
disabled: $options.moveDisabled()
|
|
584
|
-
}, $props.moveDownButtonProps),
|
|
611
|
+
}, $props.moveDownButtonProps), {
|
|
612
|
+
icon: vue.withCtx(() => [
|
|
613
|
+
vue.renderSlot(_ctx.$slots, "movedownicon", {}, () => [
|
|
614
|
+
vue.createVNode(_component_AngleDownIcon)
|
|
615
|
+
])
|
|
616
|
+
]),
|
|
617
|
+
_: 3
|
|
618
|
+
}, 16, ["onClick", "aria-label", "disabled"]),
|
|
585
619
|
vue.createVNode(_component_OLButton, vue.mergeProps({
|
|
586
620
|
type: "button",
|
|
587
|
-
icon: "pi pi-angle-double-down",
|
|
588
621
|
onClick: $options.moveBottom,
|
|
589
622
|
"aria-label": $options.moveBottomAriaLabel,
|
|
590
623
|
disabled: $options.moveDisabled()
|
|
591
|
-
}, $props.moveBottomButtonProps),
|
|
624
|
+
}, $props.moveBottomButtonProps), {
|
|
625
|
+
icon: vue.withCtx(() => [
|
|
626
|
+
vue.renderSlot(_ctx.$slots, "movebottomicon", {}, () => [
|
|
627
|
+
vue.createVNode(_component_AngleDoubleDownIcon)
|
|
628
|
+
])
|
|
629
|
+
]),
|
|
630
|
+
_: 3
|
|
631
|
+
}, 16, ["onClick", "aria-label", "disabled"]),
|
|
592
632
|
vue.renderSlot(_ctx.$slots, "controlsend")
|
|
593
633
|
]),
|
|
594
634
|
vue.createElementVNode("div", _hoisted_2, [
|