primevue 3.46.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 +5 -1
- package/autocomplete/autocomplete.cjs.js +29 -18
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +29 -18
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +29 -18
- 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/Calendar.d.ts +53 -2
- package/calendar/Calendar.vue +12 -0
- package/calendar/calendar.cjs.js +12 -0
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +12 -0
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +12 -0
- package/calendar/calendar.min.js +1 -1
- package/cascadeselect/BaseCascadeSelect.vue +5 -1
- package/cascadeselect/CascadeSelect.d.ts +6 -1
- package/cascadeselect/CascadeSelect.vue +56 -35
- package/cascadeselect/CascadeSelectSub.vue +9 -2
- package/cascadeselect/cascadeselect.cjs.js +99 -52
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +99 -52
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +99 -52
- 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/column/Column.d.ts +11 -44
- package/confirmpopup/ConfirmPopup.vue +1 -1
- package/confirmpopup/confirmpopup.cjs.js +1 -1
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +1 -1
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +1 -1
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/contextmenu/ContextMenu.vue +8 -8
- package/contextmenu/contextmenu.cjs.js +7 -6
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +7 -6
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +7 -6
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +918 -628
- package/core/core.min.js +63 -55
- package/datatable/BaseDataTable.vue +4 -0
- package/datatable/BodyCell.vue +11 -1
- package/datatable/BodyRow.vue +5 -2
- package/datatable/ColumnFilter.vue +5 -2
- package/datatable/DataTable.d.ts +5 -0
- package/datatable/DataTable.vue +2 -2
- package/datatable/HeaderCell.vue +2 -1
- 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 +110 -193
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +109 -194
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +110 -195
- package/datatable/datatable.min.js +1 -1
- package/datatable/style/datatablestyle.cjs.js +23 -72
- package/datatable/style/datatablestyle.cjs.min.js +1 -1
- package/datatable/style/datatablestyle.esm.js +23 -72
- package/datatable/style/datatablestyle.esm.min.js +1 -1
- package/datatable/style/datatablestyle.js +23 -72
- package/datatable/style/datatablestyle.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 +17 -1
- package/dropdown/Dropdown.d.ts +37 -1
- package/dropdown/Dropdown.vue +68 -40
- package/dropdown/dropdown.cjs.js +95 -45
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +93 -45
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +95 -47
- 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 +3 -9
- package/icons/arrowdown/index.cjs.min.js +1 -1
- package/icons/arrowdown/index.esm.js +3 -9
- package/icons/arrowdown/index.esm.min.js +1 -1
- package/icons/arrowdown/index.js +5 -10
- package/icons/arrowdown/index.min.js +1 -1
- package/icons/arrowdown/index.vue +1 -7
- package/icons/arrowup/index.cjs.js +3 -9
- package/icons/arrowup/index.cjs.min.js +1 -1
- package/icons/arrowup/index.esm.js +3 -9
- package/icons/arrowup/index.esm.min.js +1 -1
- package/icons/arrowup/index.js +5 -10
- package/icons/arrowup/index.min.js +1 -1
- package/icons/arrowup/index.vue +1 -7
- package/icons/ban/index.cjs.js +3 -9
- package/icons/ban/index.cjs.min.js +1 -1
- package/icons/ban/index.esm.js +3 -9
- package/icons/ban/index.esm.min.js +1 -1
- package/icons/ban/index.js +5 -10
- package/icons/ban/index.min.js +1 -1
- package/icons/ban/index.vue +1 -7
- 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 +3 -9
- package/icons/exclamationtriangle/index.cjs.min.js +1 -1
- package/icons/exclamationtriangle/index.esm.js +3 -9
- package/icons/exclamationtriangle/index.esm.min.js +1 -1
- package/icons/exclamationtriangle/index.js +5 -10
- package/icons/exclamationtriangle/index.min.js +1 -1
- package/icons/exclamationtriangle/index.vue +1 -7
- package/icons/eyeslash/index.cjs.js +3 -9
- package/icons/eyeslash/index.cjs.min.js +1 -1
- package/icons/eyeslash/index.esm.js +3 -9
- package/icons/eyeslash/index.esm.min.js +1 -1
- package/icons/eyeslash/index.js +5 -10
- package/icons/eyeslash/index.min.js +1 -1
- package/icons/eyeslash/index.vue +1 -7
- package/icons/filter/index.cjs.js +3 -9
- package/icons/filter/index.cjs.min.js +1 -1
- package/icons/filter/index.esm.js +3 -9
- package/icons/filter/index.esm.min.js +1 -1
- package/icons/filter/index.js +5 -10
- package/icons/filter/index.min.js +1 -1
- package/icons/filter/index.vue +1 -7
- package/icons/filterslash/index.cjs.js +3 -9
- package/icons/filterslash/index.cjs.min.js +1 -1
- package/icons/filterslash/index.esm.js +3 -9
- package/icons/filterslash/index.esm.min.js +1 -1
- package/icons/filterslash/index.js +5 -10
- package/icons/filterslash/index.min.js +1 -1
- package/icons/filterslash/index.vue +1 -7
- package/icons/infocircle/index.cjs.js +3 -9
- package/icons/infocircle/index.cjs.min.js +1 -1
- package/icons/infocircle/index.esm.js +3 -9
- package/icons/infocircle/index.esm.min.js +1 -1
- package/icons/infocircle/index.js +5 -10
- package/icons/infocircle/index.min.js +1 -1
- package/icons/infocircle/index.vue +1 -7
- package/icons/pencil/index.cjs.js +3 -9
- package/icons/pencil/index.cjs.min.js +1 -1
- package/icons/pencil/index.esm.js +3 -9
- package/icons/pencil/index.esm.min.js +1 -1
- package/icons/pencil/index.js +5 -10
- package/icons/pencil/index.min.js +1 -1
- package/icons/pencil/index.vue +1 -7
- package/icons/plus/index.cjs.js +3 -9
- package/icons/plus/index.cjs.min.js +1 -1
- package/icons/plus/index.esm.js +3 -9
- package/icons/plus/index.esm.min.js +1 -1
- package/icons/plus/index.js +5 -10
- package/icons/plus/index.min.js +1 -1
- package/icons/plus/index.vue +1 -7
- package/icons/refresh/index.cjs.js +3 -9
- package/icons/refresh/index.cjs.min.js +1 -1
- package/icons/refresh/index.esm.js +3 -9
- package/icons/refresh/index.esm.min.js +1 -1
- package/icons/refresh/index.js +5 -10
- package/icons/refresh/index.min.js +1 -1
- package/icons/refresh/index.vue +1 -7
- package/icons/search/index.cjs.js +3 -9
- package/icons/search/index.cjs.min.js +1 -1
- package/icons/search/index.esm.js +3 -9
- package/icons/search/index.esm.min.js +1 -1
- package/icons/search/index.js +5 -10
- package/icons/search/index.min.js +1 -1
- package/icons/search/index.vue +1 -7
- package/icons/searchminus/index.cjs.js +3 -9
- package/icons/searchminus/index.cjs.min.js +1 -1
- package/icons/searchminus/index.esm.js +3 -9
- package/icons/searchminus/index.esm.min.js +1 -1
- package/icons/searchminus/index.js +5 -10
- package/icons/searchminus/index.min.js +1 -1
- package/icons/searchminus/index.vue +1 -7
- package/icons/searchplus/index.cjs.js +3 -9
- package/icons/searchplus/index.cjs.min.js +1 -1
- package/icons/searchplus/index.esm.js +3 -9
- package/icons/searchplus/index.esm.min.js +1 -1
- package/icons/searchplus/index.js +5 -10
- package/icons/searchplus/index.min.js +1 -1
- package/icons/searchplus/index.vue +1 -7
- package/icons/sortalt/index.cjs.js +3 -9
- package/icons/sortalt/index.cjs.min.js +1 -1
- package/icons/sortalt/index.esm.js +3 -9
- package/icons/sortalt/index.esm.min.js +1 -1
- package/icons/sortalt/index.js +5 -10
- package/icons/sortalt/index.min.js +1 -1
- package/icons/sortalt/index.vue +1 -7
- package/icons/sortamountdown/index.cjs.js +3 -9
- package/icons/sortamountdown/index.cjs.min.js +1 -1
- package/icons/sortamountdown/index.esm.js +3 -9
- package/icons/sortamountdown/index.esm.min.js +1 -1
- package/icons/sortamountdown/index.js +5 -10
- package/icons/sortamountdown/index.min.js +1 -1
- package/icons/sortamountdown/index.vue +1 -7
- package/icons/sortamountupalt/index.cjs.js +3 -9
- package/icons/sortamountupalt/index.cjs.min.js +1 -1
- package/icons/sortamountupalt/index.esm.js +3 -9
- package/icons/sortamountupalt/index.esm.min.js +1 -1
- package/icons/sortamountupalt/index.js +5 -10
- package/icons/sortamountupalt/index.min.js +1 -1
- package/icons/sortamountupalt/index.vue +1 -7
- package/icons/spinner/index.cjs.js +3 -9
- package/icons/spinner/index.cjs.min.js +1 -1
- package/icons/spinner/index.esm.js +3 -9
- package/icons/spinner/index.esm.min.js +1 -1
- package/icons/spinner/index.js +5 -10
- package/icons/spinner/index.min.js +1 -1
- package/icons/spinner/index.vue +1 -7
- package/icons/star/index.cjs.js +3 -9
- package/icons/star/index.cjs.min.js +1 -1
- package/icons/star/index.esm.js +3 -9
- package/icons/star/index.esm.min.js +1 -1
- package/icons/star/index.js +5 -10
- package/icons/star/index.min.js +1 -1
- package/icons/star/index.vue +1 -7
- package/icons/starfill/index.cjs.js +3 -9
- package/icons/starfill/index.cjs.min.js +1 -1
- package/icons/starfill/index.esm.js +3 -9
- package/icons/starfill/index.esm.min.js +1 -1
- package/icons/starfill/index.js +5 -10
- package/icons/starfill/index.min.js +1 -1
- package/icons/starfill/index.vue +1 -7
- package/icons/thlarge/index.cjs.js +3 -9
- package/icons/thlarge/index.cjs.min.js +1 -1
- package/icons/thlarge/index.esm.js +3 -9
- package/icons/thlarge/index.esm.min.js +1 -1
- package/icons/thlarge/index.js +5 -10
- package/icons/thlarge/index.min.js +1 -1
- package/icons/thlarge/index.vue +1 -7
- package/icons/timescircle/index.cjs.js +3 -9
- package/icons/timescircle/index.cjs.min.js +1 -1
- package/icons/timescircle/index.esm.js +3 -9
- package/icons/timescircle/index.esm.min.js +1 -1
- package/icons/timescircle/index.js +5 -10
- package/icons/timescircle/index.min.js +1 -1
- package/icons/timescircle/index.vue +1 -7
- package/icons/trash/index.cjs.js +3 -9
- package/icons/trash/index.cjs.min.js +1 -1
- package/icons/trash/index.esm.js +3 -9
- package/icons/trash/index.esm.min.js +1 -1
- package/icons/trash/index.js +5 -10
- package/icons/trash/index.min.js +1 -1
- package/icons/trash/index.vue +1 -7
- package/icons/undo/index.cjs.js +3 -9
- package/icons/undo/index.cjs.min.js +1 -1
- package/icons/undo/index.esm.js +3 -9
- package/icons/undo/index.esm.min.js +1 -1
- package/icons/undo/index.js +5 -10
- package/icons/undo/index.min.js +1 -1
- package/icons/undo/index.vue +1 -7
- package/icons/upload/index.cjs.js +3 -9
- package/icons/upload/index.cjs.min.js +1 -1
- package/icons/upload/index.esm.js +3 -9
- package/icons/upload/index.esm.min.js +1 -1
- package/icons/upload/index.js +5 -10
- package/icons/upload/index.min.js +1 -1
- package/icons/upload/index.vue +1 -7
- package/icons/windowmaximize/index.cjs.js +3 -9
- package/icons/windowmaximize/index.cjs.min.js +1 -1
- package/icons/windowmaximize/index.esm.js +3 -9
- package/icons/windowmaximize/index.esm.min.js +1 -1
- package/icons/windowmaximize/index.js +5 -10
- package/icons/windowmaximize/index.min.js +1 -1
- package/icons/windowmaximize/index.vue +1 -7
- package/icons/windowminimize/index.cjs.js +3 -9
- package/icons/windowminimize/index.cjs.min.js +1 -1
- package/icons/windowminimize/index.esm.js +3 -9
- package/icons/windowminimize/index.esm.min.js +1 -1
- package/icons/windowminimize/index.js +5 -10
- package/icons/windowminimize/index.min.js +1 -1
- package/icons/windowminimize/index.vue +1 -7
- package/inputnumber/InputNumber.vue +18 -9
- package/inputnumber/inputnumber.cjs.js +14 -6
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +15 -7
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +14 -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/menubar/Menubar.vue +1 -1
- package/menubar/menubar.cjs.js +2 -1
- package/menubar/menubar.cjs.min.js +1 -1
- package/menubar/menubar.esm.js +2 -1
- package/menubar/menubar.esm.min.js +1 -1
- package/menubar/menubar.js +2 -1
- 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 +9 -1
- package/multiselect/MultiSelect.d.ts +13 -19
- package/multiselect/MultiSelect.vue +108 -76
- package/multiselect/multiselect.cjs.js +173 -133
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +173 -134
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +174 -135
- 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/OverlayPanel.d.ts +4 -0
- package/overlaypanel/OverlayPanel.vue +1 -1
- package/overlaypanel/overlaypanel.cjs.js +1 -1
- package/overlaypanel/overlaypanel.cjs.min.js +1 -1
- package/overlaypanel/overlaypanel.esm.js +1 -1
- package/overlaypanel/overlaypanel.esm.min.js +1 -1
- package/overlaypanel/overlaypanel.js +1 -1
- 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/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/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/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/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/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/TieredMenu.vue +1 -1
- package/tieredmenu/tieredmenu.cjs.js +2 -1
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +2 -1
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +2 -1
- 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/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/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
|
@@ -16,6 +16,7 @@ var script$1 = {
|
|
|
16
16
|
props: {
|
|
17
17
|
value: null,
|
|
18
18
|
modelValue: null,
|
|
19
|
+
binary: Boolean,
|
|
19
20
|
name: {
|
|
20
21
|
type: String,
|
|
21
22
|
"default": null
|
|
@@ -24,6 +25,14 @@ var script$1 = {
|
|
|
24
25
|
type: Boolean,
|
|
25
26
|
"default": false
|
|
26
27
|
},
|
|
28
|
+
readonly: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
"default": false
|
|
31
|
+
},
|
|
32
|
+
tabindex: {
|
|
33
|
+
type: Number,
|
|
34
|
+
"default": null
|
|
35
|
+
},
|
|
27
36
|
inputId: {
|
|
28
37
|
type: String,
|
|
29
38
|
"default": null
|
|
@@ -36,10 +45,6 @@ var script$1 = {
|
|
|
36
45
|
type: Object,
|
|
37
46
|
"default": null
|
|
38
47
|
},
|
|
39
|
-
inputProps: {
|
|
40
|
-
type: null,
|
|
41
|
-
"default": null
|
|
42
|
-
},
|
|
43
48
|
ariaLabelledby: {
|
|
44
49
|
type: String,
|
|
45
50
|
"default": null
|
|
@@ -60,67 +65,57 @@ var script$1 = {
|
|
|
60
65
|
var script = {
|
|
61
66
|
name: 'RadioButton',
|
|
62
67
|
"extends": script$1,
|
|
63
|
-
emits: ['
|
|
64
|
-
data: function data() {
|
|
65
|
-
return {
|
|
66
|
-
focused: false
|
|
67
|
-
};
|
|
68
|
-
},
|
|
68
|
+
emits: ['update:modelValue', 'change', 'focus', 'blur'],
|
|
69
69
|
methods: {
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
if (!this.checked) {
|
|
76
|
-
this.$emit('change', event);
|
|
70
|
+
getPTOptions: function getPTOptions(key) {
|
|
71
|
+
return this.ptm(key, {
|
|
72
|
+
context: {
|
|
73
|
+
checked: this.checked,
|
|
74
|
+
disabled: this.disabled
|
|
77
75
|
}
|
|
76
|
+
});
|
|
77
|
+
},
|
|
78
|
+
onChange: function onChange(event) {
|
|
79
|
+
if (!this.disabled && !this.readonly) {
|
|
80
|
+
var newModelValue = this.binary ? !this.checked : this.value;
|
|
81
|
+
this.$emit('update:modelValue', newModelValue);
|
|
82
|
+
this.$emit('change', event);
|
|
78
83
|
}
|
|
79
84
|
},
|
|
80
85
|
onFocus: function onFocus(event) {
|
|
81
|
-
this.focused = true;
|
|
82
86
|
this.$emit('focus', event);
|
|
83
87
|
},
|
|
84
88
|
onBlur: function onBlur(event) {
|
|
85
|
-
this.focused = false;
|
|
86
89
|
this.$emit('blur', event);
|
|
87
90
|
}
|
|
88
91
|
},
|
|
89
92
|
computed: {
|
|
90
93
|
checked: function checked() {
|
|
91
|
-
return this.modelValue != null && utils.ObjectUtils.equals(this.modelValue, this.value);
|
|
94
|
+
return this.modelValue != null && (this.binary ? !!this.modelValue : utils.ObjectUtils.equals(this.modelValue, this.value));
|
|
92
95
|
}
|
|
93
96
|
}
|
|
94
97
|
};
|
|
95
98
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
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; }
|
|
99
|
-
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; }
|
|
100
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
101
|
-
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); }
|
|
102
|
-
var _hoisted_1 = ["id", "name", "checked", "disabled", "value", "aria-labelledby", "aria-label"];
|
|
103
|
-
var _hoisted_2 = ["data-p-highlight", "data-p-disabled", "data-p-focused"];
|
|
99
|
+
var _hoisted_1 = ["data-p-highlight", "data-p-disabled"];
|
|
100
|
+
var _hoisted_2 = ["id", "value", "name", "checked", "tabindex", "disabled", "readonly", "aria-labelledby", "aria-label"];
|
|
104
101
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
105
102
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
106
|
-
"class": _ctx.cx('root')
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
"data-pc-name": "radiobutton"
|
|
112
|
-
}), [vue.createElementVNode("div", vue.mergeProps({
|
|
113
|
-
"class": "p-hidden-accessible"
|
|
114
|
-
}, _ctx.ptm('hiddenInputWrapper'), {
|
|
115
|
-
"data-p-hidden-accessible": true
|
|
103
|
+
"class": _ctx.cx('root')
|
|
104
|
+
}, $options.getPTOptions('root'), {
|
|
105
|
+
"data-pc-name": "radiobutton",
|
|
106
|
+
"data-p-highlight": $options.checked,
|
|
107
|
+
"data-p-disabled": _ctx.disabled
|
|
116
108
|
}), [vue.createElementVNode("input", vue.mergeProps({
|
|
117
|
-
ref: "input",
|
|
118
109
|
id: _ctx.inputId,
|
|
119
110
|
type: "radio",
|
|
111
|
+
"class": [_ctx.cx('input'), _ctx.inputClass],
|
|
112
|
+
style: _ctx.inputStyle,
|
|
113
|
+
value: _ctx.value,
|
|
120
114
|
name: _ctx.name,
|
|
121
115
|
checked: $options.checked,
|
|
116
|
+
tabindex: _ctx.tabindex,
|
|
122
117
|
disabled: _ctx.disabled,
|
|
123
|
-
|
|
118
|
+
readonly: _ctx.readonly,
|
|
124
119
|
"aria-labelledby": _ctx.ariaLabelledby,
|
|
125
120
|
"aria-label": _ctx.ariaLabel,
|
|
126
121
|
onFocus: _cache[0] || (_cache[0] = function () {
|
|
@@ -128,18 +123,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
128
123
|
}),
|
|
129
124
|
onBlur: _cache[1] || (_cache[1] = function () {
|
|
130
125
|
return $options.onBlur && $options.onBlur.apply($options, arguments);
|
|
126
|
+
}),
|
|
127
|
+
onChange: _cache[2] || (_cache[2] = function () {
|
|
128
|
+
return $options.onChange && $options.onChange.apply($options, arguments);
|
|
131
129
|
})
|
|
132
|
-
},
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
style: _ctx.inputStyle
|
|
136
|
-
}, _objectSpread(_objectSpread({}, _ctx.inputProps), _ctx.ptm('input')), {
|
|
137
|
-
"data-p-highlight": $options.checked,
|
|
138
|
-
"data-p-disabled": _ctx.disabled,
|
|
139
|
-
"data-p-focused": $data.focused
|
|
140
|
-
}), [vue.createElementVNode("div", vue.mergeProps({
|
|
130
|
+
}, $options.getPTOptions('input')), null, 16, _hoisted_2), vue.createElementVNode("div", vue.mergeProps({
|
|
131
|
+
"class": _ctx.cx('box')
|
|
132
|
+
}, $options.getPTOptions('box')), [vue.createElementVNode("div", vue.mergeProps({
|
|
141
133
|
"class": _ctx.cx('icon')
|
|
142
|
-
},
|
|
134
|
+
}, $options.getPTOptions('icon')), null, 16)], 16)], 16, _hoisted_1);
|
|
143
135
|
}
|
|
144
136
|
|
|
145
137
|
script.render = render;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("primevue/utils"),t=require("primevue/basecomponent"),
|
|
1
|
+
"use strict";var e=require("primevue/utils"),t=require("primevue/basecomponent"),a=require("primevue/radiobutton/style"),n=require("vue");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i={name:"RadioButton",extends:{name:"BaseRadioButton",extends:l(t).default,props:{value:null,modelValue:null,binary:Boolean,name:{type:String,default: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(a).default,provide:function(){return{$parentInstance:this}}},emits:["update:modelValue","change","focus","blur"],methods:{getPTOptions:function(e){return this.ptm(e,{context:{checked:this.checked,disabled:this.disabled}})},onChange:function(e){this.disabled||this.readonly||(this.$emit("update:modelValue",this.binary?!this.checked:this.value),this.$emit("change",e))},onFocus:function(e){this.$emit("focus",e)},onBlur:function(e){this.$emit("blur",e)}},computed:{checked:function(){return null!=this.modelValue&&(this.binary?!!this.modelValue:e.ObjectUtils.equals(this.modelValue,this.value))}}},u=["data-p-highlight","data-p-disabled"],d=["id","value","name","checked","tabindex","disabled","readonly","aria-labelledby","aria-label"];i.render=function(e,t,a,l,i,o){return n.openBlock(),n.createElementBlock("div",n.mergeProps({class:e.cx("root")},o.getPTOptions("root"),{"data-pc-name":"radiobutton","data-p-highlight":o.checked,"data-p-disabled":e.disabled}),[n.createElementVNode("input",n.mergeProps({id:e.inputId,type:"radio",class:[e.cx("input"),e.inputClass],style:e.inputStyle,value:e.value,name:e.name,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,d),n.createElementVNode("div",n.mergeProps({class:e.cx("box")},o.getPTOptions("box")),[n.createElementVNode("div",n.mergeProps({class:e.cx("icon")},o.getPTOptions("icon")),null,16)],16)],16,u)},module.exports=i;
|
|
@@ -9,6 +9,7 @@ var script$1 = {
|
|
|
9
9
|
props: {
|
|
10
10
|
value: null,
|
|
11
11
|
modelValue: null,
|
|
12
|
+
binary: Boolean,
|
|
12
13
|
name: {
|
|
13
14
|
type: String,
|
|
14
15
|
"default": null
|
|
@@ -17,6 +18,14 @@ var script$1 = {
|
|
|
17
18
|
type: Boolean,
|
|
18
19
|
"default": false
|
|
19
20
|
},
|
|
21
|
+
readonly: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
"default": false
|
|
24
|
+
},
|
|
25
|
+
tabindex: {
|
|
26
|
+
type: Number,
|
|
27
|
+
"default": null
|
|
28
|
+
},
|
|
20
29
|
inputId: {
|
|
21
30
|
type: String,
|
|
22
31
|
"default": null
|
|
@@ -29,10 +38,6 @@ var script$1 = {
|
|
|
29
38
|
type: Object,
|
|
30
39
|
"default": null
|
|
31
40
|
},
|
|
32
|
-
inputProps: {
|
|
33
|
-
type: null,
|
|
34
|
-
"default": null
|
|
35
|
-
},
|
|
36
41
|
ariaLabelledby: {
|
|
37
42
|
type: String,
|
|
38
43
|
"default": null
|
|
@@ -53,67 +58,57 @@ var script$1 = {
|
|
|
53
58
|
var script = {
|
|
54
59
|
name: 'RadioButton',
|
|
55
60
|
"extends": script$1,
|
|
56
|
-
emits: ['
|
|
57
|
-
data: function data() {
|
|
58
|
-
return {
|
|
59
|
-
focused: false
|
|
60
|
-
};
|
|
61
|
-
},
|
|
61
|
+
emits: ['update:modelValue', 'change', 'focus', 'blur'],
|
|
62
62
|
methods: {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
if (!this.checked) {
|
|
69
|
-
this.$emit('change', event);
|
|
63
|
+
getPTOptions: function getPTOptions(key) {
|
|
64
|
+
return this.ptm(key, {
|
|
65
|
+
context: {
|
|
66
|
+
checked: this.checked,
|
|
67
|
+
disabled: this.disabled
|
|
70
68
|
}
|
|
69
|
+
});
|
|
70
|
+
},
|
|
71
|
+
onChange: function onChange(event) {
|
|
72
|
+
if (!this.disabled && !this.readonly) {
|
|
73
|
+
var newModelValue = this.binary ? !this.checked : this.value;
|
|
74
|
+
this.$emit('update:modelValue', newModelValue);
|
|
75
|
+
this.$emit('change', event);
|
|
71
76
|
}
|
|
72
77
|
},
|
|
73
78
|
onFocus: function onFocus(event) {
|
|
74
|
-
this.focused = true;
|
|
75
79
|
this.$emit('focus', event);
|
|
76
80
|
},
|
|
77
81
|
onBlur: function onBlur(event) {
|
|
78
|
-
this.focused = false;
|
|
79
82
|
this.$emit('blur', event);
|
|
80
83
|
}
|
|
81
84
|
},
|
|
82
85
|
computed: {
|
|
83
86
|
checked: function checked() {
|
|
84
|
-
return this.modelValue != null && ObjectUtils.equals(this.modelValue, this.value);
|
|
87
|
+
return this.modelValue != null && (this.binary ? !!this.modelValue : ObjectUtils.equals(this.modelValue, this.value));
|
|
85
88
|
}
|
|
86
89
|
}
|
|
87
90
|
};
|
|
88
91
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
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; }
|
|
92
|
-
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; }
|
|
93
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
94
|
-
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); }
|
|
95
|
-
var _hoisted_1 = ["id", "name", "checked", "disabled", "value", "aria-labelledby", "aria-label"];
|
|
96
|
-
var _hoisted_2 = ["data-p-highlight", "data-p-disabled", "data-p-focused"];
|
|
92
|
+
var _hoisted_1 = ["data-p-highlight", "data-p-disabled"];
|
|
93
|
+
var _hoisted_2 = ["id", "value", "name", "checked", "tabindex", "disabled", "readonly", "aria-labelledby", "aria-label"];
|
|
97
94
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
98
95
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
99
|
-
"class": _ctx.cx('root')
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
"data-pc-name": "radiobutton"
|
|
105
|
-
}), [createElementVNode("div", mergeProps({
|
|
106
|
-
"class": "p-hidden-accessible"
|
|
107
|
-
}, _ctx.ptm('hiddenInputWrapper'), {
|
|
108
|
-
"data-p-hidden-accessible": true
|
|
96
|
+
"class": _ctx.cx('root')
|
|
97
|
+
}, $options.getPTOptions('root'), {
|
|
98
|
+
"data-pc-name": "radiobutton",
|
|
99
|
+
"data-p-highlight": $options.checked,
|
|
100
|
+
"data-p-disabled": _ctx.disabled
|
|
109
101
|
}), [createElementVNode("input", mergeProps({
|
|
110
|
-
ref: "input",
|
|
111
102
|
id: _ctx.inputId,
|
|
112
103
|
type: "radio",
|
|
104
|
+
"class": [_ctx.cx('input'), _ctx.inputClass],
|
|
105
|
+
style: _ctx.inputStyle,
|
|
106
|
+
value: _ctx.value,
|
|
113
107
|
name: _ctx.name,
|
|
114
108
|
checked: $options.checked,
|
|
109
|
+
tabindex: _ctx.tabindex,
|
|
115
110
|
disabled: _ctx.disabled,
|
|
116
|
-
|
|
111
|
+
readonly: _ctx.readonly,
|
|
117
112
|
"aria-labelledby": _ctx.ariaLabelledby,
|
|
118
113
|
"aria-label": _ctx.ariaLabel,
|
|
119
114
|
onFocus: _cache[0] || (_cache[0] = function () {
|
|
@@ -121,18 +116,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
121
116
|
}),
|
|
122
117
|
onBlur: _cache[1] || (_cache[1] = function () {
|
|
123
118
|
return $options.onBlur && $options.onBlur.apply($options, arguments);
|
|
119
|
+
}),
|
|
120
|
+
onChange: _cache[2] || (_cache[2] = function () {
|
|
121
|
+
return $options.onChange && $options.onChange.apply($options, arguments);
|
|
124
122
|
})
|
|
125
|
-
},
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
style: _ctx.inputStyle
|
|
129
|
-
}, _objectSpread(_objectSpread({}, _ctx.inputProps), _ctx.ptm('input')), {
|
|
130
|
-
"data-p-highlight": $options.checked,
|
|
131
|
-
"data-p-disabled": _ctx.disabled,
|
|
132
|
-
"data-p-focused": $data.focused
|
|
133
|
-
}), [createElementVNode("div", mergeProps({
|
|
123
|
+
}, $options.getPTOptions('input')), null, 16, _hoisted_2), createElementVNode("div", mergeProps({
|
|
124
|
+
"class": _ctx.cx('box')
|
|
125
|
+
}, $options.getPTOptions('box')), [createElementVNode("div", mergeProps({
|
|
134
126
|
"class": _ctx.cx('icon')
|
|
135
|
-
},
|
|
127
|
+
}, $options.getPTOptions('icon')), null, 16)], 16)], 16, _hoisted_1);
|
|
136
128
|
}
|
|
137
129
|
|
|
138
130
|
script.render = render;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{ObjectUtils as e}from"primevue/utils";import t from"primevue/basecomponent";import
|
|
1
|
+
import{ObjectUtils as e}from"primevue/utils";import t from"primevue/basecomponent";import a from"primevue/radiobutton/style";import{openBlock as n,createElementBlock as l,mergeProps as i,createElementVNode as u}from"vue";var o={name:"RadioButton",extends:{name:"BaseRadioButton",extends:t,props:{value:null,modelValue:null,binary:Boolean,name:{type:String,default: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:a,provide:function(){return{$parentInstance:this}}},emits:["update:modelValue","change","focus","blur"],methods:{getPTOptions:function(e){return this.ptm(e,{context:{checked:this.checked,disabled:this.disabled}})},onChange:function(e){this.disabled||this.readonly||(this.$emit("update:modelValue",this.binary?!this.checked:this.value),this.$emit("change",e))},onFocus:function(e){this.$emit("focus",e)},onBlur:function(e){this.$emit("blur",e)}},computed:{checked:function(){return null!=this.modelValue&&(this.binary?!!this.modelValue:e.equals(this.modelValue,this.value))}}},d=["data-p-highlight","data-p-disabled"],r=["id","value","name","checked","tabindex","disabled","readonly","aria-labelledby","aria-label"];o.render=function(e,t,a,o,s,p){return n(),l("div",i({class:e.cx("root")},p.getPTOptions("root"),{"data-pc-name":"radiobutton","data-p-highlight":p.checked,"data-p-disabled":e.disabled}),[u("input",i({id:e.inputId,type:"radio",class:[e.cx("input"),e.inputClass],style:e.inputStyle,value:e.value,name:e.name,checked:p.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 p.onFocus&&p.onFocus.apply(p,arguments)}),onBlur:t[1]||(t[1]=function(){return p.onBlur&&p.onBlur.apply(p,arguments)}),onChange:t[2]||(t[2]=function(){return p.onChange&&p.onChange.apply(p,arguments)})},p.getPTOptions("input")),null,16,r),u("div",i({class:e.cx("box")},p.getPTOptions("box")),[u("div",i({class:e.cx("icon")},p.getPTOptions("icon")),null,16)],16)],16,d)};export{o as default};
|
|
@@ -13,6 +13,7 @@ this.primevue.radiobutton = (function (utils, BaseComponent, RadioButtonStyle, v
|
|
|
13
13
|
props: {
|
|
14
14
|
value: null,
|
|
15
15
|
modelValue: null,
|
|
16
|
+
binary: Boolean,
|
|
16
17
|
name: {
|
|
17
18
|
type: String,
|
|
18
19
|
"default": null
|
|
@@ -21,6 +22,14 @@ this.primevue.radiobutton = (function (utils, BaseComponent, RadioButtonStyle, v
|
|
|
21
22
|
type: Boolean,
|
|
22
23
|
"default": false
|
|
23
24
|
},
|
|
25
|
+
readonly: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
"default": false
|
|
28
|
+
},
|
|
29
|
+
tabindex: {
|
|
30
|
+
type: Number,
|
|
31
|
+
"default": null
|
|
32
|
+
},
|
|
24
33
|
inputId: {
|
|
25
34
|
type: String,
|
|
26
35
|
"default": null
|
|
@@ -33,10 +42,6 @@ this.primevue.radiobutton = (function (utils, BaseComponent, RadioButtonStyle, v
|
|
|
33
42
|
type: Object,
|
|
34
43
|
"default": null
|
|
35
44
|
},
|
|
36
|
-
inputProps: {
|
|
37
|
-
type: null,
|
|
38
|
-
"default": null
|
|
39
|
-
},
|
|
40
45
|
ariaLabelledby: {
|
|
41
46
|
type: String,
|
|
42
47
|
"default": null
|
|
@@ -57,67 +62,57 @@ this.primevue.radiobutton = (function (utils, BaseComponent, RadioButtonStyle, v
|
|
|
57
62
|
var script = {
|
|
58
63
|
name: 'RadioButton',
|
|
59
64
|
"extends": script$1,
|
|
60
|
-
emits: ['
|
|
61
|
-
data: function data() {
|
|
62
|
-
return {
|
|
63
|
-
focused: false
|
|
64
|
-
};
|
|
65
|
-
},
|
|
65
|
+
emits: ['update:modelValue', 'change', 'focus', 'blur'],
|
|
66
66
|
methods: {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
if (!this.checked) {
|
|
73
|
-
this.$emit('change', event);
|
|
67
|
+
getPTOptions: function getPTOptions(key) {
|
|
68
|
+
return this.ptm(key, {
|
|
69
|
+
context: {
|
|
70
|
+
checked: this.checked,
|
|
71
|
+
disabled: this.disabled
|
|
74
72
|
}
|
|
73
|
+
});
|
|
74
|
+
},
|
|
75
|
+
onChange: function onChange(event) {
|
|
76
|
+
if (!this.disabled && !this.readonly) {
|
|
77
|
+
var newModelValue = this.binary ? !this.checked : this.value;
|
|
78
|
+
this.$emit('update:modelValue', newModelValue);
|
|
79
|
+
this.$emit('change', event);
|
|
75
80
|
}
|
|
76
81
|
},
|
|
77
82
|
onFocus: function onFocus(event) {
|
|
78
|
-
this.focused = true;
|
|
79
83
|
this.$emit('focus', event);
|
|
80
84
|
},
|
|
81
85
|
onBlur: function onBlur(event) {
|
|
82
|
-
this.focused = false;
|
|
83
86
|
this.$emit('blur', event);
|
|
84
87
|
}
|
|
85
88
|
},
|
|
86
89
|
computed: {
|
|
87
90
|
checked: function checked() {
|
|
88
|
-
return this.modelValue != null && utils.ObjectUtils.equals(this.modelValue, this.value);
|
|
91
|
+
return this.modelValue != null && (this.binary ? !!this.modelValue : utils.ObjectUtils.equals(this.modelValue, this.value));
|
|
89
92
|
}
|
|
90
93
|
}
|
|
91
94
|
};
|
|
92
95
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
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; }
|
|
96
|
-
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; }
|
|
97
|
-
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
98
|
-
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); }
|
|
99
|
-
var _hoisted_1 = ["id", "name", "checked", "disabled", "value", "aria-labelledby", "aria-label"];
|
|
100
|
-
var _hoisted_2 = ["data-p-highlight", "data-p-disabled", "data-p-focused"];
|
|
96
|
+
var _hoisted_1 = ["data-p-highlight", "data-p-disabled"];
|
|
97
|
+
var _hoisted_2 = ["id", "value", "name", "checked", "tabindex", "disabled", "readonly", "aria-labelledby", "aria-label"];
|
|
101
98
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
102
99
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
103
|
-
"class": _ctx.cx('root')
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
"data-pc-name": "radiobutton"
|
|
109
|
-
}), [vue.createElementVNode("div", vue.mergeProps({
|
|
110
|
-
"class": "p-hidden-accessible"
|
|
111
|
-
}, _ctx.ptm('hiddenInputWrapper'), {
|
|
112
|
-
"data-p-hidden-accessible": true
|
|
100
|
+
"class": _ctx.cx('root')
|
|
101
|
+
}, $options.getPTOptions('root'), {
|
|
102
|
+
"data-pc-name": "radiobutton",
|
|
103
|
+
"data-p-highlight": $options.checked,
|
|
104
|
+
"data-p-disabled": _ctx.disabled
|
|
113
105
|
}), [vue.createElementVNode("input", vue.mergeProps({
|
|
114
|
-
ref: "input",
|
|
115
106
|
id: _ctx.inputId,
|
|
116
107
|
type: "radio",
|
|
108
|
+
"class": [_ctx.cx('input'), _ctx.inputClass],
|
|
109
|
+
style: _ctx.inputStyle,
|
|
110
|
+
value: _ctx.value,
|
|
117
111
|
name: _ctx.name,
|
|
118
112
|
checked: $options.checked,
|
|
113
|
+
tabindex: _ctx.tabindex,
|
|
119
114
|
disabled: _ctx.disabled,
|
|
120
|
-
|
|
115
|
+
readonly: _ctx.readonly,
|
|
121
116
|
"aria-labelledby": _ctx.ariaLabelledby,
|
|
122
117
|
"aria-label": _ctx.ariaLabel,
|
|
123
118
|
onFocus: _cache[0] || (_cache[0] = function () {
|
|
@@ -125,18 +120,15 @@ this.primevue.radiobutton = (function (utils, BaseComponent, RadioButtonStyle, v
|
|
|
125
120
|
}),
|
|
126
121
|
onBlur: _cache[1] || (_cache[1] = function () {
|
|
127
122
|
return $options.onBlur && $options.onBlur.apply($options, arguments);
|
|
123
|
+
}),
|
|
124
|
+
onChange: _cache[2] || (_cache[2] = function () {
|
|
125
|
+
return $options.onChange && $options.onChange.apply($options, arguments);
|
|
128
126
|
})
|
|
129
|
-
},
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
style: _ctx.inputStyle
|
|
133
|
-
}, _objectSpread(_objectSpread({}, _ctx.inputProps), _ctx.ptm('input')), {
|
|
134
|
-
"data-p-highlight": $options.checked,
|
|
135
|
-
"data-p-disabled": _ctx.disabled,
|
|
136
|
-
"data-p-focused": $data.focused
|
|
137
|
-
}), [vue.createElementVNode("div", vue.mergeProps({
|
|
127
|
+
}, $options.getPTOptions('input')), null, 16, _hoisted_2), vue.createElementVNode("div", vue.mergeProps({
|
|
128
|
+
"class": _ctx.cx('box')
|
|
129
|
+
}, $options.getPTOptions('box')), [vue.createElementVNode("div", vue.mergeProps({
|
|
138
130
|
"class": _ctx.cx('icon')
|
|
139
|
-
},
|
|
131
|
+
}, $options.getPTOptions('icon')), null, 16)], 16)], 16, _hoisted_1);
|
|
140
132
|
}
|
|
141
133
|
|
|
142
134
|
script.render = render;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.radiobutton=function(e,t,n,
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.radiobutton=function(e,t,n,a){"use strict";function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i={name:"RadioButton",extends:{name:"BaseRadioButton",extends:l(t).default,props:{value:null,modelValue:null,binary:Boolean,name:{type:String,default: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(n).default,provide:function(){return{$parentInstance:this}}},emits:["update:modelValue","change","focus","blur"],methods:{getPTOptions:function(e){return this.ptm(e,{context:{checked:this.checked,disabled:this.disabled}})},onChange:function(e){this.disabled||this.readonly||(this.$emit("update:modelValue",this.binary?!this.checked:this.value),this.$emit("change",e))},onFocus:function(e){this.$emit("focus",e)},onBlur:function(e){this.$emit("blur",e)}},computed:{checked:function(){return null!=this.modelValue&&(this.binary?!!this.modelValue:e.ObjectUtils.equals(this.modelValue,this.value))}}},u=["data-p-highlight","data-p-disabled"],o=["id","value","name","checked","tabindex","disabled","readonly","aria-labelledby","aria-label"];return i.render=function(e,t,n,l,i,d){return a.openBlock(),a.createElementBlock("div",a.mergeProps({class:e.cx("root")},d.getPTOptions("root"),{"data-pc-name":"radiobutton","data-p-highlight":d.checked,"data-p-disabled":e.disabled}),[a.createElementVNode("input",a.mergeProps({id:e.inputId,type:"radio",class:[e.cx("input"),e.inputClass],style:e.inputStyle,value:e.value,name:e.name,checked:d.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 d.onFocus&&d.onFocus.apply(d,arguments)}),onBlur:t[1]||(t[1]=function(){return d.onBlur&&d.onBlur.apply(d,arguments)}),onChange:t[2]||(t[2]=function(){return d.onChange&&d.onChange.apply(d,arguments)})},d.getPTOptions("input")),null,16,o),a.createElementVNode("div",a.mergeProps({class:e.cx("box")},d.getPTOptions("box")),[a.createElementVNode("div",a.mergeProps({class:e.cx("icon")},d.getPTOptions("icon")),null,16)],16)],16,u)},i}(primevue.utils,primevue.basecomponent,primevue.radiobutton.style,Vue);
|
|
@@ -6,29 +6,23 @@ 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-radiobutton {\n position: relative;\n display: inline-flex;\n user-select: none;\n vertical-align: bottom;\n }\n\n .p-radiobutton-input {\n cursor: pointer;\n }\n\n .p-radiobutton-box {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .p-radiobutton-icon {\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n transform: translateZ(0) scale(.1);\n border-radius: 50%;\n visibility: hidden;\n }\n\n .p-radiobutton.p-highlight .p-radiobutton-icon {\n transform: translateZ(0) scale(1.0, 1.0);\n visibility: visible;\n }\n}\n";
|
|
9
10
|
var classes = {
|
|
10
11
|
root: function root(_ref) {
|
|
11
12
|
var instance = _ref.instance,
|
|
12
13
|
props = _ref.props;
|
|
13
14
|
return ['p-radiobutton p-component', {
|
|
14
|
-
'p-radiobutton-checked': instance.checked,
|
|
15
|
-
'p-radiobutton-disabled': props.disabled,
|
|
16
|
-
'p-radiobutton-focused': instance.focused
|
|
17
|
-
}];
|
|
18
|
-
},
|
|
19
|
-
input: function input(_ref2) {
|
|
20
|
-
var instance = _ref2.instance,
|
|
21
|
-
props = _ref2.props;
|
|
22
|
-
return ['p-radiobutton-box', {
|
|
23
15
|
'p-highlight': instance.checked,
|
|
24
|
-
'p-disabled': props.disabled
|
|
25
|
-
'p-focus': instance.focused
|
|
16
|
+
'p-disabled': props.disabled
|
|
26
17
|
}];
|
|
27
18
|
},
|
|
19
|
+
box: 'p-radiobutton-box',
|
|
20
|
+
input: 'p-radiobutton-input',
|
|
28
21
|
icon: 'p-radiobutton-icon'
|
|
29
22
|
};
|
|
30
23
|
var RadioButtonStyle = BaseStyle__default["default"].extend({
|
|
31
24
|
name: 'radiobutton',
|
|
25
|
+
css: css,
|
|
32
26
|
classes: classes
|
|
33
27
|
});
|
|
34
28
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function
|
|
1
|
+
"use strict";function n(n){return n&&"object"==typeof n&&"default"in n?n:{default:n}}var i=n(require("primevue/base/style")).default.extend({name:"radiobutton",css:"\n@layer primevue {\n .p-radiobutton {\n position: relative;\n display: inline-flex;\n user-select: none;\n vertical-align: bottom;\n }\n\n .p-radiobutton-input {\n cursor: pointer;\n }\n\n .p-radiobutton-box {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .p-radiobutton-icon {\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n transform: translateZ(0) scale(.1);\n border-radius: 50%;\n visibility: hidden;\n }\n\n .p-radiobutton.p-highlight .p-radiobutton-icon {\n transform: translateZ(0) scale(1.0, 1.0);\n visibility: visible;\n }\n}\n",classes:{root:function(n){return["p-radiobutton p-component",{"p-highlight":n.instance.checked,"p-disabled":n.props.disabled}]},box:"p-radiobutton-box",input:"p-radiobutton-input",icon:"p-radiobutton-icon"}});module.exports=i;
|
|
@@ -1,28 +1,22 @@
|
|
|
1
1
|
import BaseStyle from 'primevue/base/style';
|
|
2
2
|
|
|
3
|
+
var css = "\n@layer primevue {\n .p-radiobutton {\n position: relative;\n display: inline-flex;\n user-select: none;\n vertical-align: bottom;\n }\n\n .p-radiobutton-input {\n cursor: pointer;\n }\n\n .p-radiobutton-box {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .p-radiobutton-icon {\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n transform: translateZ(0) scale(.1);\n border-radius: 50%;\n visibility: hidden;\n }\n\n .p-radiobutton.p-highlight .p-radiobutton-icon {\n transform: translateZ(0) scale(1.0, 1.0);\n visibility: visible;\n }\n}\n";
|
|
3
4
|
var classes = {
|
|
4
5
|
root: function root(_ref) {
|
|
5
6
|
var instance = _ref.instance,
|
|
6
7
|
props = _ref.props;
|
|
7
8
|
return ['p-radiobutton p-component', {
|
|
8
|
-
'p-radiobutton-checked': instance.checked,
|
|
9
|
-
'p-radiobutton-disabled': props.disabled,
|
|
10
|
-
'p-radiobutton-focused': instance.focused
|
|
11
|
-
}];
|
|
12
|
-
},
|
|
13
|
-
input: function input(_ref2) {
|
|
14
|
-
var instance = _ref2.instance,
|
|
15
|
-
props = _ref2.props;
|
|
16
|
-
return ['p-radiobutton-box', {
|
|
17
9
|
'p-highlight': instance.checked,
|
|
18
|
-
'p-disabled': props.disabled
|
|
19
|
-
'p-focus': instance.focused
|
|
10
|
+
'p-disabled': props.disabled
|
|
20
11
|
}];
|
|
21
12
|
},
|
|
13
|
+
box: 'p-radiobutton-box',
|
|
14
|
+
input: 'p-radiobutton-input',
|
|
22
15
|
icon: 'p-radiobutton-icon'
|
|
23
16
|
};
|
|
24
17
|
var RadioButtonStyle = BaseStyle.extend({
|
|
25
18
|
name: 'radiobutton',
|
|
19
|
+
css: css,
|
|
26
20
|
classes: classes
|
|
27
21
|
});
|
|
28
22
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import n from"primevue/base/style";var i=n.extend({name:"radiobutton",css:"\n@layer primevue {\n .p-radiobutton {\n position: relative;\n display: inline-flex;\n user-select: none;\n vertical-align: bottom;\n }\n\n .p-radiobutton-input {\n cursor: pointer;\n }\n\n .p-radiobutton-box {\n display: flex;\n justify-content: center;\n align-items: center;\n }\n\n .p-radiobutton-icon {\n -webkit-backface-visibility: hidden;\n backface-visibility: hidden;\n transform: translateZ(0) scale(.1);\n border-radius: 50%;\n visibility: hidden;\n }\n\n .p-radiobutton.p-highlight .p-radiobutton-icon {\n transform: translateZ(0) scale(1.0, 1.0);\n visibility: visible;\n }\n}\n",classes:{root:function(n){return["p-radiobutton p-component",{"p-highlight":n.instance.checked,"p-disabled":n.props.disabled}]},box:"p-radiobutton-box",input:"p-radiobutton-input",icon:"p-radiobutton-icon"}});export{i as default};
|