primevue 3.8.2 → 3.11.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 +2 -2
- package/accordion/Accordion.d.ts +74 -11
- package/accordion/accordion.esm.js +1 -1
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +1 -1
- package/accordiontab/AccordionTab.d.ts +37 -8
- package/accordiontab/accordiontab.esm.js +1 -1
- package/accordiontab/accordiontab.esm.min.js +1 -1
- package/accordiontab/accordiontab.js +1 -1
- package/api/Api.d.ts +292 -251
- package/api/api.cjs.js +66 -32
- package/api/api.cjs.min.js +1 -1
- package/api/api.esm.js +66 -32
- package/api/api.esm.min.js +1 -1
- package/api/api.js +67 -33
- package/api/api.min.js +1 -1
- package/autocomplete/AutoComplete.d.ts +280 -63
- package/autocomplete/AutoComplete.vue +16 -9
- package/autocomplete/autocomplete.cjs.js +23 -15
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +20 -12
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +24 -16
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/Avatar.d.ts +57 -8
- package/avatar/avatar.esm.js +1 -1
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +1 -1
- package/avatargroup/AvatarGroup.d.ts +29 -3
- package/avatargroup/avatargroup.esm.js +1 -1
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.js +1 -1
- package/badge/Badge.d.ts +46 -5
- package/badge/badge.esm.js +1 -1
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +1 -1
- package/badgedirective/badgedirective.esm.js +1 -1
- package/badgedirective/badgedirective.esm.min.js +1 -1
- package/badgedirective/badgedirective.js +1 -1
- package/blockui/BlockUI.d.ts +52 -11
- package/blockui/blockui.esm.js +1 -1
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +1 -1
- package/breadcrumb/Breadcrumb.d.ts +49 -9
- package/breadcrumb/BreadcrumbItem.vue +5 -2
- package/breadcrumb/breadcrumb.cjs.js +5 -2
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +6 -3
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +6 -3
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/Button.d.ts +68 -11
- package/button/button.cjs.js +1 -1
- package/button/button.esm.js +1 -1
- package/button/button.esm.min.js +1 -1
- package/button/button.js +2 -2
- package/calendar/Calendar.d.ts +320 -58
- package/calendar/Calendar.vue +406 -84
- package/calendar/calendar.cjs.js +521 -204
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +521 -203
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +523 -205
- package/calendar/calendar.min.js +1 -1
- package/card/Card.d.ts +43 -9
- package/card/card.esm.js +1 -1
- package/card/card.esm.min.js +1 -1
- package/card/card.js +1 -1
- package/carousel/Carousel.d.ts +121 -24
- package/carousel/Carousel.vue +2 -2
- package/carousel/carousel.cjs.js +7 -7
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +7 -7
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +8 -8
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/CascadeSelect.d.ts +172 -35
- package/cascadeselect/cascadeselect.cjs.js +2 -2
- package/cascadeselect/cascadeselect.esm.js +1 -1
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +3 -3
- package/chart/Chart.d.ts +104 -12
- package/chart/Chart.vue +18 -4
- package/chart/chart.cjs.js +20 -8
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +19 -5
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +19 -5
- package/chart/chart.min.js +1 -1
- package/checkbox/Checkbox.d.ts +66 -8
- package/checkbox/checkbox.esm.js +1 -1
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +1 -1
- package/chip/Chip.d.ts +50 -4
- package/chip/chip.esm.js +1 -1
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +1 -1
- package/chips/Chips.d.ts +88 -15
- package/chips/chips.esm.js +1 -1
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +1 -1
- package/colorpicker/ColorPicker.d.ts +105 -13
- package/colorpicker/ColorPicker.vue +6 -1
- package/colorpicker/colorpicker.cjs.js +7 -2
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +7 -2
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +8 -3
- package/colorpicker/colorpicker.min.js +1 -1
- package/column/Column.d.ts +448 -78
- package/column/column.esm.js +1 -1
- package/column/column.esm.min.js +1 -1
- package/column/column.js +1 -1
- package/columngroup/ColumnGroup.d.ts +30 -4
- package/columngroup/columngroup.esm.js +1 -1
- package/columngroup/columngroup.esm.min.js +1 -1
- package/columngroup/columngroup.js +1 -1
- package/config/config.cjs.js +1 -1
- package/config/config.esm.js +1 -2
- package/config/config.esm.min.js +1 -1
- package/config/config.js +2 -2
- package/confirmationeventbus/confirmationeventbus.esm.js +1 -1
- package/confirmationeventbus/confirmationeventbus.esm.min.js +1 -1
- package/confirmationeventbus/confirmationeventbus.js +1 -1
- package/confirmationoptions/ConfirmationOptions.d.ts +58 -0
- package/confirmationoptions/package.json +3 -0
- package/confirmationservice/ConfirmationService.d.ts +2 -1
- package/confirmationservice/confirmationservice.cjs.js +2 -2
- package/confirmationservice/confirmationservice.esm.js +1 -1
- package/confirmationservice/confirmationservice.esm.min.js +1 -1
- package/confirmationservice/confirmationservice.js +3 -3
- package/confirmdialog/ConfirmDialog.d.ts +57 -5
- package/confirmdialog/ConfirmDialog.vue +8 -2
- package/confirmdialog/confirmdialog.cjs.js +17 -10
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +12 -5
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +18 -11
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/ConfirmPopup.d.ts +41 -3
- package/confirmpopup/ConfirmPopup.vue +7 -4
- package/confirmpopup/confirmpopup.cjs.js +19 -11
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +15 -7
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +20 -12
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/ContextMenu.d.ts +88 -16
- package/contextmenu/ContextMenuSub.vue +7 -4
- package/contextmenu/contextmenu.cjs.js +8 -5
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +8 -5
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +9 -6
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +861 -383
- package/core/core.min.js +15 -13
- package/datatable/BodyCell.vue +27 -1
- package/datatable/ColumnFilter.vue +17 -6
- package/datatable/DataTable.d.ts +1056 -130
- package/datatable/DataTable.vue +150 -131
- package/datatable/HeaderCheckbox.vue +5 -2
- package/datatable/RowCheckbox.vue +1 -1
- package/datatable/RowRadioButton.vue +1 -1
- package/datatable/TableBody.vue +57 -14
- package/datatable/TableFooter.vue +15 -1
- package/datatable/TableHeader.vue +15 -1
- package/datatable/datatable.cjs.js +542 -381
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +533 -373
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +543 -383
- package/datatable/datatable.min.js +1 -1
- package/dataview/DataView.d.ts +198 -32
- package/dataview/DataView.vue +8 -8
- package/dataview/dataview.cjs.js +13 -13
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +13 -13
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +14 -14
- package/dataview/dataview.min.js +1 -1
- package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +34 -5
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.js +1 -1
- package/deferredcontent/DeferredContent.d.ts +31 -6
- package/deferredcontent/deferredcontent.esm.js +1 -1
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +1 -1
- package/dialog/Dialog.d.ts +187 -34
- package/dialog/Dialog.vue +1 -1
- package/dialog/dialog.cjs.js +2 -3
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +2 -3
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +3 -4
- package/dialog/dialog.min.js +1 -1
- package/divider/Divider.d.ts +53 -8
- package/divider/divider.esm.js +1 -1
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +1 -1
- package/dock/Dock.d.ts +92 -15
- package/dock/DockSub.vue +3 -1
- package/dock/dock.cjs.js +4 -1
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +4 -2
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +5 -3
- package/dock/dock.min.js +1 -1
- package/dropdown/Dropdown.d.ts +340 -76
- package/dropdown/Dropdown.vue +1 -1
- package/dropdown/dropdown.cjs.js +4 -4
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +2 -2
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +5 -5
- package/dropdown/dropdown.min.js +1 -1
- package/editor/Editor.d.ts +78 -11
- package/editor/editor.cjs.js +1 -1
- package/editor/editor.esm.js +1 -1
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +2 -2
- package/fieldset/Fieldset.d.ts +63 -11
- package/fieldset/fieldset.cjs.js +1 -1
- package/fieldset/fieldset.esm.js +1 -1
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +2 -2
- package/fileupload/FileUpload.d.ts +255 -37
- package/fileupload/fileupload.cjs.js +4 -4
- package/fileupload/fileupload.esm.js +1 -1
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +5 -5
- package/fullcalendar/FullCalendar.d.ts +29 -3
- package/fullcalendar/fullcalendar.esm.js +1 -1
- package/fullcalendar/fullcalendar.esm.min.js +1 -1
- package/fullcalendar/fullcalendar.js +1 -1
- package/galleria/Galleria.d.ts +196 -46
- package/galleria/galleria.cjs.js +3 -3
- package/galleria/galleria.esm.js +1 -1
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +4 -4
- package/image/Image.d.ts +51 -6
- package/image/image.esm.js +1 -1
- package/image/image.esm.min.js +1 -1
- package/image/image.js +1 -1
- package/inlinemessage/InlineMessage.d.ts +34 -6
- package/inlinemessage/inlinemessage.esm.js +1 -1
- package/inlinemessage/inlinemessage.esm.min.js +1 -1
- package/inlinemessage/inlinemessage.js +1 -1
- package/inplace/Inplace.d.ts +57 -12
- package/inplace/inplace.cjs.js +1 -1
- package/inplace/inplace.esm.js +1 -1
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +2 -2
- package/inputmask/InputMask.d.ts +75 -15
- package/inputmask/inputmask.esm.js +1 -1
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +1 -1
- package/inputnumber/InputNumber.d.ts +180 -30
- package/inputnumber/InputNumber.vue +19 -3
- package/inputnumber/inputnumber.cjs.js +21 -5
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +20 -4
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +22 -6
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputswitch/InputSwitch.d.ts +61 -9
- package/inputswitch/inputswitch.esm.js +1 -1
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +1 -1
- package/inputtext/InputText.d.ts +34 -5
- package/inputtext/InputText.vue +1 -1
- package/inputtext/inputtext.cjs.js +2 -2
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.esm.js +4 -4
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +3 -3
- package/inputtext/inputtext.min.js +1 -1
- package/knob/Knob.d.ts +92 -18
- package/knob/knob.esm.js +1 -1
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +1 -1
- package/listbox/Listbox.d.ts +246 -56
- package/listbox/listbox.cjs.js +2 -2
- package/listbox/listbox.esm.js +1 -1
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +3 -3
- package/megamenu/MegaMenu.d.ts +60 -12
- package/megamenu/MegaMenu.vue +10 -7
- package/megamenu/megamenu.cjs.js +11 -8
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +11 -8
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +12 -9
- package/megamenu/megamenu.min.js +1 -1
- package/menu/Menu.d.ts +84 -15
- package/menu/Menu.vue +6 -3
- package/menu/Menuitem.vue +5 -2
- package/menu/menu.cjs.js +13 -7
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +12 -6
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +14 -8
- package/menu/menu.min.js +1 -1
- package/menubar/Menubar.d.ts +52 -11
- package/menubar/Menubar.vue +1 -0
- package/menubar/MenubarSub.vue +7 -4
- package/menubar/menubar.cjs.js +9 -6
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +9 -6
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +10 -7
- package/menubar/menubar.min.js +1 -1
- package/menuitem/MenuItem.d.ts +82 -0
- package/menuitem/package.json +3 -0
- package/message/Message.d.ts +57 -10
- package/message/Message.vue +6 -2
- package/message/message.cjs.js +7 -3
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +7 -3
- package/message/message.esm.min.js +1 -1
- package/message/message.js +8 -4
- package/message/message.min.js +1 -1
- package/multiselect/MultiSelect.d.ts +368 -83
- package/multiselect/multiselect.cjs.js +3 -3
- package/multiselect/multiselect.esm.js +1 -1
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +4 -4
- package/orderlist/OrderList.d.ts +122 -17
- package/orderlist/OrderList.vue +2 -0
- package/orderlist/orderlist.cjs.js +5 -3
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +4 -2
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +6 -4
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/OrganizationChart.d.ts +137 -15
- package/organizationchart/OrganizationChart.vue +1 -0
- package/organizationchart/organizationchart.cjs.js +1 -1
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +2 -2
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +2 -2
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlayeventbus/overlayeventbus.esm.js +1 -1
- package/overlayeventbus/overlayeventbus.esm.min.js +1 -1
- package/overlayeventbus/overlayeventbus.js +1 -1
- package/overlaypanel/OverlayPanel.d.ts +107 -12
- package/overlaypanel/overlaypanel.cjs.js +5 -5
- package/overlaypanel/overlaypanel.esm.js +1 -1
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +6 -6
- package/package.json +5 -1
- package/paginator/Paginator.d.ts +129 -27
- package/paginator/Paginator.vue +4 -4
- package/paginator/paginator.cjs.js +12 -12
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +5 -5
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +13 -13
- package/paginator/paginator.min.js +1 -1
- package/panel/Panel.d.ts +64 -8
- package/panel/Panel.vue +1 -1
- package/panel/panel.cjs.js +1 -1
- package/panel/panel.esm.js +1 -1
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +2 -2
- package/panelmenu/PanelMenu.d.ts +59 -11
- package/panelmenu/PanelMenu.vue +8 -5
- package/panelmenu/PanelMenuSub.vue +8 -5
- package/panelmenu/panelmenu.cjs.js +18 -12
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +19 -13
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +19 -13
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/Password.d.ts +115 -24
- package/password/password.cjs.js +2 -2
- package/password/password.esm.js +1 -1
- package/password/password.esm.min.js +1 -1
- package/password/password.js +3 -3
- package/picklist/PickList.d.ts +199 -26
- package/picklist/PickList.vue +10 -4
- package/picklist/picklist.cjs.js +15 -9
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +14 -8
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +16 -10
- package/picklist/picklist.min.js +1 -1
- package/progressbar/ProgressBar.d.ts +43 -8
- package/progressbar/ProgressBar.vue +13 -12
- package/progressbar/progressbar.cjs.js +13 -12
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +15 -14
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +14 -13
- package/progressbar/progressbar.min.js +1 -1
- package/progressspinner/ProgressSpinner.d.ts +39 -6
- package/progressspinner/progressspinner.esm.js +1 -1
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.js +1 -1
- package/radiobutton/RadioButton.d.ts +52 -7
- package/radiobutton/radiobutton.esm.js +1 -1
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +1 -1
- package/rating/Rating.d.ts +67 -10
- package/rating/Rating.vue +1 -1
- package/rating/rating.cjs.js +1 -1
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +2 -2
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +2 -2
- package/rating/rating.min.js +1 -1
- package/resources/primevue.css +5 -0
- package/resources/primevue.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +81 -33
- package/resources/themes/arya-green/theme.css +81 -33
- package/resources/themes/arya-orange/theme.css +81 -33
- package/resources/themes/arya-purple/theme.css +81 -33
- package/resources/themes/bootstrap4-dark-blue/theme.css +62 -21
- package/resources/themes/bootstrap4-dark-purple/theme.css +62 -21
- package/resources/themes/bootstrap4-light-blue/theme.css +62 -21
- package/resources/themes/bootstrap4-light-purple/theme.css +62 -21
- package/resources/themes/fluent-light/theme.css +81 -33
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-blue/theme.css +5421 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-indigo/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-indigo/theme.css +5421 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-purple/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-purple/theme.css +5421 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-dark-teal/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-dark-teal/theme.css +5421 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-blue/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-blue/theme.css +5421 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-indigo/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-indigo/theme.css +5421 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-purple/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-purple/theme.css +5421 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Bold.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Light.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Medium.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-Regular.woff2 +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff +0 -0
- package/resources/themes/lara-light-teal/fonts/Inter-SemiBold.woff2 +0 -0
- package/resources/themes/lara-light-teal/theme.css +5421 -0
- package/resources/themes/luna-amber/theme.css +78 -37
- package/resources/themes/luna-blue/theme.css +78 -37
- package/resources/themes/luna-green/theme.css +78 -37
- package/resources/themes/luna-pink/theme.css +78 -37
- package/resources/themes/md-dark-deeppurple/theme.css +252 -48
- package/resources/themes/md-dark-indigo/theme.css +252 -48
- package/resources/themes/md-light-deeppurple/theme.css +252 -48
- package/resources/themes/md-light-indigo/theme.css +252 -48
- package/resources/themes/mdc-dark-deeppurple/theme.css +252 -48
- package/resources/themes/mdc-dark-indigo/theme.css +252 -48
- package/resources/themes/mdc-light-deeppurple/theme.css +252 -48
- package/resources/themes/mdc-light-indigo/theme.css +252 -48
- package/resources/themes/nova/theme.css +78 -37
- package/resources/themes/nova-accent/theme.css +78 -37
- package/resources/themes/nova-alt/theme.css +78 -37
- package/resources/themes/nova-vue/theme.css +78 -37
- package/resources/themes/rhea/theme.css +78 -37
- package/resources/themes/saga-blue/theme.css +65 -17
- package/resources/themes/saga-green/theme.css +65 -17
- package/resources/themes/saga-orange/theme.css +65 -17
- package/resources/themes/saga-purple/theme.css +65 -17
- package/resources/themes/tailwind-light/theme.css +92 -36
- package/resources/themes/vela-blue/theme.css +81 -33
- package/resources/themes/vela-green/theme.css +81 -33
- package/resources/themes/vela-orange/theme.css +81 -33
- package/resources/themes/vela-purple/theme.css +81 -33
- package/ripple/ripple.esm.js +1 -1
- package/ripple/ripple.esm.min.js +1 -1
- package/ripple/ripple.js +1 -1
- package/row/Row.d.ts +25 -3
- package/row/row.esm.js +1 -1
- package/row/row.esm.min.js +1 -1
- package/row/row.js +1 -1
- package/scrollpanel/ScrollPanel.d.ts +27 -5
- package/scrollpanel/scrollpanel.esm.js +1 -1
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +1 -1
- package/scrolltop/ScrollTop.d.ts +47 -7
- package/scrolltop/scrolltop.esm.js +1 -1
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +1 -1
- package/selectbutton/SelectButton.d.ts +108 -19
- package/selectbutton/SelectButton.vue +8 -2
- package/selectbutton/selectbutton.cjs.js +15 -10
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +15 -10
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +16 -11
- package/selectbutton/selectbutton.min.js +1 -1
- package/sidebar/Sidebar.d.ts +81 -16
- package/sidebar/sidebar.cjs.js +1 -1
- package/sidebar/sidebar.esm.js +1 -1
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +2 -2
- package/skeleton/Skeleton.d.ts +58 -9
- package/skeleton/skeleton.esm.js +1 -1
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +1 -1
- package/slider/Slider.d.ts +90 -14
- package/slider/slider.esm.js +1 -1
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +1 -1
- package/speeddial/SpeedDial.d.ts +166 -29
- package/speeddial/SpeedDial.vue +3 -1
- package/speeddial/speeddial.cjs.js +5 -2
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +4 -2
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +6 -4
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/SplitButton.d.ts +76 -11
- package/splitbutton/SplitButton.vue +3 -1
- package/splitbutton/splitbutton.cjs.js +15 -13
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +15 -13
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +16 -14
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/Splitter.d.ts +74 -7
- package/splitter/Splitter.vue +5 -5
- package/splitter/splitter.cjs.js +1 -1
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +2 -2
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +2 -2
- package/splitter/splitter.min.js +1 -1
- package/splitterpanel/SplitterPanel.d.ts +34 -7
- package/splitterpanel/splitterpanel.esm.js +1 -1
- package/splitterpanel/splitterpanel.esm.min.js +1 -1
- package/splitterpanel/splitterpanel.js +1 -1
- package/steps/Steps.d.ts +51 -11
- package/steps/Steps.vue +5 -2
- package/steps/steps.cjs.js +5 -2
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +6 -3
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +6 -3
- package/steps/steps.min.js +1 -1
- package/styleclass/styleclass.esm.js +1 -1
- package/styleclass/styleclass.esm.min.js +1 -1
- package/styleclass/styleclass.js +1 -1
- package/tabmenu/TabMenu.d.ts +63 -10
- package/tabmenu/TabMenu.vue +6 -3
- package/tabmenu/tabmenu.cjs.js +7 -4
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +7 -4
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +8 -5
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabpanel/TabPanel.d.ts +38 -7
- package/tabpanel/tabpanel.esm.js +1 -1
- package/tabpanel/tabpanel.esm.min.js +1 -1
- package/tabpanel/tabpanel.js +1 -1
- package/tabview/TabView.d.ts +73 -11
- package/tabview/tabview.cjs.js +1 -1
- package/tabview/tabview.esm.js +1 -1
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +2 -2
- package/tag/Tag.d.ts +44 -8
- package/tag/Tag.vue +1 -1
- package/tag/tag.cjs.js +6 -6
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +8 -8
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +7 -7
- package/tag/tag.min.js +1 -1
- package/terminal/Terminal.d.ts +36 -5
- package/terminal/terminal.cjs.js +3 -3
- package/terminal/terminal.esm.js +1 -1
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +4 -4
- package/terminalservice/TerminalService.d.ts +9 -6
- package/terminalservice/terminalservice.esm.js +1 -1
- package/terminalservice/terminalservice.esm.min.js +1 -1
- package/terminalservice/terminalservice.js +1 -1
- package/textarea/Textarea.d.ts +38 -6
- package/textarea/textarea.esm.js +1 -1
- package/textarea/textarea.esm.min.js +1 -1
- package/textarea/textarea.js +1 -1
- package/tieredmenu/TieredMenu.d.ts +89 -15
- package/tieredmenu/TieredMenuSub.vue +7 -4
- package/tieredmenu/tieredmenu.cjs.js +9 -6
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +8 -5
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +10 -7
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/Timeline.d.ts +94 -15
- package/timeline/timeline.esm.js +1 -1
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +1 -1
- package/toast/Toast.d.ts +118 -12
- package/toast/toast.cjs.js +7 -7
- package/toast/toast.esm.js +1 -1
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +8 -8
- package/toasteventbus/toasteventbus.esm.js +1 -1
- package/toasteventbus/toasteventbus.esm.min.js +1 -1
- package/toasteventbus/toasteventbus.js +1 -1
- package/toastservice/ToastService.d.ts +17 -5
- package/toastservice/toastservice.cjs.js +3 -3
- package/toastservice/toastservice.esm.js +1 -1
- package/toastservice/toastservice.esm.min.js +1 -1
- package/toastservice/toastservice.js +4 -4
- package/togglebutton/ToggleButton.d.ts +64 -11
- package/togglebutton/togglebutton.cjs.js +1 -1
- package/togglebutton/togglebutton.esm.js +1 -1
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +2 -2
- package/toolbar/Toolbar.d.ts +31 -6
- package/toolbar/Toolbar.vue +2 -2
- package/toolbar/toolbar.cjs.js +2 -2
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.esm.js +3 -3
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +3 -3
- package/toolbar/toolbar.min.js +1 -1
- package/tooltip/tooltip.esm.js +1 -1
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +1 -1
- package/tree/Tree.d.ts +189 -26
- package/tree/Tree.vue +1 -0
- package/tree/TreeNode.vue +4 -1
- package/tree/tree.cjs.js +6 -3
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +6 -3
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +7 -4
- package/tree/tree.min.js +1 -1
- package/treeselect/TreeSelect.d.ts +201 -44
- package/treeselect/TreeSelect.vue +9 -0
- package/treeselect/treeselect.cjs.js +12 -3
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +10 -1
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +13 -4
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/BodyCell.vue +3 -3
- package/treetable/TreeTable.d.ts +459 -63
- package/treetable/TreeTable.vue +9 -9
- package/treetable/treetable.cjs.js +17 -17
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +16 -16
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +18 -18
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/TriStateCheckbox.d.ts +40 -6
- package/tristatecheckbox/tristatecheckbox.esm.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +1 -1
- package/ts-helpers.d.ts +28 -0
- package/useconfirm/UseConfirm.d.ts +5 -19
- package/useconfirm/useconfirm.js +1 -1
- package/usetoast/UseToast.d.ts +3 -5
- package/usetoast/usetoast.js +1 -1
- package/utils/Utils.d.ts +3 -0
- package/utils/utils.cjs.js +41 -4
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +41 -4
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +42 -5
- package/utils/utils.min.js +1 -1
- package/vetur-attributes.json +66 -30
- package/vetur-tags.json +16 -7
- package/virtualscroller/VirtualScroller.d.ts +294 -53
- package/virtualscroller/VirtualScroller.vue +296 -255
- package/virtualscroller/virtualscroller.cjs.js +325 -266
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +326 -267
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +326 -267
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +296 -47
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("primevue/ripple"),t=require("vue");function
|
|
1
|
+
"use strict";var e=require("primevue/ripple"),t=require("vue");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s={name:"Message",emits:["close"],props:{severity:{type:String,default:"info"},closable:{type:Boolean,default:!0},sticky:{type:Boolean,default:!0},life:{type:Number,default:3e3},icon:{type:String,default:null}},timeout:null,data:()=>({visible:!0}),mounted(){this.sticky||setTimeout((()=>{this.visible=!1}),this.life)},methods:{close(e){this.visible=!1,this.$emit("close",e)}},computed:{containerClass(){return"p-message p-component p-message-"+this.severity},iconClass(){return["p-message-icon pi",this.icon?this.icon:{"pi-info-circle":"info"===this.severity,"pi-check":"success"===this.severity,"pi-exclamation-triangle":"warn"===this.severity,"pi-times-circle":"error"===this.severity}]}},directives:{ripple:i(e).default}};const n={class:"p-message-wrapper"},a={class:"p-message-text"},o=t.createVNode("i",{class:"p-message-close-icon pi pi-times"},null,-1);!function(e,t){void 0===t&&(t={});var i=t.insertAt;if(e&&"undefined"!=typeof document){var s=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===i&&s.firstChild?s.insertBefore(n,s.firstChild):s.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}("\n.p-message-wrapper {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-message-close {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-message-close.p-link {\n margin-left: auto;\n overflow: hidden;\n position: relative;\n}\n.p-message-enter-from {\n opacity: 0;\n}\n.p-message-enter-active {\n -webkit-transition: opacity .3s;\n transition: opacity .3s;\n}\n.p-message.p-message-leave-from {\n max-height: 1000px;\n}\n.p-message.p-message-leave-to {\n max-height: 0;\n opacity: 0;\n margin: 0 !important;\n}\n.p-message-leave-active {\n overflow: hidden;\n -webkit-transition: max-height .3s cubic-bezier(0, 1, 0, 1), opacity .3s, margin .15s;\n transition: max-height .3s cubic-bezier(0, 1, 0, 1), opacity .3s, margin .15s;\n}\n.p-message-leave-active .p-message-close {\n display: none;\n}\n"),s.render=function(e,i,s,l,r,c){const p=t.resolveDirective("ripple");return t.openBlock(),t.createBlock(t.Transition,{name:"p-message",appear:""},{default:t.withCtx((()=>[t.withDirectives(t.createVNode("div",{class:c.containerClass,role:"alert"},[t.createVNode("div",n,[t.createVNode("span",{class:c.iconClass},null,2),t.createVNode("div",a,[t.renderSlot(e.$slots,"default")]),s.closable?t.withDirectives((t.openBlock(),t.createBlock("button",{key:0,class:"p-message-close p-link",onClick:i[1]||(i[1]=e=>c.close(e)),type:"button"},[o],512)),[[p]]):t.createCommentVNode("",!0)])],2),[[t.vShow,r.visible]])])),_:3})},module.exports=s;
|
package/message/message.esm.js
CHANGED
|
@@ -20,7 +20,11 @@ var script = {
|
|
|
20
20
|
life: {
|
|
21
21
|
type: Number,
|
|
22
22
|
default: 3000
|
|
23
|
-
}
|
|
23
|
+
},
|
|
24
|
+
icon: {
|
|
25
|
+
type: String,
|
|
26
|
+
default: null
|
|
27
|
+
},
|
|
24
28
|
},
|
|
25
29
|
timeout: null,
|
|
26
30
|
data() {
|
|
@@ -46,7 +50,7 @@ var script = {
|
|
|
46
50
|
return 'p-message p-component p-message-' + this.severity;
|
|
47
51
|
},
|
|
48
52
|
iconClass() {
|
|
49
|
-
return ['p-message-icon pi', {
|
|
53
|
+
return ['p-message-icon pi', this.icon ? this.icon : {
|
|
50
54
|
'pi-info-circle': this.severity === 'info',
|
|
51
55
|
'pi-check': this.severity === 'success',
|
|
52
56
|
'pi-exclamation-triangle': this.severity === 'warn',
|
|
@@ -133,4 +137,4 @@ styleInject(css_248z);
|
|
|
133
137
|
|
|
134
138
|
script.render = render;
|
|
135
139
|
|
|
136
|
-
export default
|
|
140
|
+
export { script as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"primevue/ripple";import{resolveDirective as s,openBlock as t,createBlock as i,Transition as n,withCtx as a,withDirectives as l,createVNode as o,renderSlot as p,createCommentVNode as r,vShow as c}from"vue";var m={name:"Message",emits:["close"],props:{severity:{type:String,default:"info"},closable:{type:Boolean,default:!0},sticky:{type:Boolean,default:!0},life:{type:Number,default:3e3}},timeout:null,data:()=>({visible:!0}),mounted(){this.sticky||setTimeout((()=>{this.visible=!1}),this.life)},methods:{close(e){this.visible=!1,this.$emit("close",e)}},computed:{containerClass(){return"p-message p-component p-message-"+this.severity},iconClass(){return["p-message-icon pi",{"pi-info-circle":"info"===this.severity,"pi-check":"success"===this.severity,"pi-exclamation-triangle":"warn"===this.severity,"pi-times-circle":"error"===this.severity}]}},directives:{ripple:e}};const d={class:"p-message-wrapper"},g={class:"p-message-text"},
|
|
1
|
+
import e from"primevue/ripple";import{resolveDirective as s,openBlock as t,createBlock as i,Transition as n,withCtx as a,withDirectives as l,createVNode as o,renderSlot as p,createCommentVNode as r,vShow as c}from"vue";var m={name:"Message",emits:["close"],props:{severity:{type:String,default:"info"},closable:{type:Boolean,default:!0},sticky:{type:Boolean,default:!0},life:{type:Number,default:3e3},icon:{type:String,default:null}},timeout:null,data:()=>({visible:!0}),mounted(){this.sticky||setTimeout((()=>{this.visible=!1}),this.life)},methods:{close(e){this.visible=!1,this.$emit("close",e)}},computed:{containerClass(){return"p-message p-component p-message-"+this.severity},iconClass(){return["p-message-icon pi",this.icon?this.icon:{"pi-info-circle":"info"===this.severity,"pi-check":"success"===this.severity,"pi-exclamation-triangle":"warn"===this.severity,"pi-times-circle":"error"===this.severity}]}},directives:{ripple:e}};const d={class:"p-message-wrapper"},g={class:"p-message-text"},u=o("i",{class:"p-message-close-icon pi pi-times"},null,-1);!function(e,s){void 0===s&&(s={});var t=s.insertAt;if(e&&"undefined"!=typeof document){var i=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===t&&i.firstChild?i.insertBefore(n,i.firstChild):i.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}("\n.p-message-wrapper {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-message-close {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-message-close.p-link {\n margin-left: auto;\n overflow: hidden;\n position: relative;\n}\n.p-message-enter-from {\n opacity: 0;\n}\n.p-message-enter-active {\n -webkit-transition: opacity .3s;\n transition: opacity .3s;\n}\n.p-message.p-message-leave-from {\n max-height: 1000px;\n}\n.p-message.p-message-leave-to {\n max-height: 0;\n opacity: 0;\n margin: 0 !important;\n}\n.p-message-leave-active {\n overflow: hidden;\n -webkit-transition: max-height .3s cubic-bezier(0, 1, 0, 1), opacity .3s, margin .15s;\n transition: max-height .3s cubic-bezier(0, 1, 0, 1), opacity .3s, margin .15s;\n}\n.p-message-leave-active .p-message-close {\n display: none;\n}\n"),m.render=function(e,m,f,y,h,v){const b=s("ripple");return t(),i(n,{name:"p-message",appear:""},{default:a((()=>[l(o("div",{class:v.containerClass,role:"alert"},[o("div",d,[o("span",{class:v.iconClass},null,2),o("div",g,[p(e.$slots,"default")]),f.closable?l((t(),i("button",{key:0,class:"p-message-close p-link",onClick:m[1]||(m[1]=e=>v.close(e)),type:"button"},[u],512)),[[b]]):r("",!0)])],2),[[c,h.visible]])])),_:3})};export{m as default};
|
package/message/message.js
CHANGED
|
@@ -25,7 +25,11 @@ this.primevue.message = (function (Ripple, vue) {
|
|
|
25
25
|
life: {
|
|
26
26
|
type: Number,
|
|
27
27
|
default: 3000
|
|
28
|
-
}
|
|
28
|
+
},
|
|
29
|
+
icon: {
|
|
30
|
+
type: String,
|
|
31
|
+
default: null
|
|
32
|
+
},
|
|
29
33
|
},
|
|
30
34
|
timeout: null,
|
|
31
35
|
data() {
|
|
@@ -51,7 +55,7 @@ this.primevue.message = (function (Ripple, vue) {
|
|
|
51
55
|
return 'p-message p-component p-message-' + this.severity;
|
|
52
56
|
},
|
|
53
57
|
iconClass() {
|
|
54
|
-
return ['p-message-icon pi', {
|
|
58
|
+
return ['p-message-icon pi', this.icon ? this.icon : {
|
|
55
59
|
'pi-info-circle': this.severity === 'info',
|
|
56
60
|
'pi-check': this.severity === 'success',
|
|
57
61
|
'pi-exclamation-triangle': this.severity === 'warn',
|
|
@@ -60,7 +64,7 @@ this.primevue.message = (function (Ripple, vue) {
|
|
|
60
64
|
}
|
|
61
65
|
},
|
|
62
66
|
directives: {
|
|
63
|
-
'ripple': Ripple__default[
|
|
67
|
+
'ripple': Ripple__default["default"]
|
|
64
68
|
}
|
|
65
69
|
};
|
|
66
70
|
|
|
@@ -140,4 +144,4 @@ this.primevue.message = (function (Ripple, vue) {
|
|
|
140
144
|
|
|
141
145
|
return script;
|
|
142
146
|
|
|
143
|
-
}(primevue.ripple, Vue)
|
|
147
|
+
})(primevue.ripple, Vue);
|
package/message/message.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.message=function(e,t){"use strict";function
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.message=function(e,t){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s={name:"Message",emits:["close"],props:{severity:{type:String,default:"info"},closable:{type:Boolean,default:!0},sticky:{type:Boolean,default:!0},life:{type:Number,default:3e3},icon:{type:String,default:null}},timeout:null,data:()=>({visible:!0}),mounted(){this.sticky||setTimeout((()=>{this.visible=!1}),this.life)},methods:{close(e){this.visible=!1,this.$emit("close",e)}},computed:{containerClass(){return"p-message p-component p-message-"+this.severity},iconClass(){return["p-message-icon pi",this.icon?this.icon:{"pi-info-circle":"info"===this.severity,"pi-check":"success"===this.severity,"pi-exclamation-triangle":"warn"===this.severity,"pi-times-circle":"error"===this.severity}]}},directives:{ripple:i(e).default}};const n={class:"p-message-wrapper"},a={class:"p-message-text"},o=t.createVNode("i",{class:"p-message-close-icon pi pi-times"},null,-1);return function(e,t){void 0===t&&(t={});var i=t.insertAt;if(e&&"undefined"!=typeof document){var s=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css","top"===i&&s.firstChild?s.insertBefore(n,s.firstChild):s.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}}("\n.p-message-wrapper {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n}\n.p-message-close {\n display: -webkit-box;\n display: -ms-flexbox;\n display: flex;\n -webkit-box-align: center;\n -ms-flex-align: center;\n align-items: center;\n -webkit-box-pack: center;\n -ms-flex-pack: center;\n justify-content: center;\n}\n.p-message-close.p-link {\n margin-left: auto;\n overflow: hidden;\n position: relative;\n}\n.p-message-enter-from {\n opacity: 0;\n}\n.p-message-enter-active {\n -webkit-transition: opacity .3s;\n transition: opacity .3s;\n}\n.p-message.p-message-leave-from {\n max-height: 1000px;\n}\n.p-message.p-message-leave-to {\n max-height: 0;\n opacity: 0;\n margin: 0 !important;\n}\n.p-message-leave-active {\n overflow: hidden;\n -webkit-transition: max-height .3s cubic-bezier(0, 1, 0, 1), opacity .3s, margin .15s;\n transition: max-height .3s cubic-bezier(0, 1, 0, 1), opacity .3s, margin .15s;\n}\n.p-message-leave-active .p-message-close {\n display: none;\n}\n"),s.render=function(e,i,s,l,r,c){const p=t.resolveDirective("ripple");return t.openBlock(),t.createBlock(t.Transition,{name:"p-message",appear:""},{default:t.withCtx((()=>[t.withDirectives(t.createVNode("div",{class:c.containerClass,role:"alert"},[t.createVNode("div",n,[t.createVNode("span",{class:c.iconClass},null,2),t.createVNode("div",a,[t.renderSlot(e.$slots,"default")]),s.closable?t.withDirectives((t.openBlock(),t.createBlock("button",{key:0,class:"p-message-close p-link",onClick:i[1]||(i[1]=e=>c.close(e)),type:"button"},[o],512)),[[p]]):t.createCommentVNode("",!0)])],2),[[t.vShow,r.visible]])])),_:3})},s}(primevue.ripple,Vue);
|
|
@@ -1,106 +1,391 @@
|
|
|
1
1
|
import { VNode } from 'vue';
|
|
2
|
-
import
|
|
2
|
+
import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers';
|
|
3
|
+
import { VirtualScrollerProps, VirtualScrollerItemOptions } from '../virtualscroller';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
modelValue?: any;
|
|
6
|
-
options?: any[];
|
|
7
|
-
optionLabel?: string;
|
|
8
|
-
optionValue?: any;
|
|
9
|
-
optionDisabled?: boolean;
|
|
10
|
-
optionGroupLabel?: string;
|
|
11
|
-
optionGroupChildren?: string;
|
|
12
|
-
scrollHeight?: string;
|
|
13
|
-
placeholder?: string;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
tabindex?: string;
|
|
16
|
-
inputId?: string;
|
|
17
|
-
dataKey?: string;
|
|
18
|
-
filter?: boolean;
|
|
19
|
-
filterPlaceholder?: string;
|
|
20
|
-
filterLocale?: string;
|
|
21
|
-
filterMatchMode?: string;
|
|
22
|
-
filterFields?: string[];
|
|
23
|
-
ariaLabelledBy?: string;
|
|
24
|
-
appendTo?: string;
|
|
25
|
-
emptyFilterMessage?: string;
|
|
26
|
-
emptyMessage?: string;
|
|
27
|
-
display?: string;
|
|
28
|
-
panelClass?: string;
|
|
29
|
-
selectedItemsLabel?: string;
|
|
30
|
-
maxSelectedLabels?: number;
|
|
31
|
-
selectionLimit?: number;
|
|
32
|
-
showToggleAll?: boolean;
|
|
33
|
-
loading?: boolean;
|
|
34
|
-
loadingIcon?: string;
|
|
35
|
-
virtualScrollerOptions?: VirtualScrollerProps;
|
|
36
|
-
selectAll?: boolean;
|
|
37
|
-
}
|
|
5
|
+
type MultiSelectOptionLabelType = string | ((data: any) => string) | undefined;
|
|
38
6
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
7
|
+
type MultiSelectOptionValueType = string | ((data: any) => any) | undefined;
|
|
8
|
+
|
|
9
|
+
type MultiSelectOptionDisabledType = string | ((data: any) => boolean) | undefined;
|
|
10
|
+
|
|
11
|
+
type MultiSelectOptionChildrenType = string | ((data: any) => any[]) | undefined;
|
|
43
12
|
|
|
44
|
-
|
|
13
|
+
type MultiSelectFilterMatchModeType = 'contains' | 'startsWith' | 'endsWith' | undefined;
|
|
14
|
+
|
|
15
|
+
type MultiSelectAppendToType = 'body' | 'self' | string | undefined;
|
|
16
|
+
|
|
17
|
+
type MultiSelectDisplayType = 'comma' | 'chip' | undefined;
|
|
18
|
+
|
|
19
|
+
export interface MultiSelectChangeEvent {
|
|
20
|
+
/**
|
|
21
|
+
* Browser event
|
|
22
|
+
*/
|
|
23
|
+
originalEvent: Event;
|
|
24
|
+
/**
|
|
25
|
+
* Selected option value
|
|
26
|
+
*/
|
|
45
27
|
value: any;
|
|
46
|
-
options: any[];
|
|
47
28
|
}
|
|
48
29
|
|
|
49
|
-
interface
|
|
50
|
-
|
|
51
|
-
|
|
30
|
+
export interface MultiSelectAllChangeEvent {
|
|
31
|
+
/**
|
|
32
|
+
* Browser event
|
|
33
|
+
*/
|
|
34
|
+
originalEvent: Event;
|
|
35
|
+
/**
|
|
36
|
+
* Whether all data is selected.
|
|
37
|
+
*/
|
|
38
|
+
checked: boolean;
|
|
52
39
|
}
|
|
53
40
|
|
|
54
|
-
interface
|
|
55
|
-
|
|
56
|
-
|
|
41
|
+
export interface MultiSelectFilterEvent {
|
|
42
|
+
/**
|
|
43
|
+
* Original event
|
|
44
|
+
*/
|
|
45
|
+
originalEvent: Event;
|
|
46
|
+
/**
|
|
47
|
+
* Filter value
|
|
48
|
+
*/
|
|
49
|
+
value: string;
|
|
57
50
|
}
|
|
58
51
|
|
|
59
|
-
interface
|
|
60
|
-
|
|
61
|
-
|
|
52
|
+
export interface MultiSelectProps {
|
|
53
|
+
/**
|
|
54
|
+
* Value of the component.
|
|
55
|
+
*/
|
|
56
|
+
modelValue?: any;
|
|
57
|
+
/**
|
|
58
|
+
* An array of selectitems to display as the available options.
|
|
59
|
+
*/
|
|
60
|
+
options?: any[] | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Property name or getter function to use as the label of an option.
|
|
63
|
+
*/
|
|
64
|
+
optionLabel?: MultiSelectOptionLabelType;
|
|
65
|
+
/**
|
|
66
|
+
* Property name or getter function to use as the value of an option, defaults to the option itself when not defined.
|
|
67
|
+
*/
|
|
68
|
+
optionValue?: MultiSelectOptionValueType;
|
|
69
|
+
/**
|
|
70
|
+
* Property name or getter function to use as the disabled flag of an option, defaults to false when not defined.
|
|
71
|
+
*/
|
|
72
|
+
optionDisabled?: MultiSelectOptionDisabledType;
|
|
73
|
+
/**
|
|
74
|
+
* Property name or getter function to use as the label of an option group.
|
|
75
|
+
*/
|
|
76
|
+
optionGroupLabel?: MultiSelectOptionLabelType;
|
|
77
|
+
/**
|
|
78
|
+
* Property name or getter function that refers to the children options of option group.
|
|
79
|
+
*/
|
|
80
|
+
optionGroupChildren?: MultiSelectOptionChildrenType;
|
|
81
|
+
/**
|
|
82
|
+
* Height of the viewport, a scrollbar is defined if height of list exceeds this value.
|
|
83
|
+
* Default value is '200px'.
|
|
84
|
+
*/
|
|
85
|
+
scrollHeight?: string | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* Label to display when there are no selections.
|
|
88
|
+
*/
|
|
89
|
+
placeholder?: string | undefined;
|
|
90
|
+
/**
|
|
91
|
+
* When present, it specifies that the component should be disabled.
|
|
92
|
+
*/
|
|
93
|
+
disabled?: boolean | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* Index of the element in tabbing order.
|
|
96
|
+
*/
|
|
97
|
+
tabindex?: string | number | undefined;
|
|
98
|
+
/**
|
|
99
|
+
* Identifier of the underlying input element.
|
|
100
|
+
*/
|
|
101
|
+
inputId?: string | undefined;
|
|
102
|
+
/**
|
|
103
|
+
* A property to uniquely identify an option.
|
|
104
|
+
*/
|
|
105
|
+
dataKey?: string | undefined;
|
|
106
|
+
/**
|
|
107
|
+
* When specified, displays a filter input at header.
|
|
108
|
+
*/
|
|
109
|
+
filter?: boolean | undefined;
|
|
110
|
+
/**
|
|
111
|
+
* Placeholder text to show when filter input is empty.
|
|
112
|
+
*/
|
|
113
|
+
filterPlaceholder?: string | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* Locale to use in filtering. The default locale is the host environment's current locale.
|
|
116
|
+
*/
|
|
117
|
+
filterLocale?: string | undefined;
|
|
118
|
+
/**
|
|
119
|
+
* Defines the filtering algorithm to use when searching the options.
|
|
120
|
+
* @see MultiSelectFilterMatchModeType
|
|
121
|
+
* Default value is 'contains'.
|
|
122
|
+
*/
|
|
123
|
+
filterMatchMode?: MultiSelectFilterMatchModeType;
|
|
124
|
+
/**
|
|
125
|
+
* Fields used when filtering the options, defaults to optionLabel.
|
|
126
|
+
*/
|
|
127
|
+
filterFields?: string[] | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* Establishes relationships between the component and label(s) where its value should be one or more element IDs.
|
|
130
|
+
*/
|
|
131
|
+
ariaLabelledBy?: string | undefined;
|
|
132
|
+
/**
|
|
133
|
+
* A valid query selector or an HTMLElement to specify where the overlay gets attached. Special keywords are 'body' for document body and 'self' for the element itself.
|
|
134
|
+
* @see MultiSelectAppendToType
|
|
135
|
+
* Default value is 'body'.
|
|
136
|
+
*/
|
|
137
|
+
appendTo?: MultiSelectAppendToType;
|
|
138
|
+
/**
|
|
139
|
+
* Text to display when filtering does not return any results. Defaults to value from PrimeVue locale configuration.
|
|
140
|
+
* Default value is 'No results found'.
|
|
141
|
+
*/
|
|
142
|
+
emptyFilterMessage?: string | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* Text to display when there are no options available. Defaults to value from PrimeVue locale configuration.
|
|
145
|
+
* Default value is 'No results found'.
|
|
146
|
+
*/
|
|
147
|
+
emptyMessage?: string | undefined;
|
|
148
|
+
/**
|
|
149
|
+
* Defines how the selected items are displayed.
|
|
150
|
+
* @see MultiSelectDisplayType
|
|
151
|
+
* Default value is 'comma'.
|
|
152
|
+
*/
|
|
153
|
+
display?: MultiSelectDisplayType;
|
|
154
|
+
/**
|
|
155
|
+
* Style class of the overlay panel.
|
|
156
|
+
*/
|
|
157
|
+
panelClass?: any;
|
|
158
|
+
/**
|
|
159
|
+
* Label to display after exceeding max selected labels.
|
|
160
|
+
* Default value is '{0} items selected'.
|
|
161
|
+
*/
|
|
162
|
+
selectedItemsLabel?: string | undefined;
|
|
163
|
+
/**
|
|
164
|
+
* Decides how many selected item labels to show at most.
|
|
165
|
+
*/
|
|
166
|
+
maxSelectedLabels?: number | undefined;
|
|
167
|
+
/**
|
|
168
|
+
* Maximum number of selectable items.
|
|
169
|
+
*/
|
|
170
|
+
selectionLimit?: number | undefined;
|
|
171
|
+
/**
|
|
172
|
+
* Whether to show the header checkbox to toggle the selection of all items at once.
|
|
173
|
+
* Default value is true.
|
|
174
|
+
*/
|
|
175
|
+
showToggleAll?: boolean | undefined;
|
|
176
|
+
/**
|
|
177
|
+
* Whether the multiselect is in loading state.
|
|
178
|
+
*/
|
|
179
|
+
loading?: boolean | undefined;
|
|
180
|
+
/**
|
|
181
|
+
* Icon to display in loading state.
|
|
182
|
+
* Default value is 'pi pi-spinner pi-spin'.
|
|
183
|
+
*/
|
|
184
|
+
loadingIcon?: string | undefined;
|
|
185
|
+
/**
|
|
186
|
+
* Whether to use the virtualScroller feature. The properties of VirtualScroller component can be used like an object in it.
|
|
187
|
+
* @see VirtualScroller.VirtualScrollerProps
|
|
188
|
+
*/
|
|
189
|
+
virtualScrollerOptions?: VirtualScrollerProps;
|
|
190
|
+
/**
|
|
191
|
+
* Whether all data is selected.
|
|
192
|
+
*/
|
|
193
|
+
selectAll?: boolean | undefined;
|
|
62
194
|
}
|
|
63
195
|
|
|
64
|
-
interface
|
|
65
|
-
|
|
196
|
+
export interface MultiSelectSlots {
|
|
197
|
+
/**
|
|
198
|
+
* Custom value template.
|
|
199
|
+
* @param {Object} scope - value slot's params.
|
|
200
|
+
*/
|
|
201
|
+
value: (scope: {
|
|
202
|
+
/**
|
|
203
|
+
* Value of the component
|
|
204
|
+
*/
|
|
205
|
+
value: any;
|
|
206
|
+
/**
|
|
207
|
+
* Placeholder prop value
|
|
208
|
+
*/
|
|
209
|
+
placeholder: string;
|
|
210
|
+
}) => VNode[];
|
|
211
|
+
/**
|
|
212
|
+
* Custom header template.
|
|
213
|
+
* @param {Object} scope - header slot's params.
|
|
214
|
+
*/
|
|
215
|
+
header: (scope: {
|
|
216
|
+
/**
|
|
217
|
+
* Value of the component
|
|
218
|
+
*/
|
|
219
|
+
value: any;
|
|
220
|
+
/**
|
|
221
|
+
* Displayed options
|
|
222
|
+
*/
|
|
223
|
+
options: any[];
|
|
224
|
+
}) => VNode[];
|
|
225
|
+
/**
|
|
226
|
+
* Custom footer template.
|
|
227
|
+
* @param {Object} scope - footer slot's params.
|
|
228
|
+
*/
|
|
229
|
+
footer: (scope: {
|
|
230
|
+
/**
|
|
231
|
+
* Value of the component
|
|
232
|
+
*/
|
|
233
|
+
value: any;
|
|
234
|
+
/**
|
|
235
|
+
* Displayed options
|
|
236
|
+
*/
|
|
237
|
+
options: any[];
|
|
238
|
+
}) => VNode[];
|
|
239
|
+
/**
|
|
240
|
+
* Custom emptyfilter template.
|
|
241
|
+
*/
|
|
242
|
+
emptyfilter: () => VNode[];
|
|
243
|
+
/**
|
|
244
|
+
* Custom empty template.
|
|
245
|
+
*/
|
|
246
|
+
empty: () => VNode[];
|
|
247
|
+
/**
|
|
248
|
+
* Custom option template.
|
|
249
|
+
* @param {Object} scope - option slot's params.
|
|
250
|
+
*/
|
|
251
|
+
option: (scope: {
|
|
252
|
+
/**
|
|
253
|
+
* Option instance
|
|
254
|
+
*/
|
|
255
|
+
option: any;
|
|
256
|
+
/**
|
|
257
|
+
* Index of the option
|
|
258
|
+
*/
|
|
259
|
+
index: number;
|
|
260
|
+
}) => VNode[];
|
|
261
|
+
/**
|
|
262
|
+
* Custom option group template.
|
|
263
|
+
* @param {Object} scope - option group slot's params.
|
|
264
|
+
*/
|
|
265
|
+
optiongroup: (scope: {
|
|
266
|
+
/**
|
|
267
|
+
* Option instance
|
|
268
|
+
*/
|
|
269
|
+
option: any;
|
|
270
|
+
/**
|
|
271
|
+
* Index of the option
|
|
272
|
+
*/
|
|
273
|
+
index: number;
|
|
274
|
+
}) => VNode[];
|
|
275
|
+
/**
|
|
276
|
+
* Custom chip template.
|
|
277
|
+
* @param {Object} scope - chip slot's params.
|
|
278
|
+
*/
|
|
279
|
+
chip: (scope: {
|
|
280
|
+
/**
|
|
281
|
+
* A value in the selection
|
|
282
|
+
*/
|
|
283
|
+
value: any;
|
|
284
|
+
}) => VNode[];
|
|
285
|
+
/**
|
|
286
|
+
* Custom content template.
|
|
287
|
+
* @param {Object} scope - content slot's params.
|
|
288
|
+
*/
|
|
289
|
+
content: (scope: {
|
|
290
|
+
/**
|
|
291
|
+
* An array of objects to display for virtualscroller
|
|
292
|
+
*/
|
|
293
|
+
items: any;
|
|
294
|
+
/**
|
|
295
|
+
* Style class of the component
|
|
296
|
+
*/
|
|
297
|
+
styleClass: string;
|
|
298
|
+
/**
|
|
299
|
+
* Referance of the content
|
|
300
|
+
* @param {HTMLElement} el - Element of 'ref' property
|
|
301
|
+
*/
|
|
302
|
+
contentRef(el: any): void;
|
|
303
|
+
/**
|
|
304
|
+
* Options of the items
|
|
305
|
+
* @param {number} index - Rendered index
|
|
306
|
+
* @return {@link VirtualScroller.VirtualScrollerItemOptions}
|
|
307
|
+
*/
|
|
308
|
+
getItemOptions(index: number): VirtualScrollerItemOptions;
|
|
309
|
+
}) => VNode[];
|
|
310
|
+
/**
|
|
311
|
+
* Custom loader template.
|
|
312
|
+
* @param {Object} scope - loader slot's params.
|
|
313
|
+
*/
|
|
314
|
+
loader: (scope: {
|
|
315
|
+
/**
|
|
316
|
+
* Options of the loader items for virtualscroller
|
|
317
|
+
*/
|
|
318
|
+
options: any[];
|
|
319
|
+
}) => VNode[];
|
|
320
|
+
/**
|
|
321
|
+
* Custom indicator template.
|
|
322
|
+
*/
|
|
323
|
+
indicator: () => VNode[];
|
|
66
324
|
}
|
|
67
325
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
326
|
+
export declare type MultiSelectEmits = {
|
|
327
|
+
/**
|
|
328
|
+
* Emitted when the value changes.
|
|
329
|
+
* @param {*} value - New value.
|
|
330
|
+
*/
|
|
331
|
+
'update:modelValue': (value: any) => void;
|
|
332
|
+
/**
|
|
333
|
+
* Callback to invoke on value change.
|
|
334
|
+
* @param {MultiSelectChangeEvent} event - Custom change event.
|
|
335
|
+
*/
|
|
336
|
+
'change': (event: MultiSelectChangeEvent) => void;
|
|
337
|
+
/**
|
|
338
|
+
* Callback to invoke before the overlay is shown.
|
|
339
|
+
*/
|
|
340
|
+
'before-show': () => void;
|
|
341
|
+
/**
|
|
342
|
+
* Callback to invoke before the overlay is hidden.
|
|
343
|
+
*/
|
|
344
|
+
'before-hide': () => void;
|
|
345
|
+
/**
|
|
346
|
+
* Callback to invoke when the overlay is shown.
|
|
347
|
+
*/
|
|
348
|
+
'show': () => void;
|
|
349
|
+
/**
|
|
350
|
+
* Callback to invoke when the overlay is hidden.
|
|
351
|
+
*/
|
|
352
|
+
'hide': () => void;
|
|
353
|
+
/**
|
|
354
|
+
* Callback to invoke on filter input.
|
|
355
|
+
* @param {MultiSelectFilterEvent} event - Custom filter event.
|
|
356
|
+
*/
|
|
357
|
+
'filter': (event: MultiSelectFilterEvent) => void;
|
|
358
|
+
/**
|
|
359
|
+
* Callback to invoke when all data is selected.
|
|
360
|
+
* @param {MultiSelectAllChangeEvent} event - Custom select all change event.
|
|
361
|
+
*/
|
|
362
|
+
'selectall-change': (event: MultiSelectAllChangeEvent) => void;
|
|
73
363
|
}
|
|
74
364
|
|
|
75
|
-
|
|
76
|
-
|
|
365
|
+
declare class MultiSelect extends ClassComponent<MultiSelectProps, MultiSelectSlots, MultiSelectEmits> {
|
|
366
|
+
/**
|
|
367
|
+
* Shows the overlay.
|
|
368
|
+
*/
|
|
369
|
+
show: () => void;
|
|
370
|
+
/**
|
|
371
|
+
* Hides the overlay.
|
|
372
|
+
*/
|
|
373
|
+
hide: () => void;
|
|
77
374
|
}
|
|
78
375
|
|
|
79
|
-
declare
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
$emit(eventName: 'change', e: {originalEvent: Event, value: any}): this;
|
|
83
|
-
$emit(eventName: 'before-show'): this;
|
|
84
|
-
$emit(eventName: 'before-leave'): this;
|
|
85
|
-
$emit(eventName: 'show'): this;
|
|
86
|
-
$emit(eventName: 'hide'): this;
|
|
87
|
-
$emit(eventName: 'filter', e: { originalEvent: Event, value: string }): this;
|
|
88
|
-
$emit(eventName: 'selectall-change', e: { originalEvent: Event, checked: boolean }): this;
|
|
89
|
-
show(): void;
|
|
90
|
-
hide(): void;
|
|
91
|
-
$slots: {
|
|
92
|
-
value: MultiSelectValueSlotInterface;
|
|
93
|
-
header: MultiSelectHeaderSlotInterface;
|
|
94
|
-
footer: MultiSelectFooterSlotInterface;
|
|
95
|
-
emptyfilter: VNode[];
|
|
96
|
-
empty: VNode[];
|
|
97
|
-
option: MultiSelectOptionSlotInterface;
|
|
98
|
-
optiongroup: MultiSelectOptionGroupSlotInterface;
|
|
99
|
-
chip: MultiSelectChipSlotContent;
|
|
100
|
-
content: MultiSelectContentInterface;
|
|
101
|
-
loader: MultiSelectLoaderSlotInterface;
|
|
102
|
-
indicator: VNode[];
|
|
376
|
+
declare module '@vue/runtime-core' {
|
|
377
|
+
interface GlobalComponents {
|
|
378
|
+
MultiSelect: GlobalComponentConstructor<MultiSelect>
|
|
103
379
|
}
|
|
104
380
|
}
|
|
105
381
|
|
|
382
|
+
/**
|
|
383
|
+
*
|
|
384
|
+
* MultiSelect is used to multiple values from a list of options.
|
|
385
|
+
*
|
|
386
|
+
* Demos:
|
|
387
|
+
*
|
|
388
|
+
* - [MultiSelect](https://www.primefaces.org/primevue/showcase/#/multiselect)
|
|
389
|
+
*
|
|
390
|
+
*/
|
|
106
391
|
export default MultiSelect;
|
|
@@ -484,7 +484,7 @@ var script = {
|
|
|
484
484
|
this.$emit('change', {originalEvent: event, value: value});
|
|
485
485
|
},
|
|
486
486
|
onOverlayClick(event) {
|
|
487
|
-
OverlayEventBus__default[
|
|
487
|
+
OverlayEventBus__default["default"].emit('overlay-click', {
|
|
488
488
|
originalEvent: event,
|
|
489
489
|
target: this.$el
|
|
490
490
|
});
|
|
@@ -629,10 +629,10 @@ var script = {
|
|
|
629
629
|
}
|
|
630
630
|
},
|
|
631
631
|
directives: {
|
|
632
|
-
'ripple': Ripple__default[
|
|
632
|
+
'ripple': Ripple__default["default"]
|
|
633
633
|
},
|
|
634
634
|
components: {
|
|
635
|
-
'VirtualScroller': VirtualScroller__default[
|
|
635
|
+
'VirtualScroller': VirtualScroller__default["default"]
|
|
636
636
|
}
|
|
637
637
|
};
|
|
638
638
|
|