primevue 3.45.0 → 3.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/api.cjs.js +6 -6
- package/api/api.cjs.min.js +1 -1
- package/api/api.esm.js +6 -6
- package/api/api.esm.min.js +1 -1
- package/api/api.js +6 -6
- package/api/api.min.js +1 -1
- package/autocomplete/AutoComplete.d.ts +6 -1
- package/autocomplete/AutoComplete.vue +24 -15
- package/autocomplete/BaseAutoComplete.vue +6 -2
- package/autocomplete/autocomplete.cjs.js +30 -19
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +30 -19
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +30 -19
- package/autocomplete/autocomplete.min.js +1 -1
- package/basecomponent/basecomponent.cjs.js +1 -3
- package/basecomponent/basecomponent.cjs.min.js +1 -1
- package/basecomponent/basecomponent.esm.js +1 -3
- package/basecomponent/basecomponent.esm.min.js +1 -1
- package/basecomponent/basecomponent.js +1 -3
- package/basecomponent/basecomponent.min.js +1 -1
- package/basecomponent/style/basecomponentstyle.cjs.js +1 -3
- package/basecomponent/style/basecomponentstyle.cjs.min.js +1 -1
- package/basecomponent/style/basecomponentstyle.esm.js +1 -3
- package/basecomponent/style/basecomponentstyle.esm.min.js +1 -1
- package/basecomponent/style/basecomponentstyle.js +1 -3
- package/basecomponent/style/basecomponentstyle.min.js +1 -1
- package/basedirective/basedirective.cjs.js +11 -2
- package/basedirective/basedirective.cjs.min.js +1 -1
- package/basedirective/basedirective.esm.js +11 -2
- package/basedirective/basedirective.esm.min.js +1 -1
- package/basedirective/basedirective.js +11 -2
- package/basedirective/basedirective.min.js +1 -1
- package/baseicon/BaseIcon.vue +6 -1
- package/baseicon/baseicon.cjs.js +5 -0
- package/baseicon/baseicon.cjs.min.js +1 -1
- package/baseicon/baseicon.esm.js +6 -1
- package/baseicon/baseicon.esm.min.js +1 -1
- package/baseicon/baseicon.js +5 -0
- package/baseicon/baseicon.min.js +1 -1
- package/calendar/BaseCalendar.vue +1 -1
- package/calendar/Calendar.d.ts +53 -2
- package/calendar/Calendar.vue +12 -0
- package/calendar/calendar.cjs.js +13 -1
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +13 -1
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +13 -1
- package/calendar/calendar.min.js +1 -1
- package/card/Card.d.ts +4 -0
- package/card/Card.vue +7 -5
- package/card/card.cjs.js +6 -3
- package/card/card.cjs.min.js +1 -1
- package/card/card.esm.js +6 -3
- package/card/card.esm.min.js +1 -1
- package/card/card.js +6 -3
- package/card/card.min.js +1 -1
- package/card/style/cardstyle.cjs.js +1 -0
- package/card/style/cardstyle.cjs.min.js +1 -1
- package/card/style/cardstyle.esm.js +1 -0
- package/card/style/cardstyle.esm.min.js +1 -1
- package/card/style/cardstyle.js +1 -0
- package/card/style/cardstyle.min.js +1 -1
- package/cascadeselect/BaseCascadeSelect.vue +6 -2
- package/cascadeselect/CascadeSelect.d.ts +47 -1
- package/cascadeselect/CascadeSelect.vue +56 -35
- package/cascadeselect/CascadeSelectSub.vue +26 -6
- package/cascadeselect/cascadeselect.cjs.js +118 -58
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +118 -58
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +118 -58
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/checkbox/BaseCheckbox.vue +0 -4
- package/checkbox/Checkbox.d.ts +17 -34
- package/checkbox/Checkbox.vue +24 -35
- package/checkbox/checkbox.cjs.js +21 -49
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +21 -49
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +21 -49
- package/checkbox/checkbox.min.js +1 -1
- package/checkbox/style/checkboxstyle.cjs.js +5 -11
- package/checkbox/style/checkboxstyle.cjs.min.js +1 -1
- package/checkbox/style/checkboxstyle.esm.js +5 -11
- package/checkbox/style/checkboxstyle.esm.min.js +1 -1
- package/checkbox/style/checkboxstyle.js +5 -11
- package/checkbox/style/checkboxstyle.min.js +1 -1
- package/chips/Chips.vue +2 -1
- package/chips/chips.cjs.js +2 -1
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +2 -1
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +2 -1
- package/chips/chips.min.js +1 -1
- package/colorpicker/BaseColorPicker.vue +1 -1
- package/colorpicker/ColorPicker.d.ts +1 -1
- package/colorpicker/colorpicker.cjs.js +1 -1
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +1 -1
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +1 -1
- package/colorpicker/colorpicker.min.js +1 -1
- package/column/Column.d.ts +15 -44
- package/confirmdialog/ConfirmDialog.vue +1 -1
- package/confirmdialog/confirmdialog.cjs.js +1 -1
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +1 -1
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +1 -1
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmdialog/style/confirmdialogstyle.cjs.js +3 -6
- package/confirmdialog/style/confirmdialogstyle.cjs.min.js +1 -1
- package/confirmdialog/style/confirmdialogstyle.esm.js +3 -6
- package/confirmdialog/style/confirmdialogstyle.esm.min.js +1 -1
- package/confirmdialog/style/confirmdialogstyle.js +3 -6
- package/confirmdialog/style/confirmdialogstyle.min.js +1 -1
- package/confirmpopup/ConfirmPopup.vue +2 -2
- package/confirmpopup/confirmpopup.cjs.js +2 -2
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +2 -2
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +2 -2
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/confirmpopup/style/confirmpopupstyle.cjs.js +5 -8
- package/confirmpopup/style/confirmpopupstyle.cjs.min.js +1 -1
- package/confirmpopup/style/confirmpopupstyle.esm.js +5 -8
- package/confirmpopup/style/confirmpopupstyle.esm.min.js +1 -1
- package/confirmpopup/style/confirmpopupstyle.js +5 -8
- package/confirmpopup/style/confirmpopupstyle.min.js +1 -1
- package/contextmenu/BaseContextMenu.vue +1 -1
- package/contextmenu/ContextMenu.vue +8 -8
- package/contextmenu/ContextMenuSub.vue +6 -1
- package/contextmenu/contextmenu.cjs.js +18 -11
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +18 -11
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +18 -11
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +973 -679
- package/core/core.min.js +70 -62
- package/datatable/BaseDataTable.vue +4 -0
- package/datatable/BodyCell.vue +11 -1
- package/datatable/BodyRow.vue +16 -9
- package/datatable/ColumnFilter.vue +5 -2
- package/datatable/DataTable.d.ts +5 -0
- package/datatable/DataTable.vue +2 -2
- package/datatable/HeaderCell.vue +2 -0
- package/datatable/HeaderCheckbox.vue +14 -42
- package/datatable/RowCheckbox.vue +10 -52
- package/datatable/RowRadioButton.vue +11 -32
- package/datatable/TableHeader.vue +3 -1
- package/datatable/datatable.cjs.js +120 -199
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +119 -200
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +120 -201
- package/datatable/datatable.min.js +1 -1
- package/datatable/style/datatablestyle.cjs.js +24 -73
- package/datatable/style/datatablestyle.cjs.min.js +1 -1
- package/datatable/style/datatablestyle.esm.js +24 -73
- package/datatable/style/datatablestyle.esm.min.js +1 -1
- package/datatable/style/datatablestyle.js +24 -73
- package/datatable/style/datatablestyle.min.js +1 -1
- package/dialog/BaseDialog.vue +1 -1
- package/dialog/dialog.cjs.js +1 -1
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +1 -1
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +1 -1
- package/dialog/dialog.min.js +1 -1
- package/dialog/style/dialogstyle.cjs.js +1 -1
- package/dialog/style/dialogstyle.cjs.min.js +1 -1
- package/dialog/style/dialogstyle.esm.js +1 -1
- package/dialog/style/dialogstyle.esm.min.js +1 -1
- package/dialog/style/dialogstyle.js +1 -1
- package/dialog/style/dialogstyle.min.js +1 -1
- package/dropdown/BaseDropdown.vue +18 -2
- package/dropdown/Dropdown.d.ts +37 -1
- package/dropdown/Dropdown.vue +68 -40
- package/dropdown/dropdown.cjs.js +96 -46
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +94 -46
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +96 -48
- package/dropdown/dropdown.min.js +1 -1
- package/dropdown/style/dropdownstyle.cjs.js +7 -2
- package/dropdown/style/dropdownstyle.cjs.min.js +1 -1
- package/dropdown/style/dropdownstyle.esm.js +7 -2
- package/dropdown/style/dropdownstyle.esm.min.js +1 -1
- package/dropdown/style/dropdownstyle.js +7 -2
- package/dropdown/style/dropdownstyle.min.js +1 -1
- package/focustrap/focustrap.cjs.js +15 -2
- package/focustrap/focustrap.cjs.min.js +1 -1
- package/focustrap/focustrap.esm.js +15 -2
- package/focustrap/focustrap.esm.min.js +1 -1
- package/focustrap/focustrap.js +15 -2
- package/focustrap/focustrap.min.js +1 -1
- package/icons/arrowdown/index.cjs.js +4 -10
- package/icons/arrowdown/index.cjs.min.js +1 -1
- package/icons/arrowdown/index.esm.js +4 -10
- package/icons/arrowdown/index.esm.min.js +1 -1
- package/icons/arrowdown/index.js +6 -11
- package/icons/arrowdown/index.min.js +1 -1
- package/icons/arrowdown/index.vue +2 -8
- package/icons/arrowup/index.cjs.js +4 -10
- package/icons/arrowup/index.cjs.min.js +1 -1
- package/icons/arrowup/index.esm.js +4 -10
- package/icons/arrowup/index.esm.min.js +1 -1
- package/icons/arrowup/index.js +6 -11
- package/icons/arrowup/index.min.js +1 -1
- package/icons/arrowup/index.vue +2 -8
- package/icons/ban/index.cjs.js +4 -10
- package/icons/ban/index.cjs.min.js +1 -1
- package/icons/ban/index.esm.js +4 -10
- package/icons/ban/index.esm.min.js +1 -1
- package/icons/ban/index.js +6 -11
- package/icons/ban/index.min.js +1 -1
- package/icons/ban/index.vue +2 -8
- package/icons/blank/index.cjs.js +34 -0
- package/icons/blank/index.cjs.min.js +1 -0
- package/icons/blank/index.d.ts +12 -0
- package/icons/blank/index.esm.js +28 -0
- package/icons/blank/index.esm.min.js +1 -0
- package/icons/blank/index.js +36 -0
- package/icons/blank/index.min.js +1 -0
- package/icons/blank/index.vue +13 -0
- package/icons/blank/package.json +9 -0
- package/icons/exclamationtriangle/index.cjs.js +4 -10
- package/icons/exclamationtriangle/index.cjs.min.js +1 -1
- package/icons/exclamationtriangle/index.esm.js +4 -10
- package/icons/exclamationtriangle/index.esm.min.js +1 -1
- package/icons/exclamationtriangle/index.js +6 -11
- package/icons/exclamationtriangle/index.min.js +1 -1
- package/icons/exclamationtriangle/index.vue +2 -8
- package/icons/eyeslash/index.cjs.js +4 -10
- package/icons/eyeslash/index.cjs.min.js +1 -1
- package/icons/eyeslash/index.esm.js +4 -10
- package/icons/eyeslash/index.esm.min.js +1 -1
- package/icons/eyeslash/index.js +6 -11
- package/icons/eyeslash/index.min.js +1 -1
- package/icons/eyeslash/index.vue +2 -8
- package/icons/filter/index.cjs.js +4 -10
- package/icons/filter/index.cjs.min.js +1 -1
- package/icons/filter/index.esm.js +4 -10
- package/icons/filter/index.esm.min.js +1 -1
- package/icons/filter/index.js +6 -11
- package/icons/filter/index.min.js +1 -1
- package/icons/filter/index.vue +2 -8
- package/icons/filterslash/index.cjs.js +4 -10
- package/icons/filterslash/index.cjs.min.js +1 -1
- package/icons/filterslash/index.esm.js +4 -10
- package/icons/filterslash/index.esm.min.js +1 -1
- package/icons/filterslash/index.js +6 -11
- package/icons/filterslash/index.min.js +1 -1
- package/icons/filterslash/index.vue +2 -8
- package/icons/infocircle/index.cjs.js +4 -10
- package/icons/infocircle/index.cjs.min.js +1 -1
- package/icons/infocircle/index.esm.js +4 -10
- package/icons/infocircle/index.esm.min.js +1 -1
- package/icons/infocircle/index.js +6 -11
- package/icons/infocircle/index.min.js +1 -1
- package/icons/infocircle/index.vue +2 -8
- package/icons/pencil/index.cjs.js +4 -10
- package/icons/pencil/index.cjs.min.js +1 -1
- package/icons/pencil/index.esm.js +4 -10
- package/icons/pencil/index.esm.min.js +1 -1
- package/icons/pencil/index.js +6 -11
- package/icons/pencil/index.min.js +1 -1
- package/icons/pencil/index.vue +2 -8
- package/icons/plus/index.cjs.js +4 -10
- package/icons/plus/index.cjs.min.js +1 -1
- package/icons/plus/index.esm.js +4 -10
- package/icons/plus/index.esm.min.js +1 -1
- package/icons/plus/index.js +6 -11
- package/icons/plus/index.min.js +1 -1
- package/icons/plus/index.vue +2 -8
- package/icons/refresh/index.cjs.js +4 -10
- package/icons/refresh/index.cjs.min.js +1 -1
- package/icons/refresh/index.esm.js +4 -10
- package/icons/refresh/index.esm.min.js +1 -1
- package/icons/refresh/index.js +6 -11
- package/icons/refresh/index.min.js +1 -1
- package/icons/refresh/index.vue +2 -8
- package/icons/search/index.cjs.js +4 -10
- package/icons/search/index.cjs.min.js +1 -1
- package/icons/search/index.esm.js +4 -10
- package/icons/search/index.esm.min.js +1 -1
- package/icons/search/index.js +6 -11
- package/icons/search/index.min.js +1 -1
- package/icons/search/index.vue +2 -8
- package/icons/searchminus/index.cjs.js +4 -10
- package/icons/searchminus/index.cjs.min.js +1 -1
- package/icons/searchminus/index.esm.js +4 -10
- package/icons/searchminus/index.esm.min.js +1 -1
- package/icons/searchminus/index.js +6 -11
- package/icons/searchminus/index.min.js +1 -1
- package/icons/searchminus/index.vue +2 -8
- package/icons/searchplus/index.cjs.js +4 -10
- package/icons/searchplus/index.cjs.min.js +1 -1
- package/icons/searchplus/index.esm.js +4 -10
- package/icons/searchplus/index.esm.min.js +1 -1
- package/icons/searchplus/index.js +6 -11
- package/icons/searchplus/index.min.js +1 -1
- package/icons/searchplus/index.vue +2 -8
- package/icons/sortalt/index.cjs.js +4 -10
- package/icons/sortalt/index.cjs.min.js +1 -1
- package/icons/sortalt/index.esm.js +4 -10
- package/icons/sortalt/index.esm.min.js +1 -1
- package/icons/sortalt/index.js +6 -11
- package/icons/sortalt/index.min.js +1 -1
- package/icons/sortalt/index.vue +2 -8
- package/icons/sortamountdown/index.cjs.js +4 -10
- package/icons/sortamountdown/index.cjs.min.js +1 -1
- package/icons/sortamountdown/index.esm.js +4 -10
- package/icons/sortamountdown/index.esm.min.js +1 -1
- package/icons/sortamountdown/index.js +6 -11
- package/icons/sortamountdown/index.min.js +1 -1
- package/icons/sortamountdown/index.vue +2 -8
- package/icons/sortamountupalt/index.cjs.js +4 -10
- package/icons/sortamountupalt/index.cjs.min.js +1 -1
- package/icons/sortamountupalt/index.esm.js +4 -10
- package/icons/sortamountupalt/index.esm.min.js +1 -1
- package/icons/sortamountupalt/index.js +6 -11
- package/icons/sortamountupalt/index.min.js +1 -1
- package/icons/sortamountupalt/index.vue +2 -8
- package/icons/spinner/index.cjs.js +4 -10
- package/icons/spinner/index.cjs.min.js +1 -1
- package/icons/spinner/index.esm.js +4 -10
- package/icons/spinner/index.esm.min.js +1 -1
- package/icons/spinner/index.js +6 -11
- package/icons/spinner/index.min.js +1 -1
- package/icons/spinner/index.vue +2 -8
- package/icons/star/index.cjs.js +4 -10
- package/icons/star/index.cjs.min.js +1 -1
- package/icons/star/index.esm.js +4 -10
- package/icons/star/index.esm.min.js +1 -1
- package/icons/star/index.js +6 -11
- package/icons/star/index.min.js +1 -1
- package/icons/star/index.vue +2 -8
- package/icons/starfill/index.cjs.js +4 -10
- package/icons/starfill/index.cjs.min.js +1 -1
- package/icons/starfill/index.esm.js +4 -10
- package/icons/starfill/index.esm.min.js +1 -1
- package/icons/starfill/index.js +6 -11
- package/icons/starfill/index.min.js +1 -1
- package/icons/starfill/index.vue +2 -8
- package/icons/thlarge/index.cjs.js +4 -10
- package/icons/thlarge/index.cjs.min.js +1 -1
- package/icons/thlarge/index.esm.js +4 -10
- package/icons/thlarge/index.esm.min.js +1 -1
- package/icons/thlarge/index.js +6 -11
- package/icons/thlarge/index.min.js +1 -1
- package/icons/thlarge/index.vue +2 -8
- package/icons/timescircle/index.cjs.js +4 -10
- package/icons/timescircle/index.cjs.min.js +1 -1
- package/icons/timescircle/index.esm.js +4 -10
- package/icons/timescircle/index.esm.min.js +1 -1
- package/icons/timescircle/index.js +6 -11
- package/icons/timescircle/index.min.js +1 -1
- package/icons/timescircle/index.vue +2 -8
- package/icons/trash/index.cjs.js +4 -10
- package/icons/trash/index.cjs.min.js +1 -1
- package/icons/trash/index.esm.js +4 -10
- package/icons/trash/index.esm.min.js +1 -1
- package/icons/trash/index.js +6 -11
- package/icons/trash/index.min.js +1 -1
- package/icons/trash/index.vue +2 -8
- package/icons/undo/index.cjs.js +4 -10
- package/icons/undo/index.cjs.min.js +1 -1
- package/icons/undo/index.esm.js +4 -10
- package/icons/undo/index.esm.min.js +1 -1
- package/icons/undo/index.js +6 -11
- package/icons/undo/index.min.js +1 -1
- package/icons/undo/index.vue +2 -8
- package/icons/upload/index.cjs.js +4 -10
- package/icons/upload/index.cjs.min.js +1 -1
- package/icons/upload/index.esm.js +4 -10
- package/icons/upload/index.esm.min.js +1 -1
- package/icons/upload/index.js +6 -11
- package/icons/upload/index.min.js +1 -1
- package/icons/upload/index.vue +2 -8
- package/icons/windowmaximize/index.cjs.js +4 -10
- package/icons/windowmaximize/index.cjs.min.js +1 -1
- package/icons/windowmaximize/index.esm.js +4 -10
- package/icons/windowmaximize/index.esm.min.js +1 -1
- package/icons/windowmaximize/index.js +6 -11
- package/icons/windowmaximize/index.min.js +1 -1
- package/icons/windowmaximize/index.vue +2 -8
- package/icons/windowminimize/index.cjs.js +4 -10
- package/icons/windowminimize/index.cjs.min.js +1 -1
- package/icons/windowminimize/index.esm.js +4 -10
- package/icons/windowminimize/index.esm.min.js +1 -1
- package/icons/windowminimize/index.js +6 -11
- package/icons/windowminimize/index.min.js +1 -1
- package/icons/windowminimize/index.vue +2 -8
- package/inputnumber/InputNumber.vue +22 -9
- package/inputnumber/inputnumber.cjs.js +17 -6
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +18 -7
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +17 -6
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputswitch/BaseInputSwitch.vue +8 -4
- package/inputswitch/InputSwitch.d.ts +41 -20
- package/inputswitch/InputSwitch.vue +31 -33
- package/inputswitch/inputswitch.cjs.js +38 -42
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +38 -42
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +38 -42
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputswitch/style/inputswitchstyle.cjs.js +4 -4
- package/inputswitch/style/inputswitchstyle.cjs.min.js +1 -1
- package/inputswitch/style/inputswitchstyle.esm.js +4 -4
- package/inputswitch/style/inputswitchstyle.esm.min.js +1 -1
- package/inputswitch/style/inputswitchstyle.js +4 -4
- package/inputswitch/style/inputswitchstyle.min.js +1 -1
- package/listbox/BaseListbox.vue +4 -0
- package/listbox/Listbox.d.ts +6 -1
- package/listbox/Listbox.vue +47 -26
- package/listbox/listbox.cjs.js +88 -50
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +88 -50
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +88 -50
- package/listbox/listbox.min.js +1 -1
- package/listbox/style/listboxstyle.cjs.js +2 -3
- package/listbox/style/listboxstyle.cjs.min.js +1 -1
- package/listbox/style/listboxstyle.esm.js +2 -3
- package/listbox/style/listboxstyle.esm.min.js +1 -1
- package/listbox/style/listboxstyle.js +2 -3
- package/listbox/style/listboxstyle.min.js +1 -1
- package/megamenu/MegaMenu.vue +1 -1
- package/megamenu/megamenu.cjs.js +2 -1
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +2 -1
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +2 -1
- package/megamenu/megamenu.min.js +1 -1
- package/menu/BaseMenu.vue +1 -1
- package/menu/menu.cjs.js +1 -1
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +1 -1
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +1 -1
- package/menu/menu.min.js +1 -1
- package/menubar/Menubar.vue +3 -2
- package/menubar/MenubarSub.vue +5 -1
- package/menubar/menubar.cjs.js +12 -5
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +12 -5
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +12 -5
- package/menubar/menubar.min.js +1 -1
- package/message/Message.d.ts +4 -0
- package/message/Message.vue +2 -1
- package/message/message.cjs.js +2 -1
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +2 -1
- package/message/message.esm.min.js +1 -1
- package/message/message.js +2 -1
- package/message/message.min.js +1 -1
- package/metergroup/BaseMeterGroup.vue +41 -0
- package/metergroup/MeterGroup.d.ts +302 -0
- package/metergroup/MeterGroup.vue +73 -0
- package/metergroup/MeterGroupLabel.vue +36 -0
- package/metergroup/metergroup.cjs.js +218 -0
- package/metergroup/metergroup.cjs.min.js +1 -0
- package/metergroup/metergroup.esm.js +211 -0
- package/metergroup/metergroup.esm.min.js +1 -0
- package/metergroup/metergroup.js +218 -0
- package/metergroup/metergroup.min.js +1 -0
- package/metergroup/package.json +9 -0
- package/metergroup/style/MeterGroupStyle.d.ts +3 -0
- package/metergroup/style/metergroupstyle.cjs.js +40 -0
- package/metergroup/style/metergroupstyle.cjs.min.js +1 -0
- package/metergroup/style/metergroupstyle.esm.js +34 -0
- package/metergroup/style/metergroupstyle.esm.min.js +1 -0
- package/metergroup/style/metergroupstyle.js +43 -0
- package/metergroup/style/metergroupstyle.min.js +1 -0
- package/metergroup/style/package.json +6 -0
- package/multiselect/BaseMultiSelect.vue +10 -2
- package/multiselect/MultiSelect.d.ts +13 -19
- package/multiselect/MultiSelect.vue +108 -76
- package/multiselect/multiselect.cjs.js +174 -134
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +174 -135
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +175 -136
- package/multiselect/multiselect.min.js +1 -1
- package/multiselect/style/multiselectstyle.cjs.js +7 -30
- package/multiselect/style/multiselectstyle.cjs.min.js +1 -1
- package/multiselect/style/multiselectstyle.esm.js +7 -30
- package/multiselect/style/multiselectstyle.esm.min.js +1 -1
- package/multiselect/style/multiselectstyle.js +7 -30
- package/multiselect/style/multiselectstyle.min.js +1 -1
- package/orderlist/BaseOrderList.vue +8 -0
- package/orderlist/OrderList.d.ts +10 -0
- package/orderlist/OrderList.vue +72 -52
- package/orderlist/orderlist.cjs.js +79 -56
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +79 -56
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +79 -56
- package/orderlist/orderlist.min.js +1 -1
- package/orderlist/style/orderliststyle.cjs.js +1 -1
- package/orderlist/style/orderliststyle.cjs.min.js +1 -1
- package/orderlist/style/orderliststyle.esm.js +1 -1
- package/orderlist/style/orderliststyle.esm.min.js +1 -1
- package/orderlist/style/orderliststyle.js +1 -1
- package/orderlist/style/orderliststyle.min.js +1 -1
- package/overlaypanel/BaseOverlayPanel.vue +1 -1
- package/overlaypanel/OverlayPanel.d.ts +4 -0
- package/overlaypanel/OverlayPanel.vue +1 -1
- package/overlaypanel/overlaypanel.cjs.js +2 -2
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +2 -2
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +2 -2
- package/overlaypanel/overlaypanel.min.js +1 -1
- package/package.json +1 -1
- package/panelmenu/PanelMenuList.vue +1 -1
- package/panelmenu/panelmenu.cjs.js +2 -1
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +2 -1
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +2 -1
- package/panelmenu/panelmenu.min.js +1 -1
- package/password/BasePassword.vue +1 -1
- package/password/password.cjs.js +1 -1
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +1 -1
- package/password/password.esm.min.js +1 -1
- package/password/password.js +1 -1
- package/password/password.min.js +1 -1
- package/picklist/BasePickList.vue +8 -0
- package/picklist/PickList.d.ts +10 -0
- package/picklist/PickList.vue +72 -37
- package/picklist/picklist.cjs.js +81 -46
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +81 -46
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +81 -46
- package/picklist/picklist.min.js +1 -1
- package/portal/Portal.vue +1 -1
- package/portal/portal.cjs.js +1 -1
- package/portal/portal.cjs.min.js +1 -1
- package/portal/portal.esm.js +1 -1
- package/portal/portal.esm.min.js +1 -1
- package/portal/portal.js +1 -1
- package/portal/portal.min.js +1 -1
- package/progressbar/ProgressBar.vue +1 -1
- package/progressbar/progressbar.cjs.js +3 -1
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +3 -1
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +3 -1
- package/progressbar/progressbar.min.js +1 -1
- package/radiobutton/BaseRadioButton.vue +9 -4
- package/radiobutton/RadioButton.d.ts +48 -22
- package/radiobutton/RadioButton.vue +36 -23
- package/radiobutton/radiobutton.cjs.js +42 -50
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +42 -50
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +42 -50
- package/radiobutton/radiobutton.min.js +1 -1
- package/radiobutton/style/radiobuttonstyle.cjs.js +5 -11
- package/radiobutton/style/radiobuttonstyle.cjs.min.js +1 -1
- package/radiobutton/style/radiobuttonstyle.esm.js +5 -11
- package/radiobutton/style/radiobuttonstyle.esm.min.js +1 -1
- package/radiobutton/style/radiobuttonstyle.js +5 -11
- package/radiobutton/style/radiobuttonstyle.min.js +1 -1
- package/resources/themes/arya-blue/theme.css +432 -351
- package/resources/themes/arya-green/theme.css +432 -351
- package/resources/themes/arya-orange/theme.css +432 -351
- package/resources/themes/arya-purple/theme.css +432 -351
- package/resources/themes/aura-dark-amber/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-dark-amber/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-dark-amber/theme.css +7012 -0
- package/resources/themes/aura-dark-blue/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-dark-blue/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-dark-blue/theme.css +7012 -0
- package/resources/themes/aura-dark-cyan/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-dark-cyan/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-dark-cyan/theme.css +7012 -0
- package/resources/themes/aura-dark-green/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-dark-green/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-dark-green/theme.css +7012 -0
- package/resources/themes/aura-dark-indigo/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-dark-indigo/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-dark-indigo/theme.css +7012 -0
- package/resources/themes/aura-dark-lime/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-dark-lime/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-dark-lime/theme.css +7012 -0
- package/resources/themes/aura-dark-noir/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-dark-noir/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-dark-noir/theme.css +7012 -0
- package/resources/themes/aura-dark-pink/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-dark-pink/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-dark-pink/theme.css +7012 -0
- package/resources/themes/aura-dark-purple/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-dark-purple/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-dark-purple/theme.css +7012 -0
- package/resources/themes/aura-dark-teal/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-dark-teal/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-dark-teal/theme.css +7012 -0
- package/resources/themes/aura-light-amber/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-light-amber/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-light-amber/theme.css +7014 -0
- package/resources/themes/aura-light-blue/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-light-blue/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-light-blue/theme.css +7014 -0
- package/resources/themes/aura-light-cyan/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-light-cyan/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-light-cyan/theme.css +7014 -0
- package/resources/themes/aura-light-green/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-light-green/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-light-green/theme.css +7014 -0
- package/resources/themes/aura-light-indigo/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-light-indigo/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-light-indigo/theme.css +7014 -0
- package/resources/themes/aura-light-lime/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-light-lime/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-light-lime/theme.css +7014 -0
- package/resources/themes/aura-light-noir/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-light-noir/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-light-noir/theme.css +7022 -0
- package/resources/themes/aura-light-pink/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-light-pink/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-light-pink/theme.css +7014 -0
- package/resources/themes/aura-light-purple/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-light-purple/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-light-purple/theme.css +7014 -0
- package/resources/themes/aura-light-teal/fonts/Inter-italic.var.woff2 +0 -0
- package/resources/themes/aura-light-teal/fonts/Inter-roman.var.woff2 +0 -0
- package/resources/themes/aura-light-teal/theme.css +7014 -0
- package/resources/themes/bootstrap4-dark-blue/theme.css +533 -403
- package/resources/themes/bootstrap4-dark-purple/theme.css +533 -403
- package/resources/themes/bootstrap4-light-blue/theme.css +533 -403
- package/resources/themes/bootstrap4-light-purple/theme.css +533 -403
- package/resources/themes/fluent-light/theme.css +431 -350
- package/resources/themes/lara-dark-amber/theme.css +534 -404
- package/resources/themes/lara-dark-blue/theme.css +534 -404
- package/resources/themes/lara-dark-cyan/theme.css +534 -404
- package/resources/themes/lara-dark-green/theme.css +534 -404
- package/resources/themes/lara-dark-indigo/theme.css +534 -404
- package/resources/themes/lara-dark-pink/theme.css +534 -404
- package/resources/themes/lara-dark-purple/theme.css +534 -404
- package/resources/themes/lara-dark-teal/theme.css +534 -404
- package/resources/themes/lara-light-amber/theme.css +535 -405
- package/resources/themes/lara-light-blue/theme.css +535 -405
- package/resources/themes/lara-light-cyan/theme.css +535 -405
- package/resources/themes/lara-light-green/theme.css +535 -405
- package/resources/themes/lara-light-indigo/theme.css +535 -405
- package/resources/themes/lara-light-pink/theme.css +535 -405
- package/resources/themes/lara-light-purple/theme.css +535 -405
- package/resources/themes/lara-light-teal/theme.css +535 -405
- package/resources/themes/luna-amber/theme.css +432 -351
- package/resources/themes/luna-blue/theme.css +432 -351
- package/resources/themes/luna-green/theme.css +432 -351
- package/resources/themes/luna-pink/theme.css +432 -351
- package/resources/themes/md-dark-deeppurple/theme.css +696 -431
- package/resources/themes/md-dark-indigo/theme.css +696 -431
- package/resources/themes/md-light-deeppurple/theme.css +700 -435
- package/resources/themes/md-light-indigo/theme.css +700 -435
- package/resources/themes/mdc-dark-deeppurple/theme.css +696 -431
- package/resources/themes/mdc-dark-indigo/theme.css +696 -431
- package/resources/themes/mdc-light-deeppurple/theme.css +700 -435
- package/resources/themes/mdc-light-indigo/theme.css +700 -435
- package/resources/themes/mira/theme.css +486 -405
- package/resources/themes/nano/theme.css +432 -351
- package/resources/themes/nova/theme.css +432 -351
- package/resources/themes/nova-accent/theme.css +432 -351
- package/resources/themes/nova-alt/theme.css +432 -351
- package/resources/themes/nova-vue/theme.css +432 -351
- package/resources/themes/rhea/theme.css +432 -351
- package/resources/themes/saga-blue/theme.css +432 -351
- package/resources/themes/saga-green/theme.css +432 -351
- package/resources/themes/saga-orange/theme.css +432 -351
- package/resources/themes/saga-purple/theme.css +432 -351
- package/resources/themes/soho-dark/theme.css +534 -404
- package/resources/themes/soho-light/theme.css +534 -404
- package/resources/themes/tailwind-light/theme.css +432 -351
- package/resources/themes/vela-blue/theme.css +432 -351
- package/resources/themes/vela-green/theme.css +432 -351
- package/resources/themes/vela-orange/theme.css +432 -351
- package/resources/themes/vela-purple/theme.css +432 -351
- package/resources/themes/viva-dark/theme.css +535 -405
- package/resources/themes/viva-light/theme.css +535 -405
- package/sidebar/Sidebar.vue +16 -1
- package/sidebar/sidebar.cjs.js +17 -5
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +17 -5
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +17 -5
- package/sidebar/sidebar.min.js +1 -1
- package/slider/Slider.vue +0 -1
- package/slider/slider.cjs.js +0 -1
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +0 -1
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +0 -1
- package/slider/slider.min.js +1 -1
- package/speeddial/SpeedDial.vue +2 -2
- package/speeddial/speeddial.cjs.js +2 -2
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +2 -2
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +2 -2
- package/speeddial/speeddial.min.js +1 -1
- package/splitbutton/BaseSplitButton.vue +1 -1
- package/splitbutton/splitbutton.cjs.js +1 -1
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +1 -1
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +1 -1
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitbutton/style/splitbuttonstyle.cjs.js +8 -5
- package/splitbutton/style/splitbuttonstyle.cjs.min.js +1 -1
- package/splitbutton/style/splitbuttonstyle.esm.js +8 -5
- package/splitbutton/style/splitbuttonstyle.esm.min.js +1 -1
- package/splitbutton/style/splitbuttonstyle.js +8 -5
- package/splitbutton/style/splitbuttonstyle.min.js +1 -1
- package/steps/Steps.vue +2 -1
- package/steps/steps.cjs.js +3 -2
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +3 -2
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +3 -2
- package/steps/steps.min.js +1 -1
- package/tabview/TabView.vue +2 -3
- package/tabview/tabview.cjs.js +3 -3
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +3 -3
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +3 -3
- package/tabview/tabview.min.js +1 -1
- package/tag/Tag.vue +1 -1
- package/tag/tag.cjs.js +4 -2
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +4 -2
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +4 -2
- package/tag/tag.min.js +1 -1
- package/textarea/Textarea.d.ts +2 -2
- package/tieredmenu/BaseTieredMenu.vue +1 -1
- package/tieredmenu/TieredMenu.d.ts +4 -0
- package/tieredmenu/TieredMenu.vue +1 -1
- package/tieredmenu/TieredMenuSub.vue +5 -1
- package/tieredmenu/tieredmenu.cjs.js +12 -5
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +12 -5
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +12 -5
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/togglebutton/BaseToggleButton.vue +4 -4
- package/togglebutton/ToggleButton.d.ts +17 -24
- package/togglebutton/ToggleButton.vue +41 -67
- package/togglebutton/style/togglebuttonstyle.cjs.js +15 -8
- package/togglebutton/style/togglebuttonstyle.cjs.min.js +1 -1
- package/togglebutton/style/togglebuttonstyle.esm.js +15 -8
- package/togglebutton/style/togglebuttonstyle.esm.min.js +1 -1
- package/togglebutton/style/togglebuttonstyle.js +15 -8
- package/togglebutton/style/togglebuttonstyle.min.js +1 -1
- package/togglebutton/togglebutton.cjs.js +45 -80
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +46 -81
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +46 -82
- package/togglebutton/togglebutton.min.js +1 -1
- package/tooltip/style/tooltipstyle.cjs.js +1 -1
- package/tooltip/style/tooltipstyle.cjs.min.js +1 -1
- package/tooltip/style/tooltipstyle.esm.js +1 -1
- package/tooltip/style/tooltipstyle.esm.min.js +1 -1
- package/tooltip/style/tooltipstyle.js +1 -1
- package/tooltip/style/tooltipstyle.min.js +1 -1
- package/tree/BaseTree.vue +4 -0
- package/tree/Tree.d.ts +6 -9
- package/tree/Tree.vue +1 -1
- package/tree/TreeNode.vue +14 -11
- package/tree/style/treestyle.cjs.js +3 -6
- package/tree/style/treestyle.cjs.min.js +1 -1
- package/tree/style/treestyle.esm.js +3 -6
- package/tree/style/treestyle.esm.min.js +1 -1
- package/tree/style/treestyle.js +3 -6
- package/tree/style/treestyle.min.js +1 -1
- package/tree/tree.cjs.js +34 -21
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +34 -22
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +35 -23
- package/tree/tree.min.js +1 -1
- package/treeselect/BaseTreeSelect.vue +1 -1
- package/treeselect/TreeSelect.vue +0 -4
- package/treeselect/treeselect.cjs.js +1 -5
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +1 -5
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +1 -5
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/BodyCell.vue +26 -24
- package/treetable/TreeTable.vue +3 -1
- package/treetable/TreeTableRow.vue +2 -0
- package/treetable/style/treetablestyle.cjs.js +4 -13
- package/treetable/style/treetablestyle.cjs.min.js +1 -1
- package/treetable/style/treetablestyle.esm.js +4 -13
- package/treetable/style/treetablestyle.esm.min.js +1 -1
- package/treetable/style/treetablestyle.js +4 -13
- package/treetable/style/treetablestyle.min.js +1 -1
- package/treetable/treetable.cjs.js +39 -44
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +39 -45
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +40 -46
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/BaseTriStateCheckbox.vue +17 -9
- package/tristatecheckbox/TriStateCheckbox.d.ts +34 -23
- package/tristatecheckbox/TriStateCheckbox.vue +49 -61
- package/tristatecheckbox/style/tristatecheckboxstyle.cjs.js +7 -13
- package/tristatecheckbox/style/tristatecheckboxstyle.cjs.min.js +1 -1
- package/tristatecheckbox/style/tristatecheckboxstyle.esm.js +7 -13
- package/tristatecheckbox/style/tristatecheckboxstyle.esm.min.js +1 -1
- package/tristatecheckbox/style/tristatecheckboxstyle.js +7 -13
- package/tristatecheckbox/style/tristatecheckboxstyle.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +69 -87
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +70 -88
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +69 -87
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/utils/utils.cjs.js +14 -6
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.esm.js +14 -6
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +14 -6
- package/utils/utils.min.js +1 -1
- package/vetur-attributes.json +24 -0
- package/vetur-tags.json +6 -0
- package/virtualscroller/BaseVirtualScroller.vue +1 -1
- package/virtualscroller/VirtualScroller.vue +58 -50
- package/virtualscroller/virtualscroller.cjs.js +90 -77
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +90 -77
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +90 -77
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +71 -6
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import Ripple from 'primevue/ripple';
|
|
2
|
+
import { ObjectUtils } from 'primevue/utils';
|
|
2
3
|
import BaseComponent from 'primevue/basecomponent';
|
|
3
4
|
import ToggleButtonStyle from 'primevue/togglebutton/style';
|
|
4
|
-
import { resolveDirective,
|
|
5
|
+
import { resolveDirective, openBlock, createElementBlock, mergeProps, createElementVNode, withDirectives, renderSlot, normalizeClass, createCommentVNode, toDisplayString } from 'vue';
|
|
5
6
|
|
|
6
7
|
var script$1 = {
|
|
7
8
|
name: 'BaseToggleButton',
|
|
@@ -26,6 +27,10 @@ var script$1 = {
|
|
|
26
27
|
type: Boolean,
|
|
27
28
|
"default": false
|
|
28
29
|
},
|
|
30
|
+
readonly: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
"default": false
|
|
33
|
+
},
|
|
29
34
|
tabindex: {
|
|
30
35
|
type: Number,
|
|
31
36
|
"default": null
|
|
@@ -42,10 +47,6 @@ var script$1 = {
|
|
|
42
47
|
type: Object,
|
|
43
48
|
"default": null
|
|
44
49
|
},
|
|
45
|
-
inputProps: {
|
|
46
|
-
type: null,
|
|
47
|
-
"default": null
|
|
48
|
-
},
|
|
49
50
|
ariaLabelledby: {
|
|
50
51
|
type: String,
|
|
51
52
|
"default": null
|
|
@@ -66,72 +67,41 @@ var script$1 = {
|
|
|
66
67
|
var script = {
|
|
67
68
|
name: 'ToggleButton',
|
|
68
69
|
"extends": script$1,
|
|
69
|
-
emits: ['update:modelValue', 'change', '
|
|
70
|
-
outsideClickListener: null,
|
|
71
|
-
data: function data() {
|
|
72
|
-
return {
|
|
73
|
-
focused: false
|
|
74
|
-
};
|
|
75
|
-
},
|
|
76
|
-
mounted: function mounted() {
|
|
77
|
-
this.bindOutsideClickListener();
|
|
78
|
-
},
|
|
79
|
-
beforeUnmount: function beforeUnmount() {
|
|
80
|
-
this.unbindOutsideClickListener();
|
|
81
|
-
},
|
|
70
|
+
emits: ['update:modelValue', 'change', 'focus', 'blur'],
|
|
82
71
|
methods: {
|
|
83
|
-
|
|
84
|
-
|
|
72
|
+
getPTOptions: function getPTOptions(key) {
|
|
73
|
+
return this.ptm(key, {
|
|
74
|
+
context: {
|
|
75
|
+
active: this.active,
|
|
76
|
+
disabled: this.disabled
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
},
|
|
80
|
+
onChange: function onChange(event) {
|
|
81
|
+
if (!this.disabled && !this.readonly) {
|
|
85
82
|
this.$emit('update:modelValue', !this.modelValue);
|
|
86
83
|
this.$emit('change', event);
|
|
87
|
-
this.$emit('click', event);
|
|
88
|
-
this.focused = true;
|
|
89
84
|
}
|
|
90
85
|
},
|
|
91
86
|
onFocus: function onFocus(event) {
|
|
92
|
-
this.focused = true;
|
|
93
87
|
this.$emit('focus', event);
|
|
94
88
|
},
|
|
95
89
|
onBlur: function onBlur(event) {
|
|
96
|
-
this.focused = false;
|
|
97
90
|
this.$emit('blur', event);
|
|
98
|
-
},
|
|
99
|
-
bindOutsideClickListener: function bindOutsideClickListener() {
|
|
100
|
-
var _this = this;
|
|
101
|
-
if (!this.outsideClickListener) {
|
|
102
|
-
this.outsideClickListener = function (event) {
|
|
103
|
-
if (_this.focused && !_this.$refs.container.contains(event.target)) {
|
|
104
|
-
_this.focused = false;
|
|
105
|
-
}
|
|
106
|
-
};
|
|
107
|
-
document.addEventListener('click', this.outsideClickListener);
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
unbindOutsideClickListener: function unbindOutsideClickListener() {
|
|
111
|
-
if (this.outsideClickListener) {
|
|
112
|
-
document.removeEventListener('click', this.outsideClickListener);
|
|
113
|
-
this.outsideClickListener = null;
|
|
114
|
-
}
|
|
115
91
|
}
|
|
116
92
|
},
|
|
117
93
|
computed: {
|
|
94
|
+
active: function active() {
|
|
95
|
+
return this.modelValue === true;
|
|
96
|
+
},
|
|
118
97
|
hasLabel: function hasLabel() {
|
|
119
|
-
return
|
|
98
|
+
return ObjectUtils.isNotEmpty(this.onLabel) && ObjectUtils.isNotEmpty(this.offLabel);
|
|
120
99
|
},
|
|
121
100
|
hasIcon: function hasIcon() {
|
|
122
101
|
return this.$slots.icon || this.onIcon && this.offIcon;
|
|
123
102
|
},
|
|
124
103
|
label: function label() {
|
|
125
104
|
return this.hasLabel ? this.modelValue ? this.onLabel : this.offLabel : ' ';
|
|
126
|
-
},
|
|
127
|
-
getPTOptions: function getPTOptions() {
|
|
128
|
-
return {
|
|
129
|
-
context: {
|
|
130
|
-
focused: this.focused,
|
|
131
|
-
disabled: this.disabled,
|
|
132
|
-
highlighted: this.modelValue === true
|
|
133
|
-
}
|
|
134
|
-
};
|
|
135
105
|
}
|
|
136
106
|
},
|
|
137
107
|
directives: {
|
|
@@ -139,56 +109,51 @@ var script = {
|
|
|
139
109
|
}
|
|
140
110
|
};
|
|
141
111
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
145
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
146
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
147
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
148
|
-
var _hoisted_1 = ["data-p-active"];
|
|
149
|
-
var _hoisted_2 = ["id", "checked", "value", "aria-labelledby", "aria-label"];
|
|
112
|
+
var _hoisted_1 = ["data-p-highlight", "data-p-disabled"];
|
|
113
|
+
var _hoisted_2 = ["id", "value", "checked", "tabindex", "disabled", "readonly", "aria-labelledby", "aria-label"];
|
|
150
114
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
151
115
|
var _directive_ripple = resolveDirective("ripple");
|
|
152
|
-
return
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}, _ctx.ptm('root', $options.getPTOptions), {
|
|
159
|
-
"data-p-active": _ctx.modelValue === true,
|
|
160
|
-
"data-pc-name": "togglebutton"
|
|
161
|
-
}), [createElementVNode("span", mergeProps({
|
|
162
|
-
"class": "p-hidden-accessible"
|
|
163
|
-
}, _ctx.ptm('hiddenInputWrapper'), {
|
|
164
|
-
"data-p-hidden-accessible": true
|
|
116
|
+
return openBlock(), createElementBlock("div", mergeProps({
|
|
117
|
+
"class": _ctx.cx('root')
|
|
118
|
+
}, $options.getPTOptions('root'), {
|
|
119
|
+
"data-pc-name": "togglebutton",
|
|
120
|
+
"data-p-highlight": $options.active,
|
|
121
|
+
"data-p-disabled": _ctx.disabled
|
|
165
122
|
}), [createElementVNode("input", mergeProps({
|
|
166
123
|
id: _ctx.inputId,
|
|
167
124
|
type: "checkbox",
|
|
168
125
|
role: "switch",
|
|
169
|
-
"class": _ctx.inputClass,
|
|
126
|
+
"class": [_ctx.cx('input'), _ctx.inputClass],
|
|
170
127
|
style: _ctx.inputStyle,
|
|
171
|
-
checked: _ctx.modelValue,
|
|
172
128
|
value: _ctx.modelValue,
|
|
129
|
+
checked: $options.active,
|
|
130
|
+
tabindex: _ctx.tabindex,
|
|
131
|
+
disabled: _ctx.disabled,
|
|
132
|
+
readonly: _ctx.readonly,
|
|
173
133
|
"aria-labelledby": _ctx.ariaLabelledby,
|
|
174
134
|
"aria-label": _ctx.ariaLabel,
|
|
175
|
-
onFocus: _cache[0] || (_cache[0] = function (
|
|
176
|
-
return $options.onFocus($
|
|
135
|
+
onFocus: _cache[0] || (_cache[0] = function () {
|
|
136
|
+
return $options.onFocus && $options.onFocus.apply($options, arguments);
|
|
137
|
+
}),
|
|
138
|
+
onBlur: _cache[1] || (_cache[1] = function () {
|
|
139
|
+
return $options.onBlur && $options.onBlur.apply($options, arguments);
|
|
177
140
|
}),
|
|
178
|
-
|
|
179
|
-
return $options.
|
|
141
|
+
onChange: _cache[2] || (_cache[2] = function () {
|
|
142
|
+
return $options.onChange && $options.onChange.apply($options, arguments);
|
|
180
143
|
})
|
|
181
|
-
},
|
|
144
|
+
}, $options.getPTOptions('input')), null, 16, _hoisted_2), withDirectives((openBlock(), createElementBlock("div", mergeProps({
|
|
145
|
+
"class": _ctx.cx('box')
|
|
146
|
+
}, $options.getPTOptions('box')), [renderSlot(_ctx.$slots, "icon", {
|
|
182
147
|
value: _ctx.modelValue,
|
|
183
148
|
"class": normalizeClass(_ctx.cx('icon'))
|
|
184
149
|
}, function () {
|
|
185
150
|
return [_ctx.onIcon || _ctx.offIcon ? (openBlock(), createElementBlock("span", mergeProps({
|
|
186
151
|
key: 0,
|
|
187
152
|
"class": [_ctx.cx('icon'), _ctx.modelValue ? _ctx.onIcon : _ctx.offIcon]
|
|
188
|
-
},
|
|
153
|
+
}, $options.getPTOptions('icon')), null, 16)) : createCommentVNode("", true)];
|
|
189
154
|
}), createElementVNode("span", mergeProps({
|
|
190
155
|
"class": _ctx.cx('label')
|
|
191
|
-
},
|
|
156
|
+
}, $options.getPTOptions('label')), toDisplayString($options.label), 17)], 16)), [[_directive_ripple]])], 16, _hoisted_1);
|
|
192
157
|
}
|
|
193
158
|
|
|
194
159
|
script.render = render;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"primevue/ripple";import t from"primevue/basecomponent";import
|
|
1
|
+
import e from"primevue/ripple";import{ObjectUtils as t}from"primevue/utils";import n from"primevue/basecomponent";import l from"primevue/togglebutton/style";import{resolveDirective as a,openBlock as o,createElementBlock as i,mergeProps as u,createElementVNode as s,withDirectives as r,renderSlot as d,normalizeClass as c,createCommentVNode as p,toDisplayString as b}from"vue";var f={name:"ToggleButton",extends:{name:"BaseToggleButton",extends:n,props:{modelValue:Boolean,onIcon:String,offIcon:String,onLabel:{type:String,default:"Yes"},offLabel:{type:String,default:"No"},iconPos:{type:String,default:"left"},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},tabindex:{type:Number,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:l,provide:function(){return{$parentInstance:this}}},emits:["update:modelValue","change","focus","blur"],methods:{getPTOptions:function(e){return this.ptm(e,{context:{active:this.active,disabled:this.disabled}})},onChange:function(e){this.disabled||this.readonly||(this.$emit("update:modelValue",!this.modelValue),this.$emit("change",e))},onFocus:function(e){this.$emit("focus",e)},onBlur:function(e){this.$emit("blur",e)}},computed:{active:function(){return!0===this.modelValue},hasLabel:function(){return t.isNotEmpty(this.onLabel)&&t.isNotEmpty(this.offLabel)},hasIcon:function(){return this.$slots.icon||this.onIcon&&this.offIcon},label:function(){return this.hasLabel?this.modelValue?this.onLabel:this.offLabel:" "}},directives:{ripple:e}},h=["data-p-highlight","data-p-disabled"],m=["id","value","checked","tabindex","disabled","readonly","aria-labelledby","aria-label"];f.render=function(e,t,n,l,f,g){var y=a("ripple");return o(),i("div",u({class:e.cx("root")},g.getPTOptions("root"),{"data-pc-name":"togglebutton","data-p-highlight":g.active,"data-p-disabled":e.disabled}),[s("input",u({id:e.inputId,type:"checkbox",role:"switch",class:[e.cx("input"),e.inputClass],style:e.inputStyle,value:e.modelValue,checked:g.active,tabindex:e.tabindex,disabled:e.disabled,readonly:e.readonly,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,onFocus:t[0]||(t[0]=function(){return g.onFocus&&g.onFocus.apply(g,arguments)}),onBlur:t[1]||(t[1]=function(){return g.onBlur&&g.onBlur.apply(g,arguments)}),onChange:t[2]||(t[2]=function(){return g.onChange&&g.onChange.apply(g,arguments)})},g.getPTOptions("input")),null,16,m),r((o(),i("div",u({class:e.cx("box")},g.getPTOptions("box")),[d(e.$slots,"icon",{value:e.modelValue,class:c(e.cx("icon"))},(function(){return[e.onIcon||e.offIcon?(o(),i("span",u({key:0,class:[e.cx("icon"),e.modelValue?e.onIcon:e.offIcon]},g.getPTOptions("icon")),null,16)):p("",!0)]})),s("span",u({class:e.cx("label")},g.getPTOptions("label")),b(g.label),17)],16)),[[y]])],16,h)};export{f as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
this.primevue = this.primevue || {};
|
|
2
|
-
this.primevue.togglebutton = (function (Ripple, BaseComponent, ToggleButtonStyle, vue) {
|
|
2
|
+
this.primevue.togglebutton = (function (Ripple, utils, BaseComponent, ToggleButtonStyle, vue) {
|
|
3
3
|
'use strict';
|
|
4
4
|
|
|
5
5
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -31,6 +31,10 @@ this.primevue.togglebutton = (function (Ripple, BaseComponent, ToggleButtonStyle
|
|
|
31
31
|
type: Boolean,
|
|
32
32
|
"default": false
|
|
33
33
|
},
|
|
34
|
+
readonly: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
"default": false
|
|
37
|
+
},
|
|
34
38
|
tabindex: {
|
|
35
39
|
type: Number,
|
|
36
40
|
"default": null
|
|
@@ -47,10 +51,6 @@ this.primevue.togglebutton = (function (Ripple, BaseComponent, ToggleButtonStyle
|
|
|
47
51
|
type: Object,
|
|
48
52
|
"default": null
|
|
49
53
|
},
|
|
50
|
-
inputProps: {
|
|
51
|
-
type: null,
|
|
52
|
-
"default": null
|
|
53
|
-
},
|
|
54
54
|
ariaLabelledby: {
|
|
55
55
|
type: String,
|
|
56
56
|
"default": null
|
|
@@ -71,72 +71,41 @@ this.primevue.togglebutton = (function (Ripple, BaseComponent, ToggleButtonStyle
|
|
|
71
71
|
var script = {
|
|
72
72
|
name: 'ToggleButton',
|
|
73
73
|
"extends": script$1,
|
|
74
|
-
emits: ['update:modelValue', 'change', '
|
|
75
|
-
outsideClickListener: null,
|
|
76
|
-
data: function data() {
|
|
77
|
-
return {
|
|
78
|
-
focused: false
|
|
79
|
-
};
|
|
80
|
-
},
|
|
81
|
-
mounted: function mounted() {
|
|
82
|
-
this.bindOutsideClickListener();
|
|
83
|
-
},
|
|
84
|
-
beforeUnmount: function beforeUnmount() {
|
|
85
|
-
this.unbindOutsideClickListener();
|
|
86
|
-
},
|
|
74
|
+
emits: ['update:modelValue', 'change', 'focus', 'blur'],
|
|
87
75
|
methods: {
|
|
88
|
-
|
|
89
|
-
|
|
76
|
+
getPTOptions: function getPTOptions(key) {
|
|
77
|
+
return this.ptm(key, {
|
|
78
|
+
context: {
|
|
79
|
+
active: this.active,
|
|
80
|
+
disabled: this.disabled
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
},
|
|
84
|
+
onChange: function onChange(event) {
|
|
85
|
+
if (!this.disabled && !this.readonly) {
|
|
90
86
|
this.$emit('update:modelValue', !this.modelValue);
|
|
91
87
|
this.$emit('change', event);
|
|
92
|
-
this.$emit('click', event);
|
|
93
|
-
this.focused = true;
|
|
94
88
|
}
|
|
95
89
|
},
|
|
96
90
|
onFocus: function onFocus(event) {
|
|
97
|
-
this.focused = true;
|
|
98
91
|
this.$emit('focus', event);
|
|
99
92
|
},
|
|
100
93
|
onBlur: function onBlur(event) {
|
|
101
|
-
this.focused = false;
|
|
102
94
|
this.$emit('blur', event);
|
|
103
|
-
},
|
|
104
|
-
bindOutsideClickListener: function bindOutsideClickListener() {
|
|
105
|
-
var _this = this;
|
|
106
|
-
if (!this.outsideClickListener) {
|
|
107
|
-
this.outsideClickListener = function (event) {
|
|
108
|
-
if (_this.focused && !_this.$refs.container.contains(event.target)) {
|
|
109
|
-
_this.focused = false;
|
|
110
|
-
}
|
|
111
|
-
};
|
|
112
|
-
document.addEventListener('click', this.outsideClickListener);
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
unbindOutsideClickListener: function unbindOutsideClickListener() {
|
|
116
|
-
if (this.outsideClickListener) {
|
|
117
|
-
document.removeEventListener('click', this.outsideClickListener);
|
|
118
|
-
this.outsideClickListener = null;
|
|
119
|
-
}
|
|
120
95
|
}
|
|
121
96
|
},
|
|
122
97
|
computed: {
|
|
98
|
+
active: function active() {
|
|
99
|
+
return this.modelValue === true;
|
|
100
|
+
},
|
|
123
101
|
hasLabel: function hasLabel() {
|
|
124
|
-
return this.onLabel &&
|
|
102
|
+
return utils.ObjectUtils.isNotEmpty(this.onLabel) && utils.ObjectUtils.isNotEmpty(this.offLabel);
|
|
125
103
|
},
|
|
126
104
|
hasIcon: function hasIcon() {
|
|
127
105
|
return this.$slots.icon || this.onIcon && this.offIcon;
|
|
128
106
|
},
|
|
129
107
|
label: function label() {
|
|
130
108
|
return this.hasLabel ? this.modelValue ? this.onLabel : this.offLabel : ' ';
|
|
131
|
-
},
|
|
132
|
-
getPTOptions: function getPTOptions() {
|
|
133
|
-
return {
|
|
134
|
-
context: {
|
|
135
|
-
focused: this.focused,
|
|
136
|
-
disabled: this.disabled,
|
|
137
|
-
highlighted: this.modelValue === true
|
|
138
|
-
}
|
|
139
|
-
};
|
|
140
109
|
}
|
|
141
110
|
},
|
|
142
111
|
directives: {
|
|
@@ -144,60 +113,55 @@ this.primevue.togglebutton = (function (Ripple, BaseComponent, ToggleButtonStyle
|
|
|
144
113
|
}
|
|
145
114
|
};
|
|
146
115
|
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
150
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
151
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
152
|
-
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
153
|
-
var _hoisted_1 = ["data-p-active"];
|
|
154
|
-
var _hoisted_2 = ["id", "checked", "value", "aria-labelledby", "aria-label"];
|
|
116
|
+
var _hoisted_1 = ["data-p-highlight", "data-p-disabled"];
|
|
117
|
+
var _hoisted_2 = ["id", "value", "checked", "tabindex", "disabled", "readonly", "aria-labelledby", "aria-label"];
|
|
155
118
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
156
119
|
var _directive_ripple = vue.resolveDirective("ripple");
|
|
157
|
-
return vue.
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
}, _ctx.ptm('root', $options.getPTOptions), {
|
|
164
|
-
"data-p-active": _ctx.modelValue === true,
|
|
165
|
-
"data-pc-name": "togglebutton"
|
|
166
|
-
}), [vue.createElementVNode("span", vue.mergeProps({
|
|
167
|
-
"class": "p-hidden-accessible"
|
|
168
|
-
}, _ctx.ptm('hiddenInputWrapper'), {
|
|
169
|
-
"data-p-hidden-accessible": true
|
|
120
|
+
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
121
|
+
"class": _ctx.cx('root')
|
|
122
|
+
}, $options.getPTOptions('root'), {
|
|
123
|
+
"data-pc-name": "togglebutton",
|
|
124
|
+
"data-p-highlight": $options.active,
|
|
125
|
+
"data-p-disabled": _ctx.disabled
|
|
170
126
|
}), [vue.createElementVNode("input", vue.mergeProps({
|
|
171
127
|
id: _ctx.inputId,
|
|
172
128
|
type: "checkbox",
|
|
173
129
|
role: "switch",
|
|
174
|
-
"class": _ctx.inputClass,
|
|
130
|
+
"class": [_ctx.cx('input'), _ctx.inputClass],
|
|
175
131
|
style: _ctx.inputStyle,
|
|
176
|
-
checked: _ctx.modelValue,
|
|
177
132
|
value: _ctx.modelValue,
|
|
133
|
+
checked: $options.active,
|
|
134
|
+
tabindex: _ctx.tabindex,
|
|
135
|
+
disabled: _ctx.disabled,
|
|
136
|
+
readonly: _ctx.readonly,
|
|
178
137
|
"aria-labelledby": _ctx.ariaLabelledby,
|
|
179
138
|
"aria-label": _ctx.ariaLabel,
|
|
180
|
-
onFocus: _cache[0] || (_cache[0] = function (
|
|
181
|
-
return $options.onFocus($
|
|
139
|
+
onFocus: _cache[0] || (_cache[0] = function () {
|
|
140
|
+
return $options.onFocus && $options.onFocus.apply($options, arguments);
|
|
141
|
+
}),
|
|
142
|
+
onBlur: _cache[1] || (_cache[1] = function () {
|
|
143
|
+
return $options.onBlur && $options.onBlur.apply($options, arguments);
|
|
182
144
|
}),
|
|
183
|
-
|
|
184
|
-
return $options.
|
|
145
|
+
onChange: _cache[2] || (_cache[2] = function () {
|
|
146
|
+
return $options.onChange && $options.onChange.apply($options, arguments);
|
|
185
147
|
})
|
|
186
|
-
},
|
|
148
|
+
}, $options.getPTOptions('input')), null, 16, _hoisted_2), vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
149
|
+
"class": _ctx.cx('box')
|
|
150
|
+
}, $options.getPTOptions('box')), [vue.renderSlot(_ctx.$slots, "icon", {
|
|
187
151
|
value: _ctx.modelValue,
|
|
188
152
|
"class": vue.normalizeClass(_ctx.cx('icon'))
|
|
189
153
|
}, function () {
|
|
190
154
|
return [_ctx.onIcon || _ctx.offIcon ? (vue.openBlock(), vue.createElementBlock("span", vue.mergeProps({
|
|
191
155
|
key: 0,
|
|
192
156
|
"class": [_ctx.cx('icon'), _ctx.modelValue ? _ctx.onIcon : _ctx.offIcon]
|
|
193
|
-
},
|
|
157
|
+
}, $options.getPTOptions('icon')), null, 16)) : vue.createCommentVNode("", true)];
|
|
194
158
|
}), vue.createElementVNode("span", vue.mergeProps({
|
|
195
159
|
"class": _ctx.cx('label')
|
|
196
|
-
},
|
|
160
|
+
}, $options.getPTOptions('label')), vue.toDisplayString($options.label), 17)], 16)), [[_directive_ripple]])], 16, _hoisted_1);
|
|
197
161
|
}
|
|
198
162
|
|
|
199
163
|
script.render = render;
|
|
200
164
|
|
|
201
165
|
return script;
|
|
202
166
|
|
|
203
|
-
})(primevue.ripple, primevue.basecomponent, primevue.togglebutton.style, Vue);
|
|
167
|
+
})(primevue.ripple, primevue.utils, primevue.basecomponent, primevue.togglebutton.style, Vue);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.togglebutton=function(e,t,n,
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.togglebutton=function(e,t,n,l,o){"use strict";function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=a(e),u={name:"ToggleButton",extends:{name:"BaseToggleButton",extends:a(n).default,props:{modelValue:Boolean,onIcon:String,offIcon:String,onLabel:{type:String,default:"Yes"},offLabel:{type:String,default:"No"},iconPos:{type:String,default:"left"},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},tabindex:{type:Number,default:null},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:a(l).default,provide:function(){return{$parentInstance:this}}},emits:["update:modelValue","change","focus","blur"],methods:{getPTOptions:function(e){return this.ptm(e,{context:{active:this.active,disabled:this.disabled}})},onChange:function(e){this.disabled||this.readonly||(this.$emit("update:modelValue",!this.modelValue),this.$emit("change",e))},onFocus:function(e){this.$emit("focus",e)},onBlur:function(e){this.$emit("blur",e)}},computed:{active:function(){return!0===this.modelValue},hasLabel:function(){return t.ObjectUtils.isNotEmpty(this.onLabel)&&t.ObjectUtils.isNotEmpty(this.offLabel)},hasIcon:function(){return this.$slots.icon||this.onIcon&&this.offIcon},label:function(){return this.hasLabel?this.modelValue?this.onLabel:this.offLabel:" "}},directives:{ripple:i.default}},s=["data-p-highlight","data-p-disabled"],r=["id","value","checked","tabindex","disabled","readonly","aria-labelledby","aria-label"];return u.render=function(e,t,n,l,a,i){var u=o.resolveDirective("ripple");return o.openBlock(),o.createElementBlock("div",o.mergeProps({class:e.cx("root")},i.getPTOptions("root"),{"data-pc-name":"togglebutton","data-p-highlight":i.active,"data-p-disabled":e.disabled}),[o.createElementVNode("input",o.mergeProps({id:e.inputId,type:"checkbox",role:"switch",class:[e.cx("input"),e.inputClass],style:e.inputStyle,value:e.modelValue,checked:i.active,tabindex:e.tabindex,disabled:e.disabled,readonly:e.readonly,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,onFocus:t[0]||(t[0]=function(){return i.onFocus&&i.onFocus.apply(i,arguments)}),onBlur:t[1]||(t[1]=function(){return i.onBlur&&i.onBlur.apply(i,arguments)}),onChange:t[2]||(t[2]=function(){return i.onChange&&i.onChange.apply(i,arguments)})},i.getPTOptions("input")),null,16,r),o.withDirectives((o.openBlock(),o.createElementBlock("div",o.mergeProps({class:e.cx("box")},i.getPTOptions("box")),[o.renderSlot(e.$slots,"icon",{value:e.modelValue,class:o.normalizeClass(e.cx("icon"))},(function(){return[e.onIcon||e.offIcon?(o.openBlock(),o.createElementBlock("span",o.mergeProps({key:0,class:[e.cx("icon"),e.modelValue?e.onIcon:e.offIcon]},i.getPTOptions("icon")),null,16)):o.createCommentVNode("",!0)]})),o.createElementVNode("span",o.mergeProps({class:e.cx("label")},i.getPTOptions("label")),o.toDisplayString(i.label),17)],16)),[[u]])],16,s)},u}(primevue.ripple,primevue.utils,primevue.basecomponent,primevue.togglebutton.style,Vue);
|
|
@@ -6,7 +6,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
6
6
|
|
|
7
7
|
var BaseStyle__default = /*#__PURE__*/_interopDefaultLegacy(BaseStyle);
|
|
8
8
|
|
|
9
|
-
var css = "\n@layer primevue {\n .p-tooltip {\n position:absolute;\n display:none;\n padding: .25em .5rem;\n max-width: 12.5rem;\n }\n\n .p-tooltip.p-tooltip-right,\n .p-tooltip.p-tooltip-left {\n padding: 0 .25rem;\n }\n\n .p-tooltip.p-tooltip-top,\n .p-tooltip.p-tooltip-bottom {\n padding:.25em 0;\n }\n\n .p-tooltip .p-tooltip-text {\n white-space: pre-line;\n word-break: break-word;\n }\n\n .p-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n }\n\n .p-tooltip-right .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em .25em .25em 0;\n }\n\n .p-tooltip-left .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em 0 .25em .25rem;\n }\n\n .p-tooltip.p-tooltip-top {\n padding: .25em 0;\n }\n\n .p-tooltip-top .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: .25em .25em 0;\n }\n\n .p-tooltip-bottom .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: 0 .25em .25rem;\n }\n}\n";
|
|
9
|
+
var css = "\n@layer primevue {\n .p-tooltip {\n position:absolute;\n display:none;\n padding: .25em .5rem;\n max-width: 12.5rem;\n }\n\n .p-tooltip.p-tooltip-right,\n .p-tooltip.p-tooltip-left {\n padding: 0 .25rem;\n }\n\n .p-tooltip.p-tooltip-top,\n .p-tooltip.p-tooltip-bottom {\n padding:.25em 0;\n }\n\n .p-tooltip .p-tooltip-text {\n white-space: pre-line;\n word-break: break-word;\n }\n\n .p-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n scale: 2;\n }\n\n .p-tooltip-right .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em .25em .25em 0;\n }\n\n .p-tooltip-left .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em 0 .25em .25rem;\n }\n\n .p-tooltip.p-tooltip-top {\n padding: .25em 0;\n }\n\n .p-tooltip-top .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: .25em .25em 0;\n }\n\n .p-tooltip-bottom .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: 0 .25em .25rem;\n }\n}\n";
|
|
10
10
|
var classes = {
|
|
11
11
|
root: 'p-tooltip p-component',
|
|
12
12
|
arrow: 'p-tooltip-arrow',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function t(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=t(require("primevue/base/style")).default.extend({name:"tooltip",css:"\n@layer primevue {\n .p-tooltip {\n position:absolute;\n display:none;\n padding: .25em .5rem;\n max-width: 12.5rem;\n }\n\n .p-tooltip.p-tooltip-right,\n .p-tooltip.p-tooltip-left {\n padding: 0 .25rem;\n }\n\n .p-tooltip.p-tooltip-top,\n .p-tooltip.p-tooltip-bottom {\n padding:.25em 0;\n }\n\n .p-tooltip .p-tooltip-text {\n white-space: pre-line;\n word-break: break-word;\n }\n\n .p-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n }\n\n .p-tooltip-right .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em .25em .25em 0;\n }\n\n .p-tooltip-left .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em 0 .25em .25rem;\n }\n\n .p-tooltip.p-tooltip-top {\n padding: .25em 0;\n }\n\n .p-tooltip-top .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: .25em .25em 0;\n }\n\n .p-tooltip-bottom .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: 0 .25em .25rem;\n }\n}\n",classes:{root:"p-tooltip p-component",arrow:"p-tooltip-arrow",text:"p-tooltip-text"}});module.exports=o;
|
|
1
|
+
"use strict";function t(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=t(require("primevue/base/style")).default.extend({name:"tooltip",css:"\n@layer primevue {\n .p-tooltip {\n position:absolute;\n display:none;\n padding: .25em .5rem;\n max-width: 12.5rem;\n }\n\n .p-tooltip.p-tooltip-right,\n .p-tooltip.p-tooltip-left {\n padding: 0 .25rem;\n }\n\n .p-tooltip.p-tooltip-top,\n .p-tooltip.p-tooltip-bottom {\n padding:.25em 0;\n }\n\n .p-tooltip .p-tooltip-text {\n white-space: pre-line;\n word-break: break-word;\n }\n\n .p-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n scale: 2;\n }\n\n .p-tooltip-right .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em .25em .25em 0;\n }\n\n .p-tooltip-left .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em 0 .25em .25rem;\n }\n\n .p-tooltip.p-tooltip-top {\n padding: .25em 0;\n }\n\n .p-tooltip-top .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: .25em .25em 0;\n }\n\n .p-tooltip-bottom .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: 0 .25em .25rem;\n }\n}\n",classes:{root:"p-tooltip p-component",arrow:"p-tooltip-arrow",text:"p-tooltip-text"}});module.exports=o;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import BaseStyle from 'primevue/base/style';
|
|
2
2
|
|
|
3
|
-
var css = "\n@layer primevue {\n .p-tooltip {\n position:absolute;\n display:none;\n padding: .25em .5rem;\n max-width: 12.5rem;\n }\n\n .p-tooltip.p-tooltip-right,\n .p-tooltip.p-tooltip-left {\n padding: 0 .25rem;\n }\n\n .p-tooltip.p-tooltip-top,\n .p-tooltip.p-tooltip-bottom {\n padding:.25em 0;\n }\n\n .p-tooltip .p-tooltip-text {\n white-space: pre-line;\n word-break: break-word;\n }\n\n .p-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n }\n\n .p-tooltip-right .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em .25em .25em 0;\n }\n\n .p-tooltip-left .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em 0 .25em .25rem;\n }\n\n .p-tooltip.p-tooltip-top {\n padding: .25em 0;\n }\n\n .p-tooltip-top .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: .25em .25em 0;\n }\n\n .p-tooltip-bottom .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: 0 .25em .25rem;\n }\n}\n";
|
|
3
|
+
var css = "\n@layer primevue {\n .p-tooltip {\n position:absolute;\n display:none;\n padding: .25em .5rem;\n max-width: 12.5rem;\n }\n\n .p-tooltip.p-tooltip-right,\n .p-tooltip.p-tooltip-left {\n padding: 0 .25rem;\n }\n\n .p-tooltip.p-tooltip-top,\n .p-tooltip.p-tooltip-bottom {\n padding:.25em 0;\n }\n\n .p-tooltip .p-tooltip-text {\n white-space: pre-line;\n word-break: break-word;\n }\n\n .p-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n scale: 2;\n }\n\n .p-tooltip-right .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em .25em .25em 0;\n }\n\n .p-tooltip-left .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em 0 .25em .25rem;\n }\n\n .p-tooltip.p-tooltip-top {\n padding: .25em 0;\n }\n\n .p-tooltip-top .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: .25em .25em 0;\n }\n\n .p-tooltip-bottom .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: 0 .25em .25rem;\n }\n}\n";
|
|
4
4
|
var classes = {
|
|
5
5
|
root: 'p-tooltip p-component',
|
|
6
6
|
arrow: 'p-tooltip-arrow',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"primevue/base/style";var o=t.extend({name:"tooltip",css:"\n@layer primevue {\n .p-tooltip {\n position:absolute;\n display:none;\n padding: .25em .5rem;\n max-width: 12.5rem;\n }\n\n .p-tooltip.p-tooltip-right,\n .p-tooltip.p-tooltip-left {\n padding: 0 .25rem;\n }\n\n .p-tooltip.p-tooltip-top,\n .p-tooltip.p-tooltip-bottom {\n padding:.25em 0;\n }\n\n .p-tooltip .p-tooltip-text {\n white-space: pre-line;\n word-break: break-word;\n }\n\n .p-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n }\n\n .p-tooltip-right .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em .25em .25em 0;\n }\n\n .p-tooltip-left .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em 0 .25em .25rem;\n }\n\n .p-tooltip.p-tooltip-top {\n padding: .25em 0;\n }\n\n .p-tooltip-top .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: .25em .25em 0;\n }\n\n .p-tooltip-bottom .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: 0 .25em .25rem;\n }\n}\n",classes:{root:"p-tooltip p-component",arrow:"p-tooltip-arrow",text:"p-tooltip-text"}});export{o as default};
|
|
1
|
+
import t from"primevue/base/style";var o=t.extend({name:"tooltip",css:"\n@layer primevue {\n .p-tooltip {\n position:absolute;\n display:none;\n padding: .25em .5rem;\n max-width: 12.5rem;\n }\n\n .p-tooltip.p-tooltip-right,\n .p-tooltip.p-tooltip-left {\n padding: 0 .25rem;\n }\n\n .p-tooltip.p-tooltip-top,\n .p-tooltip.p-tooltip-bottom {\n padding:.25em 0;\n }\n\n .p-tooltip .p-tooltip-text {\n white-space: pre-line;\n word-break: break-word;\n }\n\n .p-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n scale: 2;\n }\n\n .p-tooltip-right .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em .25em .25em 0;\n }\n\n .p-tooltip-left .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em 0 .25em .25rem;\n }\n\n .p-tooltip.p-tooltip-top {\n padding: .25em 0;\n }\n\n .p-tooltip-top .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: .25em .25em 0;\n }\n\n .p-tooltip-bottom .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: 0 .25em .25rem;\n }\n}\n",classes:{root:"p-tooltip p-component",arrow:"p-tooltip-arrow",text:"p-tooltip-text"}});export{o as default};
|
|
@@ -7,7 +7,7 @@ this.primevue.tooltip.style = (function (BaseStyle) {
|
|
|
7
7
|
|
|
8
8
|
var BaseStyle__default = /*#__PURE__*/_interopDefaultLegacy(BaseStyle);
|
|
9
9
|
|
|
10
|
-
var css = "\n@layer primevue {\n .p-tooltip {\n position:absolute;\n display:none;\n padding: .25em .5rem;\n max-width: 12.5rem;\n }\n\n .p-tooltip.p-tooltip-right,\n .p-tooltip.p-tooltip-left {\n padding: 0 .25rem;\n }\n\n .p-tooltip.p-tooltip-top,\n .p-tooltip.p-tooltip-bottom {\n padding:.25em 0;\n }\n\n .p-tooltip .p-tooltip-text {\n white-space: pre-line;\n word-break: break-word;\n }\n\n .p-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n }\n\n .p-tooltip-right .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em .25em .25em 0;\n }\n\n .p-tooltip-left .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em 0 .25em .25rem;\n }\n\n .p-tooltip.p-tooltip-top {\n padding: .25em 0;\n }\n\n .p-tooltip-top .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: .25em .25em 0;\n }\n\n .p-tooltip-bottom .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: 0 .25em .25rem;\n }\n}\n";
|
|
10
|
+
var css = "\n@layer primevue {\n .p-tooltip {\n position:absolute;\n display:none;\n padding: .25em .5rem;\n max-width: 12.5rem;\n }\n\n .p-tooltip.p-tooltip-right,\n .p-tooltip.p-tooltip-left {\n padding: 0 .25rem;\n }\n\n .p-tooltip.p-tooltip-top,\n .p-tooltip.p-tooltip-bottom {\n padding:.25em 0;\n }\n\n .p-tooltip .p-tooltip-text {\n white-space: pre-line;\n word-break: break-word;\n }\n\n .p-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n scale: 2;\n }\n\n .p-tooltip-right .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em .25em .25em 0;\n }\n\n .p-tooltip-left .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em 0 .25em .25rem;\n }\n\n .p-tooltip.p-tooltip-top {\n padding: .25em 0;\n }\n\n .p-tooltip-top .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: .25em .25em 0;\n }\n\n .p-tooltip-bottom .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: 0 .25em .25rem;\n }\n}\n";
|
|
11
11
|
var classes = {
|
|
12
12
|
root: 'p-tooltip p-component',
|
|
13
13
|
arrow: 'p-tooltip-arrow',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.tooltip=this.primevue.tooltip||{},this.primevue.tooltip.style=function(t){"use strict";function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}return o(primevue.base.style).default.extend({name:"tooltip",css:"\n@layer primevue {\n .p-tooltip {\n position:absolute;\n display:none;\n padding: .25em .5rem;\n max-width: 12.5rem;\n }\n\n .p-tooltip.p-tooltip-right,\n .p-tooltip.p-tooltip-left {\n padding: 0 .25rem;\n }\n\n .p-tooltip.p-tooltip-top,\n .p-tooltip.p-tooltip-bottom {\n padding:.25em 0;\n }\n\n .p-tooltip .p-tooltip-text {\n white-space: pre-line;\n word-break: break-word;\n }\n\n .p-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n }\n\n .p-tooltip-right .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em .25em .25em 0;\n }\n\n .p-tooltip-left .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em 0 .25em .25rem;\n }\n\n .p-tooltip.p-tooltip-top {\n padding: .25em 0;\n }\n\n .p-tooltip-top .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: .25em .25em 0;\n }\n\n .p-tooltip-bottom .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: 0 .25em .25rem;\n }\n}\n",classes:{root:"p-tooltip p-component",arrow:"p-tooltip-arrow",text:"p-tooltip-text"}})}();
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.tooltip=this.primevue.tooltip||{},this.primevue.tooltip.style=function(t){"use strict";function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}return o(primevue.base.style).default.extend({name:"tooltip",css:"\n@layer primevue {\n .p-tooltip {\n position:absolute;\n display:none;\n padding: .25em .5rem;\n max-width: 12.5rem;\n }\n\n .p-tooltip.p-tooltip-right,\n .p-tooltip.p-tooltip-left {\n padding: 0 .25rem;\n }\n\n .p-tooltip.p-tooltip-top,\n .p-tooltip.p-tooltip-bottom {\n padding:.25em 0;\n }\n\n .p-tooltip .p-tooltip-text {\n white-space: pre-line;\n word-break: break-word;\n }\n\n .p-tooltip-arrow {\n position: absolute;\n width: 0;\n height: 0;\n border-color: transparent;\n border-style: solid;\n scale: 2;\n }\n\n .p-tooltip-right .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em .25em .25em 0;\n }\n\n .p-tooltip-left .p-tooltip-arrow {\n margin-top: -.25rem;\n border-width: .25em 0 .25em .25rem;\n }\n\n .p-tooltip.p-tooltip-top {\n padding: .25em 0;\n }\n\n .p-tooltip-top .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: .25em .25em 0;\n }\n\n .p-tooltip-bottom .p-tooltip-arrow {\n margin-left: -.25rem;\n border-width: 0 .25em .25rem;\n }\n}\n",classes:{root:"p-tooltip p-component",arrow:"p-tooltip-arrow",text:"p-tooltip-text"}})}();
|
package/tree/BaseTree.vue
CHANGED
package/tree/Tree.d.ts
CHANGED
|
@@ -125,18 +125,10 @@ export interface TreePassThroughOptions<T = any> {
|
|
|
125
125
|
* Used to pass attributes to the toggler icon's DOM element.
|
|
126
126
|
*/
|
|
127
127
|
togglerIcon?: TreePassThroughOptionType<T>;
|
|
128
|
-
/**
|
|
129
|
-
* Used to pass attributes to the checkbox container's DOM element.
|
|
130
|
-
*/
|
|
131
|
-
checkboxContainer?: TreePassThroughOptionType<T>;
|
|
132
128
|
/**
|
|
133
129
|
* Used to pass attributes to the checkbox's DOM element.
|
|
134
130
|
*/
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* Used to pass attributes to the checkbox icon's DOM element.
|
|
138
|
-
*/
|
|
139
|
-
checkboxIcon?: TreePassThroughOptionType<T>;
|
|
131
|
+
nodeCheckbox?: TreePassThroughOptionType<T>;
|
|
140
132
|
/**
|
|
141
133
|
* Used to pass attributes to the node icon's DOM element.
|
|
142
134
|
*/
|
|
@@ -279,6 +271,11 @@ export interface TreeProps {
|
|
|
279
271
|
* Locale to use in filtering. The default locale is the host environment's current locale.
|
|
280
272
|
*/
|
|
281
273
|
filterLocale?: string | undefined;
|
|
274
|
+
/**
|
|
275
|
+
* Highlights automatically the first item.
|
|
276
|
+
* @defaultValue false
|
|
277
|
+
*/
|
|
278
|
+
highlightOnSelect?: boolean | undefined;
|
|
282
279
|
/**
|
|
283
280
|
* Height of the scroll viewport in fixed units or the 'flex' keyword for a dynamic size.
|
|
284
281
|
*/
|