primevue 3.27.0 → 3.29.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/autocomplete/AutoComplete.d.ts +163 -2
- package/autocomplete/AutoComplete.vue +47 -18
- package/autocomplete/autocomplete.cjs.js +84 -75
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +84 -76
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +85 -77
- package/autocomplete/autocomplete.min.js +1 -1
- package/avatar/Avatar.d.ts +44 -0
- package/avatar/Avatar.vue +10 -8
- package/avatar/avatar.cjs.js +36 -34
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.js +33 -35
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +37 -36
- package/avatar/avatar.min.js +1 -1
- package/avatargroup/AvatarGroup.d.ts +27 -1
- package/avatargroup/AvatarGroup.vue +5 -2
- package/avatargroup/avatargroup.cjs.js +9 -5
- package/avatargroup/avatargroup.cjs.min.js +1 -1
- package/avatargroup/avatargroup.esm.js +6 -6
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.js +10 -7
- package/avatargroup/avatargroup.min.js +1 -1
- package/badge/Badge.d.ts +32 -0
- package/badge/Badge.vue +3 -1
- package/badge/badge.cjs.js +8 -4
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.esm.js +5 -5
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +9 -6
- package/badge/badge.min.js +1 -1
- package/basecomponent/BaseComponent.vue +25 -4
- package/basecomponent/basecomponent.cjs.js +25 -4
- package/basecomponent/basecomponent.cjs.min.js +1 -1
- package/basecomponent/basecomponent.esm.js +25 -4
- package/basecomponent/basecomponent.esm.min.js +1 -1
- package/basecomponent/basecomponent.js +26 -6
- package/basecomponent/basecomponent.min.js +1 -1
- package/baseicon/BaseIcon.vue +2 -2
- package/baseicon/baseicon.cjs.js +2 -2
- package/baseicon/baseicon.cjs.min.js +1 -1
- package/baseicon/baseicon.esm.js +2 -2
- package/baseicon/baseicon.esm.min.js +1 -1
- package/baseicon/baseicon.js +2 -2
- package/baseicon/baseicon.min.js +1 -1
- package/blockui/BlockUI.d.ts +44 -0
- package/blockui/BlockUI.vue +3 -1
- package/blockui/blockui.cjs.js +9 -3
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +6 -4
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +10 -5
- package/blockui/blockui.min.js +1 -1
- package/breadcrumb/Breadcrumb.d.ts +60 -0
- package/breadcrumb/Breadcrumb.vue +8 -6
- package/breadcrumb/BreadcrumbItem.vue +14 -10
- package/breadcrumb/breadcrumb.cjs.js +53 -51
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +53 -52
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +54 -53
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/button/Button.d.ts +48 -0
- package/button/Button.vue +10 -9
- package/button/button.cjs.js +43 -44
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +43 -45
- package/button/button.esm.min.js +1 -1
- package/button/button.js +44 -46
- package/button/button.min.js +1 -1
- package/calendar/Calendar.d.ts +269 -0
- package/calendar/Calendar.vue +75 -59
- package/calendar/calendar.cjs.js +223 -259
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +223 -260
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +224 -261
- package/calendar/calendar.min.js +1 -1
- package/carousel/Carousel.d.ts +154 -0
- package/carousel/Carousel.vue +27 -14
- package/carousel/carousel.cjs.js +64 -65
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +64 -66
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +65 -67
- package/carousel/carousel.min.js +1 -1
- package/cascadeselect/CascadeSelect.d.ts +133 -0
- package/cascadeselect/CascadeSelect.vue +15 -12
- package/cascadeselect/CascadeSelectSub.vue +7 -3
- package/cascadeselect/cascadeselect.cjs.js +63 -66
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +63 -67
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +64 -68
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/chart/Chart.d.ts +36 -0
- package/chart/Chart.vue +5 -2
- package/chart/chart.cjs.js +10 -5
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +7 -6
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +11 -7
- package/chart/chart.min.js +1 -1
- package/checkbox/Checkbox.d.ts +60 -0
- package/checkbox/Checkbox.vue +7 -5
- package/checkbox/checkbox.cjs.js +17 -15
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +17 -16
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +18 -17
- package/checkbox/checkbox.min.js +1 -1
- package/chip/Chip.d.ts +60 -0
- package/chip/Chip.vue +10 -9
- package/chip/chip.cjs.js +35 -36
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.esm.js +35 -37
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +36 -38
- package/chip/chip.min.js +1 -1
- package/chips/Chips.d.ts +80 -0
- package/chips/Chips.vue +9 -5
- package/chips/chips.cjs.js +23 -24
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +23 -25
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +24 -26
- package/chips/chips.min.js +1 -1
- package/colorpicker/ColorPicker.d.ts +76 -0
- package/colorpicker/ColorPicker.vue +11 -9
- package/colorpicker/colorpicker.cjs.js +28 -27
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +28 -28
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +29 -29
- package/colorpicker/colorpicker.min.js +1 -1
- package/column/Column.d.ts +303 -2
- package/column/Column.vue +3 -0
- package/column/column.cjs.js +7 -0
- package/column/column.cjs.min.js +1 -1
- package/column/column.esm.js +3 -0
- package/column/column.esm.min.js +1 -1
- package/column/column.js +7 -2
- package/column/column.min.js +1 -1
- package/columngroup/ColumnGroup.d.ts +34 -0
- package/columngroup/ColumnGroup.vue +3 -0
- package/columngroup/columngroup.cjs.js +7 -0
- package/columngroup/columngroup.cjs.min.js +1 -1
- package/columngroup/columngroup.esm.js +3 -0
- package/columngroup/columngroup.esm.min.js +1 -1
- package/columngroup/columngroup.js +7 -2
- package/columngroup/columngroup.min.js +1 -1
- package/config/PrimeVue.d.ts +169 -0
- package/config/config.cjs.js +3 -1
- package/config/config.cjs.min.js +1 -1
- package/config/config.esm.js +3 -2
- package/config/config.esm.min.js +1 -1
- package/config/config.js +3 -1
- package/config/config.min.js +1 -1
- package/confirmdialog/ConfirmDialog.d.ts +95 -0
- package/confirmdialog/ConfirmDialog.vue +9 -6
- package/confirmdialog/confirmdialog.cjs.js +22 -18
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +22 -19
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +23 -20
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/ConfirmPopup.d.ts +75 -0
- package/confirmpopup/ConfirmPopup.vue +11 -9
- package/confirmpopup/confirmpopup.cjs.js +27 -25
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +27 -26
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +28 -27
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/ContextMenu.d.ts +135 -0
- package/contextmenu/ContextMenu.vue +4 -1
- package/contextmenu/ContextMenuSub.vue +46 -10
- package/contextmenu/contextmenu.cjs.js +57 -46
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +57 -47
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +58 -48
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +717 -568
- package/core/core.min.js +17 -17
- package/datatable/BodyCell.vue +29 -13
- package/datatable/ColumnFilter.vue +49 -20
- package/datatable/DataTable.d.ts +188 -1
- package/datatable/DataTable.vue +25 -14
- package/datatable/FooterCell.vue +15 -1
- package/datatable/HeaderCell.vue +31 -6
- package/datatable/HeaderCheckbox.vue +35 -5
- package/datatable/RowCheckbox.vue +36 -5
- package/datatable/RowRadioButton.vue +26 -6
- package/datatable/TableBody.vue +41 -11
- package/datatable/TableFooter.vue +31 -5
- package/datatable/TableHeader.vue +53 -6
- package/datatable/datatable.cjs.js +559 -376
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +559 -377
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +560 -378
- package/datatable/datatable.min.js +1 -1
- package/dataview/DataView.d.ts +72 -0
- package/dataview/DataView.vue +13 -8
- package/dataview/dataview.cjs.js +33 -37
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +33 -38
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +33 -38
- package/dataview/dataview.min.js +1 -1
- package/dataviewlayoutoptions/DataViewLayoutOptions.d.ts +65 -0
- package/dataviewlayoutoptions/DataViewLayoutOptions.vue +7 -5
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.js +19 -17
- package/dataviewlayoutoptions/dataviewlayoutoptions.cjs.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.js +19 -18
- package/dataviewlayoutoptions/dataviewlayoutoptions.esm.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.js +20 -19
- package/dataviewlayoutoptions/dataviewlayoutoptions.min.js +1 -1
- package/dialog/Dialog.d.ts +89 -0
- package/dialog/Dialog.vue +23 -11
- package/dialog/dialog.cjs.js +30 -30
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +30 -31
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +31 -32
- package/dialog/dialog.min.js +1 -1
- package/dock/Dock.d.ts +94 -0
- package/dock/Dock.vue +4 -2
- package/dock/DockSub.vue +30 -6
- package/dock/dock.cjs.js +52 -39
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +52 -40
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +53 -41
- package/dock/dock.min.js +1 -1
- package/dropdown/Dropdown.d.ts +162 -1
- package/dropdown/Dropdown.vue +45 -26
- package/dropdown/dropdown.cjs.js +98 -94
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +98 -95
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +99 -96
- package/dropdown/dropdown.min.js +1 -1
- package/dynamicdialog/DynamicDialog.vue +3 -1
- package/dynamicdialog/dynamicdialog.cjs.js +5 -1
- package/dynamicdialog/dynamicdialog.cjs.min.js +1 -1
- package/dynamicdialog/dynamicdialog.esm.js +4 -1
- package/dynamicdialog/dynamicdialog.esm.min.js +1 -1
- package/dynamicdialog/dynamicdialog.js +6 -3
- package/dynamicdialog/dynamicdialog.min.js +1 -1
- package/editor/Editor.d.ts +67 -0
- package/editor/Editor.vue +35 -33
- package/editor/editor.cjs.js +88 -73
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +85 -74
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +89 -75
- package/editor/editor.min.js +1 -1
- package/fileupload/FileContent.vue +11 -9
- package/fileupload/FileUpload.d.ts +154 -0
- package/fileupload/FileUpload.vue +25 -23
- package/fileupload/fileupload.cjs.js +98 -95
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +98 -96
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +99 -97
- package/fileupload/fileupload.min.js +1 -1
- package/galleria/Galleria.d.ts +196 -0
- package/galleria/Galleria.vue +5 -3
- package/galleria/GalleriaContent.vue +10 -6
- package/galleria/GalleriaItem.vue +12 -9
- package/galleria/GalleriaThumbnails.vue +46 -9
- package/galleria/galleria.cjs.js +106 -104
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +106 -105
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +107 -106
- package/galleria/galleria.min.js +1 -1
- package/image/Image.d.ts +170 -0
- package/image/Image.vue +49 -21
- package/image/image.cjs.js +94 -59
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +94 -60
- package/image/image.esm.min.js +1 -1
- package/image/image.js +95 -61
- package/image/image.min.js +1 -1
- package/inlinemessage/InlineMessage.d.ts +52 -0
- package/inlinemessage/InlineMessage.vue +7 -3
- package/inlinemessage/inlinemessage.cjs.js +12 -11
- package/inlinemessage/inlinemessage.cjs.min.js +1 -1
- package/inlinemessage/inlinemessage.esm.js +12 -12
- package/inlinemessage/inlinemessage.esm.min.js +1 -1
- package/inlinemessage/inlinemessage.js +13 -13
- package/inlinemessage/inlinemessage.min.js +1 -1
- package/inplace/Inplace.d.ts +59 -0
- package/inplace/Inplace.vue +7 -5
- package/inplace/inplace.cjs.js +17 -16
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +17 -17
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +18 -18
- package/inplace/inplace.min.js +1 -1
- package/inputmask/InputMask.d.ts +25 -0
- package/inputmask/InputMask.vue +3 -1
- package/inputmask/inputmask.cjs.js +9 -3
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.esm.js +6 -4
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +10 -5
- package/inputmask/inputmask.min.js +1 -1
- package/inputnumber/InputNumber.d.ts +69 -0
- package/inputnumber/InputNumber.vue +13 -11
- package/inputnumber/inputnumber.cjs.js +19 -28
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +19 -29
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +20 -30
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputswitch/InputSwitch.d.ts +51 -0
- package/inputswitch/InputSwitch.vue +7 -4
- package/inputswitch/inputswitch.cjs.js +15 -11
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +12 -12
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +16 -13
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputtext/InputText.d.ts +25 -0
- package/inputtext/InputText.vue +4 -1
- package/inputtext/inputtext.cjs.js +9 -3
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.esm.js +6 -4
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +10 -5
- package/inputtext/inputtext.min.js +1 -1
- package/knob/Knob.d.ts +78 -0
- package/knob/Knob.vue +8 -4
- package/knob/knob.cjs.js +17 -13
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.esm.js +14 -14
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +18 -15
- package/knob/knob.min.js +1 -1
- package/listbox/Listbox.d.ts +138 -2
- package/listbox/Listbox.vue +28 -15
- package/listbox/listbox.cjs.js +83 -78
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +83 -79
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +84 -80
- package/listbox/listbox.min.js +1 -1
- package/megamenu/MegaMenu.d.ts +149 -0
- package/megamenu/MegaMenu.vue +6 -3
- package/megamenu/MegaMenuSub.vue +43 -15
- package/megamenu/megamenu.cjs.js +83 -75
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +83 -76
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +84 -77
- package/megamenu/megamenu.min.js +1 -1
- package/menu/Menu.d.ts +113 -0
- package/menu/Menu.vue +11 -8
- package/menu/Menuitem.vue +20 -8
- package/menu/menu.cjs.js +73 -62
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +73 -63
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +74 -64
- package/menu/menu.min.js +1 -1
- package/menubar/Menubar.d.ts +146 -0
- package/menubar/Menubar.vue +8 -5
- package/menubar/MenubarSub.vue +38 -10
- package/menubar/menubar.cjs.js +70 -60
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +70 -61
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +71 -62
- package/menubar/menubar.min.js +1 -1
- package/message/Message.d.ts +64 -1
- package/message/Message.vue +9 -7
- package/message/message.cjs.js +22 -21
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +22 -22
- package/message/message.esm.min.js +1 -1
- package/message/message.js +23 -23
- package/message/message.min.js +1 -1
- package/multiselect/MultiSelect.d.ts +224 -2
- package/multiselect/MultiSelect.vue +72 -41
- package/multiselect/multiselect.cjs.js +156 -151
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +156 -152
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +157 -153
- package/multiselect/multiselect.min.js +1 -1
- package/orderlist/OrderList.d.ts +94 -0
- package/orderlist/OrderList.vue +38 -18
- package/orderlist/orderlist.cjs.js +50 -36
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +50 -37
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +51 -38
- package/orderlist/orderlist.min.js +1 -1
- package/organizationchart/OrganizationChart.d.ts +129 -0
- package/organizationchart/OrganizationChart.vue +14 -2
- package/organizationchart/OrganizationChartNode.vue +37 -16
- package/organizationchart/organizationchart.cjs.js +77 -61
- package/organizationchart/organizationchart.cjs.min.js +1 -1
- package/organizationchart/organizationchart.esm.js +77 -62
- package/organizationchart/organizationchart.esm.min.js +1 -1
- package/organizationchart/organizationchart.js +78 -63
- package/organizationchart/organizationchart.min.js +1 -1
- package/overlaypanel/OverlayPanel.d.ts +56 -0
- package/overlaypanel/OverlayPanel.vue +6 -4
- package/overlaypanel/overlaypanel.cjs.js +13 -10
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +13 -11
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +14 -12
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +1 -1
- package/paginator/CurrentPageReport.vue +5 -1
- package/paginator/FirstPageLink.vue +13 -2
- package/paginator/JumpToPageDropdown.vue +3 -1
- package/paginator/JumpToPageInput.vue +3 -1
- package/paginator/LastPageLink.vue +13 -2
- package/paginator/NextPageLink.vue +13 -2
- package/paginator/PageLinks.vue +12 -2
- package/paginator/Paginator.d.ts +133 -0
- package/paginator/Paginator.vue +23 -12
- package/paginator/PrevPageLink.vue +13 -2
- package/paginator/RowsPerPageDropdown.vue +3 -1
- package/paginator/paginator.cjs.js +135 -76
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +135 -77
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +136 -78
- package/paginator/paginator.min.js +1 -1
- package/panel/Panel.d.ts +10 -1
- package/panel/Panel.vue +1 -1
- package/panel/panel.cjs.js +4 -1
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +4 -1
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +4 -1
- package/panel/panel.min.js +1 -1
- package/panelmenu/PanelMenu.d.ts +129 -0
- package/panelmenu/PanelMenu.vue +36 -13
- package/panelmenu/PanelMenuList.vue +3 -0
- package/panelmenu/PanelMenuSub.vue +33 -12
- package/panelmenu/panelmenu.cjs.js +115 -96
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +115 -97
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +116 -98
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/Password.d.ts +104 -0
- package/password/Password.vue +13 -11
- package/password/password.cjs.js +28 -30
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +28 -31
- package/password/password.esm.min.js +1 -1
- package/password/password.js +29 -32
- package/password/password.min.js +1 -1
- package/picklist/PickList.d.ts +160 -0
- package/picklist/PickList.vue +46 -34
- package/picklist/picklist.cjs.js +111 -85
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +111 -86
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +112 -87
- package/picklist/picklist.min.js +1 -1
- package/progressbar/ProgressBar.d.ts +40 -0
- package/progressbar/ProgressBar.vue +8 -5
- package/progressbar/progressbar.cjs.js +25 -23
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +22 -24
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +26 -25
- package/progressbar/progressbar.min.js +1 -1
- package/progressspinner/ProgressSpinner.d.ts +40 -0
- package/progressspinner/ProgressSpinner.vue +6 -3
- package/progressspinner/progressspinner.cjs.js +18 -13
- package/progressspinner/progressspinner.cjs.min.js +1 -1
- package/progressspinner/progressspinner.esm.js +15 -14
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.js +19 -15
- package/progressspinner/progressspinner.min.js +1 -1
- package/radiobutton/RadioButton.d.ts +55 -0
- package/radiobutton/RadioButton.vue +7 -5
- package/radiobutton/radiobutton.cjs.js +19 -16
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +16 -17
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +20 -18
- package/radiobutton/radiobutton.min.js +1 -1
- package/rating/Rating.d.ts +96 -0
- package/rating/Rating.vue +32 -9
- package/rating/rating.cjs.js +41 -34
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +41 -35
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +42 -36
- package/rating/rating.min.js +1 -1
- package/resources/themes/arya-blue/theme.css +1 -1
- package/resources/themes/arya-green/theme.css +1 -1
- package/resources/themes/arya-orange/theme.css +1 -1
- package/resources/themes/arya-purple/theme.css +1 -1
- package/resources/themes/bootstrap4-dark-blue/theme.css +1 -1
- package/resources/themes/bootstrap4-dark-purple/theme.css +1 -1
- package/resources/themes/bootstrap4-light-blue/theme.css +1 -1
- package/resources/themes/bootstrap4-light-purple/theme.css +1 -1
- package/resources/themes/fluent-light/theme.css +1 -1
- package/resources/themes/lara-dark-blue/theme.css +1 -1
- package/resources/themes/lara-dark-indigo/theme.css +1 -1
- package/resources/themes/lara-dark-purple/theme.css +1 -1
- package/resources/themes/lara-dark-teal/theme.css +1 -1
- package/resources/themes/lara-light-blue/theme.css +1 -1
- package/resources/themes/lara-light-indigo/theme.css +1 -1
- package/resources/themes/lara-light-purple/theme.css +1 -1
- package/resources/themes/lara-light-teal/theme.css +1 -1
- package/resources/themes/luna-amber/theme.css +1 -1
- package/resources/themes/luna-blue/theme.css +1 -1
- package/resources/themes/luna-green/theme.css +1 -1
- package/resources/themes/luna-pink/theme.css +1 -1
- package/resources/themes/md-dark-deeppurple/theme.css +4 -1
- package/resources/themes/md-dark-indigo/theme.css +4 -1
- package/resources/themes/md-light-deeppurple/theme.css +4 -1
- package/resources/themes/md-light-indigo/theme.css +4 -1
- package/resources/themes/mdc-dark-deeppurple/theme.css +4 -1
- package/resources/themes/mdc-dark-indigo/theme.css +4 -1
- package/resources/themes/mdc-light-deeppurple/theme.css +4 -1
- package/resources/themes/mdc-light-indigo/theme.css +4 -1
- package/resources/themes/mira/theme.css +1 -1
- package/resources/themes/nano/theme.css +1 -1
- package/resources/themes/nova/theme.css +1 -1
- package/resources/themes/nova-accent/theme.css +1 -1
- package/resources/themes/nova-alt/theme.css +1 -1
- package/resources/themes/nova-vue/theme.css +1 -1
- package/resources/themes/rhea/theme.css +1 -1
- package/resources/themes/saga-blue/theme.css +1 -1
- package/resources/themes/saga-green/theme.css +1 -1
- package/resources/themes/saga-orange/theme.css +1 -1
- package/resources/themes/saga-purple/theme.css +1 -1
- package/resources/themes/soho-dark/theme.css +1 -1
- package/resources/themes/soho-light/theme.css +1 -1
- package/resources/themes/tailwind-light/theme.css +1 -1
- package/resources/themes/vela-blue/theme.css +1 -1
- package/resources/themes/vela-green/theme.css +1 -1
- package/resources/themes/vela-orange/theme.css +1 -1
- package/resources/themes/vela-purple/theme.css +1 -1
- package/resources/themes/viva-dark/theme.css +1 -1
- package/resources/themes/viva-light/theme.css +1 -1
- package/row/Row.d.ts +29 -0
- package/row/Row.vue +3 -0
- package/row/row.cjs.js +7 -0
- package/row/row.cjs.min.js +1 -1
- package/row/row.esm.js +3 -0
- package/row/row.esm.min.js +1 -1
- package/row/row.js +7 -2
- package/row/row.min.js +1 -1
- package/scrolltop/ScrollTop.d.ts +48 -0
- package/scrolltop/ScrollTop.vue +5 -2
- package/scrolltop/scrolltop.cjs.js +10 -7
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.js +10 -8
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +11 -9
- package/scrolltop/scrolltop.min.js +1 -1
- package/selectbutton/SelectButton.d.ts +68 -0
- package/selectbutton/SelectButton.vue +13 -2
- package/selectbutton/selectbutton.cjs.js +20 -10
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +20 -11
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +21 -12
- package/selectbutton/selectbutton.min.js +1 -1
- package/sidebar/Sidebar.d.ts +68 -0
- package/sidebar/Sidebar.vue +9 -7
- package/sidebar/sidebar.cjs.js +26 -24
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +26 -25
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +27 -26
- package/sidebar/sidebar.min.js +1 -1
- package/skeleton/Skeleton.d.ts +32 -0
- package/skeleton/Skeleton.vue +4 -1
- package/skeleton/skeleton.cjs.js +10 -4
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.esm.js +7 -5
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +11 -6
- package/skeleton/skeleton.min.js +1 -1
- package/slider/Slider.d.ts +48 -0
- package/slider/Slider.vue +7 -2
- package/slider/slider.cjs.js +22 -16
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +19 -17
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +23 -18
- package/slider/slider.min.js +1 -1
- package/speeddial/SpeedDial.d.ts +101 -0
- package/speeddial/SpeedDial.vue +31 -8
- package/speeddial/speeddial.cjs.js +47 -33
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +47 -34
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +48 -35
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/SplitButton.d.ts +60 -0
- package/splitbutton/SplitButton.vue +8 -5
- package/splitbutton/splitbutton.cjs.js +25 -19
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +25 -20
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +26 -21
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitter/Splitter.d.ts +3 -3
- package/steps/Steps.d.ts +52 -0
- package/steps/Steps.vue +11 -8
- package/steps/steps.cjs.js +34 -33
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +31 -34
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +35 -35
- package/steps/steps.min.js +1 -1
- package/tabmenu/TabMenu.d.ts +79 -0
- package/tabmenu/TabMenu.vue +20 -10
- package/tabmenu/tabmenu.cjs.js +47 -41
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +47 -42
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +48 -43
- package/tabmenu/tabmenu.min.js +1 -1
- package/tag/Tag.d.ts +40 -0
- package/tag/Tag.vue +7 -4
- package/tag/tag.cjs.js +14 -12
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +11 -13
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +15 -14
- package/tag/tag.min.js +1 -1
- package/terminal/Terminal.d.ts +79 -0
- package/terminal/Terminal.vue +12 -10
- package/terminal/terminal.cjs.js +23 -28
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.js +23 -29
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +24 -30
- package/terminal/terminal.min.js +1 -1
- package/textarea/Textarea.d.ts +32 -0
- package/textarea/Textarea.vue +4 -1
- package/textarea/textarea.cjs.js +9 -3
- package/textarea/textarea.cjs.min.js +1 -1
- package/textarea/textarea.esm.js +6 -4
- package/textarea/textarea.esm.min.js +1 -1
- package/textarea/textarea.js +10 -5
- package/textarea/textarea.min.js +1 -1
- package/tieredmenu/TieredMenu.d.ts +130 -0
- package/tieredmenu/TieredMenu.vue +4 -1
- package/tieredmenu/TieredMenuSub.vue +39 -11
- package/tieredmenu/tieredmenu.cjs.js +53 -41
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +53 -42
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +54 -43
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/Timeline.d.ts +49 -0
- package/timeline/Timeline.vue +9 -7
- package/timeline/timeline.cjs.js +19 -21
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.esm.js +16 -22
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +20 -23
- package/timeline/timeline.min.js +1 -1
- package/toast/Toast.d.ts +83 -0
- package/toast/Toast.vue +5 -2
- package/toast/ToastMessage.vue +12 -10
- package/toast/toast.cjs.js +34 -34
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +34 -35
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +35 -36
- package/toast/toast.min.js +1 -1
- package/togglebutton/ToggleButton.d.ts +59 -0
- package/togglebutton/ToggleButton.vue +7 -5
- package/togglebutton/togglebutton.cjs.js +15 -14
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +15 -15
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +16 -16
- package/togglebutton/togglebutton.min.js +1 -1
- package/tooltip/Tooltip.d.ts +10 -0
- package/tooltip/tooltip.cjs.js +51 -9
- package/tooltip/tooltip.cjs.min.js +1 -1
- package/tooltip/tooltip.esm.js +52 -10
- package/tooltip/tooltip.esm.min.js +1 -1
- package/tooltip/tooltip.js +51 -9
- package/tooltip/tooltip.min.js +1 -1
- package/tree/Tree.d.ts +137 -0
- package/tree/Tree.vue +12 -9
- package/tree/TreeNode.vue +23 -10
- package/tree/tree.cjs.js +85 -79
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +85 -80
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +86 -81
- package/tree/tree.min.js +1 -1
- package/treeselect/TreeSelect.d.ts +104 -3
- package/treeselect/TreeSelect.vue +15 -12
- package/treeselect/treeselect.cjs.js +37 -39
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +37 -40
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +38 -41
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/BodyCell.vue +38 -10
- package/treetable/FooterCell.vue +15 -1
- package/treetable/HeaderCell.vue +28 -5
- package/treetable/TreeTable.d.ts +162 -0
- package/treetable/TreeTable.vue +25 -19
- package/treetable/TreeTableRow.vue +5 -0
- package/treetable/treetable.cjs.js +205 -158
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +205 -159
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +206 -160
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/TriStateCheckbox.d.ts +93 -0
- package/tristatecheckbox/TriStateCheckbox.vue +19 -8
- package/tristatecheckbox/tristatecheckbox.cjs.js +31 -22
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +31 -23
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +32 -24
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/ts-helpers.d.ts +3 -1
- package/vetur-attributes.json +340 -0
- package/vetur-tags.json +173 -73
- package/virtualscroller/VirtualScroller.d.ts +97 -0
- package/virtualscroller/VirtualScroller.vue +7 -5
- package/virtualscroller/virtualscroller.cjs.js +22 -19
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +22 -20
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +23 -21
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +873 -7
- package/datatable/TableLoadingBody.vue +0 -25
package/core/core.js
CHANGED
|
@@ -1705,7 +1705,8 @@ this.primevue.config = (function (exports, api, vue) {
|
|
|
1705
1705
|
overlay: 1000,
|
|
1706
1706
|
menu: 1000,
|
|
1707
1707
|
tooltip: 1100
|
|
1708
|
-
}
|
|
1708
|
+
},
|
|
1709
|
+
pt: undefined
|
|
1709
1710
|
};
|
|
1710
1711
|
|
|
1711
1712
|
const PrimeVueSymbol = Symbol();
|
|
@@ -1752,6 +1753,7 @@ this.primevue.config = (function (exports, api, vue) {
|
|
|
1752
1753
|
};
|
|
1753
1754
|
|
|
1754
1755
|
exports["default"] = PrimeVue;
|
|
1756
|
+
exports.defaultOptions = defaultOptions;
|
|
1755
1757
|
exports.usePrimeVue = usePrimeVue;
|
|
1756
1758
|
|
|
1757
1759
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
@@ -1912,7 +1914,7 @@ this.primevue.portal = (function (utils, vue) {
|
|
|
1912
1914
|
})(primevue.utils, Vue);
|
|
1913
1915
|
|
|
1914
1916
|
this.primevue = this.primevue || {};
|
|
1915
|
-
this.primevue.basecomponent = (function (utils) {
|
|
1917
|
+
this.primevue.basecomponent = (function (utils, vue) {
|
|
1916
1918
|
'use strict';
|
|
1917
1919
|
|
|
1918
1920
|
var script = {
|
|
@@ -1920,27 +1922,47 @@ this.primevue.basecomponent = (function (utils) {
|
|
|
1920
1922
|
props: {
|
|
1921
1923
|
pt: {
|
|
1922
1924
|
type: Object,
|
|
1923
|
-
|
|
1925
|
+
default: undefined
|
|
1924
1926
|
}
|
|
1925
1927
|
},
|
|
1926
1928
|
methods: {
|
|
1927
|
-
|
|
1929
|
+
getOption(obj = {}, key = '') {
|
|
1928
1930
|
const fKey = utils.ObjectUtils.convertToFlatCase(key);
|
|
1929
1931
|
|
|
1930
1932
|
return obj[Object.keys(obj).find((k) => utils.ObjectUtils.convertToFlatCase(k) === fKey) || ''];
|
|
1931
1933
|
},
|
|
1934
|
+
getPTValue(obj = {}, key = '', params = {}) {
|
|
1935
|
+
const self = utils.ObjectUtils.getItemValue(this.getOption(obj, key), params);
|
|
1936
|
+
const globalPT = utils.ObjectUtils.getItemValue(this.getOption(this.defaultPT, key), params);
|
|
1937
|
+
const merged = vue.mergeProps(self, globalPT);
|
|
1938
|
+
|
|
1939
|
+
return merged;
|
|
1940
|
+
/*
|
|
1941
|
+
* @todo: The 'class' option in self can always be more powerful to style the component easily.
|
|
1942
|
+
*
|
|
1943
|
+
* return self && self['class'] ? { ...merged, ...{ class: self['class'] } } : merged;
|
|
1944
|
+
*/
|
|
1945
|
+
},
|
|
1932
1946
|
ptm(key = '', params = {}) {
|
|
1933
|
-
return
|
|
1947
|
+
return this.getPTValue(this.pt, key, { props: this.$props, state: this.$data, ...params });
|
|
1934
1948
|
},
|
|
1935
1949
|
ptmo(obj = {}, key = '', params = {}) {
|
|
1936
|
-
return
|
|
1950
|
+
return this.getPTValue(obj, key, params);
|
|
1951
|
+
}
|
|
1952
|
+
},
|
|
1953
|
+
computed: {
|
|
1954
|
+
defaultPT() {
|
|
1955
|
+
return utils.ObjectUtils.getItemValue(this.getOption(this.$primevue.config.pt, this.$.type.name), this.defaultsParams);
|
|
1956
|
+
},
|
|
1957
|
+
defaultsParams() {
|
|
1958
|
+
return { instance: this.$ };
|
|
1937
1959
|
}
|
|
1938
1960
|
}
|
|
1939
1961
|
};
|
|
1940
1962
|
|
|
1941
1963
|
return script;
|
|
1942
1964
|
|
|
1943
|
-
})(primevue.utils);
|
|
1965
|
+
})(primevue.utils, Vue);
|
|
1944
1966
|
|
|
1945
1967
|
this.primevue = this.primevue || {};
|
|
1946
1968
|
this.primevue.baseicon = (function (utils) {
|
|
@@ -1951,11 +1973,11 @@ this.primevue.baseicon = (function (utils) {
|
|
|
1951
1973
|
props: {
|
|
1952
1974
|
label: {
|
|
1953
1975
|
type: String,
|
|
1954
|
-
|
|
1976
|
+
default: undefined
|
|
1955
1977
|
},
|
|
1956
1978
|
spin: {
|
|
1957
1979
|
type: Boolean,
|
|
1958
|
-
|
|
1980
|
+
default: false
|
|
1959
1981
|
}
|
|
1960
1982
|
},
|
|
1961
1983
|
methods: {
|
|
@@ -4033,6 +4055,8 @@ this.primevue = this.primevue || {};
|
|
|
4033
4055
|
this.primevue.tooltip = (function (utils) {
|
|
4034
4056
|
'use strict';
|
|
4035
4057
|
|
|
4058
|
+
let timer;
|
|
4059
|
+
|
|
4036
4060
|
function bindEvents(el) {
|
|
4037
4061
|
const modifiers = el.$_ptooltipModifiers;
|
|
4038
4062
|
|
|
@@ -4080,30 +4104,45 @@ this.primevue.tooltip = (function (utils) {
|
|
|
4080
4104
|
}
|
|
4081
4105
|
|
|
4082
4106
|
function onMouseEnter(event) {
|
|
4083
|
-
|
|
4107
|
+
const el = event.currentTarget;
|
|
4108
|
+
const showDelay = el.$_ptooltipShowDelay;
|
|
4109
|
+
|
|
4110
|
+
show(el, showDelay);
|
|
4084
4111
|
}
|
|
4085
4112
|
|
|
4086
4113
|
function onMouseLeave(event) {
|
|
4087
|
-
|
|
4114
|
+
const el = event.currentTarget;
|
|
4115
|
+
const hideDelay = el.$_ptooltipHideDelay;
|
|
4116
|
+
|
|
4117
|
+
hide(el, hideDelay);
|
|
4088
4118
|
}
|
|
4089
4119
|
|
|
4090
4120
|
function onFocus(event) {
|
|
4091
|
-
|
|
4121
|
+
const el = event.currentTarget;
|
|
4122
|
+
const showDelay = el.$_ptooltipShowDelay;
|
|
4123
|
+
|
|
4124
|
+
show(el, showDelay);
|
|
4092
4125
|
}
|
|
4093
4126
|
|
|
4094
4127
|
function onBlur(event) {
|
|
4095
|
-
|
|
4128
|
+
const el = event.currentTarget;
|
|
4129
|
+
const hideDelay = el.$_ptooltipHideDelay;
|
|
4130
|
+
|
|
4131
|
+
hide(el, hideDelay);
|
|
4096
4132
|
}
|
|
4097
4133
|
|
|
4098
4134
|
function onClick(event) {
|
|
4099
|
-
|
|
4135
|
+
const el = event.currentTarget;
|
|
4136
|
+
const hideDelay = el.$_ptooltipHideDelay;
|
|
4137
|
+
|
|
4138
|
+
hide(el, hideDelay);
|
|
4100
4139
|
}
|
|
4101
4140
|
|
|
4102
4141
|
function onKeydown(event) {
|
|
4103
|
-
event.code === 'Escape' && hide(event.currentTarget);
|
|
4142
|
+
event.code === 'Escape' && hide(event.currentTarget, hideDelay);
|
|
4104
4143
|
}
|
|
4105
4144
|
|
|
4106
|
-
function
|
|
4145
|
+
function tooltipActions(el) {
|
|
4107
4146
|
if (el.$_ptooltipDisabled) {
|
|
4108
4147
|
return;
|
|
4109
4148
|
}
|
|
@@ -4125,11 +4164,29 @@ this.primevue.tooltip = (function (utils) {
|
|
|
4125
4164
|
utils.ZIndexUtils.set('tooltip', tooltipElement, el.$_ptooltipZIndex);
|
|
4126
4165
|
}
|
|
4127
4166
|
|
|
4128
|
-
function
|
|
4167
|
+
function show(el, showDelay) {
|
|
4168
|
+
if (showDelay !== undefined) {
|
|
4169
|
+
timer = setTimeout(() => tooltipActions(el), showDelay);
|
|
4170
|
+
} else {
|
|
4171
|
+
tooltipActions(el);
|
|
4172
|
+
}
|
|
4173
|
+
}
|
|
4174
|
+
|
|
4175
|
+
function tooltipRemoval(el) {
|
|
4129
4176
|
remove(el);
|
|
4130
4177
|
unbindScrollListener(el);
|
|
4131
4178
|
}
|
|
4132
4179
|
|
|
4180
|
+
function hide(el, hideDelay) {
|
|
4181
|
+
clearTimeout(timer);
|
|
4182
|
+
|
|
4183
|
+
if (hideDelay !== undefined) {
|
|
4184
|
+
setTimeout(() => tooltipRemoval(el), hideDelay);
|
|
4185
|
+
} else {
|
|
4186
|
+
tooltipRemoval(el);
|
|
4187
|
+
}
|
|
4188
|
+
}
|
|
4189
|
+
|
|
4133
4190
|
function getTooltipElement(el) {
|
|
4134
4191
|
return document.getElementById(el.$_ptooltipId);
|
|
4135
4192
|
}
|
|
@@ -4354,7 +4411,8 @@ this.primevue.tooltip = (function (utils) {
|
|
|
4354
4411
|
target.$_ptooltipEscape = false;
|
|
4355
4412
|
target.$_ptooltipClass = null;
|
|
4356
4413
|
target.$_ptooltipFitContent = true;
|
|
4357
|
-
target.$
|
|
4414
|
+
target.$_ptooltipShowDelay = 0;
|
|
4415
|
+
target.$_ptooltipHideDelay = 0;
|
|
4358
4416
|
} else if (typeof options.value === 'object' && options.value) {
|
|
4359
4417
|
if (utils.ObjectUtils.isEmpty(options.value.value) || options.value.value.trim() === '') return;
|
|
4360
4418
|
else {
|
|
@@ -4365,6 +4423,8 @@ this.primevue.tooltip = (function (utils) {
|
|
|
4365
4423
|
target.$_ptooltipClass = options.value.class;
|
|
4366
4424
|
target.$_ptooltipFitContent = !!options.value.fitContent === options.value.fitContent ? options.value.fitContent : true;
|
|
4367
4425
|
target.$_ptooltipIdAttr = options.value.id || '';
|
|
4426
|
+
target.$_ptooltipShowDelay = options.value.showDelay || 0;
|
|
4427
|
+
target.$_ptooltipHideDelay = options.value.hideDelay || 0;
|
|
4368
4428
|
}
|
|
4369
4429
|
}
|
|
4370
4430
|
|
|
@@ -4396,6 +4456,8 @@ this.primevue.tooltip = (function (utils) {
|
|
|
4396
4456
|
target.$_ptooltipEscape = false;
|
|
4397
4457
|
target.$_ptooltipClass = null;
|
|
4398
4458
|
target.$_ptooltipIdAttr = '';
|
|
4459
|
+
target.$_ptooltipShowDelay = 0;
|
|
4460
|
+
target.$_ptooltipHideDelay = 0;
|
|
4399
4461
|
|
|
4400
4462
|
bindEvents(target);
|
|
4401
4463
|
} else if (typeof options.value === 'object' && options.value) {
|
|
@@ -4410,6 +4472,8 @@ this.primevue.tooltip = (function (utils) {
|
|
|
4410
4472
|
target.$_ptooltipClass = options.value.class;
|
|
4411
4473
|
target.$_ptooltipFitContent = !!options.value.fitContent === options.value.fitContent ? options.value.fitContent : true;
|
|
4412
4474
|
target.$_ptooltipIdAttr = options.value.id || '';
|
|
4475
|
+
target.$_ptooltipShowDelay = options.value.showDelay || 0;
|
|
4476
|
+
target.$_ptooltipHideDelay = options.value.hideDelay || 0;
|
|
4413
4477
|
|
|
4414
4478
|
bindEvents(target);
|
|
4415
4479
|
}
|
|
@@ -4541,15 +4605,17 @@ this.primevue.focustrap = (function (utils) {
|
|
|
4541
4605
|
})(primevue.utils);
|
|
4542
4606
|
|
|
4543
4607
|
this.primevue = this.primevue || {};
|
|
4544
|
-
this.primevue.virtualscroller = (function (SpinnerIcon, utils, vue) {
|
|
4608
|
+
this.primevue.virtualscroller = (function (BaseComponent, SpinnerIcon, utils, vue) {
|
|
4545
4609
|
'use strict';
|
|
4546
4610
|
|
|
4547
4611
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
4548
4612
|
|
|
4613
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
4549
4614
|
var SpinnerIcon__default = /*#__PURE__*/_interopDefaultLegacy(SpinnerIcon);
|
|
4550
4615
|
|
|
4551
4616
|
var script = {
|
|
4552
4617
|
name: 'VirtualScroller',
|
|
4618
|
+
extends: BaseComponent__default["default"],
|
|
4553
4619
|
emits: ['update:numToleratedItems', 'scroll', 'scroll-index-change', 'lazy-load'],
|
|
4554
4620
|
props: {
|
|
4555
4621
|
id: {
|
|
@@ -5258,14 +5324,14 @@ this.primevue.virtualscroller = (function (SpinnerIcon, utils, vue) {
|
|
|
5258
5324
|
const _component_SpinnerIcon = vue.resolveComponent("SpinnerIcon");
|
|
5259
5325
|
|
|
5260
5326
|
return (!$props.disabled)
|
|
5261
|
-
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
5327
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
5262
5328
|
key: 0,
|
|
5263
5329
|
ref: $options.elementRef,
|
|
5264
|
-
class:
|
|
5330
|
+
class: $options.containerClass,
|
|
5265
5331
|
tabindex: $props.tabindex,
|
|
5266
|
-
style:
|
|
5332
|
+
style: $props.style,
|
|
5267
5333
|
onScroll: _cache[0] || (_cache[0] = (...args) => ($options.onScroll && $options.onScroll(...args)))
|
|
5268
|
-
}, [
|
|
5334
|
+
}, _ctx.ptm('root')), [
|
|
5269
5335
|
vue.renderSlot(_ctx.$slots, "content", {
|
|
5270
5336
|
styleClass: $options.contentClass,
|
|
5271
5337
|
items: $options.loadedItems,
|
|
@@ -5282,11 +5348,11 @@ this.primevue.virtualscroller = (function (SpinnerIcon, utils, vue) {
|
|
|
5282
5348
|
horizontal: $options.isHorizontal(),
|
|
5283
5349
|
both: $options.isBoth()
|
|
5284
5350
|
}, () => [
|
|
5285
|
-
vue.createElementVNode("div", {
|
|
5351
|
+
vue.createElementVNode("div", vue.mergeProps({
|
|
5286
5352
|
ref: $options.contentRef,
|
|
5287
|
-
class:
|
|
5288
|
-
style:
|
|
5289
|
-
}, [
|
|
5353
|
+
class: $options.contentClass,
|
|
5354
|
+
style: $data.contentStyle
|
|
5355
|
+
}, _ctx.ptm('content')), [
|
|
5290
5356
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($options.loadedItems, (item, index) => {
|
|
5291
5357
|
return vue.renderSlot(_ctx.$slots, "item", {
|
|
5292
5358
|
key: index,
|
|
@@ -5294,20 +5360,20 @@ this.primevue.virtualscroller = (function (SpinnerIcon, utils, vue) {
|
|
|
5294
5360
|
options: $options.getOptions(index)
|
|
5295
5361
|
})
|
|
5296
5362
|
}), 128))
|
|
5297
|
-
],
|
|
5363
|
+
], 16)
|
|
5298
5364
|
]),
|
|
5299
5365
|
($props.showSpacer)
|
|
5300
|
-
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
5366
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
5301
5367
|
key: 0,
|
|
5302
5368
|
class: "p-virtualscroller-spacer",
|
|
5303
|
-
style:
|
|
5304
|
-
}, null,
|
|
5369
|
+
style: $data.spacerStyle
|
|
5370
|
+
}, _ctx.ptm('spacer')), null, 16))
|
|
5305
5371
|
: vue.createCommentVNode("", true),
|
|
5306
5372
|
(!$props.loaderDisabled && $props.showLoader && $data.d_loading)
|
|
5307
|
-
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
5373
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
5308
5374
|
key: 1,
|
|
5309
|
-
class:
|
|
5310
|
-
}, [
|
|
5375
|
+
class: $options.loaderClass
|
|
5376
|
+
}, _ctx.ptm('loader')), [
|
|
5311
5377
|
(_ctx.$slots && _ctx.$slots.loader)
|
|
5312
5378
|
? (vue.openBlock(true), vue.createElementBlock(vue.Fragment, { key: 0 }, vue.renderList($data.loaderArr, (_, index) => {
|
|
5313
5379
|
return vue.renderSlot(_ctx.$slots, "loader", {
|
|
@@ -5317,14 +5383,14 @@ this.primevue.virtualscroller = (function (SpinnerIcon, utils, vue) {
|
|
|
5317
5383
|
}), 128))
|
|
5318
5384
|
: vue.createCommentVNode("", true),
|
|
5319
5385
|
vue.renderSlot(_ctx.$slots, "loadingicon", {}, () => [
|
|
5320
|
-
vue.createVNode(_component_SpinnerIcon, {
|
|
5386
|
+
vue.createVNode(_component_SpinnerIcon, vue.mergeProps({
|
|
5321
5387
|
spin: "",
|
|
5322
5388
|
class: "p-virtualscroller-loading-icon"
|
|
5323
|
-
})
|
|
5389
|
+
}, _ctx.ptm('loadingIcon')), null, 16)
|
|
5324
5390
|
])
|
|
5325
|
-
],
|
|
5391
|
+
], 16))
|
|
5326
5392
|
: vue.createCommentVNode("", true)
|
|
5327
|
-
],
|
|
5393
|
+
], 16, _hoisted_1))
|
|
5328
5394
|
: (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
5329
5395
|
vue.renderSlot(_ctx.$slots, "default"),
|
|
5330
5396
|
vue.renderSlot(_ctx.$slots, "content", {
|
|
@@ -5369,7 +5435,7 @@ this.primevue.virtualscroller = (function (SpinnerIcon, utils, vue) {
|
|
|
5369
5435
|
|
|
5370
5436
|
return script;
|
|
5371
5437
|
|
|
5372
|
-
})(primevue.icons.spinner, primevue.utils, Vue);
|
|
5438
|
+
})(primevue.basecomponent, primevue.icons.spinner, primevue.utils, Vue);
|
|
5373
5439
|
|
|
5374
5440
|
this.primevue = this.primevue || {};
|
|
5375
5441
|
this.primevue.confirmationeventbus = (function (utils) {
|
|
@@ -5497,16 +5563,18 @@ this.primevue.usedialog = (function (exports, vue) {
|
|
|
5497
5563
|
})({}, Vue);
|
|
5498
5564
|
|
|
5499
5565
|
this.primevue = this.primevue || {};
|
|
5500
|
-
this.primevue.button = (function (SpinnerIcon, Ripple, vue) {
|
|
5566
|
+
this.primevue.button = (function (BaseComponent, SpinnerIcon, Ripple, vue) {
|
|
5501
5567
|
'use strict';
|
|
5502
5568
|
|
|
5503
5569
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
5504
5570
|
|
|
5571
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
5505
5572
|
var SpinnerIcon__default = /*#__PURE__*/_interopDefaultLegacy(SpinnerIcon);
|
|
5506
5573
|
var Ripple__default = /*#__PURE__*/_interopDefaultLegacy(Ripple);
|
|
5507
5574
|
|
|
5508
5575
|
var script = {
|
|
5509
5576
|
name: 'Button',
|
|
5577
|
+
extends: BaseComponent__default["default"],
|
|
5510
5578
|
props: {
|
|
5511
5579
|
label: {
|
|
5512
5580
|
type: String,
|
|
@@ -5638,58 +5706,54 @@ this.primevue.button = (function (SpinnerIcon, Ripple, vue) {
|
|
|
5638
5706
|
};
|
|
5639
5707
|
|
|
5640
5708
|
const _hoisted_1 = ["aria-label", "disabled"];
|
|
5641
|
-
const _hoisted_2 = { class: "p-button-label" };
|
|
5642
5709
|
|
|
5643
5710
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5644
5711
|
const _component_SpinnerIcon = vue.resolveComponent("SpinnerIcon");
|
|
5645
5712
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
5646
5713
|
|
|
5647
|
-
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
5648
|
-
class:
|
|
5714
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
5715
|
+
class: $options.buttonClass,
|
|
5649
5716
|
type: "button",
|
|
5650
5717
|
"aria-label": $options.defaultAriaLabel,
|
|
5651
5718
|
disabled: $options.disabled
|
|
5652
|
-
}, [
|
|
5653
|
-
vue.renderSlot(_ctx.$slots, "default")
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
:
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
: vue.
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5676
|
-
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5683
|
-
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
], 64))
|
|
5691
|
-
: vue.createCommentVNode("", true)
|
|
5692
|
-
], 10, _hoisted_1)), [
|
|
5719
|
+
}, _ctx.ptm('root')), [
|
|
5720
|
+
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
5721
|
+
($props.loading)
|
|
5722
|
+
? vue.renderSlot(_ctx.$slots, "loadingicon", {
|
|
5723
|
+
key: 0,
|
|
5724
|
+
class: vue.normalizeClass($options.loadingIconStyleClass)
|
|
5725
|
+
}, () => [
|
|
5726
|
+
($props.loadingIcon)
|
|
5727
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
5728
|
+
key: 0,
|
|
5729
|
+
class: [$options.loadingIconStyleClass, $props.loadingIcon]
|
|
5730
|
+
}, _ctx.ptm('loadingIcon')), null, 16))
|
|
5731
|
+
: (vue.openBlock(), vue.createBlock(_component_SpinnerIcon, vue.mergeProps({
|
|
5732
|
+
key: 1,
|
|
5733
|
+
class: $options.loadingIconStyleClass,
|
|
5734
|
+
spin: ""
|
|
5735
|
+
}, _ctx.ptm('loadingIcon')), null, 16, ["class"]))
|
|
5736
|
+
])
|
|
5737
|
+
: vue.renderSlot(_ctx.$slots, "icon", {
|
|
5738
|
+
key: 1,
|
|
5739
|
+
class: vue.normalizeClass($options.iconStyleClass)
|
|
5740
|
+
}, () => [
|
|
5741
|
+
($props.icon)
|
|
5742
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
5743
|
+
key: 0,
|
|
5744
|
+
class: [$options.iconStyleClass, $props.icon]
|
|
5745
|
+
}, _ctx.ptm('icon')), null, 16))
|
|
5746
|
+
: vue.createCommentVNode("", true)
|
|
5747
|
+
]),
|
|
5748
|
+
vue.createElementVNode("span", vue.mergeProps({ class: "p-button-label" }, _ctx.ptm('label')), vue.toDisplayString($props.label || ' '), 17),
|
|
5749
|
+
($props.badge)
|
|
5750
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
5751
|
+
key: 2,
|
|
5752
|
+
class: $options.badgeStyleClass
|
|
5753
|
+
}, _ctx.ptm('badge')), vue.toDisplayString($props.badge), 17))
|
|
5754
|
+
: vue.createCommentVNode("", true)
|
|
5755
|
+
])
|
|
5756
|
+
], 16, _hoisted_1)), [
|
|
5693
5757
|
[_directive_ripple]
|
|
5694
5758
|
])
|
|
5695
5759
|
}
|
|
@@ -5698,14 +5762,19 @@ this.primevue.button = (function (SpinnerIcon, Ripple, vue) {
|
|
|
5698
5762
|
|
|
5699
5763
|
return script;
|
|
5700
5764
|
|
|
5701
|
-
})(primevue.icons.spinner, primevue.ripple, Vue);
|
|
5765
|
+
})(primevue.basecomponent, primevue.icons.spinner, primevue.ripple, Vue);
|
|
5702
5766
|
|
|
5703
5767
|
this.primevue = this.primevue || {};
|
|
5704
|
-
this.primevue.inputtext = (function (vue) {
|
|
5768
|
+
this.primevue.inputtext = (function (BaseComponent, vue) {
|
|
5705
5769
|
'use strict';
|
|
5706
5770
|
|
|
5771
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
5772
|
+
|
|
5773
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
5774
|
+
|
|
5707
5775
|
var script = {
|
|
5708
5776
|
name: 'InputText',
|
|
5777
|
+
extends: BaseComponent__default["default"],
|
|
5709
5778
|
emits: ['update:modelValue'],
|
|
5710
5779
|
props: {
|
|
5711
5780
|
modelValue: null
|
|
@@ -5725,25 +5794,26 @@ this.primevue.inputtext = (function (vue) {
|
|
|
5725
5794
|
const _hoisted_1 = ["value"];
|
|
5726
5795
|
|
|
5727
5796
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5728
|
-
return (vue.openBlock(), vue.createElementBlock("input", {
|
|
5729
|
-
class:
|
|
5797
|
+
return (vue.openBlock(), vue.createElementBlock("input", vue.mergeProps({
|
|
5798
|
+
class: ['p-inputtext p-component', { 'p-filled': $options.filled }],
|
|
5730
5799
|
value: $props.modelValue,
|
|
5731
5800
|
onInput: _cache[0] || (_cache[0] = (...args) => ($options.onInput && $options.onInput(...args)))
|
|
5732
|
-
}, null,
|
|
5801
|
+
}, _ctx.ptm('root')), null, 16, _hoisted_1))
|
|
5733
5802
|
}
|
|
5734
5803
|
|
|
5735
5804
|
script.render = render;
|
|
5736
5805
|
|
|
5737
5806
|
return script;
|
|
5738
5807
|
|
|
5739
|
-
})(Vue);
|
|
5808
|
+
})(primevue.basecomponent, Vue);
|
|
5740
5809
|
|
|
5741
5810
|
this.primevue = this.primevue || {};
|
|
5742
|
-
this.primevue.inputnumber = (function (Button, AngleDownIcon, AngleUpIcon, InputText, utils, vue) {
|
|
5811
|
+
this.primevue.inputnumber = (function (BaseComponent, Button, AngleDownIcon, AngleUpIcon, InputText, utils, vue) {
|
|
5743
5812
|
'use strict';
|
|
5744
5813
|
|
|
5745
5814
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
5746
5815
|
|
|
5816
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
5747
5817
|
var Button__default = /*#__PURE__*/_interopDefaultLegacy(Button);
|
|
5748
5818
|
var AngleDownIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleDownIcon);
|
|
5749
5819
|
var AngleUpIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleUpIcon);
|
|
@@ -5751,6 +5821,7 @@ this.primevue.inputnumber = (function (Button, AngleDownIcon, AngleUpIcon, Input
|
|
|
5751
5821
|
|
|
5752
5822
|
var script = {
|
|
5753
5823
|
name: 'InputNumber',
|
|
5824
|
+
extends: BaseComponent__default["default"],
|
|
5754
5825
|
emits: ['update:modelValue', 'input', 'focus', 'blur'],
|
|
5755
5826
|
props: {
|
|
5756
5827
|
modelValue: {
|
|
@@ -6810,18 +6881,11 @@ this.primevue.inputnumber = (function (Button, AngleDownIcon, AngleUpIcon, Input
|
|
|
6810
6881
|
}
|
|
6811
6882
|
};
|
|
6812
6883
|
|
|
6813
|
-
const _hoisted_1 = {
|
|
6814
|
-
key: 0,
|
|
6815
|
-
class: "p-inputnumber-button-group"
|
|
6816
|
-
};
|
|
6817
|
-
|
|
6818
6884
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6819
6885
|
const _component_INInputText = vue.resolveComponent("INInputText");
|
|
6820
6886
|
const _component_INButton = vue.resolveComponent("INButton");
|
|
6821
6887
|
|
|
6822
|
-
return (vue.openBlock(), vue.createElementBlock("span", {
|
|
6823
|
-
class: vue.normalizeClass($options.containerClass)
|
|
6824
|
-
}, [
|
|
6888
|
+
return (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({ class: $options.containerClass }, _ctx.ptm('root')), [
|
|
6825
6889
|
vue.createVNode(_component_INInputText, vue.mergeProps({
|
|
6826
6890
|
ref: "input",
|
|
6827
6891
|
id: $props.inputId,
|
|
@@ -6844,19 +6908,20 @@ this.primevue.inputnumber = (function (Button, AngleDownIcon, AngleUpIcon, Input
|
|
|
6844
6908
|
onClick: $options.onInputClick,
|
|
6845
6909
|
onFocus: $options.onInputFocus,
|
|
6846
6910
|
onBlur: $options.onInputBlur
|
|
6847
|
-
},
|
|
6911
|
+
}, { ...$props.inputProps, ..._ctx.ptm('input') }), null, 16, ["id", "class", "style", "value", "aria-valuemin", "aria-valuemax", "aria-valuenow", "disabled", "readonly", "placeholder", "aria-labelledby", "aria-label", "onInput", "onKeydown", "onKeypress", "onPaste", "onClick", "onFocus", "onBlur"]),
|
|
6848
6912
|
($props.showButtons && $props.buttonLayout === 'stacked')
|
|
6849
|
-
? (vue.openBlock(), vue.createElementBlock("span",
|
|
6913
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
6914
|
+
key: 0,
|
|
6915
|
+
class: "p-inputnumber-button-group"
|
|
6916
|
+
}, _ctx.ptm('buttonGroup')), [
|
|
6850
6917
|
vue.createVNode(_component_INButton, vue.mergeProps({ class: $options.upButtonClass }, vue.toHandlers($options.upButtonListeners), {
|
|
6851
6918
|
disabled: $props.disabled,
|
|
6852
6919
|
tabindex: -1,
|
|
6853
6920
|
"aria-hidden": "true"
|
|
6854
|
-
},
|
|
6921
|
+
}, { ...$props.incrementButtonProps, ..._ctx.ptm('incrementButton') }), {
|
|
6855
6922
|
icon: vue.withCtx(() => [
|
|
6856
6923
|
vue.renderSlot(_ctx.$slots, "incrementbuttonicon", {}, () => [
|
|
6857
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.incrementButtonIcon ? 'span' : 'AngleUpIcon'), {
|
|
6858
|
-
class: vue.normalizeClass($props.incrementButtonIcon)
|
|
6859
|
-
}, null, 8, ["class"]))
|
|
6924
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.incrementButtonIcon ? 'span' : 'AngleUpIcon'), vue.mergeProps({ class: $props.incrementButtonIcon }, _ctx.ptm('incrementButton')['icon']), null, 16, ["class"]))
|
|
6860
6925
|
])
|
|
6861
6926
|
]),
|
|
6862
6927
|
_: 3
|
|
@@ -6865,17 +6930,15 @@ this.primevue.inputnumber = (function (Button, AngleDownIcon, AngleUpIcon, Input
|
|
|
6865
6930
|
disabled: $props.disabled,
|
|
6866
6931
|
tabindex: -1,
|
|
6867
6932
|
"aria-hidden": "true"
|
|
6868
|
-
},
|
|
6933
|
+
}, { ...$props.decrementButtonProps, ..._ctx.ptm('decrementButton') }), {
|
|
6869
6934
|
icon: vue.withCtx(() => [
|
|
6870
6935
|
vue.renderSlot(_ctx.$slots, "decrementbuttonicon", {}, () => [
|
|
6871
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.decrementButtonIcon ? 'span' : 'AngleDownIcon'), {
|
|
6872
|
-
class: vue.normalizeClass($props.decrementButtonIcon)
|
|
6873
|
-
}, null, 8, ["class"]))
|
|
6936
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.decrementButtonIcon ? 'span' : 'AngleDownIcon'), vue.mergeProps({ class: $props.decrementButtonIcon }, _ctx.ptm('decrementButton')['icon']), null, 16, ["class"]))
|
|
6874
6937
|
])
|
|
6875
6938
|
]),
|
|
6876
6939
|
_: 3
|
|
6877
6940
|
}, 16, ["class", "disabled"])
|
|
6878
|
-
]))
|
|
6941
|
+
], 16))
|
|
6879
6942
|
: vue.createCommentVNode("", true),
|
|
6880
6943
|
($props.showButtons && $props.buttonLayout !== 'stacked')
|
|
6881
6944
|
? (vue.openBlock(), vue.createBlock(_component_INButton, vue.mergeProps({
|
|
@@ -6885,12 +6948,10 @@ this.primevue.inputnumber = (function (Button, AngleDownIcon, AngleUpIcon, Input
|
|
|
6885
6948
|
disabled: $props.disabled,
|
|
6886
6949
|
tabindex: -1,
|
|
6887
6950
|
"aria-hidden": "true"
|
|
6888
|
-
},
|
|
6951
|
+
}, { ...$props.incrementButtonProps, ..._ctx.ptm('incrementButton') }), {
|
|
6889
6952
|
icon: vue.withCtx(() => [
|
|
6890
6953
|
vue.renderSlot(_ctx.$slots, "incrementbuttonicon", {}, () => [
|
|
6891
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.incrementButtonIcon ? 'span' : 'AngleUpIcon'), {
|
|
6892
|
-
class: vue.normalizeClass($props.incrementButtonIcon)
|
|
6893
|
-
}, null, 8, ["class"]))
|
|
6954
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.incrementButtonIcon ? 'span' : 'AngleUpIcon'), vue.mergeProps({ class: $props.incrementButtonIcon }, _ctx.ptm('incrementButton')['icon']), null, 16, ["class"]))
|
|
6894
6955
|
])
|
|
6895
6956
|
]),
|
|
6896
6957
|
_: 3
|
|
@@ -6904,18 +6965,16 @@ this.primevue.inputnumber = (function (Button, AngleDownIcon, AngleUpIcon, Input
|
|
|
6904
6965
|
disabled: $props.disabled,
|
|
6905
6966
|
tabindex: -1,
|
|
6906
6967
|
"aria-hidden": "true"
|
|
6907
|
-
},
|
|
6968
|
+
}, { ...$props.decrementButtonProps, ..._ctx.ptm('decrementButton') }), {
|
|
6908
6969
|
icon: vue.withCtx(() => [
|
|
6909
6970
|
vue.renderSlot(_ctx.$slots, "decrementbuttonicon", {}, () => [
|
|
6910
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.decrementButtonIcon ? 'span' : 'AngleDownIcon'), {
|
|
6911
|
-
class: vue.normalizeClass($props.decrementButtonIcon)
|
|
6912
|
-
}, null, 8, ["class"]))
|
|
6971
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.decrementButtonIcon ? 'span' : 'AngleDownIcon'), vue.mergeProps({ class: $props.decrementButtonIcon }, _ctx.ptm('decrementButton')['icon']), null, 16, ["class"]))
|
|
6913
6972
|
])
|
|
6914
6973
|
]),
|
|
6915
6974
|
_: 3
|
|
6916
6975
|
}, 16, ["class", "disabled"]))
|
|
6917
6976
|
: vue.createCommentVNode("", true)
|
|
6918
|
-
],
|
|
6977
|
+
], 16))
|
|
6919
6978
|
}
|
|
6920
6979
|
|
|
6921
6980
|
function styleInject(css, ref) {
|
|
@@ -6952,14 +7011,15 @@ this.primevue.inputnumber = (function (Button, AngleDownIcon, AngleUpIcon, Input
|
|
|
6952
7011
|
|
|
6953
7012
|
return script;
|
|
6954
7013
|
|
|
6955
|
-
})(primevue.button, primevue.icons.angledown, primevue.icons.angleup, primevue.inputtext, primevue.utils, Vue);
|
|
7014
|
+
})(primevue.basecomponent, primevue.button, primevue.icons.angledown, primevue.icons.angleup, primevue.inputtext, primevue.utils, Vue);
|
|
6956
7015
|
|
|
6957
7016
|
this.primevue = this.primevue || {};
|
|
6958
|
-
this.primevue.message = (function (CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesIcon, TimesCircleIcon, Ripple, vue) {
|
|
7017
|
+
this.primevue.message = (function (BaseComponent, CheckIcon, ExclamationTriangleIcon, InfoCircleIcon, TimesIcon, TimesCircleIcon, Ripple, vue) {
|
|
6959
7018
|
'use strict';
|
|
6960
7019
|
|
|
6961
7020
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
6962
7021
|
|
|
7022
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
6963
7023
|
var CheckIcon__default = /*#__PURE__*/_interopDefaultLegacy(CheckIcon);
|
|
6964
7024
|
var ExclamationTriangleIcon__default = /*#__PURE__*/_interopDefaultLegacy(ExclamationTriangleIcon);
|
|
6965
7025
|
var InfoCircleIcon__default = /*#__PURE__*/_interopDefaultLegacy(InfoCircleIcon);
|
|
@@ -6969,6 +7029,7 @@ this.primevue.message = (function (CheckIcon, ExclamationTriangleIcon, InfoCircl
|
|
|
6969
7029
|
|
|
6970
7030
|
var script = {
|
|
6971
7031
|
name: 'Message',
|
|
7032
|
+
extends: BaseComponent__default["default"],
|
|
6972
7033
|
emits: ['close'],
|
|
6973
7034
|
props: {
|
|
6974
7035
|
severity: {
|
|
@@ -7050,9 +7111,7 @@ this.primevue.message = (function (CheckIcon, ExclamationTriangleIcon, InfoCircl
|
|
|
7050
7111
|
}
|
|
7051
7112
|
};
|
|
7052
7113
|
|
|
7053
|
-
const _hoisted_1 =
|
|
7054
|
-
const _hoisted_2 = { class: "p-message-text" };
|
|
7055
|
-
const _hoisted_3 = ["aria-label"];
|
|
7114
|
+
const _hoisted_1 = ["aria-label"];
|
|
7056
7115
|
|
|
7057
7116
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7058
7117
|
const _component_TimesIcon = vue.resolveComponent("TimesIcon");
|
|
@@ -7063,21 +7122,21 @@ this.primevue.message = (function (CheckIcon, ExclamationTriangleIcon, InfoCircl
|
|
|
7063
7122
|
appear: ""
|
|
7064
7123
|
}, {
|
|
7065
7124
|
default: vue.withCtx(() => [
|
|
7066
|
-
vue.withDirectives(vue.createElementVNode("div", {
|
|
7067
|
-
class:
|
|
7125
|
+
vue.withDirectives(vue.createElementVNode("div", vue.mergeProps({
|
|
7126
|
+
class: $options.containerClass,
|
|
7068
7127
|
role: "alert",
|
|
7069
7128
|
"aria-live": "assertive",
|
|
7070
7129
|
"aria-atomic": "true"
|
|
7071
|
-
}, [
|
|
7072
|
-
vue.createElementVNode("div",
|
|
7130
|
+
}, _ctx.ptm('root')), [
|
|
7131
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-message-wrapper" }, _ctx.ptm('wrapper')), [
|
|
7073
7132
|
vue.renderSlot(_ctx.$slots, "messageicon", { class: "p-message-icon" }, () => [
|
|
7074
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.icon ? 'span' : $options.iconComponent), {
|
|
7075
|
-
class:
|
|
7076
|
-
}, null,
|
|
7133
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.icon ? 'span' : $options.iconComponent), vue.mergeProps({
|
|
7134
|
+
class: ['p-message-icon', $props.icon]
|
|
7135
|
+
}, _ctx.ptm('icon')), null, 16, ["class"]))
|
|
7077
7136
|
]),
|
|
7078
|
-
vue.createElementVNode("div",
|
|
7137
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-message-text" }, _ctx.ptm('text')), [
|
|
7079
7138
|
vue.renderSlot(_ctx.$slots, "default")
|
|
7080
|
-
]),
|
|
7139
|
+
], 16),
|
|
7081
7140
|
($props.closable)
|
|
7082
7141
|
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
7083
7142
|
key: 0,
|
|
@@ -7085,24 +7144,24 @@ this.primevue.message = (function (CheckIcon, ExclamationTriangleIcon, InfoCircl
|
|
|
7085
7144
|
"aria-label": $options.closeAriaLabel,
|
|
7086
7145
|
type: "button",
|
|
7087
7146
|
onClick: _cache[0] || (_cache[0] = $event => ($options.close($event)))
|
|
7088
|
-
},
|
|
7147
|
+
}, { ...$props.closeButtonProps, ..._ctx.ptm('button') }), [
|
|
7089
7148
|
vue.renderSlot(_ctx.$slots, "closeicon", { class: "p-message-close-icon" }, () => [
|
|
7090
7149
|
($props.closeIcon)
|
|
7091
|
-
? (vue.openBlock(), vue.createElementBlock("i", {
|
|
7150
|
+
? (vue.openBlock(), vue.createElementBlock("i", vue.mergeProps({
|
|
7092
7151
|
key: 0,
|
|
7093
|
-
class:
|
|
7094
|
-
}, null,
|
|
7095
|
-
: (vue.openBlock(), vue.createBlock(_component_TimesIcon, {
|
|
7152
|
+
class: ['p-message-close-icon', $props.closeIcon]
|
|
7153
|
+
}, _ctx.ptm('buttonIcon')), null, 16))
|
|
7154
|
+
: (vue.openBlock(), vue.createBlock(_component_TimesIcon, vue.mergeProps({
|
|
7096
7155
|
key: 1,
|
|
7097
7156
|
class: "p-message-close-icon"
|
|
7098
|
-
}))
|
|
7157
|
+
}, _ctx.ptm('buttonIcon')), null, 16))
|
|
7099
7158
|
])
|
|
7100
|
-
], 16,
|
|
7159
|
+
], 16, _hoisted_1)), [
|
|
7101
7160
|
[_directive_ripple]
|
|
7102
7161
|
])
|
|
7103
7162
|
: vue.createCommentVNode("", true)
|
|
7104
|
-
])
|
|
7105
|
-
],
|
|
7163
|
+
], 16)
|
|
7164
|
+
], 16), [
|
|
7106
7165
|
[vue.vShow, $data.visible]
|
|
7107
7166
|
])
|
|
7108
7167
|
]),
|
|
@@ -7144,14 +7203,19 @@ this.primevue.message = (function (CheckIcon, ExclamationTriangleIcon, InfoCircl
|
|
|
7144
7203
|
|
|
7145
7204
|
return script;
|
|
7146
7205
|
|
|
7147
|
-
})(primevue.icons.check, primevue.icons.exclamationtriangle, primevue.icons.infocircle, primevue.icons.times, primevue.icons.timescircle, primevue.ripple, Vue);
|
|
7206
|
+
})(primevue.basecomponent, primevue.icons.check, primevue.icons.exclamationtriangle, primevue.icons.infocircle, primevue.icons.times, primevue.icons.timescircle, primevue.ripple, Vue);
|
|
7148
7207
|
|
|
7149
7208
|
this.primevue = this.primevue || {};
|
|
7150
|
-
this.primevue.progressbar = (function (vue) {
|
|
7209
|
+
this.primevue.progressbar = (function (BaseComponent, vue) {
|
|
7151
7210
|
'use strict';
|
|
7152
7211
|
|
|
7212
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
7213
|
+
|
|
7214
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
7215
|
+
|
|
7153
7216
|
var script = {
|
|
7154
7217
|
name: 'ProgressBar',
|
|
7218
|
+
extends: BaseComponent__default["default"],
|
|
7155
7219
|
props: {
|
|
7156
7220
|
value: {
|
|
7157
7221
|
type: Number,
|
|
@@ -7192,46 +7256,42 @@ this.primevue.progressbar = (function (vue) {
|
|
|
7192
7256
|
};
|
|
7193
7257
|
|
|
7194
7258
|
const _hoisted_1 = ["aria-valuenow"];
|
|
7195
|
-
const _hoisted_2 = {
|
|
7196
|
-
key: 0,
|
|
7197
|
-
class: "p-progressbar-label"
|
|
7198
|
-
};
|
|
7199
|
-
const _hoisted_3 = {
|
|
7200
|
-
key: 1,
|
|
7201
|
-
class: "p-progressbar-indeterminate-container"
|
|
7202
|
-
};
|
|
7203
|
-
const _hoisted_4 = /*#__PURE__*/vue.createElementVNode("div", { class: "p-progressbar-value p-progressbar-value-animate" }, null, -1);
|
|
7204
|
-
const _hoisted_5 = [
|
|
7205
|
-
_hoisted_4
|
|
7206
|
-
];
|
|
7207
7259
|
|
|
7208
7260
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7209
|
-
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
7261
|
+
return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
7210
7262
|
role: "progressbar",
|
|
7211
|
-
class:
|
|
7263
|
+
class: $options.containerClass,
|
|
7212
7264
|
"aria-valuemin": "0",
|
|
7213
7265
|
"aria-valuenow": $props.value,
|
|
7214
7266
|
"aria-valuemax": "100"
|
|
7215
|
-
}, [
|
|
7267
|
+
}, _ctx.ptm('root')), [
|
|
7216
7268
|
($options.determinate)
|
|
7217
|
-
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
7269
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
7218
7270
|
key: 0,
|
|
7219
7271
|
class: "p-progressbar-value p-progressbar-value-animate",
|
|
7220
|
-
style:
|
|
7221
|
-
}, [
|
|
7272
|
+
style: $options.progressStyle
|
|
7273
|
+
}, _ctx.ptm('value')), [
|
|
7222
7274
|
($props.value != null && $props.value !== 0 && $props.showValue)
|
|
7223
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
7275
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
7276
|
+
key: 0,
|
|
7277
|
+
class: "p-progressbar-label"
|
|
7278
|
+
}, _ctx.ptm('label')), [
|
|
7224
7279
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
7225
7280
|
vue.createTextVNode(vue.toDisplayString($props.value + '%'), 1)
|
|
7226
7281
|
])
|
|
7227
|
-
]))
|
|
7282
|
+
], 16))
|
|
7228
7283
|
: vue.createCommentVNode("", true)
|
|
7229
|
-
],
|
|
7284
|
+
], 16))
|
|
7230
7285
|
: vue.createCommentVNode("", true),
|
|
7231
7286
|
($options.indeterminate)
|
|
7232
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
7287
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
7288
|
+
key: 1,
|
|
7289
|
+
class: "p-progressbar-indeterminate-container"
|
|
7290
|
+
}, _ctx.ptm('root')), [
|
|
7291
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-progressbar-value p-progressbar-value-animate" }, _ctx.ptm('value')), null, 16)
|
|
7292
|
+
], 16))
|
|
7233
7293
|
: vue.createCommentVNode("", true)
|
|
7234
|
-
],
|
|
7294
|
+
], 16, _hoisted_1))
|
|
7235
7295
|
}
|
|
7236
7296
|
|
|
7237
7297
|
function styleInject(css, ref) {
|
|
@@ -7268,14 +7328,15 @@ this.primevue.progressbar = (function (vue) {
|
|
|
7268
7328
|
|
|
7269
7329
|
return script;
|
|
7270
7330
|
|
|
7271
|
-
})(Vue);
|
|
7331
|
+
})(primevue.basecomponent, Vue);
|
|
7272
7332
|
|
|
7273
7333
|
this.primevue = this.primevue || {};
|
|
7274
|
-
this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIcon, TimesIcon, OverlayEventBus, Portal, Ripple, utils, VirtualScroller, vue) {
|
|
7334
|
+
this.primevue.dropdown = (function (api, BaseComponent, ChevronDownIcon, FilterIcon, SpinnerIcon, TimesIcon, OverlayEventBus, Portal, Ripple, utils, VirtualScroller, vue) {
|
|
7275
7335
|
'use strict';
|
|
7276
7336
|
|
|
7277
7337
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
7278
7338
|
|
|
7339
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
7279
7340
|
var ChevronDownIcon__default = /*#__PURE__*/_interopDefaultLegacy(ChevronDownIcon);
|
|
7280
7341
|
var FilterIcon__default = /*#__PURE__*/_interopDefaultLegacy(FilterIcon);
|
|
7281
7342
|
var SpinnerIcon__default = /*#__PURE__*/_interopDefaultLegacy(SpinnerIcon);
|
|
@@ -7287,6 +7348,7 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
|
|
|
7287
7348
|
|
|
7288
7349
|
var script = {
|
|
7289
7350
|
name: 'Dropdown',
|
|
7351
|
+
extends: BaseComponent__default["default"],
|
|
7290
7352
|
emits: ['update:modelValue', 'change', 'focus', 'blur', 'before-show', 'before-hide', 'show', 'hide', 'filter'],
|
|
7291
7353
|
props: {
|
|
7292
7354
|
modelValue: null,
|
|
@@ -7507,6 +7569,15 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
|
|
|
7507
7569
|
getOptionRenderKey(option, index) {
|
|
7508
7570
|
return (this.dataKey ? utils.ObjectUtils.resolveFieldData(option, this.dataKey) : this.getOptionLabel(option)) + '_' + index;
|
|
7509
7571
|
},
|
|
7572
|
+
getPTOptions(option, itemOptions, index, key) {
|
|
7573
|
+
return this.ptm(key, {
|
|
7574
|
+
context: {
|
|
7575
|
+
selected: this.isSelected(option),
|
|
7576
|
+
focused: this.focusedOptionIndex === this.getOptionIndex(index, itemOptions),
|
|
7577
|
+
disabled: this.isOptionDisabled(option)
|
|
7578
|
+
}
|
|
7579
|
+
});
|
|
7580
|
+
},
|
|
7510
7581
|
isOptionDisabled(option) {
|
|
7511
7582
|
return this.optionDisabled ? utils.ObjectUtils.resolveFieldData(option, this.optionDisabled) : false;
|
|
7512
7583
|
},
|
|
@@ -8074,7 +8145,7 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
|
|
|
8074
8145
|
'p-disabled': this.disabled,
|
|
8075
8146
|
'p-dropdown-clearable': this.showClear && !this.disabled,
|
|
8076
8147
|
'p-focus': this.focused,
|
|
8077
|
-
'p-inputwrapper-filled': this.
|
|
8148
|
+
'p-inputwrapper-filled': this.hasSelectedOption,
|
|
8078
8149
|
'p-inputwrapper-focus': this.focused || this.overlayVisible,
|
|
8079
8150
|
'p-overlay-open': this.overlayVisible
|
|
8080
8151
|
}
|
|
@@ -8191,42 +8262,10 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
|
|
|
8191
8262
|
const _hoisted_1 = ["id"];
|
|
8192
8263
|
const _hoisted_2 = ["id", "value", "placeholder", "tabindex", "disabled", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant"];
|
|
8193
8264
|
const _hoisted_3 = ["id", "tabindex", "aria-label", "aria-labelledby", "aria-expanded", "aria-controls", "aria-activedescendant", "aria-disabled"];
|
|
8194
|
-
const _hoisted_4 =
|
|
8195
|
-
const _hoisted_5 =
|
|
8196
|
-
|
|
8197
|
-
|
|
8198
|
-
};
|
|
8199
|
-
const _hoisted_6 = { class: "p-dropdown-filter-container" };
|
|
8200
|
-
const _hoisted_7 = ["value", "placeholder", "aria-owns", "aria-activedescendant"];
|
|
8201
|
-
const _hoisted_8 = {
|
|
8202
|
-
role: "status",
|
|
8203
|
-
"aria-live": "polite",
|
|
8204
|
-
class: "p-hidden-accessible"
|
|
8205
|
-
};
|
|
8206
|
-
const _hoisted_9 = ["id"];
|
|
8207
|
-
const _hoisted_10 = ["id"];
|
|
8208
|
-
const _hoisted_11 = ["id", "aria-label", "aria-selected", "aria-disabled", "aria-setsize", "aria-posinset", "onClick", "onMousemove"];
|
|
8209
|
-
const _hoisted_12 = {
|
|
8210
|
-
key: 0,
|
|
8211
|
-
class: "p-dropdown-empty-message",
|
|
8212
|
-
role: "option"
|
|
8213
|
-
};
|
|
8214
|
-
const _hoisted_13 = {
|
|
8215
|
-
key: 1,
|
|
8216
|
-
class: "p-dropdown-empty-message",
|
|
8217
|
-
role: "option"
|
|
8218
|
-
};
|
|
8219
|
-
const _hoisted_14 = {
|
|
8220
|
-
key: 1,
|
|
8221
|
-
role: "status",
|
|
8222
|
-
"aria-live": "polite",
|
|
8223
|
-
class: "p-hidden-accessible"
|
|
8224
|
-
};
|
|
8225
|
-
const _hoisted_15 = {
|
|
8226
|
-
role: "status",
|
|
8227
|
-
"aria-live": "polite",
|
|
8228
|
-
class: "p-hidden-accessible"
|
|
8229
|
-
};
|
|
8265
|
+
const _hoisted_4 = ["value", "placeholder", "aria-owns", "aria-activedescendant"];
|
|
8266
|
+
const _hoisted_5 = ["id"];
|
|
8267
|
+
const _hoisted_6 = ["id"];
|
|
8268
|
+
const _hoisted_7 = ["id", "aria-label", "aria-selected", "aria-disabled", "aria-setsize", "aria-posinset", "onClick", "onMousemove"];
|
|
8230
8269
|
|
|
8231
8270
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
8232
8271
|
const _component_SpinnerIcon = vue.resolveComponent("SpinnerIcon");
|
|
@@ -8234,12 +8273,12 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
|
|
|
8234
8273
|
const _component_Portal = vue.resolveComponent("Portal");
|
|
8235
8274
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
8236
8275
|
|
|
8237
|
-
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
8276
|
+
return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
8238
8277
|
ref: "container",
|
|
8239
8278
|
id: $data.id,
|
|
8240
|
-
class:
|
|
8279
|
+
class: $options.containerClass,
|
|
8241
8280
|
onClick: _cache[15] || (_cache[15] = (...args) => ($options.onContainerClick && $options.onContainerClick(...args)))
|
|
8242
|
-
}, [
|
|
8281
|
+
}, _ctx.ptm('root')), [
|
|
8243
8282
|
($props.editable)
|
|
8244
8283
|
? (vue.openBlock(), vue.createElementBlock("input", vue.mergeProps({
|
|
8245
8284
|
key: 0,
|
|
@@ -8264,7 +8303,7 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
|
|
|
8264
8303
|
onBlur: _cache[1] || (_cache[1] = (...args) => ($options.onBlur && $options.onBlur(...args))),
|
|
8265
8304
|
onKeydown: _cache[2] || (_cache[2] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args))),
|
|
8266
8305
|
onInput: _cache[3] || (_cache[3] = (...args) => ($options.onEditableInput && $options.onEditableInput(...args)))
|
|
8267
|
-
},
|
|
8306
|
+
}, { ...$props.inputProps, ..._ctx.ptm('input') }), null, 16, _hoisted_2))
|
|
8268
8307
|
: (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
8269
8308
|
key: 1,
|
|
8270
8309
|
ref: "focusInput",
|
|
@@ -8283,7 +8322,7 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
|
|
|
8283
8322
|
onFocus: _cache[4] || (_cache[4] = (...args) => ($options.onFocus && $options.onFocus(...args))),
|
|
8284
8323
|
onBlur: _cache[5] || (_cache[5] = (...args) => ($options.onBlur && $options.onBlur(...args))),
|
|
8285
8324
|
onKeydown: _cache[6] || (_cache[6] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args)))
|
|
8286
|
-
},
|
|
8325
|
+
}, { ...$props.inputProps, ..._ctx.ptm('input') }), [
|
|
8287
8326
|
vue.renderSlot(_ctx.$slots, "value", {
|
|
8288
8327
|
value: $props.modelValue,
|
|
8289
8328
|
placeholder: $props.placeholder
|
|
@@ -8299,38 +8338,38 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
|
|
|
8299
8338
|
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.clearIcon ? 'i' : 'TimesIcon'), vue.mergeProps({
|
|
8300
8339
|
class: ['p-dropdown-clear-icon', $props.clearIcon],
|
|
8301
8340
|
onClick: $options.onClearClick
|
|
8302
|
-
},
|
|
8341
|
+
}, { ...$props.clearIconProps, ..._ctx.ptm('clearIcon') }), null, 16, ["class", "onClick"]))
|
|
8303
8342
|
])
|
|
8304
8343
|
: vue.createCommentVNode("", true),
|
|
8305
|
-
vue.createElementVNode("div",
|
|
8344
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-dropdown-trigger" }, _ctx.ptm('trigger')), [
|
|
8306
8345
|
($props.loading)
|
|
8307
8346
|
? vue.renderSlot(_ctx.$slots, "loadingicon", {
|
|
8308
8347
|
key: 0,
|
|
8309
8348
|
class: "p-dropdown-trigger-icon"
|
|
8310
8349
|
}, () => [
|
|
8311
8350
|
($props.loadingIcon)
|
|
8312
|
-
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
8351
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
8313
8352
|
key: 0,
|
|
8314
|
-
class:
|
|
8353
|
+
class: ['p-dropdown-trigger-icon pi-spin', $props.loadingIcon],
|
|
8315
8354
|
"aria-hidden": "true"
|
|
8316
|
-
}, null,
|
|
8317
|
-
: (vue.openBlock(), vue.createBlock(_component_SpinnerIcon, {
|
|
8355
|
+
}, _ctx.ptm('loadingIcon')), null, 16))
|
|
8356
|
+
: (vue.openBlock(), vue.createBlock(_component_SpinnerIcon, vue.mergeProps({
|
|
8318
8357
|
key: 1,
|
|
8319
8358
|
class: "p-dropdown-trigger-icon",
|
|
8320
8359
|
spin: "",
|
|
8321
8360
|
"aria-hidden": "true"
|
|
8322
|
-
}))
|
|
8361
|
+
}, _ctx.ptm('loadingIcon')), null, 16))
|
|
8323
8362
|
])
|
|
8324
8363
|
: vue.renderSlot(_ctx.$slots, "dropdownicon", {
|
|
8325
8364
|
key: 1,
|
|
8326
8365
|
class: "p-dropdown-trigger-icon"
|
|
8327
8366
|
}, () => [
|
|
8328
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.dropdownIcon ? 'span' : 'ChevronDownIcon'), {
|
|
8329
|
-
class:
|
|
8367
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.dropdownIcon ? 'span' : 'ChevronDownIcon'), vue.mergeProps({
|
|
8368
|
+
class: ['p-dropdown-trigger-icon', $props.dropdownIcon],
|
|
8330
8369
|
"aria-hidden": "true"
|
|
8331
|
-
}, null,
|
|
8370
|
+
}, _ctx.ptm('dropdownIcon')), null, 16, ["class"]))
|
|
8332
8371
|
])
|
|
8333
|
-
]),
|
|
8372
|
+
], 16),
|
|
8334
8373
|
vue.createVNode(_component_Portal, { appendTo: $props.appendTo }, {
|
|
8335
8374
|
default: vue.withCtx(() => [
|
|
8336
8375
|
vue.createVNode(vue.Transition, {
|
|
@@ -8349,27 +8388,30 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
|
|
|
8349
8388
|
class: $options.panelStyleClass,
|
|
8350
8389
|
onClick: _cache[13] || (_cache[13] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args))),
|
|
8351
8390
|
onKeydown: _cache[14] || (_cache[14] = (...args) => ($options.onOverlayKeyDown && $options.onOverlayKeyDown(...args)))
|
|
8352
|
-
},
|
|
8353
|
-
vue.createElementVNode("span", {
|
|
8391
|
+
}, { ...$props.panelProps, ..._ctx.ptm('panel') }), [
|
|
8392
|
+
vue.createElementVNode("span", vue.mergeProps({
|
|
8354
8393
|
ref: "firstHiddenFocusableElementOnOverlay",
|
|
8355
8394
|
role: "presentation",
|
|
8356
8395
|
"aria-hidden": "true",
|
|
8357
8396
|
class: "p-hidden-accessible p-hidden-focusable",
|
|
8358
8397
|
tabindex: 0,
|
|
8359
8398
|
onFocus: _cache[7] || (_cache[7] = (...args) => ($options.onFirstHiddenFocus && $options.onFirstHiddenFocus(...args)))
|
|
8360
|
-
}, null,
|
|
8399
|
+
}, _ctx.ptm('hiddenFirstFocusableEl')), null, 16),
|
|
8361
8400
|
vue.renderSlot(_ctx.$slots, "header", {
|
|
8362
8401
|
value: $props.modelValue,
|
|
8363
8402
|
options: $options.visibleOptions
|
|
8364
8403
|
}),
|
|
8365
8404
|
($props.filter)
|
|
8366
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
8367
|
-
|
|
8405
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
8406
|
+
key: 0,
|
|
8407
|
+
class: "p-dropdown-header"
|
|
8408
|
+
}, _ctx.ptm('header')), [
|
|
8409
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-dropdown-filter-container" }, _ctx.ptm('filterContainer')), [
|
|
8368
8410
|
vue.createElementVNode("input", vue.mergeProps({
|
|
8369
8411
|
ref: "filterInput",
|
|
8370
8412
|
type: "text",
|
|
8371
8413
|
value: $data.filterValue,
|
|
8372
|
-
|
|
8414
|
+
onVnodeMounted: _cache[8] || (_cache[8] = (...args) => ($options.onFilterUpdated && $options.onFilterUpdated(...args))),
|
|
8373
8415
|
class: "p-dropdown-filter p-inputtext p-component",
|
|
8374
8416
|
placeholder: $props.filterPlaceholder,
|
|
8375
8417
|
role: "searchbox",
|
|
@@ -8379,58 +8421,62 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
|
|
|
8379
8421
|
onKeydown: _cache[9] || (_cache[9] = (...args) => ($options.onFilterKeyDown && $options.onFilterKeyDown(...args))),
|
|
8380
8422
|
onBlur: _cache[10] || (_cache[10] = (...args) => ($options.onFilterBlur && $options.onFilterBlur(...args))),
|
|
8381
8423
|
onInput: _cache[11] || (_cache[11] = (...args) => ($options.onFilterChange && $options.onFilterChange(...args)))
|
|
8382
|
-
},
|
|
8424
|
+
}, { ...$props.filterInputProps, ..._ctx.ptm('filterInput') }), null, 16, _hoisted_4),
|
|
8383
8425
|
vue.renderSlot(_ctx.$slots, "filtericon", {}, () => [
|
|
8384
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.filterIcon ? 'span' : 'FilterIcon'), {
|
|
8385
|
-
class:
|
|
8386
|
-
}, null,
|
|
8426
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.filterIcon ? 'span' : 'FilterIcon'), vue.mergeProps({
|
|
8427
|
+
class: ['p-dropdown-filter-icon', $props.filterIcon]
|
|
8428
|
+
}, _ctx.ptm('filterIcon')), null, 16, ["class"]))
|
|
8387
8429
|
])
|
|
8388
|
-
]),
|
|
8389
|
-
vue.createElementVNode("span",
|
|
8390
|
-
|
|
8430
|
+
], 16),
|
|
8431
|
+
vue.createElementVNode("span", vue.mergeProps({
|
|
8432
|
+
role: "status",
|
|
8433
|
+
"aria-live": "polite",
|
|
8434
|
+
class: "p-hidden-accessible"
|
|
8435
|
+
}, _ctx.ptm('hiddenFilterResult')), vue.toDisplayString($options.filterResultMessageText), 17)
|
|
8436
|
+
], 16))
|
|
8391
8437
|
: vue.createCommentVNode("", true),
|
|
8392
|
-
vue.createElementVNode("div", {
|
|
8438
|
+
vue.createElementVNode("div", vue.mergeProps({
|
|
8393
8439
|
class: "p-dropdown-items-wrapper",
|
|
8394
|
-
style:
|
|
8395
|
-
}, [
|
|
8396
|
-
vue.createVNode(_component_VirtualScroller, vue.mergeProps({ ref: $options.virtualScrollerRef },
|
|
8440
|
+
style: { 'max-height': $options.virtualScrollerDisabled ? $props.scrollHeight : '' }
|
|
8441
|
+
}, _ctx.ptm('wrapper')), [
|
|
8442
|
+
vue.createVNode(_component_VirtualScroller, vue.mergeProps({ ref: $options.virtualScrollerRef }, { ...$props.virtualScrollerOptions, ..._ctx.ptm('virtualScroller') }, {
|
|
8397
8443
|
items: $options.visibleOptions,
|
|
8398
8444
|
style: { height: $props.scrollHeight },
|
|
8399
8445
|
tabindex: -1,
|
|
8400
8446
|
disabled: $options.virtualScrollerDisabled
|
|
8401
8447
|
}), vue.createSlots({
|
|
8402
8448
|
content: vue.withCtx(({ styleClass, contentRef, items, getItemOptions, contentStyle, itemSize }) => [
|
|
8403
|
-
vue.createElementVNode("ul", {
|
|
8449
|
+
vue.createElementVNode("ul", vue.mergeProps({
|
|
8404
8450
|
ref: (el) => $options.listRef(el, contentRef),
|
|
8405
8451
|
id: $data.id + '_list',
|
|
8406
|
-
class:
|
|
8407
|
-
style:
|
|
8452
|
+
class: ['p-dropdown-items', styleClass],
|
|
8453
|
+
style: contentStyle,
|
|
8408
8454
|
role: "listbox"
|
|
8409
|
-
}, [
|
|
8455
|
+
}, _ctx.ptm('list')), [
|
|
8410
8456
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(items, (option, i) => {
|
|
8411
8457
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
8412
8458
|
key: $options.getOptionRenderKey(option, $options.getOptionIndex(i, getItemOptions))
|
|
8413
8459
|
}, [
|
|
8414
8460
|
($options.isOptionGroup(option))
|
|
8415
|
-
? (vue.openBlock(), vue.createElementBlock("li", {
|
|
8461
|
+
? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
|
|
8416
8462
|
key: 0,
|
|
8417
8463
|
id: $data.id + '_' + $options.getOptionIndex(i, getItemOptions),
|
|
8418
|
-
style:
|
|
8464
|
+
style: { height: itemSize ? itemSize + 'px' : undefined },
|
|
8419
8465
|
class: "p-dropdown-item-group",
|
|
8420
8466
|
role: "option"
|
|
8421
|
-
}, [
|
|
8467
|
+
}, _ctx.ptm('itemGroup')), [
|
|
8422
8468
|
vue.renderSlot(_ctx.$slots, "optiongroup", {
|
|
8423
8469
|
option: option.optionGroup,
|
|
8424
8470
|
index: $options.getOptionIndex(i, getItemOptions)
|
|
8425
8471
|
}, () => [
|
|
8426
8472
|
vue.createTextVNode(vue.toDisplayString($options.getOptionGroupLabel(option.optionGroup)), 1)
|
|
8427
8473
|
])
|
|
8428
|
-
],
|
|
8429
|
-
: vue.withDirectives((vue.openBlock(), vue.createElementBlock("li", {
|
|
8474
|
+
], 16, _hoisted_6))
|
|
8475
|
+
: vue.withDirectives((vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
|
|
8430
8476
|
key: 1,
|
|
8431
8477
|
id: $data.id + '_' + $options.getOptionIndex(i, getItemOptions),
|
|
8432
|
-
style:
|
|
8433
|
-
class:
|
|
8478
|
+
style: { height: itemSize ? itemSize + 'px' : undefined },
|
|
8479
|
+
class: ['p-dropdown-item', { 'p-highlight': $options.isSelected(option), 'p-focus': $data.focusedOptionIndex === $options.getOptionIndex(i, getItemOptions), 'p-disabled': $options.isOptionDisabled(option) }],
|
|
8434
8480
|
role: "option",
|
|
8435
8481
|
"aria-label": $options.getOptionLabel(option),
|
|
8436
8482
|
"aria-selected": $options.isSelected(option),
|
|
@@ -8439,32 +8485,40 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
|
|
|
8439
8485
|
"aria-posinset": $options.getAriaPosInset($options.getOptionIndex(i, getItemOptions)),
|
|
8440
8486
|
onClick: $event => ($options.onOptionSelect($event, option)),
|
|
8441
8487
|
onMousemove: $event => ($options.onOptionMouseMove($event, $options.getOptionIndex(i, getItemOptions)))
|
|
8442
|
-
}, [
|
|
8488
|
+
}, $options.getPTOptions(option, getItemOptions, i, 'item')), [
|
|
8443
8489
|
vue.renderSlot(_ctx.$slots, "option", {
|
|
8444
8490
|
option: option,
|
|
8445
8491
|
index: $options.getOptionIndex(i, getItemOptions)
|
|
8446
8492
|
}, () => [
|
|
8447
8493
|
vue.createTextVNode(vue.toDisplayString($options.getOptionLabel(option)), 1)
|
|
8448
8494
|
])
|
|
8449
|
-
],
|
|
8495
|
+
], 16, _hoisted_7)), [
|
|
8450
8496
|
[_directive_ripple]
|
|
8451
8497
|
])
|
|
8452
8498
|
], 64))
|
|
8453
8499
|
}), 128)),
|
|
8454
8500
|
($data.filterValue && (!items || (items && items.length === 0)))
|
|
8455
|
-
? (vue.openBlock(), vue.createElementBlock("li",
|
|
8501
|
+
? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
|
|
8502
|
+
key: 0,
|
|
8503
|
+
class: "p-dropdown-empty-message",
|
|
8504
|
+
role: "option"
|
|
8505
|
+
}, _ctx.ptm('emptyMessage')), [
|
|
8456
8506
|
vue.renderSlot(_ctx.$slots, "emptyfilter", {}, () => [
|
|
8457
8507
|
vue.createTextVNode(vue.toDisplayString($options.emptyFilterMessageText), 1)
|
|
8458
8508
|
])
|
|
8459
|
-
]))
|
|
8509
|
+
], 16))
|
|
8460
8510
|
: (!$props.options || ($props.options && $props.options.length === 0))
|
|
8461
|
-
? (vue.openBlock(), vue.createElementBlock("li",
|
|
8511
|
+
? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
|
|
8512
|
+
key: 1,
|
|
8513
|
+
class: "p-dropdown-empty-message",
|
|
8514
|
+
role: "option"
|
|
8515
|
+
}, _ctx.ptm('emptyMessage')), [
|
|
8462
8516
|
vue.renderSlot(_ctx.$slots, "empty", {}, () => [
|
|
8463
8517
|
vue.createTextVNode(vue.toDisplayString($options.emptyMessageText), 1)
|
|
8464
8518
|
])
|
|
8465
|
-
]))
|
|
8519
|
+
], 16))
|
|
8466
8520
|
: vue.createCommentVNode("", true)
|
|
8467
|
-
],
|
|
8521
|
+
], 16, _hoisted_5)
|
|
8468
8522
|
]),
|
|
8469
8523
|
_: 2
|
|
8470
8524
|
}, [
|
|
@@ -8478,23 +8532,32 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
|
|
|
8478
8532
|
}
|
|
8479
8533
|
: undefined
|
|
8480
8534
|
]), 1040, ["items", "style", "disabled"])
|
|
8481
|
-
],
|
|
8535
|
+
], 16),
|
|
8482
8536
|
vue.renderSlot(_ctx.$slots, "footer", {
|
|
8483
8537
|
value: $props.modelValue,
|
|
8484
8538
|
options: $options.visibleOptions
|
|
8485
8539
|
}),
|
|
8486
8540
|
(!$props.options || ($props.options && $props.options.length === 0))
|
|
8487
|
-
? (vue.openBlock(), vue.createElementBlock("span",
|
|
8541
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
8542
|
+
key: 1,
|
|
8543
|
+
role: "status",
|
|
8544
|
+
"aria-live": "polite",
|
|
8545
|
+
class: "p-hidden-accessible"
|
|
8546
|
+
}, _ctx.ptm('emptyMessage')), vue.toDisplayString($options.emptyMessageText), 17))
|
|
8488
8547
|
: vue.createCommentVNode("", true),
|
|
8489
|
-
vue.createElementVNode("span",
|
|
8490
|
-
|
|
8548
|
+
vue.createElementVNode("span", vue.mergeProps({
|
|
8549
|
+
role: "status",
|
|
8550
|
+
"aria-live": "polite",
|
|
8551
|
+
class: "p-hidden-accessible"
|
|
8552
|
+
}, _ctx.ptm('hiddenSelectedMessage')), vue.toDisplayString($options.selectedMessageText), 17),
|
|
8553
|
+
vue.createElementVNode("span", vue.mergeProps({
|
|
8491
8554
|
ref: "lastHiddenFocusableElementOnOverlay",
|
|
8492
8555
|
role: "presentation",
|
|
8493
8556
|
"aria-hidden": "true",
|
|
8494
8557
|
class: "p-hidden-accessible p-hidden-focusable",
|
|
8495
8558
|
tabindex: 0,
|
|
8496
8559
|
onFocus: _cache[12] || (_cache[12] = (...args) => ($options.onLastHiddenFocus && $options.onLastHiddenFocus(...args)))
|
|
8497
|
-
}, null,
|
|
8560
|
+
}, _ctx.ptm('hiddenLastFocusableEl')), null, 16)
|
|
8498
8561
|
], 16))
|
|
8499
8562
|
: vue.createCommentVNode("", true)
|
|
8500
8563
|
]),
|
|
@@ -8503,7 +8566,7 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
|
|
|
8503
8566
|
]),
|
|
8504
8567
|
_: 3
|
|
8505
8568
|
}, 8, ["appendTo"])
|
|
8506
|
-
],
|
|
8569
|
+
], 16, _hoisted_1))
|
|
8507
8570
|
}
|
|
8508
8571
|
|
|
8509
8572
|
function styleInject(css, ref) {
|
|
@@ -8540,14 +8603,15 @@ this.primevue.dropdown = (function (api, ChevronDownIcon, FilterIcon, SpinnerIco
|
|
|
8540
8603
|
|
|
8541
8604
|
return script;
|
|
8542
8605
|
|
|
8543
|
-
})(primevue.api, primevue.icons.chevrondown, primevue.icons.filter, primevue.icons.spinner, primevue.icons.times, primevue.overlayeventbus, primevue.portal, primevue.ripple, primevue.utils, primevue.virtualscroller, Vue);
|
|
8606
|
+
})(primevue.api, primevue.basecomponent, primevue.icons.chevrondown, primevue.icons.filter, primevue.icons.spinner, primevue.icons.times, primevue.overlayeventbus, primevue.portal, primevue.ripple, primevue.utils, primevue.virtualscroller, Vue);
|
|
8544
8607
|
|
|
8545
8608
|
this.primevue = this.primevue || {};
|
|
8546
|
-
this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, WindowMinimizeIcon, Portal, Ripple, utils, vue) {
|
|
8609
|
+
this.primevue.dialog = (function (BaseComponent, FocusTrap, TimesIcon, WindowMaximizeIcon, WindowMinimizeIcon, Portal, Ripple, utils, vue) {
|
|
8547
8610
|
'use strict';
|
|
8548
8611
|
|
|
8549
8612
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8550
8613
|
|
|
8614
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
8551
8615
|
var FocusTrap__default = /*#__PURE__*/_interopDefaultLegacy(FocusTrap);
|
|
8552
8616
|
var TimesIcon__default = /*#__PURE__*/_interopDefaultLegacy(TimesIcon);
|
|
8553
8617
|
var WindowMaximizeIcon__default = /*#__PURE__*/_interopDefaultLegacy(WindowMaximizeIcon);
|
|
@@ -8557,6 +8621,7 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
8557
8621
|
|
|
8558
8622
|
var script = {
|
|
8559
8623
|
name: 'Dialog',
|
|
8624
|
+
extends: BaseComponent__default["default"],
|
|
8560
8625
|
inheritAttrs: false,
|
|
8561
8626
|
emits: ['update:visible', 'show', 'hide', 'after-hide', 'maximize', 'unmaximize', 'dragend'],
|
|
8562
8627
|
props: {
|
|
@@ -9023,9 +9088,8 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
9023
9088
|
|
|
9024
9089
|
const _hoisted_1 = ["aria-labelledby", "aria-modal"];
|
|
9025
9090
|
const _hoisted_2 = ["id"];
|
|
9026
|
-
const _hoisted_3 =
|
|
9027
|
-
const _hoisted_4 = ["autofocus", "
|
|
9028
|
-
const _hoisted_5 = ["autofocus", "aria-label"];
|
|
9091
|
+
const _hoisted_3 = ["autofocus", "tabindex"];
|
|
9092
|
+
const _hoisted_4 = ["autofocus", "aria-label"];
|
|
9029
9093
|
|
|
9030
9094
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9031
9095
|
const _component_Portal = vue.resolveComponent("Portal");
|
|
@@ -9035,12 +9099,12 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
9035
9099
|
return (vue.openBlock(), vue.createBlock(_component_Portal, { appendTo: $props.appendTo }, {
|
|
9036
9100
|
default: vue.withCtx(() => [
|
|
9037
9101
|
($data.containerVisible)
|
|
9038
|
-
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
9102
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
9039
9103
|
key: 0,
|
|
9040
9104
|
ref: $options.maskRef,
|
|
9041
|
-
class:
|
|
9105
|
+
class: $options.maskClass,
|
|
9042
9106
|
onClick: _cache[3] || (_cache[3] = (...args) => ($options.onMaskClick && $options.onMaskClick(...args)))
|
|
9043
|
-
}, [
|
|
9107
|
+
}, _ctx.ptm('mask')), [
|
|
9044
9108
|
vue.createVNode(vue.Transition, {
|
|
9045
9109
|
name: "p-dialog",
|
|
9046
9110
|
onBeforeEnter: $options.onBeforeEnter,
|
|
@@ -9059,26 +9123,26 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
9059
9123
|
role: "dialog",
|
|
9060
9124
|
"aria-labelledby": $options.ariaLabelledById,
|
|
9061
9125
|
"aria-modal": $props.modal
|
|
9062
|
-
}, _ctx.$attrs), [
|
|
9126
|
+
}, { ..._ctx.$attrs, ..._ctx.ptm('root') }), [
|
|
9063
9127
|
($props.showHeader)
|
|
9064
|
-
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
9128
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
9065
9129
|
key: 0,
|
|
9066
9130
|
ref: $options.headerContainerRef,
|
|
9067
9131
|
class: "p-dialog-header",
|
|
9068
9132
|
onMousedown: _cache[2] || (_cache[2] = (...args) => ($options.initDrag && $options.initDrag(...args)))
|
|
9069
|
-
}, [
|
|
9133
|
+
}, _ctx.ptm('header')), [
|
|
9070
9134
|
vue.renderSlot(_ctx.$slots, "header", {}, () => [
|
|
9071
9135
|
($props.header)
|
|
9072
|
-
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
9136
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
9073
9137
|
key: 0,
|
|
9074
9138
|
id: $options.ariaLabelledById,
|
|
9075
9139
|
class: "p-dialog-title"
|
|
9076
|
-
}, vue.toDisplayString($props.header),
|
|
9140
|
+
}, _ctx.ptm('headerTitle')), vue.toDisplayString($props.header), 17, _hoisted_2))
|
|
9077
9141
|
: vue.createCommentVNode("", true)
|
|
9078
9142
|
]),
|
|
9079
|
-
vue.createElementVNode("div",
|
|
9143
|
+
vue.createElementVNode("div", vue.mergeProps({ class: "p-dialog-header-icons" }, _ctx.ptm('headerIcons')), [
|
|
9080
9144
|
($props.maximizable)
|
|
9081
|
-
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
9145
|
+
? vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
9082
9146
|
key: 0,
|
|
9083
9147
|
ref: $options.maximizableRef,
|
|
9084
9148
|
autofocus: $data.focusableMax,
|
|
@@ -9086,13 +9150,11 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
9086
9150
|
onClick: _cache[0] || (_cache[0] = (...args) => ($options.maximize && $options.maximize(...args))),
|
|
9087
9151
|
type: "button",
|
|
9088
9152
|
tabindex: $props.maximizable ? '0' : '-1'
|
|
9089
|
-
}, [
|
|
9153
|
+
}, _ctx.ptm('maximizableButton')), [
|
|
9090
9154
|
vue.renderSlot(_ctx.$slots, "maximizeicon", { maximized: $data.maximized }, () => [
|
|
9091
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($options.maximizeIconComponent), {
|
|
9092
|
-
class: vue.normalizeClass($options.maximizeIconClass)
|
|
9093
|
-
}, null, 8, ["class"]))
|
|
9155
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($options.maximizeIconComponent), vue.mergeProps({ class: $options.maximizeIconClass }, _ctx.ptm('maximizableIcon')), null, 16, ["class"]))
|
|
9094
9156
|
])
|
|
9095
|
-
],
|
|
9157
|
+
], 16, _hoisted_3)), [
|
|
9096
9158
|
[_directive_ripple]
|
|
9097
9159
|
])
|
|
9098
9160
|
: vue.createCommentVNode("", true),
|
|
@@ -9105,36 +9167,36 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
9105
9167
|
onClick: _cache[1] || (_cache[1] = (...args) => ($options.close && $options.close(...args))),
|
|
9106
9168
|
"aria-label": $options.closeAriaLabel,
|
|
9107
9169
|
type: "button"
|
|
9108
|
-
},
|
|
9170
|
+
}, { ...$props.closeButtonProps, ..._ctx.ptm('closeButton') }), [
|
|
9109
9171
|
vue.renderSlot(_ctx.$slots, "closeicon", {}, () => [
|
|
9110
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.closeIcon ? 'span' : 'TimesIcon'), {
|
|
9111
|
-
class:
|
|
9112
|
-
}, null,
|
|
9172
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.closeIcon ? 'span' : 'TimesIcon'), vue.mergeProps({
|
|
9173
|
+
class: ['p-dialog-header-close-icon', $props.closeIcon]
|
|
9174
|
+
}, _ctx.ptm('closeButtonIcon')), null, 16, ["class"]))
|
|
9113
9175
|
])
|
|
9114
|
-
], 16,
|
|
9176
|
+
], 16, _hoisted_4)), [
|
|
9115
9177
|
[_directive_ripple]
|
|
9116
9178
|
])
|
|
9117
9179
|
: vue.createCommentVNode("", true)
|
|
9118
|
-
])
|
|
9119
|
-
],
|
|
9180
|
+
], 16)
|
|
9181
|
+
], 16))
|
|
9120
9182
|
: vue.createCommentVNode("", true),
|
|
9121
9183
|
vue.createElementVNode("div", vue.mergeProps({
|
|
9122
9184
|
ref: $options.contentRef,
|
|
9123
9185
|
class: $options.contentStyleClass,
|
|
9124
9186
|
style: $props.contentStyle
|
|
9125
|
-
},
|
|
9187
|
+
}, { ...$props.contentProps, ..._ctx.ptm('content') }), [
|
|
9126
9188
|
vue.renderSlot(_ctx.$slots, "default")
|
|
9127
9189
|
], 16),
|
|
9128
9190
|
($props.footer || _ctx.$slots.footer)
|
|
9129
|
-
? (vue.openBlock(), vue.createElementBlock("div", {
|
|
9191
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
9130
9192
|
key: 1,
|
|
9131
9193
|
ref: $options.footerContainerRef,
|
|
9132
9194
|
class: "p-dialog-footer"
|
|
9133
|
-
}, [
|
|
9195
|
+
}, _ctx.ptm('footer')), [
|
|
9134
9196
|
vue.renderSlot(_ctx.$slots, "footer", {}, () => [
|
|
9135
9197
|
vue.createTextVNode(vue.toDisplayString($props.footer), 1)
|
|
9136
9198
|
])
|
|
9137
|
-
],
|
|
9199
|
+
], 16))
|
|
9138
9200
|
: vue.createCommentVNode("", true)
|
|
9139
9201
|
], 16, _hoisted_1)), [
|
|
9140
9202
|
[_directive_focustrap, { disabled: !$props.modal }]
|
|
@@ -9143,7 +9205,7 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
9143
9205
|
]),
|
|
9144
9206
|
_: 3
|
|
9145
9207
|
}, 8, ["onBeforeEnter", "onEnter", "onBeforeLeave", "onLeave", "onAfterLeave"])
|
|
9146
|
-
],
|
|
9208
|
+
], 16))
|
|
9147
9209
|
: vue.createCommentVNode("", true)
|
|
9148
9210
|
]),
|
|
9149
9211
|
_: 3
|
|
@@ -9184,14 +9246,15 @@ this.primevue.dialog = (function (FocusTrap, TimesIcon, WindowMaximizeIcon, Wind
|
|
|
9184
9246
|
|
|
9185
9247
|
return script;
|
|
9186
9248
|
|
|
9187
|
-
})(primevue.focustrap, primevue.icons.times, primevue.icons.windowmaximize, primevue.icons.windowminimize, primevue.portal, primevue.ripple, primevue.utils, Vue);
|
|
9249
|
+
})(primevue.basecomponent, primevue.focustrap, primevue.icons.times, primevue.icons.windowmaximize, primevue.icons.windowminimize, primevue.portal, primevue.ripple, primevue.utils, Vue);
|
|
9188
9250
|
|
|
9189
9251
|
this.primevue = this.primevue || {};
|
|
9190
|
-
this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dropdown, InputNumber, AngleDoubleRightIcon, AngleRightIcon, AngleLeftIcon) {
|
|
9252
|
+
this.primevue.paginator = (function (BaseComponent, utils, vue, AngleDoubleLeftIcon, Ripple, Dropdown, InputNumber, AngleDoubleRightIcon, AngleRightIcon, AngleLeftIcon) {
|
|
9191
9253
|
'use strict';
|
|
9192
9254
|
|
|
9193
9255
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9194
9256
|
|
|
9257
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
9195
9258
|
var AngleDoubleLeftIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleDoubleLeftIcon);
|
|
9196
9259
|
var Ripple__default = /*#__PURE__*/_interopDefaultLegacy(Ripple);
|
|
9197
9260
|
var Dropdown__default = /*#__PURE__*/_interopDefaultLegacy(Dropdown);
|
|
@@ -9202,6 +9265,7 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9202
9265
|
|
|
9203
9266
|
var script$9 = {
|
|
9204
9267
|
name: 'CurrentPageReport',
|
|
9268
|
+
extends: BaseComponent__default["default"],
|
|
9205
9269
|
props: {
|
|
9206
9270
|
pageCount: {
|
|
9207
9271
|
type: Number,
|
|
@@ -9247,22 +9311,30 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9247
9311
|
}
|
|
9248
9312
|
};
|
|
9249
9313
|
|
|
9250
|
-
const _hoisted_1$2 = { class: "p-paginator-current" };
|
|
9251
|
-
|
|
9252
9314
|
function render$9(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9253
|
-
return (vue.openBlock(), vue.createElementBlock("span",
|
|
9315
|
+
return (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({ class: "p-paginator-current" }, _ctx.ptm('current')), vue.toDisplayString($options.text), 17))
|
|
9254
9316
|
}
|
|
9255
9317
|
|
|
9256
9318
|
script$9.render = render$9;
|
|
9257
9319
|
|
|
9258
9320
|
var script$8 = {
|
|
9259
9321
|
name: 'FirstPageLink',
|
|
9322
|
+
extends: BaseComponent__default["default"],
|
|
9260
9323
|
props: {
|
|
9261
9324
|
template: {
|
|
9262
9325
|
type: Function,
|
|
9263
9326
|
default: null
|
|
9264
9327
|
}
|
|
9265
9328
|
},
|
|
9329
|
+
methods: {
|
|
9330
|
+
getPTOptions(key) {
|
|
9331
|
+
return this.ptm(key, {
|
|
9332
|
+
context: {
|
|
9333
|
+
disabled: this.$attrs.disabled
|
|
9334
|
+
}
|
|
9335
|
+
});
|
|
9336
|
+
}
|
|
9337
|
+
},
|
|
9266
9338
|
computed: {
|
|
9267
9339
|
containerClass() {
|
|
9268
9340
|
return [
|
|
@@ -9284,12 +9356,12 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9284
9356
|
function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9285
9357
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
9286
9358
|
|
|
9287
|
-
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
9288
|
-
class:
|
|
9359
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
9360
|
+
class: $options.containerClass,
|
|
9289
9361
|
type: "button"
|
|
9290
|
-
}, [
|
|
9291
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleDoubleLeftIcon'), { class: "p-paginator-icon" }))
|
|
9292
|
-
],
|
|
9362
|
+
}, $options.getPTOptions('firstPageButton')), [
|
|
9363
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleDoubleLeftIcon'), vue.mergeProps({ class: "p-paginator-icon" }, $options.getPTOptions('firstPageIcon')), null, 16))
|
|
9364
|
+
], 16)), [
|
|
9293
9365
|
[_directive_ripple]
|
|
9294
9366
|
])
|
|
9295
9367
|
}
|
|
@@ -9298,6 +9370,7 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9298
9370
|
|
|
9299
9371
|
var script$7 = {
|
|
9300
9372
|
name: 'JumpToPageDropdown',
|
|
9373
|
+
extends: BaseComponent__default["default"],
|
|
9301
9374
|
emits: ['page-change'],
|
|
9302
9375
|
props: {
|
|
9303
9376
|
page: Number,
|
|
@@ -9335,14 +9408,16 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9335
9408
|
optionValue: "value",
|
|
9336
9409
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ($options.onChange($event))),
|
|
9337
9410
|
class: "p-paginator-page-options",
|
|
9338
|
-
disabled: $props.disabled
|
|
9339
|
-
|
|
9411
|
+
disabled: $props.disabled,
|
|
9412
|
+
pt: _ctx.ptm('JTPDropdown')
|
|
9413
|
+
}, null, 8, ["modelValue", "options", "disabled", "pt"]))
|
|
9340
9414
|
}
|
|
9341
9415
|
|
|
9342
9416
|
script$7.render = render$7;
|
|
9343
9417
|
|
|
9344
9418
|
var script$6 = {
|
|
9345
9419
|
name: 'JumpToPageInput',
|
|
9420
|
+
extends: BaseComponent__default["default"],
|
|
9346
9421
|
inheritAttrs: false,
|
|
9347
9422
|
emits: ['page-change'],
|
|
9348
9423
|
props: {
|
|
@@ -9387,20 +9462,31 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9387
9462
|
class: "p-paginator-page-input",
|
|
9388
9463
|
"aria-label": $options.inputArialabel,
|
|
9389
9464
|
disabled: $props.disabled,
|
|
9390
|
-
"onUpdate:modelValue": $options.onChange
|
|
9391
|
-
|
|
9465
|
+
"onUpdate:modelValue": $options.onChange,
|
|
9466
|
+
pt: _ctx.ptm('JTPInput')
|
|
9467
|
+
}, null, 8, ["modelValue", "aria-label", "disabled", "onUpdate:modelValue", "pt"]))
|
|
9392
9468
|
}
|
|
9393
9469
|
|
|
9394
9470
|
script$6.render = render$6;
|
|
9395
9471
|
|
|
9396
9472
|
var script$5 = {
|
|
9397
9473
|
name: 'LastPageLink',
|
|
9474
|
+
extends: BaseComponent__default["default"],
|
|
9398
9475
|
props: {
|
|
9399
9476
|
template: {
|
|
9400
9477
|
type: Function,
|
|
9401
9478
|
default: null
|
|
9402
9479
|
}
|
|
9403
9480
|
},
|
|
9481
|
+
methods: {
|
|
9482
|
+
getPTOptions(key) {
|
|
9483
|
+
return this.ptm(key, {
|
|
9484
|
+
context: {
|
|
9485
|
+
disabled: this.$attrs.disabled
|
|
9486
|
+
}
|
|
9487
|
+
});
|
|
9488
|
+
}
|
|
9489
|
+
},
|
|
9404
9490
|
computed: {
|
|
9405
9491
|
containerClass() {
|
|
9406
9492
|
return [
|
|
@@ -9422,12 +9508,12 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9422
9508
|
function render$5(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9423
9509
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
9424
9510
|
|
|
9425
|
-
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
9426
|
-
class:
|
|
9511
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
9512
|
+
class: $options.containerClass,
|
|
9427
9513
|
type: "button"
|
|
9428
|
-
}, [
|
|
9429
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleDoubleRightIcon'), { class: "p-paginator-icon" }))
|
|
9430
|
-
],
|
|
9514
|
+
}, $options.getPTOptions('lastPageButton')), [
|
|
9515
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleDoubleRightIcon'), vue.mergeProps({ class: "p-paginator-icon" }, $options.getPTOptions('lastPageIcon')), null, 16))
|
|
9516
|
+
], 16)), [
|
|
9431
9517
|
[_directive_ripple]
|
|
9432
9518
|
])
|
|
9433
9519
|
}
|
|
@@ -9436,12 +9522,22 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9436
9522
|
|
|
9437
9523
|
var script$4 = {
|
|
9438
9524
|
name: 'NextPageLink',
|
|
9525
|
+
extends: BaseComponent__default["default"],
|
|
9439
9526
|
props: {
|
|
9440
9527
|
template: {
|
|
9441
9528
|
type: Function,
|
|
9442
9529
|
default: null
|
|
9443
9530
|
}
|
|
9444
9531
|
},
|
|
9532
|
+
methods: {
|
|
9533
|
+
getPTOptions(key) {
|
|
9534
|
+
return this.ptm(key, {
|
|
9535
|
+
context: {
|
|
9536
|
+
disabled: this.$attrs.disabled
|
|
9537
|
+
}
|
|
9538
|
+
});
|
|
9539
|
+
}
|
|
9540
|
+
},
|
|
9445
9541
|
computed: {
|
|
9446
9542
|
containerClass() {
|
|
9447
9543
|
return [
|
|
@@ -9463,12 +9559,12 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9463
9559
|
function render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9464
9560
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
9465
9561
|
|
|
9466
|
-
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
9467
|
-
class:
|
|
9562
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
9563
|
+
class: $options.containerClass,
|
|
9468
9564
|
type: "button"
|
|
9469
|
-
}, [
|
|
9470
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleRightIcon'), { class: "p-paginator-icon" }))
|
|
9471
|
-
],
|
|
9565
|
+
}, $options.getPTOptions('nextPageButton')), [
|
|
9566
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleRightIcon'), vue.mergeProps({ class: "p-paginator-icon" }, $options.getPTOptions('nextPageIcon')), null, 16))
|
|
9567
|
+
], 16)), [
|
|
9472
9568
|
[_directive_ripple]
|
|
9473
9569
|
])
|
|
9474
9570
|
}
|
|
@@ -9477,6 +9573,7 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9477
9573
|
|
|
9478
9574
|
var script$3 = {
|
|
9479
9575
|
name: 'PageLinks',
|
|
9576
|
+
extends: BaseComponent__default["default"],
|
|
9480
9577
|
inheritAttrs: false,
|
|
9481
9578
|
emits: ['click'],
|
|
9482
9579
|
props: {
|
|
@@ -9484,6 +9581,13 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9484
9581
|
page: Number
|
|
9485
9582
|
},
|
|
9486
9583
|
methods: {
|
|
9584
|
+
getPTOptions(pageLink, key) {
|
|
9585
|
+
return this.ptm(key, {
|
|
9586
|
+
context: {
|
|
9587
|
+
active: pageLink === this.page
|
|
9588
|
+
}
|
|
9589
|
+
});
|
|
9590
|
+
},
|
|
9487
9591
|
onPageLinkClick(event, pageLink) {
|
|
9488
9592
|
this.$emit('click', {
|
|
9489
9593
|
originalEvent: event,
|
|
@@ -9494,46 +9598,54 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9494
9598
|
return this.$primevue.config.locale.aria ? this.$primevue.config.locale.aria.pageLabel.replace(/{page}/g, value) : undefined;
|
|
9495
9599
|
}
|
|
9496
9600
|
},
|
|
9497
|
-
computed: {},
|
|
9498
9601
|
directives: {
|
|
9499
9602
|
ripple: Ripple__default["default"]
|
|
9500
9603
|
}
|
|
9501
9604
|
};
|
|
9502
9605
|
|
|
9503
|
-
const _hoisted_1
|
|
9504
|
-
const _hoisted_2$1 = ["aria-label", "aria-current", "onClick"];
|
|
9606
|
+
const _hoisted_1 = ["aria-label", "aria-current", "onClick"];
|
|
9505
9607
|
|
|
9506
9608
|
function render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9507
9609
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
9508
9610
|
|
|
9509
|
-
return (vue.openBlock(), vue.createElementBlock("span",
|
|
9611
|
+
return (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({ class: "p-paginator-pages" }, _ctx.ptm('pages')), [
|
|
9510
9612
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.value, (pageLink) => {
|
|
9511
|
-
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
9613
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
9512
9614
|
key: pageLink,
|
|
9513
|
-
class:
|
|
9615
|
+
class: ['p-paginator-page p-paginator-element p-link', { 'p-highlight': pageLink - 1 === $props.page }],
|
|
9514
9616
|
type: "button",
|
|
9515
9617
|
"aria-label": $options.ariaPageLabel(pageLink),
|
|
9516
9618
|
"aria-current": pageLink - 1 === $props.page ? 'page' : undefined,
|
|
9517
9619
|
onClick: $event => ($options.onPageLinkClick($event, pageLink))
|
|
9518
|
-
}, [
|
|
9620
|
+
}, $options.getPTOptions(pageLink - 1, 'pageButton')), [
|
|
9519
9621
|
vue.createTextVNode(vue.toDisplayString(pageLink), 1)
|
|
9520
|
-
],
|
|
9622
|
+
], 16, _hoisted_1)), [
|
|
9521
9623
|
[_directive_ripple]
|
|
9522
9624
|
])
|
|
9523
9625
|
}), 128))
|
|
9524
|
-
]))
|
|
9626
|
+
], 16))
|
|
9525
9627
|
}
|
|
9526
9628
|
|
|
9527
9629
|
script$3.render = render$3;
|
|
9528
9630
|
|
|
9529
9631
|
var script$2 = {
|
|
9530
9632
|
name: 'PrevPageLink',
|
|
9633
|
+
extends: BaseComponent__default["default"],
|
|
9531
9634
|
props: {
|
|
9532
9635
|
template: {
|
|
9533
9636
|
type: Function,
|
|
9534
9637
|
default: null
|
|
9535
9638
|
}
|
|
9536
9639
|
},
|
|
9640
|
+
methods: {
|
|
9641
|
+
getPTOptions(key) {
|
|
9642
|
+
return this.ptm(key, {
|
|
9643
|
+
context: {
|
|
9644
|
+
disabled: this.$attrs.disabled
|
|
9645
|
+
}
|
|
9646
|
+
});
|
|
9647
|
+
}
|
|
9648
|
+
},
|
|
9537
9649
|
computed: {
|
|
9538
9650
|
containerClass() {
|
|
9539
9651
|
return [
|
|
@@ -9555,12 +9667,12 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9555
9667
|
function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9556
9668
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
9557
9669
|
|
|
9558
|
-
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
9559
|
-
class:
|
|
9670
|
+
return vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
9671
|
+
class: $options.containerClass,
|
|
9560
9672
|
type: "button"
|
|
9561
|
-
}, [
|
|
9562
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleLeftIcon'), { class: "p-paginator-icon" }))
|
|
9563
|
-
],
|
|
9673
|
+
}, $options.getPTOptions('prevPageButton')), [
|
|
9674
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.template || 'AngleLeftIcon'), vue.mergeProps({ class: "p-paginator-icon" }, $options.getPTOptions('prevPageIcon')), null, 16))
|
|
9675
|
+
], 16)), [
|
|
9564
9676
|
[_directive_ripple]
|
|
9565
9677
|
])
|
|
9566
9678
|
}
|
|
@@ -9569,6 +9681,7 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9569
9681
|
|
|
9570
9682
|
var script$1 = {
|
|
9571
9683
|
name: 'RowsPerPageDropdown',
|
|
9684
|
+
extends: BaseComponent__default["default"],
|
|
9572
9685
|
emits: ['rows-change'],
|
|
9573
9686
|
props: {
|
|
9574
9687
|
options: Array,
|
|
@@ -9608,14 +9721,16 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9608
9721
|
optionValue: "value",
|
|
9609
9722
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => ($options.onChange($event))),
|
|
9610
9723
|
class: "p-paginator-rpp-options",
|
|
9611
|
-
disabled: $props.disabled
|
|
9612
|
-
|
|
9724
|
+
disabled: $props.disabled,
|
|
9725
|
+
pt: _ctx.ptm('RPPDropdown')
|
|
9726
|
+
}, null, 8, ["modelValue", "options", "disabled", "pt"]))
|
|
9613
9727
|
}
|
|
9614
9728
|
|
|
9615
9729
|
script$1.render = render$1;
|
|
9616
9730
|
|
|
9617
9731
|
var script = {
|
|
9618
9732
|
name: 'Paginator',
|
|
9733
|
+
extends: BaseComponent__default["default"],
|
|
9619
9734
|
emits: ['update:first', 'update:rows', 'page'],
|
|
9620
9735
|
props: {
|
|
9621
9736
|
totalRecords: {
|
|
@@ -9888,16 +10003,6 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9888
10003
|
}
|
|
9889
10004
|
};
|
|
9890
10005
|
|
|
9891
|
-
const _hoisted_1 = { key: 0 };
|
|
9892
|
-
const _hoisted_2 = {
|
|
9893
|
-
key: 0,
|
|
9894
|
-
class: "p-paginator-left-content"
|
|
9895
|
-
};
|
|
9896
|
-
const _hoisted_3 = {
|
|
9897
|
-
key: 1,
|
|
9898
|
-
class: "p-paginator-right-content"
|
|
9899
|
-
};
|
|
9900
|
-
|
|
9901
10006
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
9902
10007
|
const _component_FirstPageLink = vue.resolveComponent("FirstPageLink");
|
|
9903
10008
|
const _component_PrevPageLink = vue.resolveComponent("PrevPageLink");
|
|
@@ -9910,18 +10015,21 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9910
10015
|
const _component_JumpToPageInput = vue.resolveComponent("JumpToPageInput");
|
|
9911
10016
|
|
|
9912
10017
|
return ($props.alwaysShow ? true : $options.pageLinks && $options.pageLinks.length > 1)
|
|
9913
|
-
? (vue.openBlock(), vue.createElementBlock("nav",
|
|
10018
|
+
? (vue.openBlock(), vue.createElementBlock("nav", vue.normalizeProps(vue.mergeProps({ key: 0 }, _ctx.ptm('root'))), [
|
|
9914
10019
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($options.templateItems, (value, key) => {
|
|
9915
|
-
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
10020
|
+
return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
9916
10021
|
key: key,
|
|
9917
10022
|
ref_for: true,
|
|
9918
10023
|
ref: "paginator",
|
|
9919
|
-
class:
|
|
9920
|
-
}, [
|
|
10024
|
+
class: ["p-paginator p-component", $options.getPaginatorClasses(key)]
|
|
10025
|
+
}, _ctx.ptm('paginator')), [
|
|
9921
10026
|
(_ctx.$slots.start)
|
|
9922
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
10027
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
10028
|
+
key: 0,
|
|
10029
|
+
class: "p-paginator-left-content"
|
|
10030
|
+
}, _ctx.ptm('left')), [
|
|
9923
10031
|
vue.renderSlot(_ctx.$slots, "start", { state: $options.currentState })
|
|
9924
|
-
]))
|
|
10032
|
+
], 16))
|
|
9925
10033
|
: vue.createCommentVNode("", true),
|
|
9926
10034
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(value, (item) => {
|
|
9927
10035
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: item }, [
|
|
@@ -9931,40 +10039,45 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9931
10039
|
"aria-label": $options.getAriaLabel('firstPageLabel'),
|
|
9932
10040
|
template: _ctx.$slots.firstpagelinkicon,
|
|
9933
10041
|
onClick: _cache[0] || (_cache[0] = $event => ($options.changePageToFirst($event))),
|
|
9934
|
-
disabled: $options.isFirstPage || $options.empty
|
|
9935
|
-
|
|
10042
|
+
disabled: $options.isFirstPage || $options.empty,
|
|
10043
|
+
pt: _ctx.pt
|
|
10044
|
+
}, null, 8, ["aria-label", "template", "disabled", "pt"]))
|
|
9936
10045
|
: (item === 'PrevPageLink')
|
|
9937
10046
|
? (vue.openBlock(), vue.createBlock(_component_PrevPageLink, {
|
|
9938
10047
|
key: 1,
|
|
9939
10048
|
"aria-label": $options.getAriaLabel('prevPageLabel'),
|
|
9940
10049
|
template: _ctx.$slots.prevpagelinkicon,
|
|
9941
10050
|
onClick: _cache[1] || (_cache[1] = $event => ($options.changePageToPrev($event))),
|
|
9942
|
-
disabled: $options.isFirstPage || $options.empty
|
|
9943
|
-
|
|
10051
|
+
disabled: $options.isFirstPage || $options.empty,
|
|
10052
|
+
pt: _ctx.pt
|
|
10053
|
+
}, null, 8, ["aria-label", "template", "disabled", "pt"]))
|
|
9944
10054
|
: (item === 'NextPageLink')
|
|
9945
10055
|
? (vue.openBlock(), vue.createBlock(_component_NextPageLink, {
|
|
9946
10056
|
key: 2,
|
|
9947
10057
|
"aria-label": $options.getAriaLabel('nextPageLabel'),
|
|
9948
10058
|
template: _ctx.$slots.nextpagelinkicon,
|
|
9949
10059
|
onClick: _cache[2] || (_cache[2] = $event => ($options.changePageToNext($event))),
|
|
9950
|
-
disabled: $options.isLastPage || $options.empty
|
|
9951
|
-
|
|
10060
|
+
disabled: $options.isLastPage || $options.empty,
|
|
10061
|
+
pt: _ctx.pt
|
|
10062
|
+
}, null, 8, ["aria-label", "template", "disabled", "pt"]))
|
|
9952
10063
|
: (item === 'LastPageLink')
|
|
9953
10064
|
? (vue.openBlock(), vue.createBlock(_component_LastPageLink, {
|
|
9954
10065
|
key: 3,
|
|
9955
10066
|
"aria-label": $options.getAriaLabel('lastPageLabel'),
|
|
9956
10067
|
template: _ctx.$slots.lastpagelinkicon,
|
|
9957
10068
|
onClick: _cache[3] || (_cache[3] = $event => ($options.changePageToLast($event))),
|
|
9958
|
-
disabled: $options.isLastPage || $options.empty
|
|
9959
|
-
|
|
10069
|
+
disabled: $options.isLastPage || $options.empty,
|
|
10070
|
+
pt: _ctx.pt
|
|
10071
|
+
}, null, 8, ["aria-label", "template", "disabled", "pt"]))
|
|
9960
10072
|
: (item === 'PageLinks')
|
|
9961
10073
|
? (vue.openBlock(), vue.createBlock(_component_PageLinks, {
|
|
9962
10074
|
key: 4,
|
|
9963
10075
|
"aria-label": $options.getAriaLabel('pageLabel'),
|
|
9964
10076
|
value: $options.pageLinks,
|
|
9965
10077
|
page: $options.page,
|
|
9966
|
-
onClick: _cache[4] || (_cache[4] = $event => ($options.changePageLink($event)))
|
|
9967
|
-
|
|
10078
|
+
onClick: _cache[4] || (_cache[4] = $event => ($options.changePageLink($event))),
|
|
10079
|
+
pt: _ctx.pt
|
|
10080
|
+
}, null, 8, ["aria-label", "value", "page", "pt"]))
|
|
9968
10081
|
: (item === 'CurrentPageReport')
|
|
9969
10082
|
? (vue.openBlock(), vue.createBlock(_component_CurrentPageReport, {
|
|
9970
10083
|
key: 5,
|
|
@@ -9975,8 +10088,9 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9975
10088
|
pageCount: $options.pageCount,
|
|
9976
10089
|
first: $data.d_first,
|
|
9977
10090
|
rows: $data.d_rows,
|
|
9978
|
-
totalRecords: $props.totalRecords
|
|
9979
|
-
|
|
10091
|
+
totalRecords: $props.totalRecords,
|
|
10092
|
+
pt: _ctx.pt
|
|
10093
|
+
}, null, 8, ["template", "currentPage", "page", "pageCount", "first", "rows", "totalRecords", "pt"]))
|
|
9980
10094
|
: (item === 'RowsPerPageDropdown' && $props.rowsPerPageOptions)
|
|
9981
10095
|
? (vue.openBlock(), vue.createBlock(_component_RowsPerPageDropdown, {
|
|
9982
10096
|
key: 6,
|
|
@@ -9984,8 +10098,9 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9984
10098
|
rows: $data.d_rows,
|
|
9985
10099
|
options: $props.rowsPerPageOptions,
|
|
9986
10100
|
onRowsChange: _cache[5] || (_cache[5] = $event => ($options.onRowChange($event))),
|
|
9987
|
-
disabled: $options.empty
|
|
9988
|
-
|
|
10101
|
+
disabled: $options.empty,
|
|
10102
|
+
pt: _ctx.pt
|
|
10103
|
+
}, null, 8, ["aria-label", "rows", "options", "disabled", "pt"]))
|
|
9989
10104
|
: (item === 'JumpToPageDropdown')
|
|
9990
10105
|
? (vue.openBlock(), vue.createBlock(_component_JumpToPageDropdown, {
|
|
9991
10106
|
key: 7,
|
|
@@ -9993,26 +10108,31 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
9993
10108
|
page: $options.page,
|
|
9994
10109
|
pageCount: $options.pageCount,
|
|
9995
10110
|
onPageChange: _cache[6] || (_cache[6] = $event => ($options.changePage($event))),
|
|
9996
|
-
disabled: $options.empty
|
|
9997
|
-
|
|
10111
|
+
disabled: $options.empty,
|
|
10112
|
+
pt: _ctx.pt
|
|
10113
|
+
}, null, 8, ["aria-label", "page", "pageCount", "disabled", "pt"]))
|
|
9998
10114
|
: (item === 'JumpToPageInput')
|
|
9999
10115
|
? (vue.openBlock(), vue.createBlock(_component_JumpToPageInput, {
|
|
10000
10116
|
key: 8,
|
|
10001
10117
|
page: $options.currentPage,
|
|
10002
10118
|
onPageChange: _cache[7] || (_cache[7] = $event => ($options.changePage($event))),
|
|
10003
|
-
disabled: $options.empty
|
|
10004
|
-
|
|
10119
|
+
disabled: $options.empty,
|
|
10120
|
+
pt: _ctx.pt
|
|
10121
|
+
}, null, 8, ["page", "disabled", "pt"]))
|
|
10005
10122
|
: vue.createCommentVNode("", true)
|
|
10006
10123
|
], 64))
|
|
10007
10124
|
}), 128)),
|
|
10008
10125
|
(_ctx.$slots.end)
|
|
10009
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
10126
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
10127
|
+
key: 1,
|
|
10128
|
+
class: "p-paginator-right-content"
|
|
10129
|
+
}, _ctx.ptm('end')), [
|
|
10010
10130
|
vue.renderSlot(_ctx.$slots, "end", { state: $options.currentState })
|
|
10011
|
-
]))
|
|
10131
|
+
], 16))
|
|
10012
10132
|
: vue.createCommentVNode("", true)
|
|
10013
|
-
],
|
|
10133
|
+
], 16))
|
|
10014
10134
|
}), 128))
|
|
10015
|
-
]))
|
|
10135
|
+
], 16))
|
|
10016
10136
|
: vue.createCommentVNode("", true)
|
|
10017
10137
|
}
|
|
10018
10138
|
|
|
@@ -10050,14 +10170,15 @@ this.primevue.paginator = (function (utils, vue, AngleDoubleLeftIcon, Ripple, Dr
|
|
|
10050
10170
|
|
|
10051
10171
|
return script;
|
|
10052
10172
|
|
|
10053
|
-
})(primevue.utils, Vue, primevue.icons.angledoubleleft, primevue.ripple, primevue.dropdown, primevue.inputnumber, primevue.icons.angledoubleright, primevue.icons.angleright, primevue.icons.angleleft);
|
|
10173
|
+
})(primevue.basecomponent, primevue.utils, Vue, primevue.icons.angledoubleleft, primevue.ripple, primevue.dropdown, primevue.inputnumber, primevue.icons.angledoubleright, primevue.icons.angleright, primevue.icons.angleleft);
|
|
10054
10174
|
|
|
10055
10175
|
this.primevue = this.primevue || {};
|
|
10056
|
-
this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, ChevronDownIcon, ChevronRightIcon, MinusIcon, Ripple, vue) {
|
|
10176
|
+
this.primevue.tree = (function (BaseComponent, SearchIcon, SpinnerIcon, utils, CheckIcon, ChevronDownIcon, ChevronRightIcon, MinusIcon, Ripple, vue) {
|
|
10057
10177
|
'use strict';
|
|
10058
10178
|
|
|
10059
10179
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10060
10180
|
|
|
10181
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
10061
10182
|
var SearchIcon__default = /*#__PURE__*/_interopDefaultLegacy(SearchIcon);
|
|
10062
10183
|
var SpinnerIcon__default = /*#__PURE__*/_interopDefaultLegacy(SpinnerIcon);
|
|
10063
10184
|
var CheckIcon__default = /*#__PURE__*/_interopDefaultLegacy(CheckIcon);
|
|
@@ -10068,6 +10189,7 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
|
|
|
10068
10189
|
|
|
10069
10190
|
var script$1 = {
|
|
10070
10191
|
name: 'TreeNode',
|
|
10192
|
+
extends: BaseComponent__default["default"],
|
|
10071
10193
|
emits: ['node-toggle', 'node-click', 'checkbox-change'],
|
|
10072
10194
|
props: {
|
|
10073
10195
|
node: {
|
|
@@ -10119,6 +10241,15 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
|
|
|
10119
10241
|
onChildNodeToggle(node) {
|
|
10120
10242
|
this.$emit('node-toggle', node);
|
|
10121
10243
|
},
|
|
10244
|
+
getPTOptions(key) {
|
|
10245
|
+
return this.ptm(key, {
|
|
10246
|
+
context: {
|
|
10247
|
+
expanded: this.expanded,
|
|
10248
|
+
selected: this.selected,
|
|
10249
|
+
checked: this.checked
|
|
10250
|
+
}
|
|
10251
|
+
});
|
|
10252
|
+
},
|
|
10122
10253
|
onClick(event) {
|
|
10123
10254
|
if (this.toggleClicked || utils.DomHandler.hasClass(event.target, 'p-tree-toggler') || utils.DomHandler.hasClass(event.target.parentElement, 'p-tree-toggler')) {
|
|
10124
10255
|
this.toggleClicked = false;
|
|
@@ -10456,25 +10587,14 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
|
|
|
10456
10587
|
};
|
|
10457
10588
|
|
|
10458
10589
|
const _hoisted_1$1 = ["aria-label", "aria-selected", "aria-expanded", "aria-setsize", "aria-posinset", "aria-level", "aria-checked", "tabindex"];
|
|
10459
|
-
const _hoisted_2$1 = {
|
|
10460
|
-
key: 0,
|
|
10461
|
-
class: "p-checkbox p-component",
|
|
10462
|
-
"aria-hidden": "true"
|
|
10463
|
-
};
|
|
10464
|
-
const _hoisted_3$1 = { class: "p-treenode-label" };
|
|
10465
|
-
const _hoisted_4$1 = {
|
|
10466
|
-
key: 0,
|
|
10467
|
-
class: "p-treenode-children",
|
|
10468
|
-
role: "group"
|
|
10469
|
-
};
|
|
10470
10590
|
|
|
10471
10591
|
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10472
10592
|
const _component_TreeNode = vue.resolveComponent("TreeNode", true);
|
|
10473
10593
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
10474
10594
|
|
|
10475
|
-
return (vue.openBlock(), vue.createElementBlock("li", {
|
|
10595
|
+
return (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
|
|
10476
10596
|
ref: "currentNode",
|
|
10477
|
-
class:
|
|
10597
|
+
class: $options.containerClass,
|
|
10478
10598
|
role: "treeitem",
|
|
10479
10599
|
"aria-label": $options.label($props.node),
|
|
10480
10600
|
"aria-selected": $options.ariaSelected,
|
|
@@ -10485,20 +10605,20 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
|
|
|
10485
10605
|
"aria-checked": $options.ariaChecked,
|
|
10486
10606
|
tabindex: $props.index === 0 ? 0 : -1,
|
|
10487
10607
|
onKeydown: _cache[3] || (_cache[3] = (...args) => ($options.onKeyDown && $options.onKeyDown(...args)))
|
|
10488
|
-
}, [
|
|
10489
|
-
vue.createElementVNode("div", {
|
|
10490
|
-
class:
|
|
10608
|
+
}, $options.getPTOptions('node')), [
|
|
10609
|
+
vue.createElementVNode("div", vue.mergeProps({
|
|
10610
|
+
class: $options.contentClass,
|
|
10491
10611
|
onClick: _cache[1] || (_cache[1] = (...args) => ($options.onClick && $options.onClick(...args))),
|
|
10492
10612
|
onTouchend: _cache[2] || (_cache[2] = (...args) => ($options.onTouchEnd && $options.onTouchEnd(...args))),
|
|
10493
|
-
style:
|
|
10494
|
-
}, [
|
|
10495
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", {
|
|
10613
|
+
style: $props.node.style
|
|
10614
|
+
}, $options.getPTOptions('content')), [
|
|
10615
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("button", vue.mergeProps({
|
|
10496
10616
|
type: "button",
|
|
10497
10617
|
class: "p-tree-toggler p-link",
|
|
10498
10618
|
onClick: _cache[0] || (_cache[0] = (...args) => ($options.toggle && $options.toggle(...args))),
|
|
10499
10619
|
tabindex: "-1",
|
|
10500
10620
|
"aria-hidden": "true"
|
|
10501
|
-
}, [
|
|
10621
|
+
}, $options.getPTOptions('toggler')), [
|
|
10502
10622
|
($props.templates['togglericon'])
|
|
10503
10623
|
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates['togglericon']), {
|
|
10504
10624
|
key: 0,
|
|
@@ -10507,23 +10627,27 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
|
|
|
10507
10627
|
class: "p-tree-toggler-icon"
|
|
10508
10628
|
}, null, 8, ["node", "expanded"]))
|
|
10509
10629
|
: ($options.expanded)
|
|
10510
|
-
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.node.expandedIcon ? 'span' : 'ChevronDownIcon'), {
|
|
10630
|
+
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.node.expandedIcon ? 'span' : 'ChevronDownIcon'), vue.mergeProps({
|
|
10511
10631
|
key: 1,
|
|
10512
10632
|
class: "p-tree-toggler-icon"
|
|
10513
|
-
}))
|
|
10514
|
-
: (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.node.collapsedIcon ? 'span' : 'ChevronRightIcon'), {
|
|
10633
|
+
}, $options.getPTOptions('togglerIcon')), null, 16))
|
|
10634
|
+
: (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.node.collapsedIcon ? 'span' : 'ChevronRightIcon'), vue.mergeProps({
|
|
10515
10635
|
key: 2,
|
|
10516
10636
|
class: "p-tree-toggler-icon"
|
|
10517
|
-
}))
|
|
10518
|
-
])), [
|
|
10637
|
+
}, $options.getPTOptions('togglerIcon')), null, 16))
|
|
10638
|
+
], 16)), [
|
|
10519
10639
|
[_directive_ripple]
|
|
10520
10640
|
]),
|
|
10521
10641
|
($options.checkboxMode)
|
|
10522
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
10523
|
-
|
|
10524
|
-
|
|
10642
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
10643
|
+
key: 0,
|
|
10644
|
+
class: "p-checkbox p-component",
|
|
10645
|
+
"aria-hidden": "true"
|
|
10646
|
+
}, $options.getPTOptions('checkboxContainer')), [
|
|
10647
|
+
vue.createElementVNode("div", vue.mergeProps({
|
|
10648
|
+
class: $options.checkboxClass,
|
|
10525
10649
|
role: "checkbox"
|
|
10526
|
-
}, [
|
|
10650
|
+
}, $options.getPTOptions('checkbox')), [
|
|
10527
10651
|
($props.templates['checkboxicon'])
|
|
10528
10652
|
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates['checkboxicon']), {
|
|
10529
10653
|
key: 0,
|
|
@@ -10531,17 +10655,15 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
|
|
|
10531
10655
|
partialChecked: $options.partialChecked,
|
|
10532
10656
|
class: "p-checkbox-icon"
|
|
10533
10657
|
}, null, 8, ["checked", "partialChecked"]))
|
|
10534
|
-
: (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($options.checked ? 'CheckIcon' : $options.partialChecked ? 'MinusIcon' : null), {
|
|
10658
|
+
: (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($options.checked ? 'CheckIcon' : $options.partialChecked ? 'MinusIcon' : null), vue.mergeProps({
|
|
10535
10659
|
key: 1,
|
|
10536
10660
|
class: "p-checkbox-icon"
|
|
10537
|
-
}))
|
|
10538
|
-
],
|
|
10539
|
-
]))
|
|
10661
|
+
}, $options.getPTOptions('checkboxIcon')), null, 16))
|
|
10662
|
+
], 16)
|
|
10663
|
+
], 16))
|
|
10540
10664
|
: vue.createCommentVNode("", true),
|
|
10541
|
-
vue.createElementVNode("span", {
|
|
10542
|
-
|
|
10543
|
-
}, null, 2),
|
|
10544
|
-
vue.createElementVNode("span", _hoisted_3$1, [
|
|
10665
|
+
vue.createElementVNode("span", vue.mergeProps({ class: $options.icon }, $options.getPTOptions('nodeIcon')), null, 16),
|
|
10666
|
+
vue.createElementVNode("span", vue.mergeProps({ class: "p-treenode-label" }, $options.getPTOptions('label')), [
|
|
10545
10667
|
($props.templates[$props.node.type] || $props.templates['default'])
|
|
10546
10668
|
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates[$props.node.type] || $props.templates['default']), {
|
|
10547
10669
|
key: 0,
|
|
@@ -10550,10 +10672,14 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
|
|
|
10550
10672
|
: (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
10551
10673
|
vue.createTextVNode(vue.toDisplayString($options.label($props.node)), 1)
|
|
10552
10674
|
], 64))
|
|
10553
|
-
])
|
|
10554
|
-
],
|
|
10675
|
+
], 16)
|
|
10676
|
+
], 16),
|
|
10555
10677
|
($options.hasChildren && $options.expanded)
|
|
10556
|
-
? (vue.openBlock(), vue.createElementBlock("ul",
|
|
10678
|
+
? (vue.openBlock(), vue.createElementBlock("ul", vue.mergeProps({
|
|
10679
|
+
key: 0,
|
|
10680
|
+
class: "p-treenode-children",
|
|
10681
|
+
role: "group"
|
|
10682
|
+
}, _ctx.ptm('subgroup')), [
|
|
10557
10683
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.node.children, (childNode) => {
|
|
10558
10684
|
return (vue.openBlock(), vue.createBlock(_component_TreeNode, {
|
|
10559
10685
|
key: childNode.key,
|
|
@@ -10565,18 +10691,20 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
|
|
|
10565
10691
|
onNodeClick: $options.onChildNodeClick,
|
|
10566
10692
|
selectionMode: $props.selectionMode,
|
|
10567
10693
|
selectionKeys: $props.selectionKeys,
|
|
10568
|
-
onCheckboxChange: $options.propagateUp
|
|
10569
|
-
|
|
10694
|
+
onCheckboxChange: $options.propagateUp,
|
|
10695
|
+
pt: _ctx.pt
|
|
10696
|
+
}, null, 8, ["node", "templates", "level", "expandedKeys", "onNodeToggle", "onNodeClick", "selectionMode", "selectionKeys", "onCheckboxChange", "pt"]))
|
|
10570
10697
|
}), 128))
|
|
10571
|
-
]))
|
|
10698
|
+
], 16))
|
|
10572
10699
|
: vue.createCommentVNode("", true)
|
|
10573
|
-
],
|
|
10700
|
+
], 16, _hoisted_1$1))
|
|
10574
10701
|
}
|
|
10575
10702
|
|
|
10576
10703
|
script$1.render = render$1;
|
|
10577
10704
|
|
|
10578
10705
|
var script = {
|
|
10579
10706
|
name: 'Tree',
|
|
10707
|
+
extends: BaseComponent__default["default"],
|
|
10580
10708
|
emits: ['node-expand', 'node-collapse', 'update:expandedKeys', 'update:selectionKeys', 'node-select', 'node-unselect'],
|
|
10581
10709
|
props: {
|
|
10582
10710
|
value: {
|
|
@@ -10848,68 +10976,64 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
|
|
|
10848
10976
|
}
|
|
10849
10977
|
};
|
|
10850
10978
|
|
|
10851
|
-
const _hoisted_1 =
|
|
10852
|
-
|
|
10853
|
-
class: "p-tree-loading-overlay p-component-overlay"
|
|
10854
|
-
};
|
|
10855
|
-
const _hoisted_2 = {
|
|
10856
|
-
key: 1,
|
|
10857
|
-
class: "p-tree-filter-container"
|
|
10858
|
-
};
|
|
10859
|
-
const _hoisted_3 = ["placeholder"];
|
|
10860
|
-
const _hoisted_4 = ["aria-labelledby", "aria-label"];
|
|
10979
|
+
const _hoisted_1 = ["placeholder"];
|
|
10980
|
+
const _hoisted_2 = ["aria-labelledby", "aria-label"];
|
|
10861
10981
|
|
|
10862
10982
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
10863
10983
|
const _component_SpinnerIcon = vue.resolveComponent("SpinnerIcon");
|
|
10864
10984
|
const _component_SearchIcon = vue.resolveComponent("SearchIcon");
|
|
10865
10985
|
const _component_TreeNode = vue.resolveComponent("TreeNode");
|
|
10866
10986
|
|
|
10867
|
-
return (vue.openBlock(), vue.createElementBlock("div", {
|
|
10868
|
-
class: vue.normalizeClass($options.containerClass)
|
|
10869
|
-
}, [
|
|
10987
|
+
return (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({ class: $options.containerClass }, _ctx.ptm('root')), [
|
|
10870
10988
|
($props.loading)
|
|
10871
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
10989
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
10990
|
+
key: 0,
|
|
10991
|
+
class: "p-tree-loading-overlay p-component-overlay"
|
|
10992
|
+
}, _ctx.ptm('loadingOverlay')), [
|
|
10872
10993
|
vue.renderSlot(_ctx.$slots, "loadingicon", {}, () => [
|
|
10873
10994
|
($props.loadingIcon)
|
|
10874
|
-
? (vue.openBlock(), vue.createElementBlock("i", {
|
|
10995
|
+
? (vue.openBlock(), vue.createElementBlock("i", vue.mergeProps({
|
|
10875
10996
|
key: 0,
|
|
10876
|
-
class:
|
|
10877
|
-
}, null,
|
|
10878
|
-
: (vue.openBlock(), vue.createBlock(_component_SpinnerIcon, {
|
|
10997
|
+
class: ['p-tree-loading-icon pi-spin', $props.loadingIcon]
|
|
10998
|
+
}, _ctx.ptm('loadingIcon')), null, 16))
|
|
10999
|
+
: (vue.openBlock(), vue.createBlock(_component_SpinnerIcon, vue.mergeProps({
|
|
10879
11000
|
key: 1,
|
|
10880
11001
|
spin: "",
|
|
10881
11002
|
class: "p-tree-loading-icon"
|
|
10882
|
-
}))
|
|
11003
|
+
}, _ctx.ptm('loadingIcon')), null, 16))
|
|
10883
11004
|
])
|
|
10884
|
-
]))
|
|
11005
|
+
], 16))
|
|
10885
11006
|
: vue.createCommentVNode("", true),
|
|
10886
11007
|
($props.filter)
|
|
10887
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
10888
|
-
|
|
11008
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
11009
|
+
key: 1,
|
|
11010
|
+
class: "p-tree-filter-container"
|
|
11011
|
+
}, _ctx.ptm('filterContainer')), [
|
|
11012
|
+
vue.withDirectives(vue.createElementVNode("input", vue.mergeProps({
|
|
10889
11013
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = $event => (($data.filterValue) = $event)),
|
|
10890
11014
|
type: "text",
|
|
10891
11015
|
autocomplete: "off",
|
|
10892
11016
|
class: "p-tree-filter p-inputtext p-component",
|
|
10893
11017
|
placeholder: $props.filterPlaceholder,
|
|
10894
11018
|
onKeydown: _cache[1] || (_cache[1] = (...args) => ($options.onFilterKeydown && $options.onFilterKeydown(...args)))
|
|
10895
|
-
}, null,
|
|
11019
|
+
}, _ctx.ptm('input')), null, 16, _hoisted_1), [
|
|
10896
11020
|
[vue.vModelText, $data.filterValue]
|
|
10897
11021
|
]),
|
|
10898
11022
|
vue.renderSlot(_ctx.$slots, "searchicon", {}, () => [
|
|
10899
|
-
vue.createVNode(_component_SearchIcon, { class: "p-tree-filter-icon" })
|
|
11023
|
+
vue.createVNode(_component_SearchIcon, vue.mergeProps({ class: "p-tree-filter-icon" }, _ctx.ptm('searchIcon')), null, 16)
|
|
10900
11024
|
])
|
|
10901
|
-
]))
|
|
11025
|
+
], 16))
|
|
10902
11026
|
: vue.createCommentVNode("", true),
|
|
10903
|
-
vue.createElementVNode("div", {
|
|
11027
|
+
vue.createElementVNode("div", vue.mergeProps({
|
|
10904
11028
|
class: "p-tree-wrapper",
|
|
10905
|
-
style:
|
|
10906
|
-
}, [
|
|
10907
|
-
vue.createElementVNode("ul", {
|
|
11029
|
+
style: { maxHeight: $props.scrollHeight }
|
|
11030
|
+
}, _ctx.ptm('wrapper')), [
|
|
11031
|
+
vue.createElementVNode("ul", vue.mergeProps({
|
|
10908
11032
|
class: "p-tree-container",
|
|
10909
11033
|
role: "tree",
|
|
10910
11034
|
"aria-labelledby": _ctx.ariaLabelledby,
|
|
10911
11035
|
"aria-label": _ctx.ariaLabel
|
|
10912
|
-
}, [
|
|
11036
|
+
}, _ctx.ptm('container')), [
|
|
10913
11037
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($options.valueToRender, (node, index) => {
|
|
10914
11038
|
return (vue.openBlock(), vue.createBlock(_component_TreeNode, {
|
|
10915
11039
|
key: node.key,
|
|
@@ -10922,12 +11046,13 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
|
|
|
10922
11046
|
onNodeClick: $options.onNodeClick,
|
|
10923
11047
|
selectionMode: $props.selectionMode,
|
|
10924
11048
|
selectionKeys: $props.selectionKeys,
|
|
10925
|
-
onCheckboxChange: $options.onCheckboxChange
|
|
10926
|
-
|
|
11049
|
+
onCheckboxChange: $options.onCheckboxChange,
|
|
11050
|
+
pt: _ctx.pt
|
|
11051
|
+
}, null, 8, ["node", "templates", "level", "index", "expandedKeys", "onNodeToggle", "onNodeClick", "selectionMode", "selectionKeys", "onCheckboxChange", "pt"]))
|
|
10927
11052
|
}), 128))
|
|
10928
|
-
],
|
|
10929
|
-
],
|
|
10930
|
-
],
|
|
11053
|
+
], 16, _hoisted_2)
|
|
11054
|
+
], 16)
|
|
11055
|
+
], 16))
|
|
10931
11056
|
}
|
|
10932
11057
|
|
|
10933
11058
|
function styleInject(css, ref) {
|
|
@@ -10964,20 +11089,22 @@ this.primevue.tree = (function (SearchIcon, SpinnerIcon, utils, CheckIcon, Chevr
|
|
|
10964
11089
|
|
|
10965
11090
|
return script;
|
|
10966
11091
|
|
|
10967
|
-
})(primevue.icons.search, primevue.icons.spinner, primevue.utils, primevue.icons.check, primevue.icons.chevrondown, primevue.icons.chevronright, primevue.icons.minus, primevue.ripple, Vue);
|
|
11092
|
+
})(primevue.basecomponent, primevue.icons.search, primevue.icons.spinner, primevue.utils, primevue.icons.check, primevue.icons.chevrondown, primevue.icons.chevronright, primevue.icons.minus, primevue.ripple, Vue);
|
|
10968
11093
|
|
|
10969
11094
|
this.primevue = this.primevue || {};
|
|
10970
|
-
this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
11095
|
+
this.primevue.menu = (function (BaseComponent, OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
10971
11096
|
'use strict';
|
|
10972
11097
|
|
|
10973
11098
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10974
11099
|
|
|
11100
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
10975
11101
|
var OverlayEventBus__default = /*#__PURE__*/_interopDefaultLegacy(OverlayEventBus);
|
|
10976
11102
|
var Portal__default = /*#__PURE__*/_interopDefaultLegacy(Portal);
|
|
10977
11103
|
var Ripple__default = /*#__PURE__*/_interopDefaultLegacy(Ripple);
|
|
10978
11104
|
|
|
10979
11105
|
var script$1 = {
|
|
10980
11106
|
name: 'Menuitem',
|
|
11107
|
+
extends: BaseComponent__default["default"],
|
|
10981
11108
|
inheritAttrs: false,
|
|
10982
11109
|
emits: ['item-click'],
|
|
10983
11110
|
props: {
|
|
@@ -10991,6 +11118,16 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
10991
11118
|
getItemProp(processedItem, name) {
|
|
10992
11119
|
return processedItem && processedItem.item ? utils.ObjectUtils.getItemValue(processedItem.item[name]) : undefined;
|
|
10993
11120
|
},
|
|
11121
|
+
getPTOptions(key) {
|
|
11122
|
+
return this.ptm(key, {
|
|
11123
|
+
context: {
|
|
11124
|
+
focused: this.isItemFocused()
|
|
11125
|
+
}
|
|
11126
|
+
});
|
|
11127
|
+
},
|
|
11128
|
+
isItemFocused() {
|
|
11129
|
+
return this.focusedOptionId === this.id;
|
|
11130
|
+
},
|
|
10994
11131
|
onItemActionClick(event, navigate) {
|
|
10995
11132
|
navigate && navigate(event);
|
|
10996
11133
|
},
|
|
@@ -11034,28 +11171,26 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11034
11171
|
|
|
11035
11172
|
const _hoisted_1$1 = ["id", "aria-label", "aria-disabled"];
|
|
11036
11173
|
const _hoisted_2$1 = ["href", "onClick"];
|
|
11037
|
-
const _hoisted_3$1 =
|
|
11038
|
-
const _hoisted_4$1 = ["href", "target"];
|
|
11039
|
-
const _hoisted_5$1 = { class: "p-menuitem-text" };
|
|
11174
|
+
const _hoisted_3$1 = ["href", "target"];
|
|
11040
11175
|
|
|
11041
11176
|
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11042
11177
|
const _component_router_link = vue.resolveComponent("router-link");
|
|
11043
11178
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
11044
11179
|
|
|
11045
11180
|
return ($options.visible())
|
|
11046
|
-
? (vue.openBlock(), vue.createElementBlock("li", {
|
|
11181
|
+
? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
|
|
11047
11182
|
key: 0,
|
|
11048
11183
|
id: $props.id,
|
|
11049
|
-
class:
|
|
11184
|
+
class: $options.containerClass(),
|
|
11050
11185
|
role: "menuitem",
|
|
11051
|
-
style:
|
|
11186
|
+
style: $props.item.style,
|
|
11052
11187
|
"aria-label": $options.label(),
|
|
11053
11188
|
"aria-disabled": $options.disabled()
|
|
11054
|
-
}, [
|
|
11055
|
-
vue.createElementVNode("div", {
|
|
11189
|
+
}, $options.getPTOptions('menuitem')), [
|
|
11190
|
+
vue.createElementVNode("div", vue.mergeProps({
|
|
11056
11191
|
class: "p-menuitem-content",
|
|
11057
11192
|
onClick: _cache[0] || (_cache[0] = $event => ($options.onItemClick($event)))
|
|
11058
|
-
}, [
|
|
11193
|
+
}, $options.getPTOptions('content')), [
|
|
11059
11194
|
(!$props.templates.item)
|
|
11060
11195
|
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
11061
11196
|
($props.item.to && !$options.disabled())
|
|
@@ -11065,13 +11200,13 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11065
11200
|
custom: ""
|
|
11066
11201
|
}, {
|
|
11067
11202
|
default: vue.withCtx(({ navigate, href, isActive, isExactActive }) => [
|
|
11068
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", {
|
|
11203
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", vue.mergeProps({
|
|
11069
11204
|
href: href,
|
|
11070
|
-
class:
|
|
11205
|
+
class: $options.linkClass({ isActive, isExactActive }),
|
|
11071
11206
|
tabindex: "-1",
|
|
11072
11207
|
"aria-hidden": "true",
|
|
11073
11208
|
onClick: $event => ($options.onItemActionClick($event, navigate))
|
|
11074
|
-
}, [
|
|
11209
|
+
}, $options.getPTOptions('action')), [
|
|
11075
11210
|
($props.templates.itemicon)
|
|
11076
11211
|
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.itemicon), {
|
|
11077
11212
|
key: 0,
|
|
@@ -11079,26 +11214,26 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11079
11214
|
class: vue.normalizeClass($options.iconClass)
|
|
11080
11215
|
}, null, 8, ["item", "class"]))
|
|
11081
11216
|
: ($props.item.icon)
|
|
11082
|
-
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
11217
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
11083
11218
|
key: 1,
|
|
11084
|
-
class:
|
|
11085
|
-
}, null,
|
|
11219
|
+
class: $options.iconClass
|
|
11220
|
+
}, $options.getPTOptions('icon')), null, 16))
|
|
11086
11221
|
: vue.createCommentVNode("", true),
|
|
11087
|
-
vue.createElementVNode("span",
|
|
11088
|
-
],
|
|
11222
|
+
vue.createElementVNode("span", vue.mergeProps({ class: "p-menuitem-text" }, $options.getPTOptions('label')), vue.toDisplayString($options.label()), 17)
|
|
11223
|
+
], 16, _hoisted_2$1)), [
|
|
11089
11224
|
[_directive_ripple]
|
|
11090
11225
|
])
|
|
11091
11226
|
]),
|
|
11092
11227
|
_: 1
|
|
11093
11228
|
}, 8, ["to"]))
|
|
11094
|
-
: vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", {
|
|
11229
|
+
: vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", vue.mergeProps({
|
|
11095
11230
|
key: 1,
|
|
11096
11231
|
href: $props.item.url,
|
|
11097
|
-
class:
|
|
11232
|
+
class: $options.linkClass(),
|
|
11098
11233
|
target: $props.item.target,
|
|
11099
11234
|
tabindex: "-1",
|
|
11100
11235
|
"aria-hidden": "true"
|
|
11101
|
-
}, [
|
|
11236
|
+
}, $options.getPTOptions('action')), [
|
|
11102
11237
|
($props.templates.itemicon)
|
|
11103
11238
|
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.itemicon), {
|
|
11104
11239
|
key: 0,
|
|
@@ -11106,13 +11241,13 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11106
11241
|
class: vue.normalizeClass($options.iconClass)
|
|
11107
11242
|
}, null, 8, ["item", "class"]))
|
|
11108
11243
|
: ($props.item.icon)
|
|
11109
|
-
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
11244
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
11110
11245
|
key: 1,
|
|
11111
|
-
class:
|
|
11112
|
-
}, null,
|
|
11246
|
+
class: $options.iconClass
|
|
11247
|
+
}, $options.getPTOptions('icon')), null, 16))
|
|
11113
11248
|
: vue.createCommentVNode("", true),
|
|
11114
|
-
vue.createElementVNode("span",
|
|
11115
|
-
],
|
|
11249
|
+
vue.createElementVNode("span", vue.mergeProps({ class: "p-menuitem-text" }, $options.getPTOptions('label')), vue.toDisplayString($options.label()), 17)
|
|
11250
|
+
], 16, _hoisted_3$1)), [
|
|
11116
11251
|
[_directive_ripple]
|
|
11117
11252
|
])
|
|
11118
11253
|
], 64))
|
|
@@ -11120,8 +11255,8 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11120
11255
|
key: 1,
|
|
11121
11256
|
item: $props.item
|
|
11122
11257
|
}, null, 8, ["item"]))
|
|
11123
|
-
])
|
|
11124
|
-
],
|
|
11258
|
+
], 16)
|
|
11259
|
+
], 16, _hoisted_1$1))
|
|
11125
11260
|
: vue.createCommentVNode("", true)
|
|
11126
11261
|
}
|
|
11127
11262
|
|
|
@@ -11129,6 +11264,7 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11129
11264
|
|
|
11130
11265
|
var script = {
|
|
11131
11266
|
name: 'Menu',
|
|
11267
|
+
extends: BaseComponent__default["default"],
|
|
11132
11268
|
inheritAttrs: false,
|
|
11133
11269
|
emits: ['show', 'hide', 'focus', 'blur'],
|
|
11134
11270
|
props: {
|
|
@@ -11492,16 +11628,8 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11492
11628
|
};
|
|
11493
11629
|
|
|
11494
11630
|
const _hoisted_1 = ["id"];
|
|
11495
|
-
const _hoisted_2 =
|
|
11496
|
-
|
|
11497
|
-
class: "p-menu-start"
|
|
11498
|
-
};
|
|
11499
|
-
const _hoisted_3 = ["id", "tabindex", "aria-activedescendant", "aria-label", "aria-labelledby"];
|
|
11500
|
-
const _hoisted_4 = ["id"];
|
|
11501
|
-
const _hoisted_5 = {
|
|
11502
|
-
key: 1,
|
|
11503
|
-
class: "p-menu-end"
|
|
11504
|
-
};
|
|
11631
|
+
const _hoisted_2 = ["id", "tabindex", "aria-activedescendant", "aria-label", "aria-labelledby"];
|
|
11632
|
+
const _hoisted_3 = ["id"];
|
|
11505
11633
|
|
|
11506
11634
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11507
11635
|
const _component_PVMenuitem = vue.resolveComponent("PVMenuitem");
|
|
@@ -11524,16 +11652,18 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11524
11652
|
key: 0,
|
|
11525
11653
|
ref: $options.containerRef,
|
|
11526
11654
|
id: $data.id,
|
|
11527
|
-
class: $options.containerClass
|
|
11528
|
-
}, _ctx.$attrs, {
|
|
11655
|
+
class: $options.containerClass,
|
|
11529
11656
|
onClick: _cache[3] || (_cache[3] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args)))
|
|
11530
|
-
}), [
|
|
11657
|
+
}, { ..._ctx.$attrs, ..._ctx.ptm('root') }), [
|
|
11531
11658
|
(_ctx.$slots.start)
|
|
11532
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
11659
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
11660
|
+
key: 0,
|
|
11661
|
+
class: "p-menu-start"
|
|
11662
|
+
}, _ctx.ptm('start')), [
|
|
11533
11663
|
vue.renderSlot(_ctx.$slots, "start")
|
|
11534
|
-
]))
|
|
11664
|
+
], 16))
|
|
11535
11665
|
: vue.createCommentVNode("", true),
|
|
11536
|
-
vue.createElementVNode("ul", {
|
|
11666
|
+
vue.createElementVNode("ul", vue.mergeProps({
|
|
11537
11667
|
ref: $options.listRef,
|
|
11538
11668
|
id: $data.id + '_list',
|
|
11539
11669
|
class: "p-menu-list p-reset",
|
|
@@ -11545,7 +11675,7 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11545
11675
|
onFocus: _cache[0] || (_cache[0] = (...args) => ($options.onListFocus && $options.onListFocus(...args))),
|
|
11546
11676
|
onBlur: _cache[1] || (_cache[1] = (...args) => ($options.onListBlur && $options.onListBlur(...args))),
|
|
11547
11677
|
onKeydown: _cache[2] || (_cache[2] = (...args) => ($options.onListKeyDown && $options.onListKeyDown(...args)))
|
|
11548
|
-
}, [
|
|
11678
|
+
}, _ctx.ptm('menu')), [
|
|
11549
11679
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.model, (item, i) => {
|
|
11550
11680
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
11551
11681
|
key: $options.label(item) + i.toString()
|
|
@@ -11553,16 +11683,16 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11553
11683
|
(item.items && $options.visible(item) && !item.separator)
|
|
11554
11684
|
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
11555
11685
|
(item.items)
|
|
11556
|
-
? (vue.openBlock(), vue.createElementBlock("li", {
|
|
11686
|
+
? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
|
|
11557
11687
|
key: 0,
|
|
11558
11688
|
id: $data.id + '_' + i,
|
|
11559
11689
|
class: "p-submenu-header",
|
|
11560
11690
|
role: "none"
|
|
11561
|
-
}, [
|
|
11691
|
+
}, _ctx.ptm('submenuHeader')), [
|
|
11562
11692
|
vue.renderSlot(_ctx.$slots, "item", { item: item }, () => [
|
|
11563
11693
|
vue.createTextVNode(vue.toDisplayString($options.label(item)), 1)
|
|
11564
11694
|
])
|
|
11565
|
-
],
|
|
11695
|
+
], 16, _hoisted_3))
|
|
11566
11696
|
: vue.createCommentVNode("", true),
|
|
11567
11697
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.items, (child, j) => {
|
|
11568
11698
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
@@ -11576,26 +11706,27 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11576
11706
|
templates: _ctx.$slots,
|
|
11577
11707
|
exact: $props.exact,
|
|
11578
11708
|
focusedOptionId: $options.focusedOptionId,
|
|
11579
|
-
onItemClick: $options.itemClick
|
|
11580
|
-
|
|
11709
|
+
onItemClick: $options.itemClick,
|
|
11710
|
+
pt: _ctx.pt
|
|
11711
|
+
}, null, 8, ["id", "item", "templates", "exact", "focusedOptionId", "onItemClick", "pt"]))
|
|
11581
11712
|
: ($options.visible(child) && child.separator)
|
|
11582
|
-
? (vue.openBlock(), vue.createElementBlock("li", {
|
|
11713
|
+
? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
|
|
11583
11714
|
key: 'separator' + i + j,
|
|
11584
|
-
class:
|
|
11585
|
-
style:
|
|
11715
|
+
class: $options.separatorClass(item),
|
|
11716
|
+
style: child.style,
|
|
11586
11717
|
role: "separator"
|
|
11587
|
-
}, null,
|
|
11718
|
+
}, _ctx.ptm('separator')), null, 16))
|
|
11588
11719
|
: vue.createCommentVNode("", true)
|
|
11589
11720
|
], 64))
|
|
11590
11721
|
}), 128))
|
|
11591
11722
|
], 64))
|
|
11592
11723
|
: ($options.visible(item) && item.separator)
|
|
11593
|
-
? (vue.openBlock(), vue.createElementBlock("li", {
|
|
11724
|
+
? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
|
|
11594
11725
|
key: 'separator' + i.toString(),
|
|
11595
|
-
class:
|
|
11596
|
-
style:
|
|
11726
|
+
class: $options.separatorClass(item),
|
|
11727
|
+
style: item.style,
|
|
11597
11728
|
role: "separator"
|
|
11598
|
-
}, null,
|
|
11729
|
+
}, _ctx.ptm('separator')), null, 16))
|
|
11599
11730
|
: (vue.openBlock(), vue.createBlock(_component_PVMenuitem, {
|
|
11600
11731
|
key: $options.label(item) + i.toString(),
|
|
11601
11732
|
id: $data.id + '_' + i,
|
|
@@ -11603,15 +11734,19 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11603
11734
|
templates: _ctx.$slots,
|
|
11604
11735
|
exact: $props.exact,
|
|
11605
11736
|
focusedOptionId: $options.focusedOptionId,
|
|
11606
|
-
onItemClick: $options.itemClick
|
|
11607
|
-
|
|
11737
|
+
onItemClick: $options.itemClick,
|
|
11738
|
+
pt: _ctx.pt
|
|
11739
|
+
}, null, 8, ["id", "item", "templates", "exact", "focusedOptionId", "onItemClick", "pt"]))
|
|
11608
11740
|
], 64))
|
|
11609
11741
|
}), 128))
|
|
11610
|
-
],
|
|
11742
|
+
], 16, _hoisted_2),
|
|
11611
11743
|
(_ctx.$slots.end)
|
|
11612
|
-
? (vue.openBlock(), vue.createElementBlock("div",
|
|
11744
|
+
? (vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
11745
|
+
key: 1,
|
|
11746
|
+
class: "p-menu-end"
|
|
11747
|
+
}, _ctx.ptm('end')), [
|
|
11613
11748
|
vue.renderSlot(_ctx.$slots, "end")
|
|
11614
|
-
]))
|
|
11749
|
+
], 16))
|
|
11615
11750
|
: vue.createCommentVNode("", true)
|
|
11616
11751
|
], 16, _hoisted_1))
|
|
11617
11752
|
: vue.createCommentVNode("", true)
|
|
@@ -11657,14 +11792,15 @@ this.primevue.menu = (function (OverlayEventBus, Portal, utils, Ripple, vue) {
|
|
|
11657
11792
|
|
|
11658
11793
|
return script;
|
|
11659
11794
|
|
|
11660
|
-
})(primevue.overlayeventbus, primevue.portal, primevue.utils, primevue.ripple, Vue);
|
|
11795
|
+
})(primevue.basecomponent, primevue.overlayeventbus, primevue.portal, primevue.utils, primevue.ripple, Vue);
|
|
11661
11796
|
|
|
11662
11797
|
this.primevue = this.primevue || {};
|
|
11663
|
-
this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRightIcon, Ripple, vue) {
|
|
11798
|
+
this.primevue.tieredmenu = (function (BaseComponent, OverlayEventBus, Portal, utils, AngleRightIcon, Ripple, vue) {
|
|
11664
11799
|
'use strict';
|
|
11665
11800
|
|
|
11666
11801
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11667
11802
|
|
|
11803
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
11668
11804
|
var OverlayEventBus__default = /*#__PURE__*/_interopDefaultLegacy(OverlayEventBus);
|
|
11669
11805
|
var Portal__default = /*#__PURE__*/_interopDefaultLegacy(Portal);
|
|
11670
11806
|
var AngleRightIcon__default = /*#__PURE__*/_interopDefaultLegacy(AngleRightIcon);
|
|
@@ -11672,6 +11808,7 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11672
11808
|
|
|
11673
11809
|
var script$1 = {
|
|
11674
11810
|
name: 'TieredMenuSub',
|
|
11811
|
+
extends: BaseComponent__default["default"],
|
|
11675
11812
|
emits: ['item-click', 'item-mouseenter'],
|
|
11676
11813
|
props: {
|
|
11677
11814
|
menuId: {
|
|
@@ -11716,6 +11853,14 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11716
11853
|
getItemLabel(processedItem) {
|
|
11717
11854
|
return this.getItemProp(processedItem, 'label');
|
|
11718
11855
|
},
|
|
11856
|
+
getPTOptions(processedItem, key) {
|
|
11857
|
+
return this.ptm(key, {
|
|
11858
|
+
context: {
|
|
11859
|
+
active: this.isItemActive(processedItem),
|
|
11860
|
+
focused: this.isItemFocused(processedItem)
|
|
11861
|
+
}
|
|
11862
|
+
});
|
|
11863
|
+
},
|
|
11719
11864
|
isItemActive(processedItem) {
|
|
11720
11865
|
return this.activeItemPath.some((path) => path.key === processedItem.key);
|
|
11721
11866
|
},
|
|
@@ -11785,10 +11930,8 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11785
11930
|
const _hoisted_1$1 = ["id", "aria-label", "aria-disabled", "aria-expanded", "aria-haspopup", "aria-level", "aria-setsize", "aria-posinset"];
|
|
11786
11931
|
const _hoisted_2 = ["onClick", "onMouseenter"];
|
|
11787
11932
|
const _hoisted_3 = ["href", "onClick"];
|
|
11788
|
-
const _hoisted_4 =
|
|
11789
|
-
const _hoisted_5 = ["
|
|
11790
|
-
const _hoisted_6 = { class: "p-menuitem-text" };
|
|
11791
|
-
const _hoisted_7 = ["id"];
|
|
11933
|
+
const _hoisted_4 = ["href", "target"];
|
|
11934
|
+
const _hoisted_5 = ["id"];
|
|
11792
11935
|
|
|
11793
11936
|
function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11794
11937
|
const _component_router_link = vue.resolveComponent("router-link");
|
|
@@ -11796,17 +11939,17 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11796
11939
|
const _component_TieredMenuSub = vue.resolveComponent("TieredMenuSub", true);
|
|
11797
11940
|
const _directive_ripple = vue.resolveDirective("ripple");
|
|
11798
11941
|
|
|
11799
|
-
return (vue.openBlock(), vue.createElementBlock("ul",
|
|
11942
|
+
return (vue.openBlock(), vue.createElementBlock("ul", vue.normalizeProps(vue.guardReactiveProps(_ctx.ptm('menu'))), [
|
|
11800
11943
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList($props.items, (processedItem, index) => {
|
|
11801
11944
|
return (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
|
|
11802
11945
|
key: $options.getItemKey(processedItem)
|
|
11803
11946
|
}, [
|
|
11804
11947
|
($options.isItemVisible(processedItem) && !$options.getItemProp(processedItem, 'separator'))
|
|
11805
|
-
? (vue.openBlock(), vue.createElementBlock("li", {
|
|
11948
|
+
? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
|
|
11806
11949
|
key: 0,
|
|
11807
11950
|
id: $options.getItemId(processedItem),
|
|
11808
|
-
style:
|
|
11809
|
-
class:
|
|
11951
|
+
style: $options.getItemProp(processedItem, 'style'),
|
|
11952
|
+
class: $options.getItemClass(processedItem),
|
|
11810
11953
|
role: "menuitem",
|
|
11811
11954
|
"aria-label": $options.getItemLabel(processedItem),
|
|
11812
11955
|
"aria-disabled": $options.isItemDisabled(processedItem) || undefined,
|
|
@@ -11815,12 +11958,12 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11815
11958
|
"aria-level": $props.level + 1,
|
|
11816
11959
|
"aria-setsize": $options.getAriaSetSize(),
|
|
11817
11960
|
"aria-posinset": $options.getAriaPosInset(index)
|
|
11818
|
-
}, [
|
|
11819
|
-
vue.createElementVNode("div", {
|
|
11961
|
+
}, $options.getPTOptions(processedItem, 'menuitem')), [
|
|
11962
|
+
vue.createElementVNode("div", vue.mergeProps({
|
|
11820
11963
|
class: "p-menuitem-content",
|
|
11821
11964
|
onClick: $event => ($options.onItemClick($event, processedItem)),
|
|
11822
11965
|
onMouseenter: $event => ($options.onItemMouseEnter($event, processedItem))
|
|
11823
|
-
}, [
|
|
11966
|
+
}, $options.getPTOptions(processedItem, 'content')), [
|
|
11824
11967
|
(!$props.templates.item)
|
|
11825
11968
|
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
11826
11969
|
($options.getItemProp(processedItem, 'to') && !$options.isItemDisabled(processedItem))
|
|
@@ -11830,13 +11973,13 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11830
11973
|
custom: ""
|
|
11831
11974
|
}, {
|
|
11832
11975
|
default: vue.withCtx(({ navigate, href, isActive, isExactActive }) => [
|
|
11833
|
-
vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", {
|
|
11976
|
+
vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", vue.mergeProps({
|
|
11834
11977
|
href: href,
|
|
11835
|
-
class:
|
|
11978
|
+
class: $options.getItemActionClass(processedItem, { isActive, isExactActive }),
|
|
11836
11979
|
tabindex: "-1",
|
|
11837
11980
|
"aria-hidden": "true",
|
|
11838
11981
|
onClick: $event => ($options.onItemActionClick($event, navigate))
|
|
11839
|
-
}, [
|
|
11982
|
+
}, $options.getPTOptions(processedItem, 'action')), [
|
|
11840
11983
|
($props.templates.itemicon)
|
|
11841
11984
|
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.itemicon), {
|
|
11842
11985
|
key: 0,
|
|
@@ -11844,26 +11987,26 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11844
11987
|
class: vue.normalizeClass($options.getItemIconClass(processedItem))
|
|
11845
11988
|
}, null, 8, ["item", "class"]))
|
|
11846
11989
|
: ($options.getItemProp(processedItem, 'icon'))
|
|
11847
|
-
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
11990
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
11848
11991
|
key: 1,
|
|
11849
|
-
class:
|
|
11850
|
-
}, null,
|
|
11992
|
+
class: $options.getItemIconClass(processedItem)
|
|
11993
|
+
}, $options.getPTOptions(processedItem, 'icon')), null, 16))
|
|
11851
11994
|
: vue.createCommentVNode("", true),
|
|
11852
|
-
vue.createElementVNode("span",
|
|
11853
|
-
],
|
|
11995
|
+
vue.createElementVNode("span", vue.mergeProps({ class: "p-menuitem-text" }, $options.getPTOptions(processedItem, 'label')), vue.toDisplayString($options.getItemLabel(processedItem)), 17)
|
|
11996
|
+
], 16, _hoisted_3)), [
|
|
11854
11997
|
[_directive_ripple]
|
|
11855
11998
|
])
|
|
11856
11999
|
]),
|
|
11857
12000
|
_: 2
|
|
11858
12001
|
}, 1032, ["to"]))
|
|
11859
|
-
: vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", {
|
|
12002
|
+
: vue.withDirectives((vue.openBlock(), vue.createElementBlock("a", vue.mergeProps({
|
|
11860
12003
|
key: 1,
|
|
11861
12004
|
href: $options.getItemProp(processedItem, 'url'),
|
|
11862
|
-
class:
|
|
12005
|
+
class: $options.getItemActionClass(processedItem),
|
|
11863
12006
|
target: $options.getItemProp(processedItem, 'target'),
|
|
11864
12007
|
tabindex: "-1",
|
|
11865
12008
|
"aria-hidden": "true"
|
|
11866
|
-
}, [
|
|
12009
|
+
}, $options.getPTOptions(processedItem, 'action')), [
|
|
11867
12010
|
($props.templates.itemicon)
|
|
11868
12011
|
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.itemicon), {
|
|
11869
12012
|
key: 0,
|
|
@@ -11871,27 +12014,27 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11871
12014
|
class: vue.normalizeClass($options.getItemIconClass(processedItem))
|
|
11872
12015
|
}, null, 8, ["item", "class"]))
|
|
11873
12016
|
: ($options.getItemProp(processedItem, 'icon'))
|
|
11874
|
-
? (vue.openBlock(), vue.createElementBlock("span", {
|
|
12017
|
+
? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
11875
12018
|
key: 1,
|
|
11876
|
-
class:
|
|
11877
|
-
}, null,
|
|
12019
|
+
class: $options.getItemIconClass(processedItem)
|
|
12020
|
+
}, $options.getPTOptions(processedItem, 'icon')), null, 16))
|
|
11878
12021
|
: vue.createCommentVNode("", true),
|
|
11879
|
-
vue.createElementVNode("span",
|
|
12022
|
+
vue.createElementVNode("span", vue.mergeProps({ class: "p-menuitem-text" }, $options.getPTOptions(processedItem, 'label')), vue.toDisplayString($options.getItemLabel(processedItem)), 17),
|
|
11880
12023
|
($options.getItemProp(processedItem, 'items'))
|
|
11881
12024
|
? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
|
|
11882
12025
|
($props.templates.submenuicon)
|
|
11883
|
-
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.submenuicon), {
|
|
12026
|
+
? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent($props.templates.submenuicon), vue.mergeProps({
|
|
11884
12027
|
key: 0,
|
|
11885
12028
|
class: "p-submenu-icon",
|
|
11886
12029
|
active: $options.isItemActive(processedItem)
|
|
11887
|
-
}, null,
|
|
11888
|
-
: (vue.openBlock(), vue.createBlock(_component_AngleRightIcon, {
|
|
12030
|
+
}, $options.getPTOptions(processedItem, 'submenuIcon')), null, 16, ["active"]))
|
|
12031
|
+
: (vue.openBlock(), vue.createBlock(_component_AngleRightIcon, vue.mergeProps({
|
|
11889
12032
|
key: 1,
|
|
11890
12033
|
class: "p-submenu-icon"
|
|
11891
|
-
}))
|
|
12034
|
+
}, $options.getPTOptions(processedItem, 'submenuIcon')), null, 16))
|
|
11892
12035
|
], 64))
|
|
11893
12036
|
: vue.createCommentVNode("", true)
|
|
11894
|
-
],
|
|
12037
|
+
], 16, _hoisted_4)), [
|
|
11895
12038
|
[_directive_ripple]
|
|
11896
12039
|
])
|
|
11897
12040
|
], 64))
|
|
@@ -11899,7 +12042,7 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11899
12042
|
key: 1,
|
|
11900
12043
|
item: processedItem.item
|
|
11901
12044
|
}, null, 8, ["item"]))
|
|
11902
|
-
],
|
|
12045
|
+
], 16, _hoisted_2),
|
|
11903
12046
|
($options.isItemVisible(processedItem) && $options.isItemGroup(processedItem))
|
|
11904
12047
|
? (vue.openBlock(), vue.createBlock(_component_TieredMenuSub, {
|
|
11905
12048
|
key: 0,
|
|
@@ -11913,30 +12056,32 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
11913
12056
|
activeItemPath: $props.activeItemPath,
|
|
11914
12057
|
exact: $props.exact,
|
|
11915
12058
|
level: $props.level + 1,
|
|
12059
|
+
pt: _ctx.pt,
|
|
11916
12060
|
onItemClick: _cache[0] || (_cache[0] = $event => (_ctx.$emit('item-click', $event))),
|
|
11917
12061
|
onItemMouseenter: _cache[1] || (_cache[1] = $event => (_ctx.$emit('item-mouseenter', $event)))
|
|
11918
|
-
}, null, 8, ["id", "menuId", "focusedItemId", "items", "templates", "activeItemPath", "exact", "level"]))
|
|
12062
|
+
}, null, 8, ["id", "menuId", "focusedItemId", "items", "templates", "activeItemPath", "exact", "level", "pt"]))
|
|
11919
12063
|
: vue.createCommentVNode("", true)
|
|
11920
|
-
],
|
|
12064
|
+
], 16, _hoisted_1$1))
|
|
11921
12065
|
: vue.createCommentVNode("", true),
|
|
11922
12066
|
($options.isItemVisible(processedItem) && $options.getItemProp(processedItem, 'separator'))
|
|
11923
|
-
? (vue.openBlock(), vue.createElementBlock("li", {
|
|
12067
|
+
? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
|
|
11924
12068
|
key: 1,
|
|
11925
12069
|
id: $options.getItemId(processedItem),
|
|
11926
|
-
style:
|
|
11927
|
-
class:
|
|
12070
|
+
style: $options.getItemProp(processedItem, 'style'),
|
|
12071
|
+
class: $options.getSeparatorItemClass(processedItem),
|
|
11928
12072
|
role: "separator"
|
|
11929
|
-
}, null,
|
|
12073
|
+
}, _ctx.ptm('separator')), null, 16, _hoisted_5))
|
|
11930
12074
|
: vue.createCommentVNode("", true)
|
|
11931
12075
|
], 64))
|
|
11932
12076
|
}), 128))
|
|
11933
|
-
]))
|
|
12077
|
+
], 16))
|
|
11934
12078
|
}
|
|
11935
12079
|
|
|
11936
12080
|
script$1.render = render$1;
|
|
11937
12081
|
|
|
11938
12082
|
var script = {
|
|
11939
12083
|
name: 'TieredMenu',
|
|
12084
|
+
extends: BaseComponent__default["default"],
|
|
11940
12085
|
inheritAttrs: false,
|
|
11941
12086
|
emits: ['focus', 'blur', 'before-show', 'before-hide', 'hide', 'show'],
|
|
11942
12087
|
props: {
|
|
@@ -12573,7 +12718,7 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
12573
12718
|
id: $data.id,
|
|
12574
12719
|
class: $options.containerClass,
|
|
12575
12720
|
onClick: _cache[0] || (_cache[0] = (...args) => ($options.onOverlayClick && $options.onOverlayClick(...args)))
|
|
12576
|
-
}, _ctx.$attrs), [
|
|
12721
|
+
}, { ..._ctx.$attrs, ..._ctx.ptm('root') }), [
|
|
12577
12722
|
vue.createVNode(_component_TieredMenuSub, {
|
|
12578
12723
|
ref: $options.menubarRef,
|
|
12579
12724
|
id: $data.id + '_list',
|
|
@@ -12592,12 +12737,13 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
12592
12737
|
activeItemPath: $data.activeItemPath,
|
|
12593
12738
|
exact: $props.exact,
|
|
12594
12739
|
level: 0,
|
|
12740
|
+
pt: _ctx.pt,
|
|
12595
12741
|
onFocus: $options.onFocus,
|
|
12596
12742
|
onBlur: $options.onBlur,
|
|
12597
12743
|
onKeydown: $options.onKeyDown,
|
|
12598
12744
|
onItemClick: $options.onItemClick,
|
|
12599
12745
|
onItemMouseenter: $options.onItemMouseEnter
|
|
12600
|
-
}, null, 8, ["id", "tabindex", "aria-label", "aria-labelledby", "aria-disabled", "aria-activedescendant", "menuId", "focusedItemId", "items", "templates", "activeItemPath", "exact", "onFocus", "onBlur", "onKeydown", "onItemClick", "onItemMouseenter"])
|
|
12746
|
+
}, null, 8, ["id", "tabindex", "aria-label", "aria-labelledby", "aria-disabled", "aria-activedescendant", "menuId", "focusedItemId", "items", "templates", "activeItemPath", "exact", "pt", "onFocus", "onBlur", "onKeydown", "onItemClick", "onItemMouseenter"])
|
|
12601
12747
|
], 16, _hoisted_1))
|
|
12602
12748
|
: vue.createCommentVNode("", true)
|
|
12603
12749
|
]),
|
|
@@ -12642,14 +12788,19 @@ this.primevue.tieredmenu = (function (OverlayEventBus, Portal, utils, AngleRight
|
|
|
12642
12788
|
|
|
12643
12789
|
return script;
|
|
12644
12790
|
|
|
12645
|
-
})(primevue.overlayeventbus, primevue.portal, primevue.utils, primevue.icons.angleright, primevue.ripple, Vue);
|
|
12791
|
+
})(primevue.basecomponent, primevue.overlayeventbus, primevue.portal, primevue.utils, primevue.icons.angleright, primevue.ripple, Vue);
|
|
12646
12792
|
|
|
12647
12793
|
this.primevue = this.primevue || {};
|
|
12648
|
-
this.primevue.badge = (function (utils, vue) {
|
|
12794
|
+
this.primevue.badge = (function (BaseComponent, utils, vue) {
|
|
12649
12795
|
'use strict';
|
|
12650
12796
|
|
|
12797
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
12798
|
+
|
|
12799
|
+
var BaseComponent__default = /*#__PURE__*/_interopDefaultLegacy(BaseComponent);
|
|
12800
|
+
|
|
12651
12801
|
var script = {
|
|
12652
12802
|
name: 'Badge',
|
|
12803
|
+
extends: BaseComponent__default["default"],
|
|
12653
12804
|
props: {
|
|
12654
12805
|
value: {
|
|
12655
12806
|
type: [String, Number],
|
|
@@ -12687,18 +12838,16 @@ this.primevue.badge = (function (utils, vue) {
|
|
|
12687
12838
|
};
|
|
12688
12839
|
|
|
12689
12840
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
12690
|
-
return (vue.openBlock(), vue.createElementBlock("span", {
|
|
12691
|
-
class: vue.normalizeClass($options.badgeClass)
|
|
12692
|
-
}, [
|
|
12841
|
+
return (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({ class: $options.badgeClass }, _ctx.ptm('root')), [
|
|
12693
12842
|
vue.renderSlot(_ctx.$slots, "default", {}, () => [
|
|
12694
12843
|
vue.createTextVNode(vue.toDisplayString($props.value), 1)
|
|
12695
12844
|
])
|
|
12696
|
-
],
|
|
12845
|
+
], 16))
|
|
12697
12846
|
}
|
|
12698
12847
|
|
|
12699
12848
|
script.render = render;
|
|
12700
12849
|
|
|
12701
12850
|
return script;
|
|
12702
12851
|
|
|
12703
|
-
})(primevue.utils, Vue);
|
|
12852
|
+
})(primevue.basecomponent, primevue.utils, Vue);
|
|
12704
12853
|
|