primevue 4.2.5 → 4.3.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/LICENSE.md +1 -1
- package/accordion/Accordion.vue +0 -8
- package/accordion/index.mjs +1 -9
- package/accordion/index.mjs.map +1 -1
- package/accordion/style/index.mjs +2 -5
- package/accordion/style/index.mjs.map +1 -1
- package/accordioncontent/index.mjs +1 -1
- package/accordionheader/AccordionHeader.vue +2 -2
- package/accordionheader/index.mjs +4 -4
- package/accordionheader/index.mjs.map +1 -1
- package/accordionpanel/index.mjs +1 -1
- package/animateonscroll/index.d.ts +1 -1
- package/animateonscroll/index.mjs +4 -4
- package/animateonscroll/index.mjs.map +1 -1
- package/animateonscroll/style/index.d.ts +1 -1
- package/autocomplete/AutoComplete.vue +90 -23
- package/autocomplete/index.d.ts +19 -2
- package/autocomplete/index.mjs +127 -55
- package/autocomplete/index.mjs.map +1 -1
- package/autocomplete/style/index.mjs +15 -19
- package/autocomplete/style/index.mjs.map +1 -1
- package/avatar/index.mjs +1 -1
- package/avatar/style/index.mjs +4 -7
- package/avatar/style/index.mjs.map +1 -1
- package/avatargroup/index.mjs +1 -1
- package/badge/index.mjs +1 -1
- package/badge/style/index.mjs +6 -9
- package/badge/style/index.mjs.map +1 -1
- package/badgedirective/index.mjs +6 -6
- package/badgedirective/index.mjs.map +1 -1
- package/blockui/BlockUI.vue +2 -1
- package/blockui/index.mjs +3 -2
- package/blockui/index.mjs.map +1 -1
- package/blockui/style/index.mjs +2 -5
- package/blockui/style/index.mjs.map +1 -1
- package/breadcrumb/index.mjs +1 -1
- package/breadcrumb/style/index.mjs +4 -7
- package/breadcrumb/style/index.mjs.map +1 -1
- package/button/Button.vue +1 -1
- package/button/index.d.ts +11 -1
- package/button/index.mjs +5 -4
- package/button/index.mjs.map +1 -1
- package/button/style/index.mjs +9 -12
- package/button/style/index.mjs.map +1 -1
- package/buttongroup/index.mjs +1 -1
- package/buttongroup/style/index.mjs +2 -5
- package/buttongroup/style/index.mjs.map +1 -1
- package/card/index.mjs +1 -1
- package/card/style/index.mjs +2 -5
- package/card/style/index.mjs.map +1 -1
- package/carousel/index.mjs +2 -2
- package/carousel/index.mjs.map +1 -1
- package/carousel/style/index.mjs +19 -22
- package/carousel/style/index.mjs.map +1 -1
- package/cascadeselect/CascadeSelect.vue +16 -17
- package/cascadeselect/CascadeSelectSub.vue +1 -1
- package/cascadeselect/index.d.ts +2 -2
- package/cascadeselect/index.mjs +26 -28
- package/cascadeselect/index.mjs.map +1 -1
- package/cascadeselect/style/index.mjs +17 -19
- package/cascadeselect/style/index.mjs.map +1 -1
- package/chart/index.mjs +4 -4
- package/checkbox/index.d.ts +2 -2
- package/checkbox/index.mjs +2 -2
- package/checkbox/index.mjs.map +1 -1
- package/checkbox/style/index.mjs +5 -8
- package/checkbox/style/index.mjs.map +1 -1
- package/checkboxgroup/index.mjs +1 -1
- package/checkboxgroup/style/index.mjs +2 -5
- package/checkboxgroup/style/index.mjs.map +1 -1
- package/chip/index.mjs +1 -1
- package/chip/style/index.mjs +2 -5
- package/chip/style/index.mjs.map +1 -1
- package/colorpicker/ColorPicker.vue +2 -2
- package/colorpicker/index.mjs +7 -7
- package/colorpicker/index.mjs.map +1 -1
- package/colorpicker/style/index.mjs +7 -10
- package/colorpicker/style/index.mjs.map +1 -1
- package/column/BaseColumn.vue +1 -1
- package/column/index.d.ts +2 -2
- package/column/index.mjs +1 -1
- package/column/index.mjs.map +1 -1
- package/columngroup/index.mjs.map +1 -1
- package/confirmdialog/index.d.ts +4 -0
- package/confirmdialog/index.mjs +1 -1
- package/confirmdialog/index.mjs.map +1 -1
- package/confirmdialog/style/index.mjs +2 -5
- package/confirmdialog/style/index.mjs.map +1 -1
- package/confirmpopup/ConfirmPopup.vue +2 -2
- package/confirmpopup/index.mjs +4 -4
- package/confirmpopup/index.mjs.map +1 -1
- package/confirmpopup/style/index.mjs +2 -5
- package/confirmpopup/style/index.mjs.map +1 -1
- package/contextmenu/ContextMenu.vue +6 -12
- package/contextmenu/index.mjs +9 -15
- package/contextmenu/index.mjs.map +1 -1
- package/contextmenu/style/index.mjs +7 -10
- package/contextmenu/style/index.mjs.map +1 -1
- package/datatable/BodyCell.vue +24 -14
- package/datatable/BodyRow.vue +0 -1
- package/datatable/ColumnFilter.vue +10 -16
- package/datatable/DataTable.vue +6 -6
- package/datatable/FilterHeaderCell.vue +189 -0
- package/datatable/FooterCell.vue +2 -2
- package/datatable/HeaderCell.vue +4 -4
- package/datatable/TableBody.vue +3 -10
- package/datatable/TableHeader.vue +23 -50
- package/datatable/index.d.ts +89 -39
- package/datatable/index.mjs +444 -234
- package/datatable/index.mjs.map +1 -1
- package/datatable/style/index.mjs +32 -36
- package/datatable/style/index.mjs.map +1 -1
- package/dataview/index.mjs +2 -2
- package/dataview/index.mjs.map +1 -1
- package/dataview/style/index.mjs +6 -9
- package/dataview/style/index.mjs.map +1 -1
- package/datepicker/BaseDatePicker.vue +0 -4
- package/datepicker/DatePicker.vue +46 -20
- package/datepicker/index.d.ts +2 -6
- package/datepicker/index.mjs +78 -52
- package/datepicker/index.mjs.map +1 -1
- package/datepicker/style/index.mjs +26 -28
- package/datepicker/style/index.mjs.map +1 -1
- package/deferredcontent/index.mjs +1 -1
- package/dialog/Dialog.vue +3 -11
- package/dialog/index.d.ts +1 -1
- package/dialog/index.mjs +7 -14
- package/dialog/index.mjs.map +1 -1
- package/dialog/style/index.mjs +10 -14
- package/dialog/style/index.mjs.map +1 -1
- package/divider/index.mjs +1 -1
- package/divider/style/index.mjs +6 -10
- package/divider/style/index.mjs.map +1 -1
- package/dock/DockSub.vue +5 -13
- package/dock/index.mjs +6 -14
- package/dock/index.mjs.map +1 -1
- package/dock/style/index.mjs +9 -12
- package/dock/style/index.mjs.map +1 -1
- package/drawer/Drawer.vue +7 -4
- package/drawer/index.d.ts +4 -0
- package/drawer/index.mjs +7 -5
- package/drawer/index.mjs.map +1 -1
- package/drawer/style/index.mjs +10 -13
- package/drawer/style/index.mjs.map +1 -1
- package/dynamicdialog/DynamicDialog.vue +5 -5
- package/dynamicdialog/index.mjs +8 -6
- package/dynamicdialog/index.mjs.map +1 -1
- package/editor/Editor.vue +9 -11
- package/editor/index.d.ts +0 -15
- package/editor/index.mjs +16 -16
- package/editor/index.mjs.map +1 -1
- package/editor/style/index.mjs +4 -7
- package/editor/style/index.mjs.map +1 -1
- package/fieldset/Fieldset.vue +4 -12
- package/fieldset/index.mjs +9 -17
- package/fieldset/index.mjs.map +1 -1
- package/fieldset/style/index.mjs +4 -7
- package/fieldset/style/index.mjs.map +1 -1
- package/fileupload/FileUpload.vue +9 -7
- package/fileupload/index.d.ts +3 -3
- package/fileupload/index.mjs +12 -10
- package/fileupload/index.mjs.map +1 -1
- package/fileupload/style/index.mjs +4 -7
- package/fileupload/style/index.mjs.map +1 -1
- package/floatlabel/index.mjs +1 -1
- package/floatlabel/style/index.mjs +4 -8
- package/floatlabel/style/index.mjs.map +1 -1
- package/fluid/index.mjs +1 -1
- package/focustrap/index.mjs +4 -4
- package/focustrap/index.mjs.map +1 -1
- package/galleria/Galleria.vue +2 -1
- package/galleria/GalleriaContent.vue +3 -11
- package/galleria/GalleriaThumbnails.vue +15 -8
- package/galleria/index.mjs +28 -30
- package/galleria/index.mjs.map +1 -1
- package/galleria/style/index.mjs +23 -26
- package/galleria/style/index.mjs.map +1 -1
- package/iconfield/index.mjs +1 -1
- package/iconfield/style/index.mjs +2 -5
- package/iconfield/style/index.mjs.map +1 -1
- package/iftalabel/index.mjs +1 -1
- package/iftalabel/style/index.mjs +2 -5
- package/iftalabel/style/index.mjs.map +1 -1
- package/image/Image.vue +2 -1
- package/image/index.d.ts +4 -0
- package/image/index.mjs +6 -5
- package/image/index.mjs.map +1 -1
- package/image/style/index.mjs +8 -11
- package/image/style/index.mjs.map +1 -1
- package/imagecompare/index.mjs +1 -1
- package/imagecompare/style/index.mjs +2 -5
- package/imagecompare/style/index.mjs.map +1 -1
- package/index.d.ts +3 -0
- package/index.mjs +1 -0
- package/index.mjs.map +1 -1
- package/inlinemessage/index.mjs +1 -1
- package/inlinemessage/style/index.mjs +7 -10
- package/inlinemessage/style/index.mjs.map +1 -1
- package/inplace/index.mjs +4 -4
- package/inplace/style/index.mjs +4 -7
- package/inplace/style/index.mjs.map +1 -1
- package/inputchips/InputChips.vue +2 -10
- package/inputchips/index.mjs +6 -14
- package/inputchips/index.mjs.map +1 -1
- package/inputchips/style/index.mjs +11 -14
- package/inputchips/style/index.mjs.map +1 -1
- package/inputgroup/index.mjs +1 -1
- package/inputgroup/style/index.mjs +2 -5
- package/inputgroup/style/index.mjs.map +1 -1
- package/inputgroupaddon/index.mjs +1 -1
- package/inputicon/index.mjs +1 -1
- package/inputmask/InputMask.vue +26 -17
- package/inputmask/index.d.ts +2 -2
- package/inputmask/index.mjs +28 -17
- package/inputmask/index.mjs.map +1 -1
- package/inputnumber/InputNumber.vue +17 -6
- package/inputnumber/index.d.ts +4 -4
- package/inputnumber/index.mjs +20 -12
- package/inputnumber/index.mjs.map +1 -1
- package/inputnumber/style/index.mjs +12 -14
- package/inputnumber/style/index.mjs.map +1 -1
- package/inputotp/index.d.ts +23 -8
- package/inputotp/index.mjs +1 -1
- package/inputotp/style/index.mjs +2 -5
- package/inputotp/style/index.mjs.map +1 -1
- package/inputtext/InputText.vue +1 -1
- package/inputtext/index.d.ts +1 -1
- package/inputtext/index.mjs +3 -2
- package/inputtext/index.mjs.map +1 -1
- package/inputtext/style/index.mjs +5 -8
- package/inputtext/style/index.mjs.map +1 -1
- package/keyfilter/index.mjs +8 -9
- package/keyfilter/index.mjs.map +1 -1
- package/knob/index.mjs +3 -3
- package/knob/index.mjs.map +1 -1
- package/knob/style/index.mjs +5 -8
- package/knob/style/index.mjs.map +1 -1
- package/listbox/Listbox.vue +7 -13
- package/listbox/index.mjs +10 -16
- package/listbox/index.mjs.map +1 -1
- package/listbox/style/index.mjs +11 -14
- package/listbox/style/index.mjs.map +1 -1
- package/megamenu/MegaMenu.vue +9 -15
- package/megamenu/index.mjs +12 -18
- package/megamenu/index.mjs.map +1 -1
- package/megamenu/style/index.mjs +15 -18
- package/megamenu/style/index.mjs.map +1 -1
- package/menu/Menu.vue +9 -17
- package/menu/index.d.ts +10 -0
- package/menu/index.mjs +10 -17
- package/menu/index.mjs.map +1 -1
- package/menu/style/index.mjs +6 -9
- package/menu/style/index.mjs.map +1 -1
- package/menubar/Menubar.vue +10 -16
- package/menubar/index.mjs +14 -20
- package/menubar/index.mjs.map +1 -1
- package/menubar/style/index.mjs +10 -13
- package/menubar/style/index.mjs.map +1 -1
- package/message/index.mjs +4 -4
- package/message/style/index.mjs +4 -7
- package/message/style/index.mjs.map +1 -1
- package/metergroup/index.mjs +1 -1
- package/metergroup/style/index.mjs +6 -9
- package/metergroup/style/index.mjs.map +1 -1
- package/multiselect/MultiSelect.vue +23 -18
- package/multiselect/index.d.ts +12 -6
- package/multiselect/index.mjs +32 -28
- package/multiselect/index.mjs.map +1 -1
- package/multiselect/style/index.mjs +17 -20
- package/multiselect/style/index.mjs.map +1 -1
- package/orderlist/OrderList.vue +1 -10
- package/orderlist/index.mjs +7 -15
- package/orderlist/index.mjs.map +1 -1
- package/orderlist/style/index.mjs +2 -5
- package/orderlist/style/index.mjs.map +1 -1
- package/organizationchart/index.mjs +4 -4
- package/organizationchart/style/index.mjs +9 -12
- package/organizationchart/style/index.mjs.map +1 -1
- package/overlaybadge/index.mjs +1 -1
- package/overlaybadge/style/index.mjs +2 -5
- package/overlaybadge/style/index.mjs.map +1 -1
- package/package.json +6 -5
- package/paginator/index.mjs +2 -2
- package/paginator/index.mjs.map +1 -1
- package/paginator/style/index.mjs +18 -21
- package/paginator/style/index.mjs.map +1 -1
- package/panel/Panel.vue +5 -13
- package/panel/index.mjs +7 -15
- package/panel/index.mjs.map +1 -1
- package/panel/style/index.mjs +4 -7
- package/panel/style/index.mjs.map +1 -1
- package/panelmenu/PanelMenu.vue +2 -12
- package/panelmenu/index.mjs +8 -18
- package/panelmenu/index.mjs.map +1 -1
- package/panelmenu/style/index.mjs +8 -11
- package/panelmenu/style/index.mjs.map +1 -1
- package/passthrough/index.mjs +3 -3
- package/password/Password.vue +3 -10
- package/password/index.d.ts +2 -2
- package/password/index.mjs +9 -16
- package/password/index.mjs.map +1 -1
- package/password/style/index.mjs +8 -11
- package/password/style/index.mjs.map +1 -1
- package/picklist/PickList.vue +2 -9
- package/picklist/index.mjs +8 -14
- package/picklist/index.mjs.map +1 -1
- package/picklist/style/index.mjs +2 -5
- package/picklist/style/index.mjs.map +1 -1
- package/popover/Popover.vue +2 -2
- package/popover/index.mjs +4 -4
- package/popover/index.mjs.map +1 -1
- package/popover/style/index.mjs +2 -5
- package/popover/style/index.mjs.map +1 -1
- package/portal/index.mjs +1 -1
- package/progressbar/index.mjs +1 -1
- package/progressbar/style/index.mjs +4 -7
- package/progressbar/style/index.mjs.map +1 -1
- package/progressspinner/index.mjs +1 -1
- package/progressspinner/style/index.mjs +2 -5
- package/progressspinner/style/index.mjs.map +1 -1
- package/radiobutton/index.d.ts +2 -2
- package/radiobutton/index.mjs +1 -1
- package/radiobutton/index.mjs.map +1 -1
- package/radiobutton/style/index.mjs +5 -8
- package/radiobutton/style/index.mjs.map +1 -1
- package/radiobuttongroup/index.mjs +1 -1
- package/radiobuttongroup/style/index.mjs +2 -5
- package/radiobuttongroup/style/index.mjs.map +1 -1
- package/rating/Rating.vue +6 -11
- package/rating/index.mjs +7 -12
- package/rating/index.mjs.map +1 -1
- package/rating/style/index.mjs +11 -14
- package/rating/style/index.mjs.map +1 -1
- package/ripple/index.mjs +16 -13
- package/ripple/index.mjs.map +1 -1
- package/ripple/style/index.mjs +2 -5
- package/ripple/style/index.mjs.map +1 -1
- package/row/index.mjs.map +1 -1
- package/scrollpanel/ScrollPanel.vue +1 -10
- package/scrollpanel/index.mjs +3 -11
- package/scrollpanel/index.mjs.map +1 -1
- package/scrollpanel/style/index.mjs +2 -5
- package/scrollpanel/style/index.mjs.map +1 -1
- package/scrolltop/index.mjs +1 -1
- package/scrolltop/style/index.mjs +4 -7
- package/scrolltop/style/index.mjs.map +1 -1
- package/select/Select.vue +55 -26
- package/select/index.d.ts +9 -5
- package/select/index.mjs +89 -63
- package/select/index.mjs.map +1 -1
- package/select/style/index.mjs +15 -18
- package/select/style/index.mjs.map +1 -1
- package/selectbutton/index.mjs +3 -3
- package/selectbutton/style/index.mjs +4 -7
- package/selectbutton/style/index.mjs.map +1 -1
- package/skeleton/index.mjs +1 -1
- package/skeleton/style/index.mjs +4 -7
- package/skeleton/style/index.mjs.map +1 -1
- package/slider/Slider.vue +1 -1
- package/slider/index.mjs +3 -3
- package/slider/index.mjs.map +1 -1
- package/slider/style/index.mjs +5 -8
- package/slider/style/index.mjs.map +1 -1
- package/speeddial/SpeedDial.vue +8 -15
- package/speeddial/index.d.ts +1 -1
- package/speeddial/index.mjs +13 -19
- package/speeddial/index.mjs.map +1 -1
- package/speeddial/style/index.mjs +15 -18
- package/speeddial/style/index.mjs.map +1 -1
- package/splitbutton/SplitButton.vue +2 -11
- package/splitbutton/index.d.ts +2 -2
- package/splitbutton/index.mjs +3 -11
- package/splitbutton/index.mjs.map +1 -1
- package/splitbutton/style/index.mjs +5 -8
- package/splitbutton/style/index.mjs.map +1 -1
- package/splitter/Splitter.vue +31 -14
- package/splitter/index.d.ts +1 -1
- package/splitter/index.mjs +28 -14
- package/splitter/index.mjs.map +1 -1
- package/splitter/style/index.mjs +6 -9
- package/splitter/style/index.mjs.map +1 -1
- package/splitterpanel/index.mjs +1 -1
- package/step/index.mjs +1 -1
- package/step/index.mjs.map +1 -1
- package/stepitem/index.mjs +1 -1
- package/stepitem/index.mjs.map +1 -1
- package/steplist/index.mjs +1 -1
- package/steppanel/index.mjs +1 -1
- package/steppanel/index.mjs.map +1 -1
- package/steppanels/index.mjs +1 -1
- package/stepper/Stepper.vue +0 -8
- package/stepper/index.mjs +1 -9
- package/stepper/index.mjs.map +1 -1
- package/stepper/style/index.mjs +4 -7
- package/stepper/style/index.mjs.map +1 -1
- package/steps/index.mjs +2 -2
- package/steps/style/index.mjs +8 -11
- package/steps/style/index.mjs.map +1 -1
- package/styleclass/index.mjs +1 -1
- package/tab/Tab.vue +3 -3
- package/tab/index.mjs +4 -4
- package/tab/index.mjs.map +1 -1
- package/tablist/TabList.vue +2 -2
- package/tablist/index.mjs +4 -4
- package/tablist/index.mjs.map +1 -1
- package/tabmenu/index.mjs +2 -2
- package/tabmenu/index.mjs.map +1 -1
- package/tabmenu/style/index.mjs +6 -9
- package/tabmenu/style/index.mjs.map +1 -1
- package/tabpanel/index.mjs +1 -1
- package/tabpanel/index.mjs.map +1 -1
- package/tabpanels/index.mjs +1 -1
- package/tabs/Tabs.vue +0 -8
- package/tabs/index.mjs +1 -9
- package/tabs/index.mjs.map +1 -1
- package/tabs/style/index.mjs +4 -7
- package/tabs/style/index.mjs.map +1 -1
- package/tabview/TabView.vue +3 -9
- package/tabview/index.mjs +7 -13
- package/tabview/index.mjs.map +1 -1
- package/tabview/style/index.mjs +11 -14
- package/tabview/style/index.mjs.map +1 -1
- package/tag/index.mjs +1 -1
- package/tag/style/index.mjs +4 -7
- package/tag/style/index.mjs.map +1 -1
- package/terminal/index.mjs +1 -1
- package/terminal/style/index.mjs +2 -5
- package/terminal/style/index.mjs.map +1 -1
- package/textarea/Textarea.vue +5 -2
- package/textarea/index.d.ts +4 -4
- package/textarea/index.mjs +7 -3
- package/textarea/index.mjs.map +1 -1
- package/textarea/style/index.mjs +5 -8
- package/textarea/style/index.mjs.map +1 -1
- package/tieredmenu/TieredMenu.vue +8 -13
- package/tieredmenu/index.mjs +11 -16
- package/tieredmenu/index.mjs.map +1 -1
- package/tieredmenu/style/index.mjs +11 -14
- package/tieredmenu/style/index.mjs.map +1 -1
- package/timeline/index.d.ts +4 -0
- package/timeline/index.mjs +1 -1
- package/timeline/style/index.mjs +4 -7
- package/timeline/style/index.mjs.map +1 -1
- package/toast/BaseToast.vue +12 -0
- package/toast/ToastMessage.vue +38 -4
- package/toast/index.d.ts +12 -0
- package/toast/index.mjs +79 -15
- package/toast/index.mjs.map +1 -1
- package/toast/style/index.mjs +12 -15
- package/toast/style/index.mjs.map +1 -1
- package/togglebutton/ToggleButton.vue +1 -0
- package/togglebutton/index.mjs +3 -2
- package/togglebutton/index.mjs.map +1 -1
- package/togglebutton/style/index.mjs +5 -8
- package/togglebutton/style/index.mjs.map +1 -1
- package/toggleswitch/index.mjs +1 -1
- package/toggleswitch/index.mjs.map +1 -1
- package/toggleswitch/style/index.mjs +5 -8
- package/toggleswitch/style/index.mjs.map +1 -1
- package/toolbar/index.mjs +1 -1
- package/toolbar/style/index.mjs +2 -5
- package/toolbar/style/index.mjs.map +1 -1
- package/tooltip/index.mjs +62 -14
- package/tooltip/index.mjs.map +1 -1
- package/tooltip/style/index.mjs +2 -5
- package/tooltip/style/index.mjs.map +1 -1
- package/tree/Tree.vue +2 -2
- package/tree/index.mjs +16 -16
- package/tree/index.mjs.map +1 -1
- package/tree/style/index.mjs +8 -11
- package/tree/style/index.mjs.map +1 -1
- package/treeselect/TreeSelect.vue +21 -26
- package/treeselect/index.d.ts +2 -2
- package/treeselect/index.mjs +56 -72
- package/treeselect/index.mjs.map +1 -1
- package/treeselect/style/index.mjs +10 -13
- package/treeselect/style/index.mjs.map +1 -1
- package/treetable/BodyCell.vue +8 -5
- package/treetable/FooterCell.vue +2 -2
- package/treetable/HeaderCell.vue +4 -4
- package/treetable/index.d.ts +29 -0
- package/treetable/index.mjs +42 -35
- package/treetable/index.mjs.map +1 -1
- package/treetable/style/index.mjs +22 -25
- package/treetable/style/index.mjs.map +1 -1
- package/umd/primevue.min.js +1 -1
- package/utils/index.d.ts +9 -0
- package/utils/index.mjs +16 -0
- package/utils/index.mjs.map +1 -0
- package/utils/package.json +5 -0
- package/virtualscroller/VirtualScroller.vue +16 -10
- package/virtualscroller/index.mjs +21 -15
- package/virtualscroller/index.mjs.map +1 -1
- package/virtualscroller/style/index.mjs +2 -5
- package/virtualscroller/style/index.mjs.map +1 -1
- package/web-types.json +1 -1
package/listbox/style/index.mjs
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
+
import { style } from '@primeuix/styles/listbox';
|
|
1
2
|
import BaseStyle from '@primevue/core/base/style';
|
|
2
3
|
|
|
3
|
-
var theme = function theme(_ref) {
|
|
4
|
-
var dt = _ref.dt;
|
|
5
|
-
return "\n.p-listbox {\n background: ".concat(dt('listbox.background'), ";\n color: ").concat(dt('listbox.color'), ";\n border: 1px solid ").concat(dt('listbox.border.color'), ";\n border-radius: ").concat(dt('listbox.border.radius'), ";\n transition: background ").concat(dt('listbox.transition.duration'), ", color ").concat(dt('listbox.transition.duration'), ", border-color ").concat(dt('listbox.transition.duration'), ",\n box-shadow ").concat(dt('listbox.transition.duration'), ", outline-color ").concat(dt('listbox.transition.duration'), ";\n outline-color: transparent;\n box-shadow: ").concat(dt('listbox.shadow'), ";\n}\n\n.p-listbox.p-disabled {\n opacity: 1;\n background: ").concat(dt('listbox.disabled.background'), ";\n color: ").concat(dt('listbox.disabled.color'), ";\n}\n\n.p-listbox.p-disabled .p-listbox-option {\n color: ").concat(dt('listbox.disabled.color'), ";\n}\n\n.p-listbox.p-invalid {\n border-color: ").concat(dt('listbox.invalid.border.color'), ";\n}\n\n.p-listbox-header {\n padding: ").concat(dt('listbox.list.header.padding'), ";\n}\n\n.p-listbox-filter {\n width: 100%;\n}\n\n.p-listbox-list-container {\n overflow: auto;\n}\n\n.p-listbox-list {\n list-style-type: none;\n margin: 0;\n padding: ").concat(dt('listbox.list.padding'), ";\n outline: 0 none;\n display: flex;\n flex-direction: column;\n gap: ").concat(dt('listbox.list.gap'), ";\n}\n\n.p-listbox-option {\n display: flex;\n align-items: center;\n cursor: pointer;\n position: relative;\n overflow: hidden;\n padding: ").concat(dt('listbox.option.padding'), ";\n border: 0 none;\n border-radius: ").concat(dt('listbox.option.border.radius'), ";\n color: ").concat(dt('listbox.option.color'), ";\n transition: background ").concat(dt('listbox.transition.duration'), ", color ").concat(dt('listbox.transition.duration'), ", border-color ").concat(dt('listbox.transition.duration'), ",\n box-shadow ").concat(dt('listbox.transition.duration'), ", outline-color ").concat(dt('listbox.transition.duration'), ";\n}\n\n.p-listbox-striped li:nth-child(even of .p-listbox-option) {\n background: ").concat(dt('listbox.option.striped.background'), ";\n}\n\n.p-listbox .p-listbox-list .p-listbox-option.p-listbox-option-selected {\n background: ").concat(dt('listbox.option.selected.background'), ";\n color: ").concat(dt('listbox.option.selected.color'), ";\n}\n\n.p-listbox:not(.p-disabled) .p-listbox-option.p-listbox-option-selected.p-focus {\n background: ").concat(dt('listbox.option.selected.focus.background'), ";\n color: ").concat(dt('listbox.option.selected.focus.color'), ";\n}\n\n.p-listbox:not(.p-disabled) .p-listbox-option:not(.p-listbox-option-selected):not(.p-disabled).p-focus {\n background: ").concat(dt('listbox.option.focus.background'), ";\n color: ").concat(dt('listbox.option.focus.color'), ";\n}\n\n.p-listbox:not(.p-disabled) .p-listbox-option:not(.p-listbox-option-selected):not(.p-disabled):hover {\n background: ").concat(dt('listbox.option.focus.background'), ";\n color: ").concat(dt('listbox.option.focus.color'), ";\n}\n\n.p-listbox-option-check-icon {\n position: relative;\n margin-inline-start: ").concat(dt('listbox.checkmark.gutter.start'), ";\n margin-inline-end: ").concat(dt('listbox.checkmark.gutter.end'), ";\n color: ").concat(dt('listbox.checkmark.color'), ";\n}\n\n.p-listbox-option-group {\n margin: 0;\n padding: ").concat(dt('listbox.option.group.padding'), ";\n color: ").concat(dt('listbox.option.group.color'), ";\n background: ").concat(dt('listbox.option.group.background'), ";\n font-weight: ").concat(dt('listbox.option.group.font.weight'), ";\n}\n\n.p-listbox-empty-message {\n padding: ").concat(dt('listbox.empty.message.padding'), ";\n}\n");
|
|
6
|
-
};
|
|
7
4
|
var classes = {
|
|
8
|
-
root: function root(
|
|
9
|
-
var instance =
|
|
10
|
-
props =
|
|
5
|
+
root: function root(_ref) {
|
|
6
|
+
var instance = _ref.instance,
|
|
7
|
+
props = _ref.props;
|
|
11
8
|
return ['p-listbox p-component', {
|
|
12
9
|
'p-listbox-striped': props.striped,
|
|
13
10
|
'p-disabled': props.disabled,
|
|
@@ -19,12 +16,12 @@ var classes = {
|
|
|
19
16
|
listContainer: 'p-listbox-list-container',
|
|
20
17
|
list: 'p-listbox-list',
|
|
21
18
|
optionGroup: 'p-listbox-option-group',
|
|
22
|
-
option: function option(
|
|
23
|
-
var instance =
|
|
24
|
-
props =
|
|
25
|
-
_option =
|
|
26
|
-
index =
|
|
27
|
-
getItemOptions =
|
|
19
|
+
option: function option(_ref2) {
|
|
20
|
+
var instance = _ref2.instance,
|
|
21
|
+
props = _ref2.props,
|
|
22
|
+
_option = _ref2.option,
|
|
23
|
+
index = _ref2.index,
|
|
24
|
+
getItemOptions = _ref2.getItemOptions;
|
|
28
25
|
return ['p-listbox-option', {
|
|
29
26
|
'p-listbox-option-selected': instance.isSelected(_option) && props.highlightOnSelect,
|
|
30
27
|
'p-focus': instance.focusedOptionIndex === instance.getOptionIndex(index, getItemOptions),
|
|
@@ -37,7 +34,7 @@ var classes = {
|
|
|
37
34
|
};
|
|
38
35
|
var ListboxStyle = BaseStyle.extend({
|
|
39
36
|
name: 'listbox',
|
|
40
|
-
|
|
37
|
+
style: style,
|
|
41
38
|
classes: classes
|
|
42
39
|
});
|
|
43
40
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../src/listbox/style/ListboxStyle.js"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../src/listbox/style/ListboxStyle.js"],"sourcesContent":["import { style } from '@primeuix/styles/listbox';\nimport BaseStyle from '@primevue/core/base/style';\n\nconst classes = {\n root: ({ instance, props }) => [\n 'p-listbox p-component',\n {\n 'p-listbox-striped': props.striped,\n 'p-disabled': props.disabled,\n 'p-invalid': instance.$invalid\n }\n ],\n header: 'p-listbox-header',\n pcFilter: 'p-listbox-filter',\n listContainer: 'p-listbox-list-container',\n list: 'p-listbox-list',\n optionGroup: 'p-listbox-option-group',\n option: ({ instance, props, option, index, getItemOptions }) => [\n 'p-listbox-option',\n {\n 'p-listbox-option-selected': instance.isSelected(option) && props.highlightOnSelect,\n 'p-focus': instance.focusedOptionIndex === instance.getOptionIndex(index, getItemOptions),\n 'p-disabled': instance.isOptionDisabled(option)\n }\n ],\n optionCheckIcon: 'p-listbox-option-check-icon',\n optionBlankIcon: 'p-listbox-option-blank-icon',\n emptyMessage: 'p-listbox-empty-message'\n};\n\nexport default BaseStyle.extend({\n name: 'listbox',\n style,\n classes\n});\n"],"names":["classes","root","_ref","instance","props","striped","disabled","$invalid","header","pcFilter","listContainer","list","optionGroup","option","_ref2","index","getItemOptions","isSelected","highlightOnSelect","focusedOptionIndex","getOptionIndex","isOptionDisabled","optionCheckIcon","optionBlankIcon","emptyMessage","BaseStyle","extend","name","style"],"mappings":";;;AAGA,IAAMA,OAAO,GAAG;AACZC,EAAAA,IAAI,EAAE,SAANA,IAAIA,CAAAC,IAAA,EAAA;AAAA,IAAA,IAAKC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;MAAEC,KAAK,GAAAF,IAAA,CAALE,KAAK;IAAA,OAAO,CAC3B,uBAAuB,EACvB;MACI,mBAAmB,EAAEA,KAAK,CAACC,OAAO;MAClC,YAAY,EAAED,KAAK,CAACE,QAAQ;MAC5B,WAAW,EAAEH,QAAQ,CAACI;AAC1B,KAAC,CACJ;AAAA,GAAA;AACDC,EAAAA,MAAM,EAAE,kBAAkB;AAC1BC,EAAAA,QAAQ,EAAE,kBAAkB;AAC5BC,EAAAA,aAAa,EAAE,0BAA0B;AACzCC,EAAAA,IAAI,EAAE,gBAAgB;AACtBC,EAAAA,WAAW,EAAE,wBAAwB;AACrCC,EAAAA,MAAM,EAAE,SAARA,MAAMA,CAAAC,KAAA,EAAA;AAAA,IAAA,IAAKX,QAAQ,GAAAW,KAAA,CAARX,QAAQ;MAAEC,KAAK,GAAAU,KAAA,CAALV,KAAK;MAAES,OAAM,GAAAC,KAAA,CAAND,MAAM;MAAEE,KAAK,GAAAD,KAAA,CAALC,KAAK;MAAEC,cAAc,GAAAF,KAAA,CAAdE,cAAc;IAAA,OAAO,CAC5D,kBAAkB,EAClB;MACI,2BAA2B,EAAEb,QAAQ,CAACc,UAAU,CAACJ,OAAM,CAAC,IAAIT,KAAK,CAACc,iBAAiB;AACnF,MAAA,SAAS,EAAEf,QAAQ,CAACgB,kBAAkB,KAAKhB,QAAQ,CAACiB,cAAc,CAACL,KAAK,EAAEC,cAAc,CAAC;AACzF,MAAA,YAAY,EAAEb,QAAQ,CAACkB,gBAAgB,CAACR,OAAM;AAClD,KAAC,CACJ;AAAA,GAAA;AACDS,EAAAA,eAAe,EAAE,6BAA6B;AAC9CC,EAAAA,eAAe,EAAE,6BAA6B;AAC9CC,EAAAA,YAAY,EAAE;AAClB,CAAC;AAED,mBAAeC,SAAS,CAACC,MAAM,CAAC;AAC5BC,EAAAA,IAAI,EAAE,SAAS;AACfC,EAAAA,KAAK,EAALA,KAAK;AACL5B,EAAAA,OAAO,EAAPA;AACJ,CAAC,CAAC;;;;"}
|
package/megamenu/MegaMenu.vue
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div :ref="containerRef" :id="id" :class="cx('root')" v-bind="ptmi('root')">
|
|
2
|
+
<div :ref="containerRef" :id="$id" :class="cx('root')" v-bind="ptmi('root')">
|
|
3
3
|
<div v-if="$slots.start" :class="cx('start')" v-bind="ptm('start')">
|
|
4
4
|
<slot name="start"></slot>
|
|
5
5
|
</div>
|
|
6
6
|
<!--TODO: menubutton deprecated since v4.0. Use button-->
|
|
7
|
-
<slot :id="id" :name="$slots.button ? 'button' : 'menubutton'" :class="cx('button')" :toggleCallback="(event) => menuButtonClick(event)">
|
|
7
|
+
<slot :id="$id" :name="$slots.button ? 'button' : 'menubutton'" :class="cx('button')" :toggleCallback="(event) => menuButtonClick(event)">
|
|
8
8
|
<a
|
|
9
9
|
v-if="model && model.length > 0"
|
|
10
10
|
ref="menubutton"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
:class="cx('button')"
|
|
14
14
|
:aria-haspopup="model.length && model.length > 0 ? true : false"
|
|
15
15
|
:aria-expanded="mobileActive"
|
|
16
|
-
:aria-controls="id"
|
|
16
|
+
:aria-controls="$id"
|
|
17
17
|
:aria-label="$primevue.config.locale.aria?.navigation"
|
|
18
18
|
@click="menuButtonClick($event)"
|
|
19
19
|
@keydown="menuButtonKeydown($event)"
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
</slot>
|
|
28
28
|
<MegaMenuSub
|
|
29
29
|
:ref="menubarRef"
|
|
30
|
-
:id="id + '_list'"
|
|
30
|
+
:id="$id + '_list'"
|
|
31
31
|
:tabindex="!disabled ? tabindex : -1"
|
|
32
32
|
role="menubar"
|
|
33
33
|
:aria-label="ariaLabel"
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
:aria-disabled="disabled || undefined"
|
|
36
36
|
:aria-orientation="orientation"
|
|
37
37
|
:aria-activedescendant="focused ? focusedItemId : undefined"
|
|
38
|
-
:menuId="id"
|
|
38
|
+
:menuId="$id"
|
|
39
39
|
:focusedItemId="focused ? focusedItemId : undefined"
|
|
40
40
|
:items="processedItems"
|
|
41
41
|
:horizontal="horizontal"
|
|
@@ -62,7 +62,6 @@
|
|
|
62
62
|
import { findSingle, focus, isTouchDevice } from '@primeuix/utils/dom';
|
|
63
63
|
import { findLastIndex, isEmpty, isNotEmpty, isPrintableCharacter, resolve } from '@primeuix/utils/object';
|
|
64
64
|
import { ZIndex } from '@primeuix/utils/zindex';
|
|
65
|
-
import { UniqueComponentId } from '@primevue/core/utils';
|
|
66
65
|
import BarsIcon from '@primevue/icons/bars';
|
|
67
66
|
import BaseMegaMenu from './BaseMegaMenu.vue';
|
|
68
67
|
import MegaMenuSub from './MegaMenuSub.vue';
|
|
@@ -81,7 +80,6 @@ export default {
|
|
|
81
80
|
searchValue: null,
|
|
82
81
|
data() {
|
|
83
82
|
return {
|
|
84
|
-
id: this.$attrs.id,
|
|
85
83
|
mobileActive: false,
|
|
86
84
|
focused: false,
|
|
87
85
|
focusedItemInfo: { index: -1, key: '', parentKey: '' },
|
|
@@ -92,9 +90,6 @@ export default {
|
|
|
92
90
|
};
|
|
93
91
|
},
|
|
94
92
|
watch: {
|
|
95
|
-
'$attrs.id': function (newValue) {
|
|
96
|
-
this.id = newValue || UniqueComponentId();
|
|
97
|
-
},
|
|
98
93
|
activeItem(newItem) {
|
|
99
94
|
if (isNotEmpty(newItem)) {
|
|
100
95
|
this.bindOutsideClickListener();
|
|
@@ -106,7 +101,6 @@ export default {
|
|
|
106
101
|
}
|
|
107
102
|
},
|
|
108
103
|
mounted() {
|
|
109
|
-
this.id = this.id || UniqueComponentId();
|
|
110
104
|
this.bindMatchMediaListener();
|
|
111
105
|
},
|
|
112
106
|
beforeUnmount() {
|
|
@@ -469,12 +463,12 @@ export default {
|
|
|
469
463
|
}
|
|
470
464
|
};
|
|
471
465
|
|
|
472
|
-
document.addEventListener('click', this.outsideClickListener);
|
|
466
|
+
document.addEventListener('click', this.outsideClickListener, true);
|
|
473
467
|
}
|
|
474
468
|
},
|
|
475
469
|
unbindOutsideClickListener() {
|
|
476
470
|
if (this.outsideClickListener) {
|
|
477
|
-
document.removeEventListener('click', this.outsideClickListener);
|
|
471
|
+
document.removeEventListener('click', this.outsideClickListener, true);
|
|
478
472
|
this.outsideClickListener = null;
|
|
479
473
|
}
|
|
480
474
|
},
|
|
@@ -606,7 +600,7 @@ export default {
|
|
|
606
600
|
this.scrollInView();
|
|
607
601
|
},
|
|
608
602
|
scrollInView(index = -1) {
|
|
609
|
-
const id = index !== -1 ? `${this
|
|
603
|
+
const id = index !== -1 ? `${this.$id}_${index}` : this.focusedItemId;
|
|
610
604
|
let element;
|
|
611
605
|
|
|
612
606
|
if (id === null && this.queryMatches) {
|
|
@@ -675,7 +669,7 @@ export default {
|
|
|
675
669
|
return this.orientation === 'vertical';
|
|
676
670
|
},
|
|
677
671
|
focusedItemId() {
|
|
678
|
-
return isNotEmpty(this.focusedItemInfo.key) ? `${this
|
|
672
|
+
return isNotEmpty(this.focusedItemInfo.key) ? `${this.$id}_${this.focusedItemInfo.key}` : null;
|
|
679
673
|
}
|
|
680
674
|
},
|
|
681
675
|
components: {
|
package/megamenu/index.mjs
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { findSingle, isTouchDevice, focus } from '@primeuix/utils/dom';
|
|
2
|
+
import { isNotEmpty, resolve, findLastIndex, isEmpty, isPrintableCharacter } from '@primeuix/utils/object';
|
|
3
3
|
import { ZIndex } from '@primeuix/utils/zindex';
|
|
4
|
-
import { UniqueComponentId } from '@primevue/core/utils';
|
|
5
4
|
import BarsIcon from '@primevue/icons/bars';
|
|
6
5
|
import BaseComponent from '@primevue/core/basecomponent';
|
|
7
6
|
import MegaMenuStyle from 'primevue/megamenu/style';
|
|
8
7
|
import AngleDownIcon from '@primevue/icons/angledown';
|
|
9
8
|
import AngleRightIcon from '@primevue/icons/angleright';
|
|
10
9
|
import Ripple from 'primevue/ripple';
|
|
11
|
-
import { mergeProps, resolveComponent, resolveDirective, openBlock,
|
|
10
|
+
import { mergeProps, resolveComponent, resolveDirective, createElementBlock, openBlock, createCommentVNode, toDisplayString, Fragment, renderList, createElementVNode, withDirectives, createBlock, resolveDynamicComponent, normalizeClass, normalizeStyle, renderSlot, createVNode, normalizeProps, guardReactiveProps } from 'vue';
|
|
12
11
|
|
|
13
12
|
var script$2 = {
|
|
14
13
|
name: 'BaseMegaMenu',
|
|
@@ -355,7 +354,6 @@ var script = {
|
|
|
355
354
|
searchValue: null,
|
|
356
355
|
data: function data() {
|
|
357
356
|
return {
|
|
358
|
-
id: this.$attrs.id,
|
|
359
357
|
mobileActive: false,
|
|
360
358
|
focused: false,
|
|
361
359
|
focusedItemInfo: {
|
|
@@ -370,9 +368,6 @@ var script = {
|
|
|
370
368
|
};
|
|
371
369
|
},
|
|
372
370
|
watch: {
|
|
373
|
-
'$attrs.id': function $attrsId(newValue) {
|
|
374
|
-
this.id = newValue || UniqueComponentId();
|
|
375
|
-
},
|
|
376
371
|
activeItem: function activeItem(newItem) {
|
|
377
372
|
if (isNotEmpty(newItem)) {
|
|
378
373
|
this.bindOutsideClickListener();
|
|
@@ -384,7 +379,6 @@ var script = {
|
|
|
384
379
|
}
|
|
385
380
|
},
|
|
386
381
|
mounted: function mounted() {
|
|
387
|
-
this.id = this.id || UniqueComponentId();
|
|
388
382
|
this.bindMatchMediaListener();
|
|
389
383
|
},
|
|
390
384
|
beforeUnmount: function beforeUnmount() {
|
|
@@ -769,12 +763,12 @@ var script = {
|
|
|
769
763
|
_this3.hide();
|
|
770
764
|
}
|
|
771
765
|
};
|
|
772
|
-
document.addEventListener('click', this.outsideClickListener);
|
|
766
|
+
document.addEventListener('click', this.outsideClickListener, true);
|
|
773
767
|
}
|
|
774
768
|
},
|
|
775
769
|
unbindOutsideClickListener: function unbindOutsideClickListener() {
|
|
776
770
|
if (this.outsideClickListener) {
|
|
777
|
-
document.removeEventListener('click', this.outsideClickListener);
|
|
771
|
+
document.removeEventListener('click', this.outsideClickListener, true);
|
|
778
772
|
this.outsideClickListener = null;
|
|
779
773
|
}
|
|
780
774
|
},
|
|
@@ -914,7 +908,7 @@ var script = {
|
|
|
914
908
|
},
|
|
915
909
|
scrollInView: function scrollInView() {
|
|
916
910
|
var index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : -1;
|
|
917
|
-
var id = index !== -1 ? "".concat(this
|
|
911
|
+
var id = index !== -1 ? "".concat(this.$id, "_").concat(index) : this.focusedItemId;
|
|
918
912
|
var element;
|
|
919
913
|
if (id === null && this.queryMatches) {
|
|
920
914
|
element = this.$refs.menubutton;
|
|
@@ -983,7 +977,7 @@ var script = {
|
|
|
983
977
|
return this.orientation === 'vertical';
|
|
984
978
|
},
|
|
985
979
|
focusedItemId: function focusedItemId() {
|
|
986
|
-
return isNotEmpty(this.focusedItemInfo.key) ? "".concat(this
|
|
980
|
+
return isNotEmpty(this.focusedItemInfo.key) ? "".concat(this.$id, "_").concat(this.focusedItemInfo.key) : null;
|
|
987
981
|
}
|
|
988
982
|
},
|
|
989
983
|
components: {
|
|
@@ -999,13 +993,13 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
999
993
|
var _component_MegaMenuSub = resolveComponent("MegaMenuSub");
|
|
1000
994
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
1001
995
|
ref: $options.containerRef,
|
|
1002
|
-
id:
|
|
996
|
+
id: _ctx.$id,
|
|
1003
997
|
"class": _ctx.cx('root')
|
|
1004
998
|
}, _ctx.ptmi('root')), [_ctx.$slots.start ? (openBlock(), createElementBlock("div", mergeProps({
|
|
1005
999
|
key: 0,
|
|
1006
1000
|
"class": _ctx.cx('start')
|
|
1007
1001
|
}, _ctx.ptm('start')), [renderSlot(_ctx.$slots, "start")], 16)) : createCommentVNode("", true), renderSlot(_ctx.$slots, _ctx.$slots.button ? 'button' : 'menubutton', {
|
|
1008
|
-
id:
|
|
1002
|
+
id: _ctx.$id,
|
|
1009
1003
|
"class": normalizeClass(_ctx.cx('button')),
|
|
1010
1004
|
toggleCallback: function toggleCallback(event) {
|
|
1011
1005
|
return $options.menuButtonClick(event);
|
|
@@ -1020,7 +1014,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1020
1014
|
"class": _ctx.cx('button'),
|
|
1021
1015
|
"aria-haspopup": _ctx.model.length && _ctx.model.length > 0 ? true : false,
|
|
1022
1016
|
"aria-expanded": $data.mobileActive,
|
|
1023
|
-
"aria-controls":
|
|
1017
|
+
"aria-controls": _ctx.$id,
|
|
1024
1018
|
"aria-label": (_ctx$$primevue$config = _ctx.$primevue.config.locale.aria) === null || _ctx$$primevue$config === void 0 ? void 0 : _ctx$$primevue$config.navigation,
|
|
1025
1019
|
onClick: _cache[0] || (_cache[0] = function ($event) {
|
|
1026
1020
|
return $options.menuButtonClick($event);
|
|
@@ -1033,7 +1027,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1033
1027
|
})], 16, _hoisted_2)) : createCommentVNode("", true)];
|
|
1034
1028
|
}), createVNode(_component_MegaMenuSub, {
|
|
1035
1029
|
ref: $options.menubarRef,
|
|
1036
|
-
id:
|
|
1030
|
+
id: _ctx.$id + '_list',
|
|
1037
1031
|
tabindex: !_ctx.disabled ? _ctx.tabindex : -1,
|
|
1038
1032
|
role: "menubar",
|
|
1039
1033
|
"aria-label": _ctx.ariaLabel,
|
|
@@ -1041,7 +1035,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1041
1035
|
"aria-disabled": _ctx.disabled || undefined,
|
|
1042
1036
|
"aria-orientation": _ctx.orientation,
|
|
1043
1037
|
"aria-activedescendant": $data.focused ? $options.focusedItemId : undefined,
|
|
1044
|
-
menuId:
|
|
1038
|
+
menuId: _ctx.$id,
|
|
1045
1039
|
focusedItemId: $data.focused ? $options.focusedItemId : undefined,
|
|
1046
1040
|
items: $options.processedItems,
|
|
1047
1041
|
horizontal: $options.horizontal,
|