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 +1 @@
|
|
|
1
|
-
"use strict";var e=require("primevue/icons/check"),t=require("primevue/icons/times"),
|
|
1
|
+
"use strict";var e=require("primevue/icons/check"),t=require("primevue/icons/times"),a=require("primevue/basecomponent"),l=require("primevue/tristatecheckbox/style"),n=require("vue");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=i(e),c=i(t),r={name:"TriStateCheckbox",extends:{name:"BaseTriStateCheckbox",extends:i(a).default,props:{modelValue:null,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:i(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}})},updateModel:function(){var e;switch(this.modelValue){case!0:e=!1;break;case!1:e=null;break;default:e=!0}this.$emit("update:modelValue",e)},onChange:function(e){this.disabled||this.readonly||(this.updateModel(),this.$emit("change",e))},onFocus:function(e){this.$emit("focus",e)},onBlur:function(e){this.$emit("blur",e)}},computed:{active:function(){return null!=this.modelValue},checked:function(){return!0===this.modelValue},ariaValueLabel:function(){return this.modelValue?this.$primevue.config.locale.aria.trueLabel:!1===this.modelValue?this.$primevue.config.locale.aria.falseLabel:this.$primevue.config.locale.aria.nullLabel}},components:{CheckIcon:o.default,TimesIcon:c.default}},s=["data-p-highlight","data-p-disabled"],u=["id","value","checked","tabindex","disabled","readonly","aria-labelledby","aria-label"];r.render=function(e,t,a,l,i,o){var c=n.resolveComponent("CheckIcon"),r=n.resolveComponent("TimesIcon");return n.openBlock(),n.createElementBlock("div",n.mergeProps({class:e.cx("root")},o.getPTOptions("root"),{"data-pc-name":"tristatecheckbox","data-p-highlight":o.active,"data-p-disabled":e.disabled}),[n.createElementVNode("input",n.mergeProps({id:e.inputId,type:"checkbox",class:[e.cx("input"),e.inputClass],style:e.inputStyle,value:e.modelValue,checked:o.checked,tabindex:e.tabindex,disabled:e.disabled,readonly:e.readonly,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,onFocus:t[0]||(t[0]=function(){return o.onFocus&&o.onFocus.apply(o,arguments)}),onBlur:t[1]||(t[1]=function(){return o.onBlur&&o.onBlur.apply(o,arguments)}),onChange:t[2]||(t[2]=function(){return o.onChange&&o.onChange.apply(o,arguments)})},o.getPTOptions("input")),null,16,u),n.createElementVNode("span",n.mergeProps({role:"status",class:"p-hidden-accessible","aria-live":"polite"},o.getPTOptions("hiddenValueLabel"),{"data-p-hidden-accessible":!0}),n.toDisplayString(o.ariaValueLabel),17),n.createElementVNode("div",n.mergeProps({class:e.cx("box")},o.getPTOptions("box")),[!0===e.modelValue?n.renderSlot(e.$slots,"checkicon",{key:0,class:n.normalizeClass(e.cx("checkIcon"))},(function(){return[n.createVNode(c,n.mergeProps({class:e.cx("checkIcon")},o.getPTOptions("checkIcon")),null,16,["class"])]})):!1===e.modelValue?n.renderSlot(e.$slots,"uncheckicon",{key:1,class:n.normalizeClass(e.cx("uncheckIcon"))},(function(){return[n.createVNode(r,n.mergeProps({class:e.cx("uncheckIcon")},o.getPTOptions("uncheckIcon")),null,16,["class"])]})):n.renderSlot(e.$slots,"nullableicon",{key:2,class:n.normalizeClass(e.cx("nullableIcon"))})],16)],16,s)},module.exports=r;
|
|
@@ -2,28 +2,36 @@ import CheckIcon from 'primevue/icons/check';
|
|
|
2
2
|
import TimesIcon from 'primevue/icons/times';
|
|
3
3
|
import BaseComponent from 'primevue/basecomponent';
|
|
4
4
|
import TriStateCheckboxStyle from 'primevue/tristatecheckbox/style';
|
|
5
|
-
import { openBlock, createElementBlock, mergeProps, createElementVNode, toDisplayString, renderSlot, normalizeClass,
|
|
5
|
+
import { resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, toDisplayString, renderSlot, normalizeClass, createVNode } from 'vue';
|
|
6
6
|
|
|
7
7
|
var script$1 = {
|
|
8
8
|
name: 'BaseTriStateCheckbox',
|
|
9
9
|
"extends": BaseComponent,
|
|
10
10
|
props: {
|
|
11
11
|
modelValue: null,
|
|
12
|
-
inputId: {
|
|
13
|
-
type: String,
|
|
14
|
-
"default": null
|
|
15
|
-
},
|
|
16
|
-
inputProps: {
|
|
17
|
-
type: null,
|
|
18
|
-
"default": null
|
|
19
|
-
},
|
|
20
12
|
disabled: {
|
|
21
13
|
type: Boolean,
|
|
22
14
|
"default": false
|
|
23
15
|
},
|
|
16
|
+
readonly: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
"default": false
|
|
19
|
+
},
|
|
24
20
|
tabindex: {
|
|
25
21
|
type: Number,
|
|
26
|
-
"default":
|
|
22
|
+
"default": null
|
|
23
|
+
},
|
|
24
|
+
inputId: {
|
|
25
|
+
type: String,
|
|
26
|
+
"default": null
|
|
27
|
+
},
|
|
28
|
+
inputClass: {
|
|
29
|
+
type: [String, Object],
|
|
30
|
+
"default": null
|
|
31
|
+
},
|
|
32
|
+
inputStyle: {
|
|
33
|
+
type: Object,
|
|
34
|
+
"default": null
|
|
27
35
|
},
|
|
28
36
|
ariaLabelledby: {
|
|
29
37
|
type: String,
|
|
@@ -45,62 +53,51 @@ var script$1 = {
|
|
|
45
53
|
var script = {
|
|
46
54
|
name: 'TriStateCheckbox',
|
|
47
55
|
"extends": script$1,
|
|
48
|
-
emits: ['
|
|
49
|
-
data: function data() {
|
|
50
|
-
return {
|
|
51
|
-
focused: false
|
|
52
|
-
};
|
|
53
|
-
},
|
|
56
|
+
emits: ['update:modelValue', 'change', 'focus', 'blur'],
|
|
54
57
|
methods: {
|
|
55
58
|
getPTOptions: function getPTOptions(key) {
|
|
56
59
|
return this.ptm(key, {
|
|
57
60
|
context: {
|
|
58
|
-
active: this.
|
|
59
|
-
focused: this.focused,
|
|
61
|
+
active: this.active,
|
|
60
62
|
disabled: this.disabled
|
|
61
63
|
}
|
|
62
64
|
});
|
|
63
65
|
},
|
|
64
66
|
updateModel: function updateModel() {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
break;
|
|
77
|
-
}
|
|
78
|
-
this.$emit('update:modelValue', newValue);
|
|
67
|
+
var newValue;
|
|
68
|
+
switch (this.modelValue) {
|
|
69
|
+
case true:
|
|
70
|
+
newValue = false;
|
|
71
|
+
break;
|
|
72
|
+
case false:
|
|
73
|
+
newValue = null;
|
|
74
|
+
break;
|
|
75
|
+
default:
|
|
76
|
+
newValue = true;
|
|
77
|
+
break;
|
|
79
78
|
}
|
|
79
|
+
this.$emit('update:modelValue', newValue);
|
|
80
80
|
},
|
|
81
|
-
|
|
82
|
-
this.
|
|
83
|
-
this.$emit('click', event);
|
|
84
|
-
this.$emit('change', event);
|
|
85
|
-
this.$refs.input.focus();
|
|
86
|
-
},
|
|
87
|
-
onKeyDown: function onKeyDown(event) {
|
|
88
|
-
if (event.code === 'Enter' || event.code === 'NumpadEnter') {
|
|
81
|
+
onChange: function onChange(event) {
|
|
82
|
+
if (!this.disabled && !this.readonly) {
|
|
89
83
|
this.updateModel();
|
|
90
|
-
this.$emit('
|
|
91
|
-
event.preventDefault();
|
|
84
|
+
this.$emit('change', event);
|
|
92
85
|
}
|
|
93
86
|
},
|
|
94
87
|
onFocus: function onFocus(event) {
|
|
95
|
-
this.focused = true;
|
|
96
88
|
this.$emit('focus', event);
|
|
97
89
|
},
|
|
98
90
|
onBlur: function onBlur(event) {
|
|
99
|
-
this.focused = false;
|
|
100
91
|
this.$emit('blur', event);
|
|
101
92
|
}
|
|
102
93
|
},
|
|
103
94
|
computed: {
|
|
95
|
+
active: function active() {
|
|
96
|
+
return this.modelValue != null;
|
|
97
|
+
},
|
|
98
|
+
checked: function checked() {
|
|
99
|
+
return this.modelValue === true;
|
|
100
|
+
},
|
|
104
101
|
ariaValueLabel: function ariaValueLabel() {
|
|
105
102
|
return this.modelValue ? this.$primevue.config.locale.aria.trueLabel : this.modelValue === false ? this.$primevue.config.locale.aria.falseLabel : this.$primevue.config.locale.aria.nullLabel;
|
|
106
103
|
}
|
|
@@ -111,79 +108,64 @@ var script = {
|
|
|
111
108
|
}
|
|
112
109
|
};
|
|
113
110
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
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; }
|
|
117
|
-
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; }
|
|
118
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
119
|
-
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); }
|
|
120
|
-
var _hoisted_1 = ["id", "checked", "tabindex", "disabled", "aria-labelledby", "aria-label"];
|
|
121
|
-
var _hoisted_2 = ["data-p-highlight", "data-p-disabled", "data-p-focused"];
|
|
111
|
+
var _hoisted_1 = ["data-p-highlight", "data-p-disabled"];
|
|
112
|
+
var _hoisted_2 = ["id", "value", "checked", "tabindex", "disabled", "readonly", "aria-labelledby", "aria-label"];
|
|
122
113
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
114
|
+
var _component_CheckIcon = resolveComponent("CheckIcon");
|
|
115
|
+
var _component_TimesIcon = resolveComponent("TimesIcon");
|
|
123
116
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
124
|
-
"class": _ctx.cx('root')
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
"data-pc-name": "tristatecheckbox"
|
|
130
|
-
}), [createElementVNode("div", mergeProps({
|
|
131
|
-
"class": "p-hidden-accessible"
|
|
132
|
-
}, _ctx.ptm('hiddenInputWrapper'), {
|
|
133
|
-
"data-p-hidden-accessible": true
|
|
117
|
+
"class": _ctx.cx('root')
|
|
118
|
+
}, $options.getPTOptions('root'), {
|
|
119
|
+
"data-pc-name": "tristatecheckbox",
|
|
120
|
+
"data-p-highlight": $options.active,
|
|
121
|
+
"data-p-disabled": _ctx.disabled
|
|
134
122
|
}), [createElementVNode("input", mergeProps({
|
|
135
|
-
ref: "input",
|
|
136
123
|
id: _ctx.inputId,
|
|
137
124
|
type: "checkbox",
|
|
138
|
-
|
|
125
|
+
"class": [_ctx.cx('input'), _ctx.inputClass],
|
|
126
|
+
style: _ctx.inputStyle,
|
|
127
|
+
value: _ctx.modelValue,
|
|
128
|
+
checked: $options.checked,
|
|
139
129
|
tabindex: _ctx.tabindex,
|
|
140
130
|
disabled: _ctx.disabled,
|
|
131
|
+
readonly: _ctx.readonly,
|
|
141
132
|
"aria-labelledby": _ctx.ariaLabelledby,
|
|
142
133
|
"aria-label": _ctx.ariaLabel,
|
|
143
|
-
|
|
144
|
-
return $options.
|
|
134
|
+
onFocus: _cache[0] || (_cache[0] = function () {
|
|
135
|
+
return $options.onFocus && $options.onFocus.apply($options, arguments);
|
|
145
136
|
}),
|
|
146
|
-
|
|
147
|
-
return $options.
|
|
137
|
+
onBlur: _cache[1] || (_cache[1] = function () {
|
|
138
|
+
return $options.onBlur && $options.onBlur.apply($options, arguments);
|
|
148
139
|
}),
|
|
149
|
-
|
|
150
|
-
return $options.
|
|
140
|
+
onChange: _cache[2] || (_cache[2] = function () {
|
|
141
|
+
return $options.onChange && $options.onChange.apply($options, arguments);
|
|
151
142
|
})
|
|
152
|
-
},
|
|
143
|
+
}, $options.getPTOptions('input')), null, 16, _hoisted_2), createElementVNode("span", mergeProps({
|
|
153
144
|
role: "status",
|
|
154
145
|
"class": "p-hidden-accessible",
|
|
155
146
|
"aria-live": "polite"
|
|
156
|
-
},
|
|
147
|
+
}, $options.getPTOptions('hiddenValueLabel'), {
|
|
157
148
|
"data-p-hidden-accessible": true
|
|
158
149
|
}), toDisplayString($options.ariaValueLabel), 17), createElementVNode("div", mergeProps({
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
}, $options.getPTOptions('checkbox'), {
|
|
162
|
-
"data-p-highlight": _ctx.modelValue != null,
|
|
163
|
-
"data-p-disabled": _ctx.disabled,
|
|
164
|
-
"data-p-focused": $data.focused
|
|
165
|
-
}), [_ctx.modelValue === true ? renderSlot(_ctx.$slots, "checkicon", {
|
|
150
|
+
"class": _ctx.cx('box')
|
|
151
|
+
}, $options.getPTOptions('box')), [_ctx.modelValue === true ? renderSlot(_ctx.$slots, "checkicon", {
|
|
166
152
|
key: 0,
|
|
167
153
|
"class": normalizeClass(_ctx.cx('checkIcon'))
|
|
168
154
|
}, function () {
|
|
169
|
-
return [(
|
|
155
|
+
return [createVNode(_component_CheckIcon, mergeProps({
|
|
170
156
|
"class": _ctx.cx('checkIcon')
|
|
171
|
-
},
|
|
157
|
+
}, $options.getPTOptions('checkIcon')), null, 16, ["class"])];
|
|
172
158
|
}) : _ctx.modelValue === false ? renderSlot(_ctx.$slots, "uncheckicon", {
|
|
173
159
|
key: 1,
|
|
174
160
|
"class": normalizeClass(_ctx.cx('uncheckIcon'))
|
|
175
161
|
}, function () {
|
|
176
|
-
return [(
|
|
162
|
+
return [createVNode(_component_TimesIcon, mergeProps({
|
|
177
163
|
"class": _ctx.cx('uncheckIcon')
|
|
178
|
-
},
|
|
164
|
+
}, $options.getPTOptions('uncheckIcon')), null, 16, ["class"])];
|
|
179
165
|
}) : renderSlot(_ctx.$slots, "nullableicon", {
|
|
180
166
|
key: 2,
|
|
181
167
|
"class": normalizeClass(_ctx.cx('nullableIcon'))
|
|
182
|
-
},
|
|
183
|
-
return [createElementVNode("span", mergeProps({
|
|
184
|
-
"class": _ctx.cx('nullableIcon')
|
|
185
|
-
}, _ctx.ptm('nullableIcon')), null, 16)];
|
|
186
|
-
})], 16, _hoisted_2)], 16);
|
|
168
|
+
})], 16)], 16, _hoisted_1);
|
|
187
169
|
}
|
|
188
170
|
|
|
189
171
|
script.render = render;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"primevue/icons/check";import t from"primevue/icons/times";import
|
|
1
|
+
import e from"primevue/icons/check";import t from"primevue/icons/times";import a from"primevue/basecomponent";import l from"primevue/tristatecheckbox/style";import{resolveComponent as n,openBlock as i,createElementBlock as o,mergeProps as c,createElementVNode as u,toDisplayString as s,renderSlot as d,normalizeClass as r,createVNode as p}from"vue";var h={name:"TriStateCheckbox",extends:{name:"BaseTriStateCheckbox",extends:a,props:{modelValue:null,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}})},updateModel:function(){var e;switch(this.modelValue){case!0:e=!1;break;case!1:e=null;break;default:e=!0}this.$emit("update:modelValue",e)},onChange:function(e){this.disabled||this.readonly||(this.updateModel(),this.$emit("change",e))},onFocus:function(e){this.$emit("focus",e)},onBlur:function(e){this.$emit("blur",e)}},computed:{active:function(){return null!=this.modelValue},checked:function(){return!0===this.modelValue},ariaValueLabel:function(){return this.modelValue?this.$primevue.config.locale.aria.trueLabel:!1===this.modelValue?this.$primevue.config.locale.aria.falseLabel:this.$primevue.config.locale.aria.nullLabel}},components:{CheckIcon:e,TimesIcon:t}},b=["data-p-highlight","data-p-disabled"],m=["id","value","checked","tabindex","disabled","readonly","aria-labelledby","aria-label"];h.render=function(e,t,a,l,h,f){var y=n("CheckIcon"),k=n("TimesIcon");return i(),o("div",c({class:e.cx("root")},f.getPTOptions("root"),{"data-pc-name":"tristatecheckbox","data-p-highlight":f.active,"data-p-disabled":e.disabled}),[u("input",c({id:e.inputId,type:"checkbox",class:[e.cx("input"),e.inputClass],style:e.inputStyle,value:e.modelValue,checked:f.checked,tabindex:e.tabindex,disabled:e.disabled,readonly:e.readonly,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,onFocus:t[0]||(t[0]=function(){return f.onFocus&&f.onFocus.apply(f,arguments)}),onBlur:t[1]||(t[1]=function(){return f.onBlur&&f.onBlur.apply(f,arguments)}),onChange:t[2]||(t[2]=function(){return f.onChange&&f.onChange.apply(f,arguments)})},f.getPTOptions("input")),null,16,m),u("span",c({role:"status",class:"p-hidden-accessible","aria-live":"polite"},f.getPTOptions("hiddenValueLabel"),{"data-p-hidden-accessible":!0}),s(f.ariaValueLabel),17),u("div",c({class:e.cx("box")},f.getPTOptions("box")),[!0===e.modelValue?d(e.$slots,"checkicon",{key:0,class:r(e.cx("checkIcon"))},(function(){return[p(y,c({class:e.cx("checkIcon")},f.getPTOptions("checkIcon")),null,16,["class"])]})):!1===e.modelValue?d(e.$slots,"uncheckicon",{key:1,class:r(e.cx("uncheckIcon"))},(function(){return[p(k,c({class:e.cx("uncheckIcon")},f.getPTOptions("uncheckIcon")),null,16,["class"])]})):d(e.$slots,"nullableicon",{key:2,class:r(e.cx("nullableIcon"))})],16)],16,b)};export{h as default};
|
|
@@ -14,21 +14,29 @@ this.primevue.tristatecheckbox = (function (CheckIcon, TimesIcon, BaseComponent,
|
|
|
14
14
|
"extends": BaseComponent__default["default"],
|
|
15
15
|
props: {
|
|
16
16
|
modelValue: null,
|
|
17
|
-
inputId: {
|
|
18
|
-
type: String,
|
|
19
|
-
"default": null
|
|
20
|
-
},
|
|
21
|
-
inputProps: {
|
|
22
|
-
type: null,
|
|
23
|
-
"default": null
|
|
24
|
-
},
|
|
25
17
|
disabled: {
|
|
26
18
|
type: Boolean,
|
|
27
19
|
"default": false
|
|
28
20
|
},
|
|
21
|
+
readonly: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
"default": false
|
|
24
|
+
},
|
|
29
25
|
tabindex: {
|
|
30
26
|
type: Number,
|
|
31
|
-
"default":
|
|
27
|
+
"default": null
|
|
28
|
+
},
|
|
29
|
+
inputId: {
|
|
30
|
+
type: String,
|
|
31
|
+
"default": null
|
|
32
|
+
},
|
|
33
|
+
inputClass: {
|
|
34
|
+
type: [String, Object],
|
|
35
|
+
"default": null
|
|
36
|
+
},
|
|
37
|
+
inputStyle: {
|
|
38
|
+
type: Object,
|
|
39
|
+
"default": null
|
|
32
40
|
},
|
|
33
41
|
ariaLabelledby: {
|
|
34
42
|
type: String,
|
|
@@ -50,62 +58,51 @@ this.primevue.tristatecheckbox = (function (CheckIcon, TimesIcon, BaseComponent,
|
|
|
50
58
|
var script = {
|
|
51
59
|
name: 'TriStateCheckbox',
|
|
52
60
|
"extends": script$1,
|
|
53
|
-
emits: ['
|
|
54
|
-
data: function data() {
|
|
55
|
-
return {
|
|
56
|
-
focused: false
|
|
57
|
-
};
|
|
58
|
-
},
|
|
61
|
+
emits: ['update:modelValue', 'change', 'focus', 'blur'],
|
|
59
62
|
methods: {
|
|
60
63
|
getPTOptions: function getPTOptions(key) {
|
|
61
64
|
return this.ptm(key, {
|
|
62
65
|
context: {
|
|
63
|
-
active: this.
|
|
64
|
-
focused: this.focused,
|
|
66
|
+
active: this.active,
|
|
65
67
|
disabled: this.disabled
|
|
66
68
|
}
|
|
67
69
|
});
|
|
68
70
|
},
|
|
69
71
|
updateModel: function updateModel() {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
break;
|
|
82
|
-
}
|
|
83
|
-
this.$emit('update:modelValue', newValue);
|
|
72
|
+
var newValue;
|
|
73
|
+
switch (this.modelValue) {
|
|
74
|
+
case true:
|
|
75
|
+
newValue = false;
|
|
76
|
+
break;
|
|
77
|
+
case false:
|
|
78
|
+
newValue = null;
|
|
79
|
+
break;
|
|
80
|
+
default:
|
|
81
|
+
newValue = true;
|
|
82
|
+
break;
|
|
84
83
|
}
|
|
84
|
+
this.$emit('update:modelValue', newValue);
|
|
85
85
|
},
|
|
86
|
-
|
|
87
|
-
this.
|
|
88
|
-
this.$emit('click', event);
|
|
89
|
-
this.$emit('change', event);
|
|
90
|
-
this.$refs.input.focus();
|
|
91
|
-
},
|
|
92
|
-
onKeyDown: function onKeyDown(event) {
|
|
93
|
-
if (event.code === 'Enter' || event.code === 'NumpadEnter') {
|
|
86
|
+
onChange: function onChange(event) {
|
|
87
|
+
if (!this.disabled && !this.readonly) {
|
|
94
88
|
this.updateModel();
|
|
95
|
-
this.$emit('
|
|
96
|
-
event.preventDefault();
|
|
89
|
+
this.$emit('change', event);
|
|
97
90
|
}
|
|
98
91
|
},
|
|
99
92
|
onFocus: function onFocus(event) {
|
|
100
|
-
this.focused = true;
|
|
101
93
|
this.$emit('focus', event);
|
|
102
94
|
},
|
|
103
95
|
onBlur: function onBlur(event) {
|
|
104
|
-
this.focused = false;
|
|
105
96
|
this.$emit('blur', event);
|
|
106
97
|
}
|
|
107
98
|
},
|
|
108
99
|
computed: {
|
|
100
|
+
active: function active() {
|
|
101
|
+
return this.modelValue != null;
|
|
102
|
+
},
|
|
103
|
+
checked: function checked() {
|
|
104
|
+
return this.modelValue === true;
|
|
105
|
+
},
|
|
109
106
|
ariaValueLabel: function ariaValueLabel() {
|
|
110
107
|
return this.modelValue ? this.$primevue.config.locale.aria.trueLabel : this.modelValue === false ? this.$primevue.config.locale.aria.falseLabel : this.$primevue.config.locale.aria.nullLabel;
|
|
111
108
|
}
|
|
@@ -116,79 +113,64 @@ this.primevue.tristatecheckbox = (function (CheckIcon, TimesIcon, BaseComponent,
|
|
|
116
113
|
}
|
|
117
114
|
};
|
|
118
115
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
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; }
|
|
122
|
-
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; }
|
|
123
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
124
|
-
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); }
|
|
125
|
-
var _hoisted_1 = ["id", "checked", "tabindex", "disabled", "aria-labelledby", "aria-label"];
|
|
126
|
-
var _hoisted_2 = ["data-p-highlight", "data-p-disabled", "data-p-focused"];
|
|
116
|
+
var _hoisted_1 = ["data-p-highlight", "data-p-disabled"];
|
|
117
|
+
var _hoisted_2 = ["id", "value", "checked", "tabindex", "disabled", "readonly", "aria-labelledby", "aria-label"];
|
|
127
118
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
119
|
+
var _component_CheckIcon = vue.resolveComponent("CheckIcon");
|
|
120
|
+
var _component_TimesIcon = vue.resolveComponent("TimesIcon");
|
|
128
121
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
129
|
-
"class": _ctx.cx('root')
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
"data-pc-name": "tristatecheckbox"
|
|
135
|
-
}), [vue.createElementVNode("div", vue.mergeProps({
|
|
136
|
-
"class": "p-hidden-accessible"
|
|
137
|
-
}, _ctx.ptm('hiddenInputWrapper'), {
|
|
138
|
-
"data-p-hidden-accessible": true
|
|
122
|
+
"class": _ctx.cx('root')
|
|
123
|
+
}, $options.getPTOptions('root'), {
|
|
124
|
+
"data-pc-name": "tristatecheckbox",
|
|
125
|
+
"data-p-highlight": $options.active,
|
|
126
|
+
"data-p-disabled": _ctx.disabled
|
|
139
127
|
}), [vue.createElementVNode("input", vue.mergeProps({
|
|
140
|
-
ref: "input",
|
|
141
128
|
id: _ctx.inputId,
|
|
142
129
|
type: "checkbox",
|
|
143
|
-
|
|
130
|
+
"class": [_ctx.cx('input'), _ctx.inputClass],
|
|
131
|
+
style: _ctx.inputStyle,
|
|
132
|
+
value: _ctx.modelValue,
|
|
133
|
+
checked: $options.checked,
|
|
144
134
|
tabindex: _ctx.tabindex,
|
|
145
135
|
disabled: _ctx.disabled,
|
|
136
|
+
readonly: _ctx.readonly,
|
|
146
137
|
"aria-labelledby": _ctx.ariaLabelledby,
|
|
147
138
|
"aria-label": _ctx.ariaLabel,
|
|
148
|
-
|
|
149
|
-
return $options.
|
|
139
|
+
onFocus: _cache[0] || (_cache[0] = function () {
|
|
140
|
+
return $options.onFocus && $options.onFocus.apply($options, arguments);
|
|
150
141
|
}),
|
|
151
|
-
|
|
152
|
-
return $options.
|
|
142
|
+
onBlur: _cache[1] || (_cache[1] = function () {
|
|
143
|
+
return $options.onBlur && $options.onBlur.apply($options, arguments);
|
|
153
144
|
}),
|
|
154
|
-
|
|
155
|
-
return $options.
|
|
145
|
+
onChange: _cache[2] || (_cache[2] = function () {
|
|
146
|
+
return $options.onChange && $options.onChange.apply($options, arguments);
|
|
156
147
|
})
|
|
157
|
-
},
|
|
148
|
+
}, $options.getPTOptions('input')), null, 16, _hoisted_2), vue.createElementVNode("span", vue.mergeProps({
|
|
158
149
|
role: "status",
|
|
159
150
|
"class": "p-hidden-accessible",
|
|
160
151
|
"aria-live": "polite"
|
|
161
|
-
},
|
|
152
|
+
}, $options.getPTOptions('hiddenValueLabel'), {
|
|
162
153
|
"data-p-hidden-accessible": true
|
|
163
154
|
}), vue.toDisplayString($options.ariaValueLabel), 17), vue.createElementVNode("div", vue.mergeProps({
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
}, $options.getPTOptions('checkbox'), {
|
|
167
|
-
"data-p-highlight": _ctx.modelValue != null,
|
|
168
|
-
"data-p-disabled": _ctx.disabled,
|
|
169
|
-
"data-p-focused": $data.focused
|
|
170
|
-
}), [_ctx.modelValue === true ? vue.renderSlot(_ctx.$slots, "checkicon", {
|
|
155
|
+
"class": _ctx.cx('box')
|
|
156
|
+
}, $options.getPTOptions('box')), [_ctx.modelValue === true ? vue.renderSlot(_ctx.$slots, "checkicon", {
|
|
171
157
|
key: 0,
|
|
172
158
|
"class": vue.normalizeClass(_ctx.cx('checkIcon'))
|
|
173
159
|
}, function () {
|
|
174
|
-
return [
|
|
160
|
+
return [vue.createVNode(_component_CheckIcon, vue.mergeProps({
|
|
175
161
|
"class": _ctx.cx('checkIcon')
|
|
176
|
-
},
|
|
162
|
+
}, $options.getPTOptions('checkIcon')), null, 16, ["class"])];
|
|
177
163
|
}) : _ctx.modelValue === false ? vue.renderSlot(_ctx.$slots, "uncheckicon", {
|
|
178
164
|
key: 1,
|
|
179
165
|
"class": vue.normalizeClass(_ctx.cx('uncheckIcon'))
|
|
180
166
|
}, function () {
|
|
181
|
-
return [
|
|
167
|
+
return [vue.createVNode(_component_TimesIcon, vue.mergeProps({
|
|
182
168
|
"class": _ctx.cx('uncheckIcon')
|
|
183
|
-
},
|
|
169
|
+
}, $options.getPTOptions('uncheckIcon')), null, 16, ["class"])];
|
|
184
170
|
}) : vue.renderSlot(_ctx.$slots, "nullableicon", {
|
|
185
171
|
key: 2,
|
|
186
172
|
"class": vue.normalizeClass(_ctx.cx('nullableIcon'))
|
|
187
|
-
},
|
|
188
|
-
return [vue.createElementVNode("span", vue.mergeProps({
|
|
189
|
-
"class": _ctx.cx('nullableIcon')
|
|
190
|
-
}, _ctx.ptm('nullableIcon')), null, 16)];
|
|
191
|
-
})], 16, _hoisted_2)], 16);
|
|
173
|
+
})], 16)], 16, _hoisted_1);
|
|
192
174
|
}
|
|
193
175
|
|
|
194
176
|
script.render = render;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.tristatecheckbox=function(e,t,
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.tristatecheckbox=function(e,t,a,l,n){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=i(e),c=i(t),s={name:"TriStateCheckbox",extends:{name:"BaseTriStateCheckbox",extends:i(a).default,props:{modelValue:null,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:i(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}})},updateModel:function(){var e;switch(this.modelValue){case!0:e=!1;break;case!1:e=null;break;default:e=!0}this.$emit("update:modelValue",e)},onChange:function(e){this.disabled||this.readonly||(this.updateModel(),this.$emit("change",e))},onFocus:function(e){this.$emit("focus",e)},onBlur:function(e){this.$emit("blur",e)}},computed:{active:function(){return null!=this.modelValue},checked:function(){return!0===this.modelValue},ariaValueLabel:function(){return this.modelValue?this.$primevue.config.locale.aria.trueLabel:!1===this.modelValue?this.$primevue.config.locale.aria.falseLabel:this.$primevue.config.locale.aria.nullLabel}},components:{CheckIcon:o.default,TimesIcon:c.default}},u=["data-p-highlight","data-p-disabled"],r=["id","value","checked","tabindex","disabled","readonly","aria-labelledby","aria-label"];return s.render=function(e,t,a,l,i,o){var c=n.resolveComponent("CheckIcon"),s=n.resolveComponent("TimesIcon");return n.openBlock(),n.createElementBlock("div",n.mergeProps({class:e.cx("root")},o.getPTOptions("root"),{"data-pc-name":"tristatecheckbox","data-p-highlight":o.active,"data-p-disabled":e.disabled}),[n.createElementVNode("input",n.mergeProps({id:e.inputId,type:"checkbox",class:[e.cx("input"),e.inputClass],style:e.inputStyle,value:e.modelValue,checked:o.checked,tabindex:e.tabindex,disabled:e.disabled,readonly:e.readonly,"aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,onFocus:t[0]||(t[0]=function(){return o.onFocus&&o.onFocus.apply(o,arguments)}),onBlur:t[1]||(t[1]=function(){return o.onBlur&&o.onBlur.apply(o,arguments)}),onChange:t[2]||(t[2]=function(){return o.onChange&&o.onChange.apply(o,arguments)})},o.getPTOptions("input")),null,16,r),n.createElementVNode("span",n.mergeProps({role:"status",class:"p-hidden-accessible","aria-live":"polite"},o.getPTOptions("hiddenValueLabel"),{"data-p-hidden-accessible":!0}),n.toDisplayString(o.ariaValueLabel),17),n.createElementVNode("div",n.mergeProps({class:e.cx("box")},o.getPTOptions("box")),[!0===e.modelValue?n.renderSlot(e.$slots,"checkicon",{key:0,class:n.normalizeClass(e.cx("checkIcon"))},(function(){return[n.createVNode(c,n.mergeProps({class:e.cx("checkIcon")},o.getPTOptions("checkIcon")),null,16,["class"])]})):!1===e.modelValue?n.renderSlot(e.$slots,"uncheckicon",{key:1,class:n.normalizeClass(e.cx("uncheckIcon"))},(function(){return[n.createVNode(s,n.mergeProps({class:e.cx("uncheckIcon")},o.getPTOptions("uncheckIcon")),null,16,["class"])]})):n.renderSlot(e.$slots,"nullableicon",{key:2,class:n.normalizeClass(e.cx("nullableIcon"))})],16)],16,u)},s}(primevue.icons.check,primevue.icons.times,primevue.basecomponent,primevue.tristatecheckbox.style,Vue);
|
package/utils/utils.cjs.js
CHANGED
|
@@ -268,6 +268,7 @@ var DomHandler = {
|
|
|
268
268
|
return 0;
|
|
269
269
|
},
|
|
270
270
|
absolutePosition: function absolutePosition(element, target) {
|
|
271
|
+
var gutter = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
|
271
272
|
if (element) {
|
|
272
273
|
var elementDimensions = element.offsetParent ? {
|
|
273
274
|
width: element.offsetWidth,
|
|
@@ -281,23 +282,27 @@ var DomHandler = {
|
|
|
281
282
|
var windowScrollTop = this.getWindowScrollTop();
|
|
282
283
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
283
284
|
var viewport = this.getViewport();
|
|
284
|
-
var top,
|
|
285
|
+
var top,
|
|
286
|
+
left,
|
|
287
|
+
origin = 'top';
|
|
285
288
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
286
289
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
287
|
-
|
|
290
|
+
origin = 'bottom';
|
|
288
291
|
if (top < 0) {
|
|
289
292
|
top = windowScrollTop;
|
|
290
293
|
}
|
|
291
294
|
} else {
|
|
292
295
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
293
|
-
element.style.transformOrigin = 'top';
|
|
294
296
|
}
|
|
295
297
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
296
298
|
element.style.top = top + 'px';
|
|
297
299
|
element.style.left = left + 'px';
|
|
300
|
+
element.style.transformOrigin = origin;
|
|
301
|
+
gutter && (element.style.marginTop = origin === 'bottom' ? 'calc(var(--p-anchor-gutter) * -1)' : 'calc(var(--p-anchor-gutter))');
|
|
298
302
|
}
|
|
299
303
|
},
|
|
300
304
|
relativePosition: function relativePosition(element, target) {
|
|
305
|
+
var gutter = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
|
|
301
306
|
if (element) {
|
|
302
307
|
var elementDimensions = element.offsetParent ? {
|
|
303
308
|
width: element.offsetWidth,
|
|
@@ -306,16 +311,17 @@ var DomHandler = {
|
|
|
306
311
|
var targetHeight = target.offsetHeight;
|
|
307
312
|
var targetOffset = target.getBoundingClientRect();
|
|
308
313
|
var viewport = this.getViewport();
|
|
309
|
-
var top,
|
|
314
|
+
var top,
|
|
315
|
+
left,
|
|
316
|
+
origin = 'top';
|
|
310
317
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
311
318
|
top = -1 * elementDimensions.height;
|
|
312
|
-
|
|
319
|
+
origin = 'bottom';
|
|
313
320
|
if (targetOffset.top + top < 0) {
|
|
314
321
|
top = -1 * targetOffset.top;
|
|
315
322
|
}
|
|
316
323
|
} else {
|
|
317
324
|
top = targetHeight;
|
|
318
|
-
element.style.transformOrigin = 'top';
|
|
319
325
|
}
|
|
320
326
|
if (elementDimensions.width > viewport.width) {
|
|
321
327
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
@@ -329,6 +335,8 @@ var DomHandler = {
|
|
|
329
335
|
}
|
|
330
336
|
element.style.top = top + 'px';
|
|
331
337
|
element.style.left = left + 'px';
|
|
338
|
+
element.style.transformOrigin = origin;
|
|
339
|
+
gutter && (element.style.marginTop = origin === 'bottom' ? 'calc(var(--p-anchor-gutter) * -1)' : 'calc(var(--p-anchor-gutter))');
|
|
332
340
|
}
|
|
333
341
|
},
|
|
334
342
|
nestedPosition: function nestedPosition(element, level) {
|