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/textarea/style/index.mjs
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
+
import { style } from '@primeuix/styles/textarea';
|
|
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-textarea {\n font-family: inherit;\n font-feature-settings: inherit;\n font-size: 1rem;\n color: ".concat(dt('textarea.color'), ";\n background: ").concat(dt('textarea.background'), ";\n padding-block: ").concat(dt('textarea.padding.y'), ";\n padding-inline: ").concat(dt('textarea.padding.x'), ";\n border: 1px solid ").concat(dt('textarea.border.color'), ";\n transition: background ").concat(dt('textarea.transition.duration'), ", color ").concat(dt('textarea.transition.duration'), ", border-color ").concat(dt('textarea.transition.duration'), ", outline-color ").concat(dt('textarea.transition.duration'), ", box-shadow ").concat(dt('textarea.transition.duration'), ";\n appearance: none;\n border-radius: ").concat(dt('textarea.border.radius'), ";\n outline-color: transparent;\n box-shadow: ").concat(dt('textarea.shadow'), ";\n}\n\n.p-textarea:enabled:hover {\n border-color: ").concat(dt('textarea.hover.border.color'), ";\n}\n\n.p-textarea:enabled:focus {\n border-color: ").concat(dt('textarea.focus.border.color'), ";\n box-shadow: ").concat(dt('textarea.focus.ring.shadow'), ";\n outline: ").concat(dt('textarea.focus.ring.width'), " ").concat(dt('textarea.focus.ring.style'), " ").concat(dt('textarea.focus.ring.color'), ";\n outline-offset: ").concat(dt('textarea.focus.ring.offset'), ";\n}\n\n.p-textarea.p-invalid {\n border-color: ").concat(dt('textarea.invalid.border.color'), ";\n}\n\n.p-textarea.p-variant-filled {\n background: ").concat(dt('textarea.filled.background'), ";\n}\n\n.p-textarea.p-variant-filled:enabled:focus {\n background: ").concat(dt('textarea.filled.focus.background'), ";\n}\n\n.p-textarea:disabled {\n opacity: 1;\n background: ").concat(dt('textarea.disabled.background'), ";\n color: ").concat(dt('textarea.disabled.color'), ";\n}\n\n.p-textarea::placeholder {\n color: ").concat(dt('textarea.placeholder.color'), ";\n}\n\n.p-textarea.p-invalid::placeholder {\n color: ").concat(dt('textarea.invalid.placeholder.color'), ";\n}\n\n.p-textarea-fluid {\n width: 100%;\n}\n\n.p-textarea-resizable {\n overflow: hidden;\n resize: none;\n}\n\n.p-textarea-sm {\n font-size: ").concat(dt('textarea.sm.font.size'), ";\n padding-block: ").concat(dt('textarea.sm.padding.y'), ";\n padding-inline: ").concat(dt('textarea.sm.padding.x'), ";\n}\n\n.p-textarea-lg {\n font-size: ").concat(dt('textarea.lg.font.size'), ";\n padding-block: ").concat(dt('textarea.lg.padding.y'), ";\n padding-inline: ").concat(dt('textarea.lg.padding.x'), ";\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-textarea p-component', {
|
|
12
9
|
'p-filled': instance.$filled,
|
|
13
10
|
'p-textarea-resizable ': props.autoResize,
|
|
@@ -21,7 +18,7 @@ var classes = {
|
|
|
21
18
|
};
|
|
22
19
|
var TextareaStyle = BaseStyle.extend({
|
|
23
20
|
name: 'textarea',
|
|
24
|
-
|
|
21
|
+
style: style,
|
|
25
22
|
classes: classes
|
|
26
23
|
});
|
|
27
24
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../src/textarea/style/TextareaStyle.js"],"sourcesContent":["import
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../src/textarea/style/TextareaStyle.js"],"sourcesContent":["import { style } from '@primeuix/styles/textarea';\nimport BaseStyle from '@primevue/core/base/style';\n\nconst classes = {\n root: ({ instance, props }) => [\n 'p-textarea p-component',\n {\n 'p-filled': instance.$filled,\n 'p-textarea-resizable ': props.autoResize,\n 'p-textarea-sm p-inputfield-sm': props.size === 'small',\n 'p-textarea-lg p-inputfield-lg': props.size === 'large',\n 'p-invalid': instance.$invalid,\n 'p-variant-filled': instance.$variant === 'filled',\n 'p-textarea-fluid': instance.$fluid\n }\n ]\n};\n\nexport default BaseStyle.extend({\n name: 'textarea',\n style,\n classes\n});\n"],"names":["classes","root","_ref","instance","props","$filled","autoResize","size","$invalid","$variant","$fluid","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,wBAAwB,EACxB;MACI,UAAU,EAAED,QAAQ,CAACE,OAAO;MAC5B,uBAAuB,EAAED,KAAK,CAACE,UAAU;AACzC,MAAA,+BAA+B,EAAEF,KAAK,CAACG,IAAI,KAAK,OAAO;AACvD,MAAA,+BAA+B,EAAEH,KAAK,CAACG,IAAI,KAAK,OAAO;MACvD,WAAW,EAAEJ,QAAQ,CAACK,QAAQ;AAC9B,MAAA,kBAAkB,EAAEL,QAAQ,CAACM,QAAQ,KAAK,QAAQ;MAClD,kBAAkB,EAAEN,QAAQ,CAACO;AACjC,KAAC,CACJ;AAAA;AACL,CAAC;AAED,oBAAeC,SAAS,CAACC,MAAM,CAAC;AAC5BC,EAAAA,IAAI,EAAE,UAAU;AAChBC,EAAAA,KAAK,EAALA,KAAK;AACLd,EAAAA,OAAO,EAAPA;AACJ,CAAC,CAAC;;;;"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<Portal :appendTo="appendTo" :disabled="!popup">
|
|
3
3
|
<transition name="p-connected-overlay" @enter="onEnter" @after-enter="onAfterEnter" @leave="onLeave" @after-leave="onAfterLeave" v-bind="ptm('transition')">
|
|
4
|
-
<div v-if="visible" :ref="containerRef" :id="id" :class="cx('root')" @click="onOverlayClick" v-bind="ptmi('root')">
|
|
4
|
+
<div v-if="visible" :ref="containerRef" :id="$id" :class="cx('root')" @click="onOverlayClick" v-bind="ptmi('root')">
|
|
5
5
|
<div v-if="$slots.start" :class="cx('start')" v-bind="ptm('start')">
|
|
6
6
|
<slot name="start"></slot>
|
|
7
7
|
</div>
|
|
8
8
|
<TieredMenuSub
|
|
9
9
|
:ref="menubarRef"
|
|
10
|
-
:id="id + '_list'"
|
|
10
|
+
:id="$id + '_list'"
|
|
11
11
|
:class="cx('rootList')"
|
|
12
12
|
:tabindex="!disabled ? tabindex : -1"
|
|
13
13
|
role="menubar"
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
:aria-disabled="disabled || undefined"
|
|
17
17
|
aria-orientation="vertical"
|
|
18
18
|
:aria-activedescendant="focused ? focusedItemId : undefined"
|
|
19
|
-
:menuId="id"
|
|
19
|
+
:menuId="$id"
|
|
20
20
|
:focusedItemId="focused ? focusedItemId : undefined"
|
|
21
21
|
:items="processedItems"
|
|
22
22
|
:templates="$slots"
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
import { absolutePosition, addStyle, findSingle, focus, getOuterWidth, isTouchDevice } from '@primeuix/utils/dom';
|
|
46
46
|
import { findLastIndex, isEmpty, isNotEmpty, isPrintableCharacter, resolve } from '@primeuix/utils/object';
|
|
47
47
|
import { ZIndex } from '@primeuix/utils/zindex';
|
|
48
|
-
import { ConnectedOverlayScrollHandler
|
|
48
|
+
import { ConnectedOverlayScrollHandler } from '@primevue/core/utils';
|
|
49
49
|
import OverlayEventBus from 'primevue/overlayeventbus';
|
|
50
50
|
import Portal from 'primevue/portal';
|
|
51
51
|
import BaseTieredMenu from './BaseTieredMenu.vue';
|
|
@@ -67,7 +67,6 @@ export default {
|
|
|
67
67
|
searchValue: null,
|
|
68
68
|
data() {
|
|
69
69
|
return {
|
|
70
|
-
id: this.$attrs.id,
|
|
71
70
|
focused: false,
|
|
72
71
|
focusedItemInfo: { index: -1, level: 0, parentKey: '' },
|
|
73
72
|
activeItemPath: [],
|
|
@@ -79,9 +78,6 @@ export default {
|
|
|
79
78
|
};
|
|
80
79
|
},
|
|
81
80
|
watch: {
|
|
82
|
-
'$attrs.id': function (newValue) {
|
|
83
|
-
this.id = newValue || UniqueComponentId();
|
|
84
|
-
},
|
|
85
81
|
activeItemPath(newPath) {
|
|
86
82
|
if (!this.popup) {
|
|
87
83
|
if (isNotEmpty(newPath)) {
|
|
@@ -95,7 +91,6 @@ export default {
|
|
|
95
91
|
}
|
|
96
92
|
},
|
|
97
93
|
mounted() {
|
|
98
|
-
this.id = this.id || UniqueComponentId();
|
|
99
94
|
this.bindMatchMediaListener();
|
|
100
95
|
},
|
|
101
96
|
beforeUnmount() {
|
|
@@ -468,12 +463,12 @@ export default {
|
|
|
468
463
|
}
|
|
469
464
|
};
|
|
470
465
|
|
|
471
|
-
document.addEventListener('click', this.outsideClickListener);
|
|
466
|
+
document.addEventListener('click', this.outsideClickListener, true);
|
|
472
467
|
}
|
|
473
468
|
},
|
|
474
469
|
unbindOutsideClickListener() {
|
|
475
470
|
if (this.outsideClickListener) {
|
|
476
|
-
document.removeEventListener('click', this.outsideClickListener);
|
|
471
|
+
document.removeEventListener('click', this.outsideClickListener, true);
|
|
477
472
|
this.outsideClickListener = null;
|
|
478
473
|
}
|
|
479
474
|
},
|
|
@@ -612,7 +607,7 @@ export default {
|
|
|
612
607
|
}
|
|
613
608
|
},
|
|
614
609
|
scrollInView(index = -1) {
|
|
615
|
-
const id = index !== -1 ? `${this
|
|
610
|
+
const id = index !== -1 ? `${this.$id}_${index}` : this.focusedItemId;
|
|
616
611
|
const element = findSingle(this.menubar, `li[id="${id}"]`);
|
|
617
612
|
|
|
618
613
|
if (element) {
|
|
@@ -657,7 +652,7 @@ export default {
|
|
|
657
652
|
return processedItem ? processedItem.items : this.processedItems;
|
|
658
653
|
},
|
|
659
654
|
focusedItemId() {
|
|
660
|
-
return this.focusedItemInfo.index !== -1 ? `${this
|
|
655
|
+
return this.focusedItemInfo.index !== -1 ? `${this.$id}${isNotEmpty(this.focusedItemInfo.parentKey) ? '_' + this.focusedItemInfo.parentKey : ''}_${this.focusedItemInfo.index}` : null;
|
|
661
656
|
}
|
|
662
657
|
},
|
|
663
658
|
components: {
|
package/tieredmenu/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { nestedPosition,
|
|
2
|
-
import {
|
|
1
|
+
import { nestedPosition, findSingle, isTouchDevice, absolutePosition, getOuterWidth, addStyle, 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 {
|
|
4
|
+
import { ConnectedOverlayScrollHandler } from '@primevue/core/utils';
|
|
5
5
|
import OverlayEventBus from 'primevue/overlayeventbus';
|
|
6
6
|
import Portal from 'primevue/portal';
|
|
7
7
|
import BaseComponent from '@primevue/core/basecomponent';
|
|
8
8
|
import TieredMenuStyle from 'primevue/tieredmenu/style';
|
|
9
9
|
import AngleRightIcon from '@primevue/icons/angleright';
|
|
10
10
|
import Ripple from 'primevue/ripple';
|
|
11
|
-
import { mergeProps, resolveComponent, resolveDirective,
|
|
11
|
+
import { mergeProps, resolveComponent, resolveDirective, createBlock, openBlock, Transition, withCtx, createElementBlock, createCommentVNode, Fragment, renderList, createElementVNode, withDirectives, resolveDynamicComponent, normalizeClass, toDisplayString, createVNode, renderSlot } from 'vue';
|
|
12
12
|
|
|
13
13
|
var script$2 = {
|
|
14
14
|
name: 'BaseTieredMenu',
|
|
@@ -365,7 +365,6 @@ var script = {
|
|
|
365
365
|
searchValue: null,
|
|
366
366
|
data: function data() {
|
|
367
367
|
return {
|
|
368
|
-
id: this.$attrs.id,
|
|
369
368
|
focused: false,
|
|
370
369
|
focusedItemInfo: {
|
|
371
370
|
index: -1,
|
|
@@ -381,9 +380,6 @@ var script = {
|
|
|
381
380
|
};
|
|
382
381
|
},
|
|
383
382
|
watch: {
|
|
384
|
-
'$attrs.id': function $attrsId(newValue) {
|
|
385
|
-
this.id = newValue || UniqueComponentId();
|
|
386
|
-
},
|
|
387
383
|
activeItemPath: function activeItemPath(newPath) {
|
|
388
384
|
if (!this.popup) {
|
|
389
385
|
if (isNotEmpty(newPath)) {
|
|
@@ -397,7 +393,6 @@ var script = {
|
|
|
397
393
|
}
|
|
398
394
|
},
|
|
399
395
|
mounted: function mounted() {
|
|
400
|
-
this.id = this.id || UniqueComponentId();
|
|
401
396
|
this.bindMatchMediaListener();
|
|
402
397
|
},
|
|
403
398
|
beforeUnmount: function beforeUnmount() {
|
|
@@ -775,12 +770,12 @@ var script = {
|
|
|
775
770
|
_this2.hide();
|
|
776
771
|
}
|
|
777
772
|
};
|
|
778
|
-
document.addEventListener('click', this.outsideClickListener);
|
|
773
|
+
document.addEventListener('click', this.outsideClickListener, true);
|
|
779
774
|
}
|
|
780
775
|
},
|
|
781
776
|
unbindOutsideClickListener: function unbindOutsideClickListener() {
|
|
782
777
|
if (this.outsideClickListener) {
|
|
783
|
-
document.removeEventListener('click', this.outsideClickListener);
|
|
778
|
+
document.removeEventListener('click', this.outsideClickListener, true);
|
|
784
779
|
this.outsideClickListener = null;
|
|
785
780
|
}
|
|
786
781
|
},
|
|
@@ -931,7 +926,7 @@ var script = {
|
|
|
931
926
|
},
|
|
932
927
|
scrollInView: function scrollInView() {
|
|
933
928
|
var index = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : -1;
|
|
934
|
-
var id = index !== -1 ? "".concat(this
|
|
929
|
+
var id = index !== -1 ? "".concat(this.$id, "_").concat(index) : this.focusedItemId;
|
|
935
930
|
var element = findSingle(this.menubar, "li[id=\"".concat(id, "\"]"));
|
|
936
931
|
if (element) {
|
|
937
932
|
element.scrollIntoView && element.scrollIntoView({
|
|
@@ -980,7 +975,7 @@ var script = {
|
|
|
980
975
|
return processedItem ? processedItem.items : this.processedItems;
|
|
981
976
|
},
|
|
982
977
|
focusedItemId: function focusedItemId() {
|
|
983
|
-
return this.focusedItemInfo.index !== -1 ? "".concat(this
|
|
978
|
+
return this.focusedItemInfo.index !== -1 ? "".concat(this.$id).concat(isNotEmpty(this.focusedItemInfo.parentKey) ? '_' + this.focusedItemInfo.parentKey : '', "_").concat(this.focusedItemInfo.index) : null;
|
|
984
979
|
}
|
|
985
980
|
},
|
|
986
981
|
components: {
|
|
@@ -1009,7 +1004,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1009
1004
|
return [$data.visible ? (openBlock(), createElementBlock("div", mergeProps({
|
|
1010
1005
|
key: 0,
|
|
1011
1006
|
ref: $options.containerRef,
|
|
1012
|
-
id:
|
|
1007
|
+
id: _ctx.$id,
|
|
1013
1008
|
"class": _ctx.cx('root'),
|
|
1014
1009
|
onClick: _cache[0] || (_cache[0] = function () {
|
|
1015
1010
|
return $options.onOverlayClick && $options.onOverlayClick.apply($options, arguments);
|
|
@@ -1019,7 +1014,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1019
1014
|
"class": _ctx.cx('start')
|
|
1020
1015
|
}, _ctx.ptm('start')), [renderSlot(_ctx.$slots, "start")], 16)) : createCommentVNode("", true), createVNode(_component_TieredMenuSub, mergeProps({
|
|
1021
1016
|
ref: $options.menubarRef,
|
|
1022
|
-
id:
|
|
1017
|
+
id: _ctx.$id + '_list',
|
|
1023
1018
|
"class": _ctx.cx('rootList'),
|
|
1024
1019
|
tabindex: !_ctx.disabled ? _ctx.tabindex : -1,
|
|
1025
1020
|
role: "menubar",
|
|
@@ -1028,7 +1023,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1028
1023
|
"aria-disabled": _ctx.disabled || undefined,
|
|
1029
1024
|
"aria-orientation": "vertical",
|
|
1030
1025
|
"aria-activedescendant": $data.focused ? $options.focusedItemId : undefined,
|
|
1031
|
-
menuId:
|
|
1026
|
+
menuId: _ctx.$id,
|
|
1032
1027
|
focusedItemId: $data.focused ? $options.focusedItemId : undefined,
|
|
1033
1028
|
items: $options.processedItems,
|
|
1034
1029
|
templates: _ctx.$slots,
|