primevue 3.12.4 → 3.13.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 -4
- package/accordion/accordion.cjs.js +18 -16
- package/accordion/accordion.cjs.min.js +1 -1
- package/accordion/accordion.esm.js +20 -18
- package/accordion/accordion.esm.min.js +1 -1
- package/accordion/accordion.js +19 -17
- package/accordion/accordion.min.js +1 -1
- package/accordiontab/accordiontab.esm.js +1 -1
- package/accordiontab/accordiontab.esm.min.js +1 -1
- package/accordiontab/accordiontab.js +1 -1
- package/api/api.js +1 -1
- package/autocomplete/AutoComplete.d.ts +5 -0
- package/autocomplete/AutoComplete.vue +15 -12
- package/autocomplete/autocomplete.cjs.js +165 -154
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +163 -153
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +166 -156
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/avatar.cjs.js +9 -6
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.js +11 -8
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +10 -7
- package/avatar/avatar.min.js +1 -1
- package/avatargroup/avatargroup.cjs.js +1 -1
- package/avatargroup/avatargroup.cjs.min.js +1 -1
- package/avatargroup/avatargroup.esm.js +3 -3
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.js +2 -2
- package/avatargroup/avatargroup.min.js +1 -1
- package/badge/badge.cjs.js +3 -1
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.esm.js +5 -3
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +4 -2
- package/badge/badge.min.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.cjs.js +1 -1
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +3 -3
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +2 -2
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/breadcrumb.cjs.js +25 -23
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +27 -25
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +26 -24
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/button.cjs.js +13 -12
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +14 -13
- package/button/button.esm.min.js +1 -1
- package/button/button.js +14 -13
- package/button/button.min.js +1 -1
- package/calendar/Calendar.vue +22 -17
- package/calendar/calendar.cjs.js +464 -429
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +463 -429
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +465 -431
- package/calendar/calendar.min.js +1 -1
- package/card/card.cjs.js +7 -7
- package/card/card.cjs.min.js +1 -1
- package/card/card.esm.js +9 -9
- package/card/card.esm.min.js +1 -1
- package/card/card.js +8 -8
- package/card/card.min.js +1 -1
- package/carousel/Carousel.vue +1 -1
- package/carousel/carousel.cjs.js +57 -49
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +58 -50
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +58 -50
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/CascadeSelect.vue +7 -11
- package/cascadeselect/cascadeselect.cjs.js +80 -75
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +79 -75
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +81 -77
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/chart/chart.cjs.js +7 -8
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +7 -6
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +6 -5
- package/chart/chart.min.js +1 -1
- package/checkbox/checkbox.cjs.js +16 -14
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +18 -16
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +17 -15
- package/checkbox/checkbox.min.js +1 -1
- package/chip/chip.cjs.js +13 -12
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.esm.js +15 -14
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +14 -13
- package/chip/chip.min.js +1 -1
- package/chips/chips.cjs.js +22 -20
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +24 -22
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +23 -21
- package/chips/chips.min.js +1 -1
- package/colorpicker/ColorPicker.vue +9 -11
- package/colorpicker/colorpicker.cjs.js +74 -72
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +74 -73
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +75 -74
- package/colorpicker/colorpicker.min.js +1 -1
- package/column/Column.d.ts +4 -0
- package/column/column.esm.js +1 -1
- package/column/column.esm.min.js +1 -1
- package/column/column.js +1 -1
- 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 +8 -0
- 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.cjs.js +15 -13
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +11 -9
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +16 -14
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/ConfirmPopup.vue +6 -4
- package/confirmpopup/confirmpopup.cjs.js +62 -53
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +58 -50
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +63 -55
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/ContextMenu.vue +6 -4
- package/contextmenu/contextmenu.cjs.js +68 -58
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +68 -59
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +69 -60
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +780 -642
- package/core/core.min.js +19 -14
- package/datatable/ColumnFilter.vue +6 -4
- package/datatable/DataTable.d.ts +5 -2
- package/datatable/DataTable.vue +17 -7
- package/datatable/HeaderCell.vue +6 -1
- package/datatable/TableBody.vue +1 -6
- package/datatable/TableHeader.vue +5 -1
- package/datatable/datatable.cjs.js +509 -470
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +499 -461
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +510 -472
- package/datatable/datatable.min.js +1 -1
- package/dataview/dataview.cjs.js +16 -14
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +17 -15
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +17 -15
- package/dataview/dataview.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.js +17 -15
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +19 -17
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.js +18 -16
- package/dataviewlayoutoptions/dataviewlayoutoptions.min.js +1 -1
- package/deferredcontent/deferredcontent.cjs.js +1 -1
- package/deferredcontent/deferredcontent.cjs.min.js +1 -1
- package/deferredcontent/deferredcontent.esm.js +3 -3
- package/deferredcontent/deferredcontent.esm.min.js +1 -1
- package/deferredcontent/deferredcontent.js +2 -2
- package/deferredcontent/deferredcontent.min.js +1 -1
- package/dialog/Dialog.vue +6 -8
- package/dialog/dialog.cjs.js +113 -107
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +113 -108
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +114 -109
- package/dialog/dialog.min.js +1 -1
- package/divider/divider.cjs.js +3 -3
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.esm.js +5 -5
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +4 -4
- package/divider/divider.min.js +1 -1
- package/dock/dock.cjs.js +26 -23
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +26 -23
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +27 -24
- package/dock/dock.min.js +1 -1
- package/dropdown/Dropdown.vue +13 -15
- package/dropdown/dropdown.cjs.js +187 -179
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +186 -179
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +188 -181
- package/dropdown/dropdown.min.js +1 -1
- package/editor/editor.cjs.js +22 -22
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +23 -23
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +23 -23
- package/editor/editor.min.js +1 -1
- package/fieldset/fieldset.cjs.js +22 -17
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +23 -18
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +23 -18
- package/fieldset/fieldset.min.js +1 -1
- package/fileupload/FileUpload.d.ts +12 -0
- package/fileupload/FileUpload.vue +21 -7
- package/fileupload/fileupload.cjs.js +85 -65
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +83 -63
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +86 -66
- package/fileupload/fileupload.min.js +1 -1
- package/fullcalendar/fullcalendar.cjs.js +1 -31
- package/fullcalendar/fullcalendar.cjs.min.js +1 -1
- package/fullcalendar/fullcalendar.esm.js +3 -33
- package/fullcalendar/fullcalendar.esm.min.js +1 -1
- package/fullcalendar/fullcalendar.js +2 -32
- package/fullcalendar/fullcalendar.min.js +1 -1
- package/galleria/Galleria.vue +5 -3
- package/galleria/galleria.cjs.js +130 -112
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +128 -111
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +131 -114
- package/galleria/galleria.min.js +1 -1
- package/image/Image.vue +6 -2
- package/image/image.cjs.js +105 -84
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +103 -86
- package/image/image.esm.min.js +1 -1
- package/image/image.js +106 -86
- package/image/image.min.js +1 -1
- package/inlinemessage/inlinemessage.cjs.js +6 -4
- package/inlinemessage/inlinemessage.cjs.min.js +1 -1
- package/inlinemessage/inlinemessage.esm.js +8 -6
- package/inlinemessage/inlinemessage.esm.min.js +1 -1
- package/inlinemessage/inlinemessage.js +7 -5
- package/inlinemessage/inlinemessage.min.js +1 -1
- package/inplace/inplace.cjs.js +12 -9
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +13 -10
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +13 -10
- package/inplace/inplace.min.js +1 -1
- package/inputmask/inputmask.cjs.js +7 -7
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.esm.js +9 -9
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +8 -8
- package/inputmask/inputmask.min.js +1 -1
- package/inputnumber/InputNumber.d.ts +4 -0
- package/inputnumber/InputNumber.vue +22 -3
- package/inputnumber/inputnumber.cjs.js +29 -9
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +29 -9
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +30 -10
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputswitch/inputswitch.cjs.js +13 -12
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +15 -14
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +14 -13
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/InputText.d.ts +2 -2
- package/inputtext/InputText.vue +1 -0
- package/inputtext/inputtext.cjs.js +6 -3
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.esm.js +8 -5
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +7 -4
- package/inputtext/inputtext.min.js +1 -1
- package/knob/knob.cjs.js +21 -14
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.esm.js +23 -16
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +22 -15
- package/knob/knob.min.js +1 -1
- package/listbox/listbox.cjs.js +37 -34
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +37 -34
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +38 -35
- package/listbox/listbox.min.js +1 -1
- package/megamenu/megamenu.cjs.js +73 -66
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +74 -67
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +74 -67
- package/megamenu/megamenu.min.js +1 -1
- package/menu/Menu.d.ts +0 -1
- package/menu/Menu.vue +10 -5
- package/menu/menu.cjs.js +113 -101
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +112 -101
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +114 -103
- package/menu/menu.min.js +1 -1
- package/menubar/menubar.cjs.js +47 -40
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +48 -41
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +48 -41
- package/menubar/menubar.min.js +1 -1
- package/message/message.cjs.js +15 -12
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +16 -13
- package/message/message.esm.min.js +1 -1
- package/message/message.js +16 -13
- package/message/message.min.js +1 -1
- package/multiselect/MultiSelect.vue +11 -15
- package/multiselect/multiselect.cjs.js +255 -245
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +254 -245
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +256 -247
- package/multiselect/multiselect.min.js +1 -1
- package/orderlist/orderlist.cjs.js +15 -12
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +15 -12
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +16 -13
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/organizationchart.cjs.js +42 -37
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +44 -39
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +43 -38
- 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.vue +7 -3
- package/overlaypanel/overlaypanel.cjs.js +60 -49
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +56 -46
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +61 -51
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +1 -1
- package/paginator/paginator.cjs.js +59 -54
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +53 -48
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +60 -55
- package/paginator/paginator.min.js +1 -1
- package/panel/panel.cjs.js +21 -16
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +22 -17
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +22 -17
- package/panel/panel.min.js +1 -1
- package/panelmenu/PanelMenuSub.vue +1 -1
- package/panelmenu/panelmenu.cjs.js +62 -57
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +64 -59
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +63 -58
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/Password.d.ts +2 -2
- package/password/Password.vue +8 -12
- package/password/password.cjs.js +49 -51
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +49 -52
- package/password/password.esm.min.js +1 -1
- package/password/password.js +50 -53
- package/password/password.min.js +1 -1
- package/picklist/picklist.cjs.js +38 -34
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +38 -34
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +39 -35
- package/picklist/picklist.min.js +1 -1
- package/portal/Portal.d.ts +36 -0
- package/portal/Portal.vue +41 -0
- package/portal/package.json +9 -0
- package/portal/portal.cjs.js +48 -0
- package/portal/portal.cjs.min.js +1 -0
- package/portal/portal.esm.js +46 -0
- package/portal/portal.esm.min.js +1 -0
- package/portal/portal.js +49 -0
- package/portal/portal.min.js +1 -0
- package/progressbar/progressbar.cjs.js +14 -12
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +16 -14
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +15 -13
- package/progressbar/progressbar.min.js +1 -1
- package/progressspinner/ProgressSpinner.vue +3 -3
- package/progressspinner/progressspinner.cjs.js +7 -6
- package/progressspinner/progressspinner.cjs.min.js +1 -1
- package/progressspinner/progressspinner.esm.js +9 -8
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.js +8 -7
- package/progressspinner/progressspinner.min.js +1 -1
- package/radiobutton/RadioButton.vue +3 -3
- package/radiobutton/radiobutton.cjs.js +18 -15
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +20 -17
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +19 -16
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/rating.cjs.js +13 -8
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +15 -10
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +14 -9
- package/rating/rating.min.js +1 -1
- package/resources/primevue.css +0 -4
- package/resources/primevue.min.css +1 -1
- package/resources/themes/arya-blue/theme.css +15 -2
- package/resources/themes/arya-green/theme.css +15 -2
- package/resources/themes/arya-orange/theme.css +15 -2
- package/resources/themes/arya-purple/theme.css +15 -2
- package/resources/themes/bootstrap4-dark-blue/theme.css +15 -2
- package/resources/themes/bootstrap4-dark-purple/theme.css +15 -2
- package/resources/themes/bootstrap4-light-blue/theme.css +14 -1
- package/resources/themes/bootstrap4-light-purple/theme.css +14 -1
- package/resources/themes/fluent-light/theme.css +15 -2
- package/resources/themes/lara-dark-blue/theme.css +15 -2
- package/resources/themes/lara-dark-indigo/theme.css +15 -2
- package/resources/themes/lara-dark-purple/theme.css +15 -2
- package/resources/themes/lara-dark-teal/theme.css +15 -2
- package/resources/themes/lara-light-blue/theme.css +15 -2
- package/resources/themes/lara-light-indigo/theme.css +15 -2
- package/resources/themes/lara-light-purple/theme.css +15 -2
- package/resources/themes/lara-light-teal/theme.css +15 -2
- package/resources/themes/luna-amber/theme.css +15 -2
- package/resources/themes/luna-blue/theme.css +15 -2
- package/resources/themes/luna-green/theme.css +15 -2
- package/resources/themes/luna-pink/theme.css +15 -2
- package/resources/themes/md-dark-deeppurple/theme.css +16 -5
- package/resources/themes/md-dark-indigo/theme.css +16 -5
- package/resources/themes/md-light-deeppurple/theme.css +16 -5
- package/resources/themes/md-light-indigo/theme.css +16 -5
- package/resources/themes/mdc-dark-deeppurple/theme.css +16 -5
- package/resources/themes/mdc-dark-indigo/theme.css +16 -5
- package/resources/themes/mdc-light-deeppurple/theme.css +16 -5
- package/resources/themes/mdc-light-indigo/theme.css +16 -5
- package/resources/themes/nova/theme.css +15 -2
- package/resources/themes/nova-accent/theme.css +15 -2
- package/resources/themes/nova-alt/theme.css +15 -2
- package/resources/themes/nova-vue/theme.css +15 -2
- package/resources/themes/rhea/theme.css +15 -2
- package/resources/themes/saga-blue/theme.css +15 -2
- package/resources/themes/saga-green/theme.css +15 -2
- package/resources/themes/saga-orange/theme.css +15 -2
- package/resources/themes/saga-purple/theme.css +15 -2
- package/resources/themes/tailwind-light/theme.css +15 -2
- package/resources/themes/vela-blue/theme.css +15 -2
- package/resources/themes/vela-green/theme.css +15 -2
- package/resources/themes/vela-orange/theme.css +15 -2
- package/resources/themes/vela-purple/theme.css +15 -2
- package/ripple/ripple.esm.js +1 -1
- package/ripple/ripple.esm.min.js +1 -1
- package/ripple/ripple.js +1 -1
- package/row/row.esm.js +1 -1
- package/row/row.esm.min.js +1 -1
- package/row/row.js +1 -1
- package/scrollpanel/scrollpanel.cjs.js +9 -9
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +11 -11
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +10 -10
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrolltop/scrolltop.cjs.js +6 -4
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.js +8 -6
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +7 -5
- package/scrolltop/scrolltop.min.js +1 -1
- package/selectbutton/selectbutton.cjs.js +12 -11
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +13 -12
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +13 -12
- package/selectbutton/selectbutton.min.js +1 -1
- package/sidebar/Sidebar.d.ts +4 -0
- package/sidebar/Sidebar.vue +9 -2
- package/sidebar/sidebar.cjs.js +66 -45
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +66 -46
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +67 -47
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/skeleton.cjs.js +3 -3
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.esm.js +5 -5
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +4 -4
- package/skeleton/skeleton.min.js +1 -1
- package/slider/Slider.vue +1 -1
- package/slider/slider.cjs.js +34 -30
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +36 -32
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +35 -31
- package/slider/slider.min.js +1 -1
- package/speeddial/speeddial.cjs.js +23 -21
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +22 -20
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +24 -22
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/splitbutton.cjs.js +7 -9
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +7 -9
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +8 -10
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/splitter.cjs.js +13 -9
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +15 -11
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +14 -10
- package/splitter/splitter.min.js +1 -1
- package/splitterpanel/splitterpanel.cjs.js +2 -2
- package/splitterpanel/splitterpanel.cjs.min.js +1 -1
- package/splitterpanel/splitterpanel.esm.js +4 -4
- package/splitterpanel/splitterpanel.esm.min.js +1 -1
- package/splitterpanel/splitterpanel.js +3 -3
- package/splitterpanel/splitterpanel.min.js +1 -1
- package/steps/Steps.vue +1 -4
- package/steps/steps.cjs.js +29 -29
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +31 -31
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +30 -30
- 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.vue +3 -3
- package/tabmenu/tabmenu.cjs.js +26 -24
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +27 -25
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +27 -25
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabpanel/tabpanel.esm.js +1 -1
- package/tabpanel/tabpanel.esm.min.js +1 -1
- package/tabpanel/tabpanel.js +1 -1
- package/tabview/tabview.cjs.js +41 -36
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +42 -37
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +42 -37
- package/tabview/tabview.min.js +1 -1
- package/tag/tag.cjs.js +4 -4
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +6 -6
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +5 -5
- package/tag/tag.min.js +1 -1
- package/terminal/terminal.cjs.js +17 -17
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.js +16 -16
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +18 -18
- package/terminal/terminal.min.js +1 -1
- package/terminalservice/terminalservice.esm.js +1 -1
- package/terminalservice/terminalservice.esm.min.js +1 -1
- package/terminalservice/terminalservice.js +1 -1
- package/textarea/Textarea.vue +2 -1
- package/textarea/textarea.cjs.js +7 -4
- package/textarea/textarea.cjs.min.js +1 -1
- package/textarea/textarea.esm.js +9 -6
- package/textarea/textarea.esm.min.js +1 -1
- package/textarea/textarea.js +8 -5
- package/textarea/textarea.min.js +1 -1
- package/tieredmenu/TieredMenu.d.ts +0 -1
- package/tieredmenu/TieredMenu.vue +6 -4
- package/tieredmenu/tieredmenu.cjs.js +74 -64
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +73 -64
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +75 -66
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/Timeline.d.ts +1 -1
- package/timeline/timeline.cjs.js +10 -8
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.esm.js +12 -10
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +11 -9
- package/timeline/timeline.min.js +1 -1
- package/toast/Toast.vue +7 -5
- package/toast/toast.cjs.js +59 -49
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +54 -45
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +60 -51
- package/toast/toast.min.js +1 -1
- package/toasteventbus/toasteventbus.esm.js +1 -1
- package/toasteventbus/toasteventbus.esm.min.js +1 -1
- package/toasteventbus/toasteventbus.js +1 -1
- 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.cjs.js +10 -9
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +11 -10
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +11 -10
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/Toolbar.vue +2 -2
- package/toolbar/toolbar.cjs.js +3 -3
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.esm.js +5 -5
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +4 -4
- package/toolbar/toolbar.min.js +1 -1
- package/tooltip/tooltip.cjs.js +7 -1
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.esm.js +8 -2
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +8 -2
- package/tooltip/tooltip.min.js +1 -1
- package/tree/TreeNode.vue +1 -4
- package/tree/tree.cjs.js +57 -45
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +58 -46
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +58 -46
- package/tree/tree.min.js +1 -1
- package/treeselect/TreeSelect.vue +7 -11
- package/treeselect/treeselect.cjs.js +92 -91
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +91 -91
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +93 -93
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/FooterCell.vue +1 -1
- package/treetable/TreeTable.d.ts +1 -1
- package/treetable/TreeTableRow.vue +2 -2
- package/treetable/treetable.cjs.js +97 -88
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +97 -88
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +98 -89
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/TriStateCheckbox.vue +3 -3
- package/tristatecheckbox/tristatecheckbox.cjs.js +16 -14
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +18 -16
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +17 -15
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/useconfirm/useconfirm.js +1 -1
- package/usetoast/usetoast.js +1 -1
- package/utils/Utils.d.ts +1 -0
- package/utils/utils.cjs.js +4 -0
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +4 -0
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +5 -1
- package/utils/utils.min.js +1 -1
- package/vetur-attributes.json +32 -4
- package/vetur-tags.json +12 -0
- package/virtualscroller/virtualscroller.cjs.js +15 -15
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +17 -17
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +16 -16
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +96 -6
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveComponent, openBlock,
|
|
1
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, createBlock, withCtx, createElementVNode, createCommentVNode, toDisplayString, resolveDynamicComponent, renderList, createVNode } from 'vue';
|
|
2
2
|
|
|
3
3
|
var script$1 = {
|
|
4
4
|
name: 'BreadcrumbItem',
|
|
@@ -46,11 +46,13 @@ var script$1 = {
|
|
|
46
46
|
}
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
-
const _hoisted_1$1 =
|
|
49
|
+
const _hoisted_1$1 = ["href", "onClick"];
|
|
50
|
+
const _hoisted_2$1 = {
|
|
50
51
|
key: 1,
|
|
51
52
|
class: "p-menuitem-text"
|
|
52
53
|
};
|
|
53
|
-
const
|
|
54
|
+
const _hoisted_3 = ["href", "target"];
|
|
55
|
+
const _hoisted_4 = {
|
|
54
56
|
key: 1,
|
|
55
57
|
class: "p-menuitem-text"
|
|
56
58
|
};
|
|
@@ -59,12 +61,12 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
59
61
|
const _component_router_link = resolveComponent("router-link");
|
|
60
62
|
|
|
61
63
|
return ($options.visible())
|
|
62
|
-
? (openBlock(),
|
|
64
|
+
? (openBlock(), createElementBlock("li", {
|
|
63
65
|
key: 0,
|
|
64
|
-
class: $options.containerClass($props.item)
|
|
66
|
+
class: normalizeClass($options.containerClass($props.item))
|
|
65
67
|
}, [
|
|
66
68
|
(!$props.template)
|
|
67
|
-
? (openBlock(),
|
|
69
|
+
? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
68
70
|
($props.item.to)
|
|
69
71
|
? (openBlock(), createBlock(_component_router_link, {
|
|
70
72
|
key: 0,
|
|
@@ -72,41 +74,41 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
72
74
|
custom: ""
|
|
73
75
|
}, {
|
|
74
76
|
default: withCtx(({navigate, href, isActive, isExactActive}) => [
|
|
75
|
-
|
|
77
|
+
createElementVNode("a", {
|
|
76
78
|
href: href,
|
|
77
|
-
class: $options.linkClass({isActive, isExactActive}),
|
|
79
|
+
class: normalizeClass($options.linkClass({isActive, isExactActive})),
|
|
78
80
|
onClick: $event => ($options.onClick($event, navigate))
|
|
79
81
|
}, [
|
|
80
82
|
($props.item.icon)
|
|
81
|
-
? (openBlock(),
|
|
83
|
+
? (openBlock(), createElementBlock("span", {
|
|
82
84
|
key: 0,
|
|
83
|
-
class: $options.iconClass
|
|
85
|
+
class: normalizeClass($options.iconClass)
|
|
84
86
|
}, null, 2))
|
|
85
87
|
: createCommentVNode("", true),
|
|
86
88
|
($props.item.label)
|
|
87
|
-
? (openBlock(),
|
|
89
|
+
? (openBlock(), createElementBlock("span", _hoisted_2$1, toDisplayString($options.label()), 1))
|
|
88
90
|
: createCommentVNode("", true)
|
|
89
|
-
], 10,
|
|
91
|
+
], 10, _hoisted_1$1)
|
|
90
92
|
]),
|
|
91
93
|
_: 1
|
|
92
94
|
}, 8, ["to"]))
|
|
93
|
-
: (openBlock(),
|
|
95
|
+
: (openBlock(), createElementBlock("a", {
|
|
94
96
|
key: 1,
|
|
95
97
|
href: $props.item.url||'#',
|
|
96
|
-
class: $options.linkClass(),
|
|
97
|
-
onClick: _cache[
|
|
98
|
+
class: normalizeClass($options.linkClass()),
|
|
99
|
+
onClick: _cache[0] || (_cache[0] = (...args) => ($options.onClick && $options.onClick(...args))),
|
|
98
100
|
target: $props.item.target
|
|
99
101
|
}, [
|
|
100
102
|
($props.item.icon)
|
|
101
|
-
? (openBlock(),
|
|
103
|
+
? (openBlock(), createElementBlock("span", {
|
|
102
104
|
key: 0,
|
|
103
|
-
class: $options.iconClass
|
|
105
|
+
class: normalizeClass($options.iconClass)
|
|
104
106
|
}, null, 2))
|
|
105
107
|
: createCommentVNode("", true),
|
|
106
108
|
($props.item.label)
|
|
107
|
-
? (openBlock(),
|
|
109
|
+
? (openBlock(), createElementBlock("span", _hoisted_4, toDisplayString($options.label()), 1))
|
|
108
110
|
: createCommentVNode("", true)
|
|
109
|
-
], 10,
|
|
111
|
+
], 10, _hoisted_3))
|
|
110
112
|
], 64))
|
|
111
113
|
: (openBlock(), createBlock(resolveDynamicComponent($props.template), {
|
|
112
114
|
key: 1,
|
|
@@ -143,13 +145,13 @@ const _hoisted_1 = {
|
|
|
143
145
|
class: "p-breadcrumb p-component",
|
|
144
146
|
"aria-label": "Breadcrumb"
|
|
145
147
|
};
|
|
146
|
-
const _hoisted_2 = /*#__PURE__*/
|
|
148
|
+
const _hoisted_2 = /*#__PURE__*/createElementVNode("li", { class: "p-breadcrumb-chevron pi pi-chevron-right" }, null, -1);
|
|
147
149
|
|
|
148
150
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
149
151
|
const _component_BreadcrumbItem = resolveComponent("BreadcrumbItem");
|
|
150
152
|
|
|
151
|
-
return (openBlock(),
|
|
152
|
-
|
|
153
|
+
return (openBlock(), createElementBlock("nav", _hoisted_1, [
|
|
154
|
+
createElementVNode("ul", null, [
|
|
153
155
|
($props.home)
|
|
154
156
|
? (openBlock(), createBlock(_component_BreadcrumbItem, {
|
|
155
157
|
key: 0,
|
|
@@ -159,8 +161,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
159
161
|
exact: $props.exact
|
|
160
162
|
}, null, 8, ["item", "template", "exact"]))
|
|
161
163
|
: createCommentVNode("", true),
|
|
162
|
-
(openBlock(true),
|
|
163
|
-
return (openBlock(),
|
|
164
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList($props.model, (item) => {
|
|
165
|
+
return (openBlock(), createElementBlock(Fragment, {
|
|
164
166
|
key: item.label
|
|
165
167
|
}, [
|
|
166
168
|
_hoisted_2,
|
|
@@ -207,4 +209,4 @@ styleInject(css_248z);
|
|
|
207
209
|
|
|
208
210
|
script.render = render;
|
|
209
211
|
|
|
210
|
-
export default
|
|
212
|
+
export { script as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{resolveComponent as e,openBlock as t,
|
|
1
|
+
import{resolveComponent as e,openBlock as t,createElementBlock as i,normalizeClass as n,Fragment as l,createBlock as a,withCtx as s,createElementVNode as m,createCommentVNode as r,toDisplayString as c,resolveDynamicComponent as o,renderList as u,createVNode as d}from"vue";var p={name:"BreadcrumbItem",props:{item:null,template:null,exact:null},methods:{onClick(e,t){this.item.command&&this.item.command({originalEvent:e,item:this.item}),this.item.to&&t&&t(e)},containerClass(e){return[{"p-disabled":this.disabled(e)},this.item.class]},linkClass(e){return["p-menuitem-link",{"router-link-active":e&&e.isActive,"router-link-active-exact":this.exact&&e&&e.isExactActive}]},visible(){return"function"==typeof this.item.visible?this.item.visible():!1!==this.item.visible},disabled:e=>"function"==typeof e.disabled?e.disabled():e.disabled,label(){return"function"==typeof this.item.label?this.item.label():this.item.label}},computed:{iconClass(){return["p-menuitem-icon",this.item.icon]}}};const b=["href","onClick"],h={key:1,class:"p-menuitem-text"},f=["href","target"],x={key:1,class:"p-menuitem-text"};p.render=function(u,d,p,y,k,v){const C=e("router-link");return v.visible()?(t(),i("li",{key:0,class:n(v.containerClass(p.item))},[p.template?(t(),a(o(p.template),{key:1,item:p.item},null,8,["item"])):(t(),i(l,{key:0},[p.item.to?(t(),a(C,{key:0,to:p.item.to,custom:""},{default:s((({navigate:e,href:l,isActive:a,isExactActive:s})=>[m("a",{href:l,class:n(v.linkClass({isActive:a,isExactActive:s})),onClick:t=>v.onClick(t,e)},[p.item.icon?(t(),i("span",{key:0,class:n(v.iconClass)},null,2)):r("",!0),p.item.label?(t(),i("span",h,c(v.label()),1)):r("",!0)],10,b)])),_:1},8,["to"])):(t(),i("a",{key:1,href:p.item.url||"#",class:n(v.linkClass()),onClick:d[0]||(d[0]=(...e)=>v.onClick&&v.onClick(...e)),target:p.item.target},[p.item.icon?(t(),i("span",{key:0,class:n(v.iconClass)},null,2)):r("",!0),p.item.label?(t(),i("span",x,c(v.label()),1)):r("",!0)],10,f))],64))],2)):r("",!0)};var y={name:"Breadcrumb",props:{model:{type:Array,default:null},home:{type:null,default:null},exact:{type:Boolean,default:!0}},components:{BreadcrumbItem:p}};const k={class:"p-breadcrumb p-component","aria-label":"Breadcrumb"},v=m("li",{class:"p-breadcrumb-chevron pi pi-chevron-right"},null,-1);!function(e,t){void 0===t&&(t={});var i=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.type="text/css","top"===i&&n.firstChild?n.insertBefore(l,n.firstChild):n.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e))}}("\n.p-breadcrumb {\n overflow-x: auto;\n}\n.p-breadcrumb ul {\n margin: 0;\n padding: 0;\n list-style-type: none;\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 -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n}\n.p-breadcrumb .p-menuitem-text {\n line-height: 1;\n}\n.p-breadcrumb .p-menuitem-link {\n text-decoration: none;\n}\n.p-breadcrumb::-webkit-scrollbar {\n display: none;\n}\n"),y.render=function(n,s,c,o,p,b){const h=e("BreadcrumbItem");return t(),i("nav",k,[m("ul",null,[c.home?(t(),a(h,{key:0,item:c.home,class:"p-breadcrumb-home",template:n.$slots.item,exact:c.exact},null,8,["item","template","exact"])):r("",!0),(t(!0),i(l,null,u(c.model,(e=>(t(),i(l,{key:e.label},[v,d(h,{item:e,template:n.$slots.item,exact:c.exact},null,8,["item","template","exact"])],64)))),128))])])};export{y as default};
|
package/breadcrumb/breadcrumb.js
CHANGED
|
@@ -48,11 +48,13 @@ this.primevue.breadcrumb = (function (vue) {
|
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
-
const _hoisted_1$1 =
|
|
51
|
+
const _hoisted_1$1 = ["href", "onClick"];
|
|
52
|
+
const _hoisted_2$1 = {
|
|
52
53
|
key: 1,
|
|
53
54
|
class: "p-menuitem-text"
|
|
54
55
|
};
|
|
55
|
-
const
|
|
56
|
+
const _hoisted_3 = ["href", "target"];
|
|
57
|
+
const _hoisted_4 = {
|
|
56
58
|
key: 1,
|
|
57
59
|
class: "p-menuitem-text"
|
|
58
60
|
};
|
|
@@ -61,12 +63,12 @@ this.primevue.breadcrumb = (function (vue) {
|
|
|
61
63
|
const _component_router_link = vue.resolveComponent("router-link");
|
|
62
64
|
|
|
63
65
|
return ($options.visible())
|
|
64
|
-
? (vue.openBlock(), vue.
|
|
66
|
+
? (vue.openBlock(), vue.createElementBlock("li", {
|
|
65
67
|
key: 0,
|
|
66
|
-
class: $options.containerClass($props.item)
|
|
68
|
+
class: vue.normalizeClass($options.containerClass($props.item))
|
|
67
69
|
}, [
|
|
68
70
|
(!$props.template)
|
|
69
|
-
? (vue.openBlock(), vue.
|
|
71
|
+
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
70
72
|
($props.item.to)
|
|
71
73
|
? (vue.openBlock(), vue.createBlock(_component_router_link, {
|
|
72
74
|
key: 0,
|
|
@@ -74,41 +76,41 @@ this.primevue.breadcrumb = (function (vue) {
|
|
|
74
76
|
custom: ""
|
|
75
77
|
}, {
|
|
76
78
|
default: vue.withCtx(({navigate, href, isActive, isExactActive}) => [
|
|
77
|
-
vue.
|
|
79
|
+
vue.createElementVNode("a", {
|
|
78
80
|
href: href,
|
|
79
|
-
class: $options.linkClass({isActive, isExactActive}),
|
|
81
|
+
class: vue.normalizeClass($options.linkClass({isActive, isExactActive})),
|
|
80
82
|
onClick: $event => ($options.onClick($event, navigate))
|
|
81
83
|
}, [
|
|
82
84
|
($props.item.icon)
|
|
83
|
-
? (vue.openBlock(), vue.
|
|
85
|
+
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
84
86
|
key: 0,
|
|
85
|
-
class: $options.iconClass
|
|
87
|
+
class: vue.normalizeClass($options.iconClass)
|
|
86
88
|
}, null, 2))
|
|
87
89
|
: vue.createCommentVNode("", true),
|
|
88
90
|
($props.item.label)
|
|
89
|
-
? (vue.openBlock(), vue.
|
|
91
|
+
? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$1, vue.toDisplayString($options.label()), 1))
|
|
90
92
|
: vue.createCommentVNode("", true)
|
|
91
|
-
], 10,
|
|
93
|
+
], 10, _hoisted_1$1)
|
|
92
94
|
]),
|
|
93
95
|
_: 1
|
|
94
96
|
}, 8, ["to"]))
|
|
95
|
-
: (vue.openBlock(), vue.
|
|
97
|
+
: (vue.openBlock(), vue.createElementBlock("a", {
|
|
96
98
|
key: 1,
|
|
97
99
|
href: $props.item.url||'#',
|
|
98
|
-
class: $options.linkClass(),
|
|
99
|
-
onClick: _cache[
|
|
100
|
+
class: vue.normalizeClass($options.linkClass()),
|
|
101
|
+
onClick: _cache[0] || (_cache[0] = (...args) => ($options.onClick && $options.onClick(...args))),
|
|
100
102
|
target: $props.item.target
|
|
101
103
|
}, [
|
|
102
104
|
($props.item.icon)
|
|
103
|
-
? (vue.openBlock(), vue.
|
|
105
|
+
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
104
106
|
key: 0,
|
|
105
|
-
class: $options.iconClass
|
|
107
|
+
class: vue.normalizeClass($options.iconClass)
|
|
106
108
|
}, null, 2))
|
|
107
109
|
: vue.createCommentVNode("", true),
|
|
108
110
|
($props.item.label)
|
|
109
|
-
? (vue.openBlock(), vue.
|
|
111
|
+
? (vue.openBlock(), vue.createElementBlock("span", _hoisted_4, vue.toDisplayString($options.label()), 1))
|
|
110
112
|
: vue.createCommentVNode("", true)
|
|
111
|
-
], 10,
|
|
113
|
+
], 10, _hoisted_3))
|
|
112
114
|
], 64))
|
|
113
115
|
: (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template), {
|
|
114
116
|
key: 1,
|
|
@@ -145,13 +147,13 @@ this.primevue.breadcrumb = (function (vue) {
|
|
|
145
147
|
class: "p-breadcrumb p-component",
|
|
146
148
|
"aria-label": "Breadcrumb"
|
|
147
149
|
};
|
|
148
|
-
const _hoisted_2 = /*#__PURE__*/vue.
|
|
150
|
+
const _hoisted_2 = /*#__PURE__*/vue.createElementVNode("li", { class: "p-breadcrumb-chevron pi pi-chevron-right" }, null, -1);
|
|
149
151
|
|
|
150
152
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
151
153
|
const _component_BreadcrumbItem = vue.resolveComponent("BreadcrumbItem");
|
|
152
154
|
|
|
153
|
-
return (vue.openBlock(), vue.
|
|
154
|
-
vue.
|
|
155
|
+
return (vue.openBlock(), vue.createElementBlock("nav", _hoisted_1, [
|
|
156
|
+
vue.createElementVNode("ul", null, [
|
|
155
157
|
($props.home)
|
|
156
158
|
? (vue.openBlock(), vue.createBlock(_component_BreadcrumbItem, {
|
|
157
159
|
key: 0,
|
|
@@ -161,8 +163,8 @@ this.primevue.breadcrumb = (function (vue) {
|
|
|
161
163
|
exact: $props.exact
|
|
162
164
|
}, null, 8, ["item", "template", "exact"]))
|
|
163
165
|
: vue.createCommentVNode("", true),
|
|
164
|
-
(vue.openBlock(true), vue.
|
|
165
|
-
return (vue.openBlock(), vue.
|
|
166
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.model, (item) => {
|
|
167
|
+
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
166
168
|
key: item.label
|
|
167
169
|
}, [
|
|
168
170
|
_hoisted_2,
|
|
@@ -211,4 +213,4 @@ this.primevue.breadcrumb = (function (vue) {
|
|
|
211
213
|
|
|
212
214
|
return script;
|
|
213
215
|
|
|
214
|
-
}(Vue)
|
|
216
|
+
})(Vue);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.breadcrumb=function(e){"use strict";var t={name:"BreadcrumbItem",props:{item:null,template:null,exact:null},methods:{onClick(e,t){this.item.command&&this.item.command({originalEvent:e,item:this.item}),this.item.to&&t&&t(e)},containerClass(e){return[{"p-disabled":this.disabled(e)},this.item.class]},linkClass(e){return["p-menuitem-link",{"router-link-active":e&&e.isActive,"router-link-active-exact":this.exact&&e&&e.isExactActive}]},visible(){return"function"==typeof this.item.visible?this.item.visible():!1!==this.item.visible},disabled:e=>"function"==typeof e.disabled?e.disabled():e.disabled,label(){return"function"==typeof this.item.label?this.item.label():this.item.label}},computed:{iconClass(){return["p-menuitem-icon",this.item.icon]}}};const n={key:1,class:"p-menuitem-text"},
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.breadcrumb=function(e){"use strict";var t={name:"BreadcrumbItem",props:{item:null,template:null,exact:null},methods:{onClick(e,t){this.item.command&&this.item.command({originalEvent:e,item:this.item}),this.item.to&&t&&t(e)},containerClass(e){return[{"p-disabled":this.disabled(e)},this.item.class]},linkClass(e){return["p-menuitem-link",{"router-link-active":e&&e.isActive,"router-link-active-exact":this.exact&&e&&e.isExactActive}]},visible(){return"function"==typeof this.item.visible?this.item.visible():!1!==this.item.visible},disabled:e=>"function"==typeof e.disabled?e.disabled():e.disabled,label(){return"function"==typeof this.item.label?this.item.label():this.item.label}},computed:{iconClass(){return["p-menuitem-icon",this.item.icon]}}};const n=["href","onClick"],l={key:1,class:"p-menuitem-text"},i=["href","target"],a={key:1,class:"p-menuitem-text"};t.render=function(t,o,c,r,m,s){const p=e.resolveComponent("router-link");return s.visible()?(e.openBlock(),e.createElementBlock("li",{key:0,class:e.normalizeClass(s.containerClass(c.item))},[c.template?(e.openBlock(),e.createBlock(e.resolveDynamicComponent(c.template),{key:1,item:c.item},null,8,["item"])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[c.item.to?(e.openBlock(),e.createBlock(p,{key:0,to:c.item.to,custom:""},{default:e.withCtx((({navigate:t,href:i,isActive:a,isExactActive:o})=>[e.createElementVNode("a",{href:i,class:e.normalizeClass(s.linkClass({isActive:a,isExactActive:o})),onClick:e=>s.onClick(e,t)},[c.item.icon?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(s.iconClass)},null,2)):e.createCommentVNode("",!0),c.item.label?(e.openBlock(),e.createElementBlock("span",l,e.toDisplayString(s.label()),1)):e.createCommentVNode("",!0)],10,n)])),_:1},8,["to"])):(e.openBlock(),e.createElementBlock("a",{key:1,href:c.item.url||"#",class:e.normalizeClass(s.linkClass()),onClick:o[0]||(o[0]=(...e)=>s.onClick&&s.onClick(...e)),target:c.item.target},[c.item.icon?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(s.iconClass)},null,2)):e.createCommentVNode("",!0),c.item.label?(e.openBlock(),e.createElementBlock("span",a,e.toDisplayString(s.label()),1)):e.createCommentVNode("",!0)],10,i))],64))],2)):e.createCommentVNode("",!0)};var o={name:"Breadcrumb",props:{model:{type:Array,default:null},home:{type:null,default:null},exact:{type:Boolean,default:!0}},components:{BreadcrumbItem:t}};const c={class:"p-breadcrumb p-component","aria-label":"Breadcrumb"},r=e.createElementVNode("li",{class:"p-breadcrumb-chevron pi pi-chevron-right"},null,-1);return function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var l=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css","top"===n&&l.firstChild?l.insertBefore(i,l.firstChild):l.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e))}}("\n.p-breadcrumb {\n overflow-x: auto;\n}\n.p-breadcrumb ul {\n margin: 0;\n padding: 0;\n list-style-type: none;\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 -ms-flex-wrap: nowrap;\n flex-wrap: nowrap;\n}\n.p-breadcrumb .p-menuitem-text {\n line-height: 1;\n}\n.p-breadcrumb .p-menuitem-link {\n text-decoration: none;\n}\n.p-breadcrumb::-webkit-scrollbar {\n display: none;\n}\n"),o.render=function(t,n,l,i,a,o){const m=e.resolveComponent("BreadcrumbItem");return e.openBlock(),e.createElementBlock("nav",c,[e.createElementVNode("ul",null,[l.home?(e.openBlock(),e.createBlock(m,{key:0,item:l.home,class:"p-breadcrumb-home",template:t.$slots.item,exact:l.exact},null,8,["item","template","exact"])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.model,(n=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:n.label},[r,e.createVNode(m,{item:n,template:t.$slots.item,exact:l.exact},null,8,["item","template","exact"])],64)))),128))])])},o}(Vue);
|
package/button/button.cjs.js
CHANGED
|
@@ -70,42 +70,43 @@ var script = {
|
|
|
70
70
|
}
|
|
71
71
|
},
|
|
72
72
|
directives: {
|
|
73
|
-
'ripple': Ripple__default[
|
|
73
|
+
'ripple': Ripple__default["default"]
|
|
74
74
|
}
|
|
75
75
|
};
|
|
76
76
|
|
|
77
|
-
const _hoisted_1 =
|
|
77
|
+
const _hoisted_1 = ["disabled"];
|
|
78
|
+
const _hoisted_2 = { class: "p-button-label" };
|
|
78
79
|
|
|
79
80
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
80
81
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
81
82
|
|
|
82
|
-
return vue.withDirectives((vue.openBlock(), vue.
|
|
83
|
-
class: $options.buttonClass,
|
|
83
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
84
|
+
class: vue.normalizeClass($options.buttonClass),
|
|
84
85
|
type: "button",
|
|
85
86
|
disabled: $options.disabled
|
|
86
87
|
}, [
|
|
87
88
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
88
89
|
($props.loading && !$props.icon)
|
|
89
|
-
? (vue.openBlock(), vue.
|
|
90
|
+
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
90
91
|
key: 0,
|
|
91
|
-
class: $options.iconClass
|
|
92
|
+
class: vue.normalizeClass($options.iconClass)
|
|
92
93
|
}, null, 2))
|
|
93
94
|
: vue.createCommentVNode("", true),
|
|
94
95
|
($props.icon)
|
|
95
|
-
? (vue.openBlock(), vue.
|
|
96
|
+
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
96
97
|
key: 1,
|
|
97
|
-
class: $options.iconClass
|
|
98
|
+
class: vue.normalizeClass($options.iconClass)
|
|
98
99
|
}, null, 2))
|
|
99
100
|
: vue.createCommentVNode("", true),
|
|
100
|
-
vue.
|
|
101
|
+
vue.createElementVNode("span", _hoisted_2, vue.toDisplayString($props.label||' '), 1),
|
|
101
102
|
($props.badge)
|
|
102
|
-
? (vue.openBlock(), vue.
|
|
103
|
+
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
103
104
|
key: 2,
|
|
104
|
-
class: $options.badgeStyleClass
|
|
105
|
+
class: vue.normalizeClass($options.badgeStyleClass)
|
|
105
106
|
}, vue.toDisplayString($props.badge), 3))
|
|
106
107
|
: vue.createCommentVNode("", true)
|
|
107
108
|
])
|
|
108
|
-
], 10,
|
|
109
|
+
], 10, _hoisted_1)), [
|
|
109
110
|
[_directive_ripple]
|
|
110
111
|
])
|
|
111
112
|
}
|
package/button/button.cjs.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var t=require("primevue/ripple"),e=require("vue");function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var
|
|
1
|
+
"use strict";var t=require("primevue/ripple"),e=require("vue");function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n={name:"Button",props:{label:{type:String},icon:{type:String},iconPos:{type:String,default:"left"},badge:{type:String},badgeClass:{type:String,default:null},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:"pi pi-spinner pi-spin"}},computed:{buttonClass(){return{"p-button p-component":!0,"p-button-icon-only":this.icon&&!this.label,"p-button-vertical":("top"===this.iconPos||"bottom"===this.iconPos)&&this.label,"p-disabled":this.$attrs.disabled||this.loading,"p-button-loading":this.loading,"p-button-loading-label-only":this.loading&&!this.icon&&this.label}},iconClass(){return[this.loading?"p-button-loading-icon "+this.loadingIcon:this.icon,"p-button-icon",{"p-button-icon-left":"left"===this.iconPos&&this.label,"p-button-icon-right":"right"===this.iconPos&&this.label,"p-button-icon-top":"top"===this.iconPos&&this.label,"p-button-icon-bottom":"bottom"===this.iconPos&&this.label}]},badgeStyleClass(){return["p-badge p-component",this.badgeClass,{"p-badge-no-gutter":this.badge&&1===String(this.badge).length}]},disabled(){return this.$attrs.disabled||this.loading}},directives:{ripple:o(t).default}};const i=["disabled"],l={class:"p-button-label"};n.render=function(t,o,n,s,a,r){const c=e.resolveDirective("ripple");return e.withDirectives((e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(r.buttonClass),type:"button",disabled:r.disabled},[e.renderSlot(t.$slots,"default",{},(()=>[n.loading&&!n.icon?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(r.iconClass)},null,2)):e.createCommentVNode("",!0),n.icon?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(r.iconClass)},null,2)):e.createCommentVNode("",!0),e.createElementVNode("span",l,e.toDisplayString(n.label||" "),1),n.badge?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(r.badgeStyleClass)},e.toDisplayString(n.badge),3)):e.createCommentVNode("",!0)]))],10,i)),[[c]])},module.exports=n;
|
package/button/button.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Ripple from 'primevue/ripple';
|
|
2
|
-
import { resolveDirective, withDirectives, openBlock,
|
|
2
|
+
import { resolveDirective, withDirectives, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createElementVNode, toDisplayString } from 'vue';
|
|
3
3
|
|
|
4
4
|
var script = {
|
|
5
5
|
name: 'Button',
|
|
@@ -68,42 +68,43 @@ var script = {
|
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
70
|
|
|
71
|
-
const _hoisted_1 =
|
|
71
|
+
const _hoisted_1 = ["disabled"];
|
|
72
|
+
const _hoisted_2 = { class: "p-button-label" };
|
|
72
73
|
|
|
73
74
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
74
75
|
const _directive_ripple = resolveDirective("ripple");
|
|
75
76
|
|
|
76
|
-
return withDirectives((openBlock(),
|
|
77
|
-
class: $options.buttonClass,
|
|
77
|
+
return withDirectives((openBlock(), createElementBlock("button", {
|
|
78
|
+
class: normalizeClass($options.buttonClass),
|
|
78
79
|
type: "button",
|
|
79
80
|
disabled: $options.disabled
|
|
80
81
|
}, [
|
|
81
82
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
82
83
|
($props.loading && !$props.icon)
|
|
83
|
-
? (openBlock(),
|
|
84
|
+
? (openBlock(), createElementBlock("span", {
|
|
84
85
|
key: 0,
|
|
85
|
-
class: $options.iconClass
|
|
86
|
+
class: normalizeClass($options.iconClass)
|
|
86
87
|
}, null, 2))
|
|
87
88
|
: createCommentVNode("", true),
|
|
88
89
|
($props.icon)
|
|
89
|
-
? (openBlock(),
|
|
90
|
+
? (openBlock(), createElementBlock("span", {
|
|
90
91
|
key: 1,
|
|
91
|
-
class: $options.iconClass
|
|
92
|
+
class: normalizeClass($options.iconClass)
|
|
92
93
|
}, null, 2))
|
|
93
94
|
: createCommentVNode("", true),
|
|
94
|
-
|
|
95
|
+
createElementVNode("span", _hoisted_2, toDisplayString($props.label||' '), 1),
|
|
95
96
|
($props.badge)
|
|
96
|
-
? (openBlock(),
|
|
97
|
+
? (openBlock(), createElementBlock("span", {
|
|
97
98
|
key: 2,
|
|
98
|
-
class: $options.badgeStyleClass
|
|
99
|
+
class: normalizeClass($options.badgeStyleClass)
|
|
99
100
|
}, toDisplayString($props.badge), 3))
|
|
100
101
|
: createCommentVNode("", true)
|
|
101
102
|
])
|
|
102
|
-
], 10,
|
|
103
|
+
], 10, _hoisted_1)), [
|
|
103
104
|
[_directive_ripple]
|
|
104
105
|
])
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
script.render = render;
|
|
108
109
|
|
|
109
|
-
export default
|
|
110
|
+
export { script as default };
|
package/button/button.esm.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"primevue/ripple";import{resolveDirective as i,withDirectives as n,openBlock as o,
|
|
1
|
+
import t from"primevue/ripple";import{resolveDirective as i,withDirectives as n,openBlock as o,createElementBlock as s,normalizeClass as l,renderSlot as e,createCommentVNode as a,createElementVNode as p,toDisplayString as b}from"vue";var d={name:"Button",props:{label:{type:String},icon:{type:String},iconPos:{type:String,default:"left"},badge:{type:String},badgeClass:{type:String,default:null},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:"pi pi-spinner pi-spin"}},computed:{buttonClass(){return{"p-button p-component":!0,"p-button-icon-only":this.icon&&!this.label,"p-button-vertical":("top"===this.iconPos||"bottom"===this.iconPos)&&this.label,"p-disabled":this.$attrs.disabled||this.loading,"p-button-loading":this.loading,"p-button-loading-label-only":this.loading&&!this.icon&&this.label}},iconClass(){return[this.loading?"p-button-loading-icon "+this.loadingIcon:this.icon,"p-button-icon",{"p-button-icon-left":"left"===this.iconPos&&this.label,"p-button-icon-right":"right"===this.iconPos&&this.label,"p-button-icon-top":"top"===this.iconPos&&this.label,"p-button-icon-bottom":"bottom"===this.iconPos&&this.label}]},badgeStyleClass(){return["p-badge p-component",this.badgeClass,{"p-badge-no-gutter":this.badge&&1===String(this.badge).length}]},disabled(){return this.$attrs.disabled||this.loading}},directives:{ripple:t}};const c=["disabled"],r={class:"p-button-label"};d.render=function(t,d,u,g,h,y){const f=i("ripple");return n((o(),s("button",{class:l(y.buttonClass),type:"button",disabled:y.disabled},[e(t.$slots,"default",{},(()=>[u.loading&&!u.icon?(o(),s("span",{key:0,class:l(y.iconClass)},null,2)):a("",!0),u.icon?(o(),s("span",{key:1,class:l(y.iconClass)},null,2)):a("",!0),p("span",r,b(u.label||" "),1),u.badge?(o(),s("span",{key:2,class:l(y.badgeStyleClass)},b(u.badge),3)):a("",!0)]))],10,c)),[[f]])};export{d as default};
|
package/button/button.js
CHANGED
|
@@ -69,42 +69,43 @@ this.primevue.button = (function (Ripple, vue) {
|
|
|
69
69
|
}
|
|
70
70
|
},
|
|
71
71
|
directives: {
|
|
72
|
-
'ripple': Ripple__default[
|
|
72
|
+
'ripple': Ripple__default["default"]
|
|
73
73
|
}
|
|
74
74
|
};
|
|
75
75
|
|
|
76
|
-
const _hoisted_1 =
|
|
76
|
+
const _hoisted_1 = ["disabled"];
|
|
77
|
+
const _hoisted_2 = { class: "p-button-label" };
|
|
77
78
|
|
|
78
79
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
79
80
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
80
81
|
|
|
81
|
-
return vue.withDirectives((vue.openBlock(), vue.
|
|
82
|
-
class: $options.buttonClass,
|
|
82
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
83
|
+
class: vue.normalizeClass($options.buttonClass),
|
|
83
84
|
type: "button",
|
|
84
85
|
disabled: $options.disabled
|
|
85
86
|
}, [
|
|
86
87
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
87
88
|
($props.loading && !$props.icon)
|
|
88
|
-
? (vue.openBlock(), vue.
|
|
89
|
+
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
89
90
|
key: 0,
|
|
90
|
-
class: $options.iconClass
|
|
91
|
+
class: vue.normalizeClass($options.iconClass)
|
|
91
92
|
}, null, 2))
|
|
92
93
|
: vue.createCommentVNode("", true),
|
|
93
94
|
($props.icon)
|
|
94
|
-
? (vue.openBlock(), vue.
|
|
95
|
+
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
95
96
|
key: 1,
|
|
96
|
-
class: $options.iconClass
|
|
97
|
+
class: vue.normalizeClass($options.iconClass)
|
|
97
98
|
}, null, 2))
|
|
98
99
|
: vue.createCommentVNode("", true),
|
|
99
|
-
vue.
|
|
100
|
+
vue.createElementVNode("span", _hoisted_2, vue.toDisplayString($props.label||' '), 1),
|
|
100
101
|
($props.badge)
|
|
101
|
-
? (vue.openBlock(), vue.
|
|
102
|
+
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
102
103
|
key: 2,
|
|
103
|
-
class: $options.badgeStyleClass
|
|
104
|
+
class: vue.normalizeClass($options.badgeStyleClass)
|
|
104
105
|
}, vue.toDisplayString($props.badge), 3))
|
|
105
106
|
: vue.createCommentVNode("", true)
|
|
106
107
|
])
|
|
107
|
-
], 10,
|
|
108
|
+
], 10, _hoisted_1)), [
|
|
108
109
|
[_directive_ripple]
|
|
109
110
|
])
|
|
110
111
|
}
|
|
@@ -113,4 +114,4 @@ this.primevue.button = (function (Ripple, vue) {
|
|
|
113
114
|
|
|
114
115
|
return script;
|
|
115
116
|
|
|
116
|
-
}(primevue.ripple, Vue)
|
|
117
|
+
})(primevue.ripple, Vue);
|
package/button/button.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.button=function(t,e){"use strict";function
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.button=function(t,e){"use strict";function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o={name:"Button",props:{label:{type:String},icon:{type:String},iconPos:{type:String,default:"left"},badge:{type:String},badgeClass:{type:String,default:null},loading:{type:Boolean,default:!1},loadingIcon:{type:String,default:"pi pi-spinner pi-spin"}},computed:{buttonClass(){return{"p-button p-component":!0,"p-button-icon-only":this.icon&&!this.label,"p-button-vertical":("top"===this.iconPos||"bottom"===this.iconPos)&&this.label,"p-disabled":this.$attrs.disabled||this.loading,"p-button-loading":this.loading,"p-button-loading-label-only":this.loading&&!this.icon&&this.label}},iconClass(){return[this.loading?"p-button-loading-icon "+this.loadingIcon:this.icon,"p-button-icon",{"p-button-icon-left":"left"===this.iconPos&&this.label,"p-button-icon-right":"right"===this.iconPos&&this.label,"p-button-icon-top":"top"===this.iconPos&&this.label,"p-button-icon-bottom":"bottom"===this.iconPos&&this.label}]},badgeStyleClass(){return["p-badge p-component",this.badgeClass,{"p-badge-no-gutter":this.badge&&1===String(this.badge).length}]},disabled(){return this.$attrs.disabled||this.loading}},directives:{ripple:n(t).default}};const i=["disabled"],l={class:"p-button-label"};return o.render=function(t,n,o,s,a,c){const r=e.resolveDirective("ripple");return e.withDirectives((e.openBlock(),e.createElementBlock("button",{class:e.normalizeClass(c.buttonClass),type:"button",disabled:c.disabled},[e.renderSlot(t.$slots,"default",{},(()=>[o.loading&&!o.icon?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(c.iconClass)},null,2)):e.createCommentVNode("",!0),o.icon?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(c.iconClass)},null,2)):e.createCommentVNode("",!0),e.createElementVNode("span",l,e.toDisplayString(o.label||" "),1),o.badge?(e.openBlock(),e.createElementBlock("span",{key:2,class:e.normalizeClass(c.badgeStyleClass)},e.toDisplayString(o.badge),3)):e.createCommentVNode("",!0)]))],10,i)),[[r]])},o}(primevue.ripple,Vue);
|