primevue 3.47.2 → 3.48.1
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 +1 -1
- package/accordion/style/accordionstyle.cjs.js +0 -2
- package/accordion/style/accordionstyle.cjs.min.js +1 -1
- package/accordion/style/accordionstyle.esm.js +0 -2
- package/accordion/style/accordionstyle.esm.min.js +1 -1
- package/accordion/style/accordionstyle.js +0 -2
- package/accordion/style/accordionstyle.min.js +1 -1
- package/autocomplete/AutoComplete.d.ts +10 -0
- package/autocomplete/AutoComplete.vue +2 -14
- package/autocomplete/BaseAutoComplete.vue +8 -0
- package/autocomplete/autocomplete.cjs.js +10 -5
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +10 -5
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +10 -5
- package/autocomplete/autocomplete.min.js +1 -1
- package/autocomplete/style/autocompletestyle.cjs.js +23 -16
- package/autocomplete/style/autocompletestyle.cjs.min.js +1 -1
- package/autocomplete/style/autocompletestyle.esm.js +23 -16
- package/autocomplete/style/autocompletestyle.esm.min.js +1 -1
- package/autocomplete/style/autocompletestyle.js +23 -16
- package/autocomplete/style/autocompletestyle.min.js +1 -1
- package/avatar/Avatar.vue +1 -1
- package/avatar/avatar.cjs.js +1 -3
- package/avatar/avatar.cjs.min.js +1 -1
- package/avatar/avatar.esm.js +1 -3
- package/avatar/avatar.esm.min.js +1 -1
- package/avatar/avatar.js +1 -3
- package/avatar/avatar.min.js +1 -1
- package/avatar/style/avatarstyle.cjs.js +0 -2
- package/avatar/style/avatarstyle.cjs.min.js +1 -1
- package/avatar/style/avatarstyle.esm.js +0 -2
- package/avatar/style/avatarstyle.esm.min.js +1 -1
- package/avatar/style/avatarstyle.js +0 -2
- package/avatar/style/avatarstyle.min.js +1 -1
- package/avatargroup/AvatarGroup.vue +1 -1
- package/avatargroup/avatargroup.cjs.js +1 -3
- package/avatargroup/avatargroup.cjs.min.js +1 -1
- package/avatargroup/avatargroup.esm.js +1 -3
- package/avatargroup/avatargroup.esm.min.js +1 -1
- package/avatargroup/avatargroup.js +1 -3
- package/avatargroup/avatargroup.min.js +1 -1
- package/avatargroup/style/avatargroupstyle.cjs.js +0 -2
- package/avatargroup/style/avatargroupstyle.cjs.min.js +1 -1
- package/avatargroup/style/avatargroupstyle.esm.js +0 -2
- package/avatargroup/style/avatargroupstyle.esm.min.js +1 -1
- package/avatargroup/style/avatargroupstyle.js +0 -2
- package/avatargroup/style/avatargroupstyle.min.js +1 -1
- package/badge/Badge.d.ts +1 -1
- package/badge/Badge.vue +1 -1
- package/badge/badge.cjs.js +1 -3
- package/badge/badge.cjs.min.js +1 -1
- package/badge/badge.esm.js +1 -3
- package/badge/badge.esm.min.js +1 -1
- package/badge/badge.js +1 -3
- package/badge/badge.min.js +1 -1
- package/badge/style/badgestyle.cjs.js +3 -3
- package/badge/style/badgestyle.cjs.min.js +1 -1
- package/badge/style/badgestyle.esm.js +3 -3
- package/badge/style/badgestyle.esm.min.js +1 -1
- package/badge/style/badgestyle.js +3 -3
- package/badge/style/badgestyle.min.js +1 -1
- package/badgedirective/style/badgedirectivestyle.cjs.js +0 -2
- package/badgedirective/style/badgedirectivestyle.cjs.min.js +1 -1
- package/badgedirective/style/badgedirectivestyle.esm.js +0 -2
- package/badgedirective/style/badgedirectivestyle.esm.min.js +1 -1
- package/badgedirective/style/badgedirectivestyle.js +0 -2
- package/badgedirective/style/badgedirectivestyle.min.js +1 -1
- package/basecomponent/BaseComponent.vue +20 -7
- package/basecomponent/basecomponent.cjs.js +16 -8
- package/basecomponent/basecomponent.cjs.min.js +1 -1
- package/basecomponent/basecomponent.esm.js +16 -8
- package/basecomponent/basecomponent.esm.min.js +1 -1
- package/basecomponent/basecomponent.js +16 -8
- package/basecomponent/basecomponent.min.js +1 -1
- package/basecomponent/style/basecomponentstyle.cjs.js +0 -4
- package/basecomponent/style/basecomponentstyle.cjs.min.js +1 -1
- package/basecomponent/style/basecomponentstyle.esm.js +0 -4
- package/basecomponent/style/basecomponentstyle.esm.min.js +1 -1
- package/basecomponent/style/basecomponentstyle.js +0 -4
- package/basecomponent/style/basecomponentstyle.min.js +1 -1
- package/basedirective/basedirective.cjs.js +16 -4
- package/basedirective/basedirective.cjs.min.js +1 -1
- package/basedirective/basedirective.esm.js +16 -4
- package/basedirective/basedirective.esm.min.js +1 -1
- package/basedirective/basedirective.js +16 -4
- package/basedirective/basedirective.min.js +1 -1
- package/baseicon/BaseIcon.vue +1 -6
- package/baseicon/baseicon.cjs.js +0 -5
- package/baseicon/baseicon.cjs.min.js +1 -1
- package/baseicon/baseicon.esm.js +1 -6
- package/baseicon/baseicon.esm.min.js +1 -1
- package/baseicon/baseicon.js +0 -5
- package/baseicon/baseicon.min.js +1 -1
- package/blockui/BlockUI.vue +0 -2
- package/blockui/blockui.cjs.js +0 -2
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +0 -2
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +0 -2
- package/blockui/blockui.min.js +1 -1
- package/blockui/style/blockuistyle.cjs.js +0 -2
- package/blockui/style/blockuistyle.cjs.min.js +1 -1
- package/blockui/style/blockuistyle.esm.js +0 -2
- package/blockui/style/blockuistyle.esm.min.js +1 -1
- package/blockui/style/blockuistyle.js +0 -2
- package/blockui/style/blockuistyle.min.js +1 -1
- package/breadcrumb/Breadcrumb.vue +1 -1
- package/breadcrumb/breadcrumb.cjs.js +1 -3
- package/breadcrumb/breadcrumb.cjs.min.js +1 -1
- package/breadcrumb/breadcrumb.esm.js +1 -3
- package/breadcrumb/breadcrumb.esm.min.js +1 -1
- package/breadcrumb/breadcrumb.js +1 -3
- package/breadcrumb/breadcrumb.min.js +1 -1
- package/breadcrumb/style/breadcrumbstyle.cjs.js +0 -2
- package/breadcrumb/style/breadcrumbstyle.cjs.min.js +1 -1
- package/breadcrumb/style/breadcrumbstyle.esm.js +0 -2
- package/breadcrumb/style/breadcrumbstyle.esm.min.js +1 -1
- package/breadcrumb/style/breadcrumbstyle.js +0 -2
- package/breadcrumb/style/breadcrumbstyle.min.js +1 -1
- package/button/Button.d.ts +2 -2
- package/button/Button.vue +1 -1
- package/button/button.cjs.js +0 -1
- package/button/button.cjs.min.js +1 -1
- package/button/button.esm.js +0 -1
- package/button/button.esm.min.js +1 -1
- package/button/button.js +0 -1
- package/button/button.min.js +1 -1
- package/calendar/BaseCalendar.vue +8 -0
- package/calendar/Calendar.d.ts +10 -0
- package/calendar/Calendar.vue +13 -8
- package/calendar/calendar.cjs.js +23 -11
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +24 -12
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +23 -11
- package/calendar/calendar.min.js +1 -1
- package/calendar/style/calendarstyle.cjs.js +24 -20
- package/calendar/style/calendarstyle.cjs.min.js +1 -1
- package/calendar/style/calendarstyle.esm.js +24 -20
- package/calendar/style/calendarstyle.esm.min.js +1 -1
- package/calendar/style/calendarstyle.js +24 -20
- package/calendar/style/calendarstyle.min.js +1 -1
- package/card/Card.vue +1 -1
- package/card/card.cjs.js +1 -3
- package/card/card.cjs.min.js +1 -1
- package/card/card.esm.js +1 -3
- package/card/card.esm.min.js +1 -1
- package/card/card.js +1 -3
- package/card/card.min.js +1 -1
- package/carousel/style/carouselstyle.cjs.js +0 -2
- package/carousel/style/carouselstyle.cjs.min.js +1 -1
- package/carousel/style/carouselstyle.esm.js +0 -2
- package/carousel/style/carouselstyle.esm.min.js +1 -1
- package/carousel/style/carouselstyle.js +0 -2
- package/carousel/style/carouselstyle.min.js +1 -1
- package/cascadeselect/BaseCascadeSelect.vue +8 -0
- package/cascadeselect/CascadeSelect.d.ts +10 -0
- package/cascadeselect/CascadeSelect.vue +1 -1
- package/cascadeselect/cascadeselect.cjs.js +9 -3
- package/cascadeselect/cascadeselect.cjs.min.js +1 -1
- package/cascadeselect/cascadeselect.esm.js +9 -3
- package/cascadeselect/cascadeselect.esm.min.js +1 -1
- package/cascadeselect/cascadeselect.js +9 -3
- package/cascadeselect/cascadeselect.min.js +1 -1
- package/cascadeselect/style/cascadeselectstyle.cjs.js +4 -4
- package/cascadeselect/style/cascadeselectstyle.cjs.min.js +1 -1
- package/cascadeselect/style/cascadeselectstyle.esm.js +4 -4
- package/cascadeselect/style/cascadeselectstyle.esm.min.js +1 -1
- package/cascadeselect/style/cascadeselectstyle.js +4 -4
- package/cascadeselect/style/cascadeselectstyle.min.js +1 -1
- package/chart/Chart.vue +1 -1
- package/chart/chart.cjs.js +1 -3
- package/chart/chart.cjs.min.js +1 -1
- package/chart/chart.esm.js +1 -3
- package/chart/chart.esm.min.js +1 -1
- package/chart/chart.js +1 -3
- package/chart/chart.min.js +1 -1
- package/checkbox/BaseCheckbox.vue +8 -0
- package/checkbox/Checkbox.d.ts +10 -0
- package/checkbox/Checkbox.vue +1 -1
- package/checkbox/checkbox.cjs.js +8 -1
- package/checkbox/checkbox.cjs.min.js +1 -1
- package/checkbox/checkbox.esm.js +8 -1
- package/checkbox/checkbox.esm.min.js +1 -1
- package/checkbox/checkbox.js +8 -1
- package/checkbox/checkbox.min.js +1 -1
- package/checkbox/style/checkboxstyle.cjs.js +3 -3
- package/checkbox/style/checkboxstyle.cjs.min.js +1 -1
- package/checkbox/style/checkboxstyle.esm.js +3 -3
- package/checkbox/style/checkboxstyle.esm.min.js +1 -1
- package/checkbox/style/checkboxstyle.js +3 -3
- package/checkbox/style/checkboxstyle.min.js +1 -1
- package/chip/Chip.vue +1 -1
- package/chip/chip.cjs.js +1 -3
- package/chip/chip.cjs.min.js +1 -1
- package/chip/chip.esm.js +1 -3
- package/chip/chip.esm.min.js +1 -1
- package/chip/chip.js +1 -3
- package/chip/chip.min.js +1 -1
- package/chip/style/chipstyle.cjs.js +0 -2
- package/chip/style/chipstyle.cjs.min.js +1 -1
- package/chip/style/chipstyle.esm.js +0 -2
- package/chip/style/chipstyle.esm.min.js +1 -1
- package/chip/style/chipstyle.js +0 -2
- package/chip/style/chipstyle.min.js +1 -1
- package/chips/BaseChips.vue +8 -0
- package/chips/Chips.d.ts +11 -0
- package/chips/Chips.vue +10 -2
- package/chips/chips.cjs.js +18 -4
- package/chips/chips.cjs.min.js +1 -1
- package/chips/chips.esm.js +18 -4
- package/chips/chips.esm.min.js +1 -1
- package/chips/chips.js +18 -4
- package/chips/chips.min.js +1 -1
- package/chips/style/chipsstyle.cjs.js +11 -6
- package/chips/style/chipsstyle.cjs.min.js +1 -1
- package/chips/style/chipsstyle.esm.js +11 -6
- package/chips/style/chipsstyle.esm.min.js +1 -1
- package/chips/style/chipsstyle.js +11 -6
- package/chips/style/chipsstyle.min.js +1 -1
- package/colorpicker/ColorPicker.d.ts +1 -1
- package/colorpicker/ColorPicker.vue +11 -8
- package/colorpicker/colorpicker.cjs.js +12 -14
- package/colorpicker/colorpicker.cjs.min.js +1 -1
- package/colorpicker/colorpicker.esm.js +12 -14
- package/colorpicker/colorpicker.esm.min.js +1 -1
- package/colorpicker/colorpicker.js +12 -14
- package/colorpicker/colorpicker.min.js +1 -1
- package/colorpicker/style/colorpickerstyle.cjs.js +0 -3
- package/colorpicker/style/colorpickerstyle.cjs.min.js +1 -1
- package/colorpicker/style/colorpickerstyle.esm.js +0 -3
- package/colorpicker/style/colorpickerstyle.esm.min.js +1 -1
- package/colorpicker/style/colorpickerstyle.js +0 -3
- package/colorpicker/style/colorpickerstyle.min.js +1 -1
- package/config/PrimeVue.d.ts +2 -2
- package/config/config.cjs.js +1 -1
- package/config/config.cjs.min.js +1 -1
- package/config/config.esm.js +1 -1
- package/config/config.esm.min.js +1 -1
- package/config/config.js +1 -1
- package/config/config.min.js +1 -1
- package/confirmdialog/ConfirmDialog.vue +4 -4
- package/confirmdialog/confirmdialog.cjs.js +4 -6
- package/confirmdialog/confirmdialog.cjs.min.js +1 -1
- package/confirmdialog/confirmdialog.esm.js +4 -6
- package/confirmdialog/confirmdialog.esm.min.js +1 -1
- package/confirmdialog/confirmdialog.js +4 -6
- package/confirmdialog/confirmdialog.min.js +1 -1
- package/confirmpopup/ConfirmPopup.vue +4 -22
- package/confirmpopup/confirmpopup.cjs.js +4 -6
- package/confirmpopup/confirmpopup.cjs.min.js +1 -1
- package/confirmpopup/confirmpopup.esm.js +4 -6
- package/confirmpopup/confirmpopup.esm.min.js +1 -1
- package/confirmpopup/confirmpopup.js +4 -6
- package/confirmpopup/confirmpopup.min.js +1 -1
- package/confirmpopup/style/confirmpopupstyle.cjs.js +0 -3
- package/confirmpopup/style/confirmpopupstyle.cjs.min.js +1 -1
- package/confirmpopup/style/confirmpopupstyle.esm.js +0 -3
- package/confirmpopup/style/confirmpopupstyle.esm.min.js +1 -1
- package/confirmpopup/style/confirmpopupstyle.js +0 -3
- package/confirmpopup/style/confirmpopupstyle.min.js +1 -1
- package/contextmenu/ContextMenu.vue +1 -1
- package/contextmenu/contextmenu.cjs.js +1 -3
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +1 -3
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +1 -3
- package/contextmenu/contextmenu.min.js +1 -1
- package/contextmenu/style/contextmenustyle.cjs.js +0 -3
- package/contextmenu/style/contextmenustyle.cjs.min.js +1 -1
- package/contextmenu/style/contextmenustyle.esm.js +0 -3
- package/contextmenu/style/contextmenustyle.esm.min.js +1 -1
- package/contextmenu/style/contextmenustyle.js +0 -3
- package/contextmenu/style/contextmenustyle.min.js +1 -1
- package/core/core.js +395 -777
- package/core/core.min.js +126 -126
- package/datatable/BodyRow.vue +13 -1
- package/datatable/ColumnFilter.vue +10 -17
- package/datatable/DataTable.vue +2 -2
- package/datatable/HeaderCell.vue +1 -1
- package/datatable/TableBody.vue +5 -2
- package/datatable/datatable.cjs.js +45 -22
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.esm.js +45 -22
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +45 -22
- package/datatable/datatable.min.js +1 -1
- package/datatable/style/datatablestyle.cjs.js +3 -5
- package/datatable/style/datatablestyle.cjs.min.js +1 -1
- package/datatable/style/datatablestyle.esm.js +3 -5
- package/datatable/style/datatablestyle.esm.min.js +1 -1
- package/datatable/style/datatablestyle.js +3 -5
- package/datatable/style/datatablestyle.min.js +1 -1
- package/dataview/DataView.vue +1 -1
- package/dataview/dataview.cjs.js +1 -3
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +1 -3
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +1 -3
- package/dataview/dataview.min.js +1 -1
- package/dialog/Dialog.vue +11 -5
- package/dialog/dialog.cjs.js +10 -4
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +11 -5
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +10 -4
- package/dialog/dialog.min.js +1 -1
- package/dialog/style/dialogstyle.cjs.js +0 -4
- package/dialog/style/dialogstyle.cjs.min.js +1 -1
- package/dialog/style/dialogstyle.esm.js +0 -4
- package/dialog/style/dialogstyle.esm.min.js +1 -1
- package/dialog/style/dialogstyle.js +0 -4
- package/dialog/style/dialogstyle.min.js +1 -1
- package/divider/Divider.vue +1 -1
- package/divider/divider.cjs.js +1 -3
- package/divider/divider.cjs.min.js +1 -1
- package/divider/divider.esm.js +1 -3
- package/divider/divider.esm.min.js +1 -1
- package/divider/divider.js +1 -3
- package/divider/divider.min.js +1 -1
- package/divider/style/dividerstyle.cjs.js +0 -3
- package/divider/style/dividerstyle.cjs.min.js +1 -1
- package/divider/style/dividerstyle.esm.js +0 -3
- package/divider/style/dividerstyle.esm.min.js +1 -1
- package/divider/style/dividerstyle.js +0 -3
- package/divider/style/dividerstyle.min.js +1 -1
- package/dock/Dock.vue +1 -1
- package/dock/dock.cjs.js +1 -3
- package/dock/dock.cjs.min.js +1 -1
- package/dock/dock.esm.js +1 -3
- package/dock/dock.esm.min.js +1 -1
- package/dock/dock.js +1 -3
- package/dock/dock.min.js +1 -1
- package/dock/style/dockstyle.cjs.js +0 -2
- package/dock/style/dockstyle.cjs.min.js +1 -1
- package/dock/style/dockstyle.esm.js +0 -2
- package/dock/style/dockstyle.esm.min.js +1 -1
- package/dock/style/dockstyle.js +0 -2
- package/dock/style/dockstyle.min.js +1 -1
- package/dropdown/BaseDropdown.vue +8 -0
- package/dropdown/Dropdown.d.ts +10 -0
- package/dropdown/Dropdown.vue +5 -4
- package/dropdown/dropdown.cjs.js +23 -14
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +22 -13
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +24 -15
- package/dropdown/dropdown.min.js +1 -1
- package/dropdown/style/dropdownstyle.cjs.js +17 -11
- package/dropdown/style/dropdownstyle.cjs.min.js +1 -1
- package/dropdown/style/dropdownstyle.esm.js +17 -11
- package/dropdown/style/dropdownstyle.esm.min.js +1 -1
- package/dropdown/style/dropdownstyle.js +17 -11
- package/dropdown/style/dropdownstyle.min.js +1 -1
- package/editor/Editor.vue +1 -1
- package/editor/editor.cjs.js +1 -3
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +1 -3
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +1 -3
- package/editor/editor.min.js +1 -1
- package/fieldset/Fieldset.vue +12 -8
- package/fieldset/fieldset.cjs.js +13 -11
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +13 -11
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +13 -11
- package/fieldset/fieldset.min.js +1 -1
- package/fieldset/style/fieldsetstyle.cjs.js +0 -2
- package/fieldset/style/fieldsetstyle.cjs.min.js +1 -1
- package/fieldset/style/fieldsetstyle.esm.js +0 -2
- package/fieldset/style/fieldsetstyle.esm.min.js +1 -1
- package/fieldset/style/fieldsetstyle.js +0 -2
- package/fieldset/style/fieldsetstyle.min.js +1 -1
- package/fileupload/FileUpload.vue +4 -4
- package/fileupload/fileupload.cjs.js +4 -10
- package/fileupload/fileupload.cjs.min.js +1 -1
- package/fileupload/fileupload.esm.js +4 -10
- package/fileupload/fileupload.esm.min.js +1 -1
- package/fileupload/fileupload.js +4 -10
- package/fileupload/fileupload.min.js +1 -1
- package/fileupload/style/fileuploadstyle.cjs.js +0 -2
- package/fileupload/style/fileuploadstyle.cjs.min.js +1 -1
- package/fileupload/style/fileuploadstyle.esm.js +0 -2
- package/fileupload/style/fileuploadstyle.esm.min.js +1 -1
- package/fileupload/style/fileuploadstyle.js +0 -2
- package/fileupload/style/fileuploadstyle.min.js +1 -1
- package/floatlabel/BaseFloatLabel.vue +16 -0
- package/floatlabel/FloatLabel.d.ts +124 -0
- package/floatlabel/FloatLabel.vue +14 -0
- package/floatlabel/floatlabel.cjs.js +37 -0
- package/floatlabel/floatlabel.cjs.min.js +1 -0
- package/floatlabel/floatlabel.esm.js +30 -0
- package/floatlabel/floatlabel.esm.min.js +1 -0
- package/floatlabel/floatlabel.js +37 -0
- package/floatlabel/floatlabel.min.js +1 -0
- package/floatlabel/package.json +9 -0
- package/floatlabel/style/FloatLabelStyle.d.ts +3 -0
- package/floatlabel/style/floatlabelstyle.cjs.js +17 -0
- package/floatlabel/style/floatlabelstyle.cjs.min.js +1 -0
- package/floatlabel/style/floatlabelstyle.esm.js +11 -0
- package/floatlabel/style/floatlabelstyle.esm.min.js +1 -0
- package/floatlabel/style/floatlabelstyle.js +20 -0
- package/floatlabel/style/floatlabelstyle.min.js +1 -0
- package/floatlabel/style/package.json +6 -0
- package/galleria/GalleriaContent.vue +7 -2
- package/galleria/galleria.cjs.js +8 -4
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +8 -4
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +8 -4
- package/galleria/galleria.min.js +1 -1
- package/galleria/style/galleriastyle.cjs.js +0 -3
- package/galleria/style/galleriastyle.cjs.min.js +1 -1
- package/galleria/style/galleriastyle.esm.js +0 -3
- package/galleria/style/galleriastyle.esm.min.js +1 -1
- package/galleria/style/galleriastyle.js +0 -3
- package/galleria/style/galleriastyle.min.js +1 -1
- package/iconfield/BaseIconField.vue +21 -0
- package/iconfield/IconField.d.ts +127 -0
- package/iconfield/IconField.vue +14 -0
- package/iconfield/iconfield.cjs.js +42 -0
- package/iconfield/iconfield.cjs.min.js +1 -0
- package/iconfield/iconfield.esm.js +35 -0
- package/iconfield/iconfield.esm.min.js +1 -0
- package/iconfield/iconfield.js +42 -0
- package/iconfield/iconfield.min.js +1 -0
- package/iconfield/package.json +9 -0
- package/iconfield/style/IconField.d.ts +3 -0
- package/iconfield/style/iconfieldstyle.cjs.js +23 -0
- package/iconfield/style/iconfieldstyle.cjs.min.js +1 -0
- package/iconfield/style/iconfieldstyle.esm.js +17 -0
- package/iconfield/style/iconfieldstyle.esm.min.js +1 -0
- package/iconfield/style/iconfieldstyle.js +26 -0
- package/iconfield/style/iconfieldstyle.min.js +1 -0
- package/iconfield/style/package.json +6 -0
- package/icons/arrowdown/index.cjs.js +3 -15
- package/icons/arrowdown/index.cjs.min.js +1 -1
- package/icons/arrowdown/index.esm.js +3 -15
- package/icons/arrowdown/index.esm.min.js +1 -1
- package/icons/arrowdown/index.js +3 -15
- package/icons/arrowdown/index.min.js +1 -1
- package/icons/arrowdown/index.vue +6 -13
- package/icons/arrowup/index.cjs.js +3 -15
- package/icons/arrowup/index.cjs.min.js +1 -1
- package/icons/arrowup/index.esm.js +3 -15
- package/icons/arrowup/index.esm.min.js +1 -1
- package/icons/arrowup/index.js +3 -15
- package/icons/arrowup/index.min.js +1 -1
- package/icons/arrowup/index.vue +6 -13
- package/icons/ban/index.cjs.js +3 -15
- package/icons/ban/index.cjs.min.js +1 -1
- package/icons/ban/index.esm.js +3 -15
- package/icons/ban/index.esm.min.js +1 -1
- package/icons/ban/index.js +3 -15
- package/icons/ban/index.min.js +1 -1
- package/icons/ban/index.vue +4 -11
- package/icons/exclamationtriangle/index.cjs.js +5 -17
- package/icons/exclamationtriangle/index.cjs.min.js +1 -1
- package/icons/exclamationtriangle/index.esm.js +5 -17
- package/icons/exclamationtriangle/index.esm.min.js +1 -1
- package/icons/exclamationtriangle/index.js +5 -17
- package/icons/exclamationtriangle/index.min.js +1 -1
- package/icons/exclamationtriangle/index.vue +12 -19
- package/icons/eyeslash/index.cjs.js +3 -15
- package/icons/eyeslash/index.cjs.min.js +1 -1
- package/icons/eyeslash/index.esm.js +3 -15
- package/icons/eyeslash/index.esm.min.js +1 -1
- package/icons/eyeslash/index.js +3 -15
- package/icons/eyeslash/index.min.js +1 -1
- package/icons/eyeslash/index.vue +6 -13
- package/icons/filter/index.cjs.js +3 -15
- package/icons/filter/index.cjs.min.js +1 -1
- package/icons/filter/index.esm.js +3 -15
- package/icons/filter/index.esm.min.js +1 -1
- package/icons/filter/index.js +3 -15
- package/icons/filter/index.min.js +1 -1
- package/icons/filter/index.vue +4 -11
- package/icons/filterslash/index.cjs.js +3 -15
- package/icons/filterslash/index.cjs.min.js +1 -1
- package/icons/filterslash/index.esm.js +3 -15
- package/icons/filterslash/index.esm.min.js +1 -1
- package/icons/filterslash/index.js +3 -15
- package/icons/filterslash/index.min.js +1 -1
- package/icons/filterslash/index.vue +6 -13
- package/icons/infocircle/index.cjs.js +3 -15
- package/icons/infocircle/index.cjs.min.js +1 -1
- package/icons/infocircle/index.esm.js +3 -15
- package/icons/infocircle/index.esm.min.js +1 -1
- package/icons/infocircle/index.js +3 -15
- package/icons/infocircle/index.min.js +1 -1
- package/icons/infocircle/index.vue +6 -13
- package/icons/pencil/index.cjs.js +3 -15
- package/icons/pencil/index.cjs.min.js +1 -1
- package/icons/pencil/index.esm.js +3 -15
- package/icons/pencil/index.esm.min.js +1 -1
- package/icons/pencil/index.js +3 -15
- package/icons/pencil/index.min.js +1 -1
- package/icons/pencil/index.vue +4 -11
- package/icons/plus/index.cjs.js +3 -15
- package/icons/plus/index.cjs.min.js +1 -1
- package/icons/plus/index.esm.js +3 -15
- package/icons/plus/index.esm.min.js +1 -1
- package/icons/plus/index.js +3 -15
- package/icons/plus/index.min.js +1 -1
- package/icons/plus/index.vue +4 -11
- package/icons/refresh/index.cjs.js +3 -15
- package/icons/refresh/index.cjs.min.js +1 -1
- package/icons/refresh/index.esm.js +3 -15
- package/icons/refresh/index.esm.min.js +1 -1
- package/icons/refresh/index.js +3 -15
- package/icons/refresh/index.min.js +1 -1
- package/icons/refresh/index.vue +6 -13
- package/icons/search/index.cjs.js +3 -15
- package/icons/search/index.cjs.min.js +1 -1
- package/icons/search/index.esm.js +3 -15
- package/icons/search/index.esm.min.js +1 -1
- package/icons/search/index.js +3 -15
- package/icons/search/index.min.js +1 -1
- package/icons/search/index.vue +6 -13
- package/icons/searchminus/index.cjs.js +3 -15
- package/icons/searchminus/index.cjs.min.js +1 -1
- package/icons/searchminus/index.esm.js +3 -15
- package/icons/searchminus/index.esm.min.js +1 -1
- package/icons/searchminus/index.js +3 -15
- package/icons/searchminus/index.min.js +1 -1
- package/icons/searchminus/index.vue +6 -13
- package/icons/searchplus/index.cjs.js +3 -15
- package/icons/searchplus/index.cjs.min.js +1 -1
- package/icons/searchplus/index.esm.js +3 -15
- package/icons/searchplus/index.esm.min.js +1 -1
- package/icons/searchplus/index.js +3 -15
- package/icons/searchplus/index.min.js +1 -1
- package/icons/searchplus/index.vue +6 -13
- package/icons/sortalt/index.cjs.js +6 -18
- package/icons/sortalt/index.cjs.min.js +1 -1
- package/icons/sortalt/index.esm.js +6 -18
- package/icons/sortalt/index.esm.min.js +1 -1
- package/icons/sortalt/index.js +6 -18
- package/icons/sortalt/index.min.js +1 -1
- package/icons/sortalt/index.vue +10 -17
- package/icons/sortamountdown/index.cjs.js +3 -15
- package/icons/sortamountdown/index.cjs.min.js +1 -1
- package/icons/sortamountdown/index.esm.js +3 -15
- package/icons/sortamountdown/index.esm.min.js +1 -1
- package/icons/sortamountdown/index.js +3 -15
- package/icons/sortamountdown/index.min.js +1 -1
- package/icons/sortamountdown/index.vue +4 -11
- package/icons/sortamountupalt/index.cjs.js +3 -15
- package/icons/sortamountupalt/index.cjs.min.js +1 -1
- package/icons/sortamountupalt/index.esm.js +3 -15
- package/icons/sortamountupalt/index.esm.min.js +1 -1
- package/icons/sortamountupalt/index.js +3 -15
- package/icons/sortamountupalt/index.min.js +1 -1
- package/icons/sortamountupalt/index.vue +4 -11
- package/icons/spinner/index.cjs.js +3 -15
- package/icons/spinner/index.cjs.min.js +1 -1
- package/icons/spinner/index.esm.js +3 -15
- package/icons/spinner/index.esm.min.js +1 -1
- package/icons/spinner/index.js +3 -15
- package/icons/spinner/index.min.js +1 -1
- package/icons/spinner/index.vue +4 -11
- package/icons/star/index.cjs.js +3 -15
- package/icons/star/index.cjs.min.js +1 -1
- package/icons/star/index.esm.js +3 -15
- package/icons/star/index.esm.min.js +1 -1
- package/icons/star/index.js +3 -15
- package/icons/star/index.min.js +1 -1
- package/icons/star/index.vue +4 -11
- package/icons/starfill/index.cjs.js +3 -15
- package/icons/starfill/index.cjs.min.js +1 -1
- package/icons/starfill/index.esm.js +3 -15
- package/icons/starfill/index.esm.min.js +1 -1
- package/icons/starfill/index.js +3 -15
- package/icons/starfill/index.min.js +1 -1
- package/icons/starfill/index.vue +4 -11
- package/icons/thlarge/index.cjs.js +3 -15
- package/icons/thlarge/index.cjs.min.js +1 -1
- package/icons/thlarge/index.esm.js +3 -15
- package/icons/thlarge/index.esm.min.js +1 -1
- package/icons/thlarge/index.js +3 -15
- package/icons/thlarge/index.min.js +1 -1
- package/icons/thlarge/index.vue +6 -13
- package/icons/timescircle/index.cjs.js +3 -15
- package/icons/timescircle/index.cjs.min.js +1 -1
- package/icons/timescircle/index.esm.js +3 -15
- package/icons/timescircle/index.esm.min.js +1 -1
- package/icons/timescircle/index.js +3 -15
- package/icons/timescircle/index.min.js +1 -1
- package/icons/timescircle/index.vue +6 -13
- package/icons/trash/index.cjs.js +3 -15
- package/icons/trash/index.cjs.min.js +1 -1
- package/icons/trash/index.esm.js +3 -15
- package/icons/trash/index.esm.min.js +1 -1
- package/icons/trash/index.js +3 -15
- package/icons/trash/index.min.js +1 -1
- package/icons/trash/index.vue +6 -13
- package/icons/undo/index.cjs.js +3 -15
- package/icons/undo/index.cjs.min.js +1 -1
- package/icons/undo/index.esm.js +3 -15
- package/icons/undo/index.esm.min.js +1 -1
- package/icons/undo/index.js +3 -15
- package/icons/undo/index.min.js +1 -1
- package/icons/undo/index.vue +6 -13
- package/icons/upload/index.cjs.js +3 -15
- package/icons/upload/index.cjs.min.js +1 -1
- package/icons/upload/index.esm.js +3 -15
- package/icons/upload/index.esm.min.js +1 -1
- package/icons/upload/index.js +3 -15
- package/icons/upload/index.min.js +1 -1
- package/icons/upload/index.vue +6 -13
- package/icons/windowmaximize/index.cjs.js +3 -15
- package/icons/windowmaximize/index.cjs.min.js +1 -1
- package/icons/windowmaximize/index.esm.js +3 -15
- package/icons/windowmaximize/index.esm.min.js +1 -1
- package/icons/windowmaximize/index.js +3 -15
- package/icons/windowmaximize/index.min.js +1 -1
- package/icons/windowmaximize/index.vue +6 -13
- package/icons/windowminimize/index.cjs.js +3 -15
- package/icons/windowminimize/index.cjs.min.js +1 -1
- package/icons/windowminimize/index.esm.js +3 -15
- package/icons/windowminimize/index.esm.min.js +1 -1
- package/icons/windowminimize/index.js +3 -15
- package/icons/windowminimize/index.min.js +1 -1
- package/icons/windowminimize/index.vue +6 -13
- package/image/Image.vue +1 -1
- package/image/image.cjs.js +1 -3
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +1 -3
- package/image/image.esm.min.js +1 -1
- package/image/image.js +1 -3
- package/image/image.min.js +1 -1
- package/image/style/imagestyle.cjs.js +0 -2
- package/image/style/imagestyle.cjs.min.js +1 -1
- package/image/style/imagestyle.esm.js +0 -2
- package/image/style/imagestyle.esm.min.js +1 -1
- package/image/style/imagestyle.js +0 -2
- package/image/style/imagestyle.min.js +1 -1
- package/inlinemessage/InlineMessage.d.ts +1 -1
- package/inlinemessage/style/inlinemessagestyle.cjs.js +0 -2
- package/inlinemessage/style/inlinemessagestyle.cjs.min.js +1 -1
- package/inlinemessage/style/inlinemessagestyle.esm.js +0 -2
- package/inlinemessage/style/inlinemessagestyle.esm.min.js +1 -1
- package/inlinemessage/style/inlinemessagestyle.js +0 -2
- package/inlinemessage/style/inlinemessagestyle.min.js +1 -1
- package/inplace/Inplace.vue +1 -1
- package/inplace/inplace.cjs.js +1 -3
- package/inplace/inplace.cjs.min.js +1 -1
- package/inplace/inplace.esm.js +1 -3
- package/inplace/inplace.esm.min.js +1 -1
- package/inplace/inplace.js +1 -3
- package/inplace/inplace.min.js +1 -1
- package/inplace/style/inplacestyle.cjs.js +0 -2
- package/inplace/style/inplacestyle.cjs.min.js +1 -1
- package/inplace/style/inplacestyle.esm.js +0 -2
- package/inplace/style/inplacestyle.esm.min.js +1 -1
- package/inplace/style/inplacestyle.js +0 -2
- package/inplace/style/inplacestyle.min.js +1 -1
- package/inputgroup/InputGroup.vue +1 -1
- package/inputgroup/inputgroup.cjs.js +1 -3
- package/inputgroup/inputgroup.cjs.min.js +1 -1
- package/inputgroup/inputgroup.esm.js +1 -3
- package/inputgroup/inputgroup.esm.min.js +1 -1
- package/inputgroup/inputgroup.js +1 -3
- package/inputgroup/inputgroup.min.js +1 -1
- package/inputgroupaddon/InputGroupAddon.vue +1 -1
- package/inputgroupaddon/inputgroupaddon.cjs.js +1 -3
- package/inputgroupaddon/inputgroupaddon.cjs.min.js +1 -1
- package/inputgroupaddon/inputgroupaddon.esm.js +1 -3
- package/inputgroupaddon/inputgroupaddon.esm.min.js +1 -1
- package/inputgroupaddon/inputgroupaddon.js +1 -3
- package/inputgroupaddon/inputgroupaddon.min.js +1 -1
- package/inputicon/BaseInputIcon.vue +15 -0
- package/inputicon/InputIcon.d.ts +117 -0
- package/inputicon/InputIcon.vue +12 -0
- package/inputicon/inputicon.cjs.js +34 -0
- package/inputicon/inputicon.cjs.min.js +1 -0
- package/inputicon/inputicon.esm.js +27 -0
- package/inputicon/inputicon.esm.min.js +1 -0
- package/inputicon/inputicon.js +34 -0
- package/inputicon/inputicon.min.js +1 -0
- package/inputicon/package.json +9 -0
- package/inputicon/style/InputIcoonStyle.d.ts +3 -0
- package/inputicon/style/inputiconstyle.cjs.js +5 -0
- package/inputicon/style/inputiconstyle.cjs.min.js +1 -0
- package/inputicon/style/inputiconstyle.esm.js +3 -0
- package/inputicon/style/inputiconstyle.esm.min.js +1 -0
- package/inputicon/style/inputiconstyle.js +10 -0
- package/inputicon/style/inputiconstyle.min.js +1 -0
- package/inputicon/style/package.json +6 -0
- package/inputmask/BaseInputMask.vue +8 -0
- package/inputmask/InputMask.d.ts +10 -0
- package/inputmask/InputMask.vue +1 -1
- package/inputmask/inputmask.cjs.js +9 -3
- package/inputmask/inputmask.cjs.min.js +1 -1
- package/inputmask/inputmask.esm.js +9 -3
- package/inputmask/inputmask.esm.min.js +1 -1
- package/inputmask/inputmask.js +9 -3
- package/inputmask/inputmask.min.js +1 -1
- package/inputmask/style/inputmaskstyle.cjs.js +5 -2
- package/inputmask/style/inputmaskstyle.cjs.min.js +1 -1
- package/inputmask/style/inputmaskstyle.esm.js +5 -2
- package/inputmask/style/inputmaskstyle.esm.min.js +1 -1
- package/inputmask/style/inputmaskstyle.js +5 -2
- package/inputmask/style/inputmaskstyle.min.js +1 -1
- package/inputnumber/BaseInputNumber.vue +8 -0
- package/inputnumber/InputNumber.d.ts +10 -0
- package/inputnumber/InputNumber.vue +3 -26
- package/inputnumber/inputnumber.cjs.js +14 -13
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +14 -13
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +14 -13
- package/inputnumber/inputnumber.min.js +1 -1
- package/inputnumber/style/inputnumberstyle.cjs.js +15 -10
- package/inputnumber/style/inputnumberstyle.cjs.min.js +1 -1
- package/inputnumber/style/inputnumberstyle.esm.js +15 -10
- package/inputnumber/style/inputnumberstyle.esm.min.js +1 -1
- package/inputnumber/style/inputnumberstyle.js +15 -10
- package/inputnumber/style/inputnumberstyle.min.js +1 -1
- package/inputswitch/BaseInputSwitch.vue +4 -0
- package/inputswitch/InputSwitch.d.ts +5 -5
- package/inputswitch/InputSwitch.vue +1 -1
- package/inputswitch/inputswitch.cjs.js +4 -1
- package/inputswitch/inputswitch.cjs.min.js +1 -1
- package/inputswitch/inputswitch.esm.js +4 -1
- package/inputswitch/inputswitch.esm.min.js +1 -1
- package/inputswitch/inputswitch.js +4 -1
- package/inputswitch/inputswitch.min.js +1 -1
- package/inputswitch/style/inputswitchstyle.cjs.js +2 -3
- package/inputswitch/style/inputswitchstyle.cjs.min.js +1 -1
- package/inputswitch/style/inputswitchstyle.esm.js +2 -3
- package/inputswitch/style/inputswitchstyle.esm.min.js +1 -1
- package/inputswitch/style/inputswitchstyle.js +2 -3
- package/inputswitch/style/inputswitchstyle.min.js +1 -1
- package/inputtext/BaseInputText.vue +8 -0
- package/inputtext/InputText.d.ts +10 -0
- package/inputtext/InputText.vue +1 -1
- package/inputtext/inputtext.cjs.js +9 -3
- package/inputtext/inputtext.cjs.min.js +1 -1
- package/inputtext/inputtext.esm.js +9 -3
- package/inputtext/inputtext.esm.min.js +1 -1
- package/inputtext/inputtext.js +9 -3
- package/inputtext/inputtext.min.js +1 -1
- package/inputtext/style/inputtextstyle.cjs.js +3 -1
- package/inputtext/style/inputtextstyle.cjs.min.js +1 -1
- package/inputtext/style/inputtextstyle.esm.js +3 -1
- package/inputtext/style/inputtextstyle.esm.min.js +1 -1
- package/inputtext/style/inputtextstyle.js +3 -1
- package/inputtext/style/inputtextstyle.min.js +1 -1
- package/knob/Knob.vue +11 -8
- package/knob/knob.cjs.js +10 -10
- package/knob/knob.cjs.min.js +1 -1
- package/knob/knob.esm.js +10 -10
- package/knob/knob.esm.min.js +1 -1
- package/knob/knob.js +10 -10
- package/knob/knob.min.js +1 -1
- package/knob/style/knobstyle.cjs.js +0 -2
- package/knob/style/knobstyle.cjs.min.js +1 -1
- package/knob/style/knobstyle.esm.js +0 -2
- package/knob/style/knobstyle.esm.min.js +1 -1
- package/knob/style/knobstyle.js +0 -2
- package/knob/style/knobstyle.min.js +1 -1
- package/listbox/BaseListbox.vue +4 -0
- package/listbox/Listbox.d.ts +5 -0
- package/listbox/Listbox.vue +1 -1
- package/listbox/listbox.cjs.js +5 -3
- package/listbox/listbox.cjs.min.js +1 -1
- package/listbox/listbox.esm.js +5 -3
- package/listbox/listbox.esm.min.js +1 -1
- package/listbox/listbox.js +5 -3
- 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 +1 -3
- package/megamenu/megamenu.cjs.min.js +1 -1
- package/megamenu/megamenu.esm.js +1 -3
- package/megamenu/megamenu.esm.min.js +1 -1
- package/megamenu/megamenu.js +1 -3
- package/megamenu/megamenu.min.js +1 -1
- package/megamenu/style/megamenustyle.cjs.js +0 -2
- package/megamenu/style/megamenustyle.cjs.min.js +1 -1
- package/megamenu/style/megamenustyle.esm.js +0 -2
- package/megamenu/style/megamenustyle.esm.min.js +1 -1
- package/megamenu/style/megamenustyle.js +0 -2
- package/megamenu/style/megamenustyle.min.js +1 -1
- package/menu/Menu.vue +1 -1
- package/menu/menu.cjs.js +1 -3
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.esm.js +1 -3
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +1 -3
- package/menu/menu.min.js +1 -1
- package/menu/style/menustyle.cjs.js +0 -3
- package/menu/style/menustyle.cjs.min.js +1 -1
- package/menu/style/menustyle.esm.js +0 -3
- package/menu/style/menustyle.esm.min.js +1 -1
- package/menu/style/menustyle.js +0 -3
- package/menu/style/menustyle.min.js +1 -1
- package/menubar/style/menubarstyle.cjs.js +0 -2
- package/menubar/style/menubarstyle.cjs.min.js +1 -1
- package/menubar/style/menubarstyle.esm.js +0 -2
- package/menubar/style/menubarstyle.esm.min.js +1 -1
- package/menubar/style/menubarstyle.js +0 -2
- package/menubar/style/menubarstyle.min.js +1 -1
- package/message/Message.d.ts +1 -1
- package/message/Message.vue +1 -1
- package/message/message.cjs.js +1 -3
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +1 -3
- package/message/message.esm.min.js +1 -1
- package/message/message.js +1 -3
- package/message/message.min.js +1 -1
- package/message/style/messagestyle.cjs.js +0 -2
- package/message/style/messagestyle.cjs.min.js +1 -1
- package/message/style/messagestyle.esm.js +0 -2
- package/message/style/messagestyle.esm.min.js +1 -1
- package/message/style/messagestyle.js +0 -2
- package/message/style/messagestyle.min.js +1 -1
- package/metergroup/MeterGroup.vue +1 -1
- package/metergroup/metergroup.cjs.js +1 -3
- package/metergroup/metergroup.cjs.min.js +1 -1
- package/metergroup/metergroup.esm.js +1 -3
- package/metergroup/metergroup.esm.min.js +1 -1
- package/metergroup/metergroup.js +1 -3
- package/metergroup/metergroup.min.js +1 -1
- package/metergroup/style/metergroupstyle.cjs.js +7 -11
- package/metergroup/style/metergroupstyle.cjs.min.js +1 -1
- package/metergroup/style/metergroupstyle.esm.js +7 -11
- package/metergroup/style/metergroupstyle.esm.min.js +1 -1
- package/metergroup/style/metergroupstyle.js +7 -11
- package/metergroup/style/metergroupstyle.min.js +1 -1
- package/multiselect/BaseMultiSelect.vue +8 -0
- package/multiselect/MultiSelect.d.ts +10 -0
- package/multiselect/MultiSelect.vue +4 -2
- package/multiselect/multiselect.cjs.js +24 -13
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.esm.js +24 -13
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +24 -13
- package/multiselect/multiselect.min.js +1 -1
- package/multiselect/style/multiselectstyle.cjs.js +17 -11
- package/multiselect/style/multiselectstyle.cjs.min.js +1 -1
- package/multiselect/style/multiselectstyle.esm.js +17 -11
- package/multiselect/style/multiselectstyle.esm.min.js +1 -1
- package/multiselect/style/multiselectstyle.js +17 -11
- package/multiselect/style/multiselectstyle.min.js +1 -1
- package/orderlist/OrderList.vue +4 -4
- package/orderlist/orderlist.cjs.js +4 -8
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +4 -8
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +4 -8
- package/orderlist/orderlist.min.js +1 -1
- package/orderlist/style/orderliststyle.cjs.js +0 -2
- package/orderlist/style/orderliststyle.cjs.min.js +1 -1
- package/orderlist/style/orderliststyle.esm.js +0 -2
- package/orderlist/style/orderliststyle.esm.min.js +1 -1
- package/orderlist/style/orderliststyle.js +0 -2
- package/orderlist/style/orderliststyle.min.js +1 -1
- package/organizationchart/style/organizationchartstyle.cjs.js +0 -2
- package/organizationchart/style/organizationchartstyle.cjs.min.js +1 -1
- package/organizationchart/style/organizationchartstyle.esm.js +0 -2
- package/organizationchart/style/organizationchartstyle.esm.min.js +1 -1
- package/organizationchart/style/organizationchartstyle.js +0 -2
- package/organizationchart/style/organizationchartstyle.min.js +1 -1
- package/overlaypanel/style/overlaypanelstyle.cjs.js +0 -3
- package/overlaypanel/style/overlaypanelstyle.cjs.min.js +1 -1
- package/overlaypanel/style/overlaypanelstyle.esm.js +0 -3
- package/overlaypanel/style/overlaypanelstyle.esm.min.js +1 -1
- package/overlaypanel/style/overlaypanelstyle.js +0 -3
- package/overlaypanel/style/overlaypanelstyle.min.js +1 -1
- package/package.json +1 -1
- package/paginator/JumpToPageDropdown.vue +0 -1
- package/paginator/JumpToPageInput.vue +1 -11
- package/paginator/Paginator.vue +1 -1
- package/paginator/RowsPerPageDropdown.vue +0 -1
- package/paginator/paginator.cjs.js +2 -7
- package/paginator/paginator.cjs.min.js +1 -1
- package/paginator/paginator.esm.js +2 -7
- package/paginator/paginator.esm.min.js +1 -1
- package/paginator/paginator.js +2 -7
- package/paginator/paginator.min.js +1 -1
- package/paginator/style/paginatorstyle.cjs.js +0 -2
- package/paginator/style/paginatorstyle.cjs.min.js +1 -1
- package/paginator/style/paginatorstyle.esm.js +0 -2
- package/paginator/style/paginatorstyle.esm.min.js +1 -1
- package/paginator/style/paginatorstyle.js +0 -2
- package/paginator/style/paginatorstyle.min.js +1 -1
- package/panel/Panel.vue +13 -9
- package/panel/panel.cjs.js +14 -12
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +14 -12
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +14 -12
- package/panel/panel.min.js +1 -1
- package/panel/style/panelstyle.cjs.js +0 -2
- package/panel/style/panelstyle.cjs.min.js +1 -1
- package/panel/style/panelstyle.esm.js +0 -2
- package/panel/style/panelstyle.esm.min.js +1 -1
- package/panel/style/panelstyle.js +0 -2
- package/panel/style/panelstyle.min.js +1 -1
- package/panelmenu/PanelMenu.vue +1 -1
- package/panelmenu/panelmenu.cjs.js +1 -3
- package/panelmenu/panelmenu.cjs.min.js +1 -1
- package/panelmenu/panelmenu.esm.js +1 -3
- package/panelmenu/panelmenu.esm.min.js +1 -1
- package/panelmenu/panelmenu.js +1 -3
- package/panelmenu/panelmenu.min.js +1 -1
- package/panelmenu/style/panelmenustyle.cjs.js +0 -2
- package/panelmenu/style/panelmenustyle.cjs.min.js +1 -1
- package/panelmenu/style/panelmenustyle.esm.js +0 -2
- package/panelmenu/style/panelmenustyle.esm.min.js +1 -1
- package/panelmenu/style/panelmenustyle.js +0 -2
- package/panelmenu/style/panelmenustyle.min.js +1 -1
- package/passthrough/index.d.ts +3 -1
- package/password/BasePassword.vue +8 -0
- package/password/Password.d.ts +10 -0
- package/password/Password.vue +11 -2
- package/password/password.cjs.js +20 -5
- package/password/password.cjs.min.js +1 -1
- package/password/password.esm.js +21 -6
- package/password/password.esm.min.js +1 -1
- package/password/password.js +20 -5
- package/password/password.min.js +1 -1
- package/password/style/passwordstyle.cjs.js +2 -4
- package/password/style/passwordstyle.cjs.min.js +1 -1
- package/password/style/passwordstyle.esm.js +2 -4
- package/password/style/passwordstyle.esm.min.js +1 -1
- package/password/style/passwordstyle.js +2 -4
- package/password/style/passwordstyle.min.js +1 -1
- package/picklist/PickList.vue +12 -48
- package/picklist/picklist.cjs.js +11 -23
- package/picklist/picklist.cjs.min.js +1 -1
- package/picklist/picklist.esm.js +11 -23
- package/picklist/picklist.esm.min.js +1 -1
- package/picklist/picklist.js +11 -23
- package/picklist/picklist.min.js +1 -1
- package/picklist/style/pickliststyle.cjs.js +0 -2
- package/picklist/style/pickliststyle.cjs.min.js +1 -1
- package/picklist/style/pickliststyle.esm.js +0 -2
- package/picklist/style/pickliststyle.esm.min.js +1 -1
- package/picklist/style/pickliststyle.js +0 -2
- package/picklist/style/pickliststyle.min.js +1 -1
- package/progressbar/ProgressBar.vue +1 -1
- package/progressbar/progressbar.cjs.js +1 -3
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +1 -3
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +1 -3
- package/progressbar/progressbar.min.js +1 -1
- package/progressbar/style/progressbarstyle.cjs.js +0 -2
- package/progressbar/style/progressbarstyle.cjs.min.js +1 -1
- package/progressbar/style/progressbarstyle.esm.js +0 -2
- package/progressbar/style/progressbarstyle.esm.min.js +1 -1
- package/progressbar/style/progressbarstyle.js +0 -2
- package/progressbar/style/progressbarstyle.min.js +1 -1
- package/progressspinner/ProgressSpinner.vue +1 -1
- package/progressspinner/progressspinner.cjs.js +1 -3
- package/progressspinner/progressspinner.cjs.min.js +1 -1
- package/progressspinner/progressspinner.esm.js +1 -3
- package/progressspinner/progressspinner.esm.min.js +1 -1
- package/progressspinner/progressspinner.js +1 -3
- package/progressspinner/progressspinner.min.js +1 -1
- package/progressspinner/style/progressspinnerstyle.cjs.js +0 -2
- package/progressspinner/style/progressspinnerstyle.cjs.min.js +1 -1
- package/progressspinner/style/progressspinnerstyle.esm.js +0 -2
- package/progressspinner/style/progressspinnerstyle.esm.min.js +1 -1
- package/progressspinner/style/progressspinnerstyle.js +0 -2
- package/progressspinner/style/progressspinnerstyle.min.js +1 -1
- package/radiobutton/BaseRadioButton.vue +8 -0
- package/radiobutton/RadioButton.d.ts +10 -0
- package/radiobutton/RadioButton.vue +1 -1
- package/radiobutton/radiobutton.cjs.js +8 -1
- package/radiobutton/radiobutton.cjs.min.js +1 -1
- package/radiobutton/radiobutton.esm.js +8 -1
- package/radiobutton/radiobutton.esm.min.js +1 -1
- package/radiobutton/radiobutton.js +8 -1
- package/radiobutton/radiobutton.min.js +1 -1
- package/radiobutton/style/radiobuttonstyle.cjs.js +3 -3
- package/radiobutton/style/radiobuttonstyle.cjs.min.js +1 -1
- package/radiobutton/style/radiobuttonstyle.esm.js +3 -3
- package/radiobutton/style/radiobuttonstyle.esm.min.js +1 -1
- package/radiobutton/style/radiobuttonstyle.js +3 -3
- package/radiobutton/style/radiobuttonstyle.min.js +1 -1
- package/rating/Rating.vue +1 -1
- package/rating/rating.cjs.js +1 -3
- package/rating/rating.cjs.min.js +1 -1
- package/rating/rating.esm.js +1 -3
- package/rating/rating.esm.min.js +1 -1
- package/rating/rating.js +1 -3
- package/rating/rating.min.js +1 -1
- package/rating/style/ratingstyle.cjs.js +0 -2
- package/rating/style/ratingstyle.cjs.min.js +1 -1
- package/rating/style/ratingstyle.esm.js +0 -2
- package/rating/style/ratingstyle.esm.min.js +1 -1
- package/rating/style/ratingstyle.js +0 -2
- package/rating/style/ratingstyle.min.js +1 -1
- package/resources/themes/arya-blue/theme.css +4901 -238
- package/resources/themes/arya-green/theme.css +4901 -238
- package/resources/themes/arya-orange/theme.css +4901 -238
- package/resources/themes/arya-purple/theme.css +4901 -238
- package/resources/themes/aura-dark-amber/theme.css +5164 -289
- package/resources/themes/aura-dark-blue/theme.css +5164 -289
- package/resources/themes/aura-dark-cyan/theme.css +5164 -289
- package/resources/themes/aura-dark-green/theme.css +5164 -289
- package/resources/themes/aura-dark-indigo/theme.css +5164 -289
- package/resources/themes/aura-dark-lime/theme.css +5164 -289
- package/resources/themes/aura-dark-noir/theme.css +5164 -289
- package/resources/themes/aura-dark-pink/theme.css +5164 -289
- package/resources/themes/aura-dark-purple/theme.css +5164 -289
- package/resources/themes/aura-dark-teal/theme.css +5164 -289
- package/resources/themes/aura-light-amber/theme.css +5265 -394
- package/resources/themes/aura-light-blue/theme.css +5265 -394
- package/resources/themes/aura-light-cyan/theme.css +5265 -394
- package/resources/themes/aura-light-green/theme.css +5265 -394
- package/resources/themes/aura-light-indigo/theme.css +5265 -394
- package/resources/themes/aura-light-lime/theme.css +5265 -394
- package/resources/themes/aura-light-noir/theme.css +5263 -392
- package/resources/themes/aura-light-pink/theme.css +5265 -394
- package/resources/themes/aura-light-purple/theme.css +5265 -394
- package/resources/themes/aura-light-teal/theme.css +5265 -394
- package/resources/themes/bootstrap4-dark-blue/theme.css +4875 -212
- package/resources/themes/bootstrap4-dark-purple/theme.css +4875 -212
- package/resources/themes/bootstrap4-light-blue/theme.css +4875 -212
- package/resources/themes/bootstrap4-light-purple/theme.css +4875 -212
- package/resources/themes/fluent-light/theme.css +4883 -220
- package/resources/themes/lara-dark-amber/theme.css +5001 -260
- package/resources/themes/lara-dark-blue/theme.css +5001 -260
- package/resources/themes/lara-dark-cyan/theme.css +5001 -260
- package/resources/themes/lara-dark-green/theme.css +5001 -260
- package/resources/themes/lara-dark-indigo/theme.css +5001 -260
- package/resources/themes/lara-dark-pink/theme.css +5001 -260
- package/resources/themes/lara-dark-purple/theme.css +5001 -260
- package/resources/themes/lara-dark-teal/theme.css +5001 -260
- package/resources/themes/lara-light-amber/theme.css +4982 -241
- package/resources/themes/lara-light-blue/theme.css +4982 -241
- package/resources/themes/lara-light-cyan/theme.css +4982 -241
- package/resources/themes/lara-light-green/theme.css +4982 -241
- package/resources/themes/lara-light-indigo/theme.css +4982 -241
- package/resources/themes/lara-light-pink/theme.css +4982 -241
- package/resources/themes/lara-light-purple/theme.css +4982 -241
- package/resources/themes/lara-light-teal/theme.css +4982 -241
- package/resources/themes/luna-amber/theme.css +4900 -237
- package/resources/themes/luna-blue/theme.css +4900 -237
- package/resources/themes/luna-green/theme.css +4900 -237
- package/resources/themes/luna-pink/theme.css +4900 -237
- package/resources/themes/md-dark-deeppurple/theme.css +5371 -593
- package/resources/themes/md-dark-indigo/theme.css +5374 -596
- package/resources/themes/md-light-deeppurple/theme.css +5274 -497
- package/resources/themes/md-light-indigo/theme.css +5274 -497
- package/resources/themes/mdc-dark-deeppurple/theme.css +5370 -592
- package/resources/themes/mdc-dark-indigo/theme.css +5372 -594
- package/resources/themes/mdc-light-deeppurple/theme.css +5276 -499
- package/resources/themes/mdc-light-indigo/theme.css +5276 -499
- package/resources/themes/mira/theme.css +4901 -238
- package/resources/themes/nano/theme.css +4904 -241
- package/resources/themes/nova/theme.css +4901 -238
- package/resources/themes/nova-accent/theme.css +4901 -238
- package/resources/themes/nova-alt/theme.css +4901 -238
- package/resources/themes/nova-vue/theme.css +4901 -238
- package/resources/themes/rhea/theme.css +4901 -238
- package/resources/themes/saga-blue/theme.css +4901 -238
- package/resources/themes/saga-green/theme.css +4901 -238
- package/resources/themes/saga-orange/theme.css +4901 -238
- package/resources/themes/saga-purple/theme.css +4901 -238
- package/resources/themes/soho-dark/theme.css +4902 -239
- package/resources/themes/soho-light/theme.css +4902 -239
- package/resources/themes/tailwind-light/theme.css +4901 -238
- package/resources/themes/vela-blue/theme.css +4901 -238
- package/resources/themes/vela-green/theme.css +4901 -238
- package/resources/themes/vela-orange/theme.css +4901 -238
- package/resources/themes/vela-purple/theme.css +4901 -238
- package/resources/themes/viva-dark/theme.css +4901 -238
- package/resources/themes/viva-light/theme.css +4901 -238
- package/ripple/style/ripplestyle.cjs.js +0 -2
- package/ripple/style/ripplestyle.cjs.min.js +1 -1
- package/ripple/style/ripplestyle.esm.js +0 -2
- package/ripple/style/ripplestyle.esm.min.js +1 -1
- package/ripple/style/ripplestyle.js +0 -2
- package/ripple/style/ripplestyle.min.js +1 -1
- package/scrollpanel/ScrollPanel.vue +10 -3
- package/scrollpanel/scrollpanel.cjs.js +9 -5
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +9 -5
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +9 -5
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/scrollpanel/style/scrollpanelstyle.cjs.js +0 -2
- package/scrollpanel/style/scrollpanelstyle.cjs.min.js +1 -1
- package/scrollpanel/style/scrollpanelstyle.esm.js +0 -2
- package/scrollpanel/style/scrollpanelstyle.esm.min.js +1 -1
- package/scrollpanel/style/scrollpanelstyle.js +0 -2
- package/scrollpanel/style/scrollpanelstyle.min.js +1 -1
- package/scrolltop/ScrollTop.vue +1 -1
- package/scrolltop/scrolltop.cjs.js +1 -3
- package/scrolltop/scrolltop.cjs.min.js +1 -1
- package/scrolltop/scrolltop.esm.js +1 -3
- package/scrolltop/scrolltop.esm.min.js +1 -1
- package/scrolltop/scrolltop.js +1 -3
- package/scrolltop/scrolltop.min.js +1 -1
- package/scrolltop/style/scrolltopstyle.cjs.js +0 -2
- package/scrolltop/style/scrolltopstyle.cjs.min.js +1 -1
- package/scrolltop/style/scrolltopstyle.esm.js +0 -2
- package/scrolltop/style/scrolltopstyle.esm.min.js +1 -1
- package/scrolltop/style/scrolltopstyle.js +0 -2
- package/scrolltop/style/scrolltopstyle.min.js +1 -1
- package/selectbutton/BaseSelectButton.vue +4 -0
- package/selectbutton/SelectButton.d.ts +5 -0
- package/selectbutton/SelectButton.vue +1 -1
- package/selectbutton/selectbutton.cjs.js +5 -3
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.esm.js +5 -3
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +5 -3
- package/selectbutton/selectbutton.min.js +1 -1
- package/selectbutton/style/selectbuttonstyle.cjs.js +2 -1
- package/selectbutton/style/selectbuttonstyle.cjs.min.js +1 -1
- package/selectbutton/style/selectbuttonstyle.esm.js +2 -1
- package/selectbutton/style/selectbuttonstyle.esm.min.js +1 -1
- package/selectbutton/style/selectbuttonstyle.js +2 -1
- package/selectbutton/style/selectbuttonstyle.min.js +1 -1
- package/sidebar/style/sidebarstyle.cjs.js +0 -3
- package/sidebar/style/sidebarstyle.cjs.min.js +1 -1
- package/sidebar/style/sidebarstyle.esm.js +0 -3
- package/sidebar/style/sidebarstyle.esm.min.js +1 -1
- package/sidebar/style/sidebarstyle.js +0 -3
- package/sidebar/style/sidebarstyle.min.js +1 -1
- package/skeleton/Skeleton.vue +1 -1
- package/skeleton/skeleton.cjs.js +1 -3
- package/skeleton/skeleton.cjs.min.js +1 -1
- package/skeleton/skeleton.esm.js +1 -3
- package/skeleton/skeleton.esm.min.js +1 -1
- package/skeleton/skeleton.js +1 -3
- package/skeleton/skeleton.min.js +1 -1
- package/skeleton/style/skeletonstyle.cjs.js +0 -2
- package/skeleton/style/skeletonstyle.cjs.min.js +1 -1
- package/skeleton/style/skeletonstyle.esm.js +0 -2
- package/skeleton/style/skeletonstyle.esm.min.js +1 -1
- package/skeleton/style/skeletonstyle.js +0 -2
- package/skeleton/style/skeletonstyle.min.js +1 -1
- package/slider/Slider.vue +1 -1
- package/slider/slider.cjs.js +1 -2
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +1 -2
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +1 -2
- package/slider/slider.min.js +1 -1
- package/slider/style/sliderstyle.cjs.js +0 -2
- package/slider/style/sliderstyle.cjs.min.js +1 -1
- package/slider/style/sliderstyle.esm.js +0 -2
- package/slider/style/sliderstyle.esm.min.js +1 -1
- package/slider/style/sliderstyle.js +0 -2
- package/slider/style/sliderstyle.min.js +1 -1
- package/speeddial/SpeedDial.vue +1 -1
- package/speeddial/speeddial.cjs.js +1 -3
- package/speeddial/speeddial.cjs.min.js +1 -1
- package/speeddial/speeddial.esm.js +1 -3
- package/speeddial/speeddial.esm.min.js +1 -1
- package/speeddial/speeddial.js +1 -3
- package/speeddial/speeddial.min.js +1 -1
- package/speeddial/style/speeddialstyle.cjs.js +0 -2
- package/speeddial/style/speeddialstyle.cjs.min.js +1 -1
- package/speeddial/style/speeddialstyle.esm.js +0 -2
- package/speeddial/style/speeddialstyle.esm.min.js +1 -1
- package/speeddial/style/speeddialstyle.js +0 -2
- package/speeddial/style/speeddialstyle.min.js +1 -1
- package/splitbutton/SplitButton.d.ts +1 -1
- package/splitbutton/SplitButton.vue +35 -34
- package/splitbutton/splitbutton.cjs.js +44 -42
- package/splitbutton/splitbutton.cjs.min.js +1 -1
- package/splitbutton/splitbutton.esm.js +45 -43
- package/splitbutton/splitbutton.esm.min.js +1 -1
- package/splitbutton/splitbutton.js +44 -42
- package/splitbutton/splitbutton.min.js +1 -1
- package/splitbutton/style/splitbuttonstyle.cjs.js +0 -2
- package/splitbutton/style/splitbuttonstyle.cjs.min.js +1 -1
- package/splitbutton/style/splitbuttonstyle.esm.js +0 -2
- package/splitbutton/style/splitbuttonstyle.esm.min.js +1 -1
- package/splitbutton/style/splitbuttonstyle.js +0 -2
- package/splitbutton/style/splitbuttonstyle.min.js +1 -1
- package/splitter/Splitter.vue +8 -6
- package/splitter/splitter.cjs.js +8 -8
- package/splitter/splitter.cjs.min.js +1 -1
- package/splitter/splitter.esm.js +8 -8
- package/splitter/splitter.esm.min.js +1 -1
- package/splitter/splitter.js +8 -8
- package/splitter/splitter.min.js +1 -1
- package/splitter/style/splitterstyle.cjs.js +0 -2
- package/splitter/style/splitterstyle.cjs.min.js +1 -1
- package/splitter/style/splitterstyle.esm.js +0 -2
- package/splitter/style/splitterstyle.esm.min.js +1 -1
- package/splitter/style/splitterstyle.js +0 -2
- package/splitter/style/splitterstyle.min.js +1 -1
- package/splitterpanel/SplitterPanel.vue +1 -1
- package/splitterpanel/splitterpanel.cjs.js +1 -3
- package/splitterpanel/splitterpanel.cjs.min.js +1 -1
- package/splitterpanel/splitterpanel.esm.js +1 -3
- package/splitterpanel/splitterpanel.esm.min.js +1 -1
- package/splitterpanel/splitterpanel.js +1 -3
- package/splitterpanel/splitterpanel.min.js +1 -1
- package/splitterpanel/style/splitterpanelstyle.cjs.js +0 -2
- package/splitterpanel/style/splitterpanelstyle.cjs.min.js +1 -1
- package/splitterpanel/style/splitterpanelstyle.esm.js +0 -2
- package/splitterpanel/style/splitterpanelstyle.esm.min.js +1 -1
- package/splitterpanel/style/splitterpanelstyle.js +0 -2
- package/splitterpanel/style/splitterpanelstyle.min.js +1 -1
- package/steps/Steps.vue +1 -1
- package/steps/steps.cjs.js +1 -3
- package/steps/steps.cjs.min.js +1 -1
- package/steps/steps.esm.js +1 -3
- package/steps/steps.esm.min.js +1 -1
- package/steps/steps.js +1 -3
- package/steps/steps.min.js +1 -1
- package/steps/style/stepsstyle.cjs.js +0 -2
- package/steps/style/stepsstyle.cjs.min.js +1 -1
- package/steps/style/stepsstyle.esm.js +0 -2
- package/steps/style/stepsstyle.esm.min.js +1 -1
- package/steps/style/stepsstyle.js +0 -2
- package/steps/style/stepsstyle.min.js +1 -1
- package/tabmenu/TabMenu.vue +1 -1
- package/tabmenu/style/tabmenustyle.cjs.js +0 -2
- package/tabmenu/style/tabmenustyle.cjs.min.js +1 -1
- package/tabmenu/style/tabmenustyle.esm.js +0 -2
- package/tabmenu/style/tabmenustyle.esm.min.js +1 -1
- package/tabmenu/style/tabmenustyle.js +0 -2
- package/tabmenu/style/tabmenustyle.min.js +1 -1
- package/tabmenu/tabmenu.cjs.js +1 -3
- package/tabmenu/tabmenu.cjs.min.js +1 -1
- package/tabmenu/tabmenu.esm.js +1 -3
- package/tabmenu/tabmenu.esm.min.js +1 -1
- package/tabmenu/tabmenu.js +1 -3
- package/tabmenu/tabmenu.min.js +1 -1
- package/tabview/TabView.vue +2 -1
- package/tabview/style/tabviewstyle.cjs.js +0 -2
- package/tabview/style/tabviewstyle.cjs.min.js +1 -1
- package/tabview/style/tabviewstyle.esm.js +0 -2
- package/tabview/style/tabviewstyle.esm.min.js +1 -1
- package/tabview/style/tabviewstyle.js +0 -2
- package/tabview/style/tabviewstyle.min.js +1 -1
- package/tabview/tabview.cjs.js +2 -3
- package/tabview/tabview.cjs.min.js +1 -1
- package/tabview/tabview.esm.js +2 -3
- package/tabview/tabview.esm.min.js +1 -1
- package/tabview/tabview.js +2 -3
- package/tabview/tabview.min.js +1 -1
- package/tag/Tag.d.ts +1 -1
- package/tag/Tag.vue +1 -1
- package/tag/style/tagstyle.cjs.js +2 -2
- package/tag/style/tagstyle.cjs.min.js +1 -1
- package/tag/style/tagstyle.esm.js +2 -2
- package/tag/style/tagstyle.esm.min.js +1 -1
- package/tag/style/tagstyle.js +2 -2
- package/tag/style/tagstyle.min.js +1 -1
- package/tag/tag.cjs.js +1 -3
- package/tag/tag.cjs.min.js +1 -1
- package/tag/tag.esm.js +1 -3
- package/tag/tag.esm.min.js +1 -1
- package/tag/tag.js +1 -3
- package/tag/tag.min.js +1 -1
- package/terminal/Terminal.vue +1 -1
- package/terminal/style/terminalstyle.cjs.js +0 -2
- package/terminal/style/terminalstyle.cjs.min.js +1 -1
- package/terminal/style/terminalstyle.esm.js +0 -2
- package/terminal/style/terminalstyle.esm.min.js +1 -1
- package/terminal/style/terminalstyle.js +0 -2
- package/terminal/style/terminalstyle.min.js +1 -1
- package/terminal/terminal.cjs.js +1 -3
- package/terminal/terminal.cjs.min.js +1 -1
- package/terminal/terminal.esm.js +1 -3
- package/terminal/terminal.esm.min.js +1 -1
- package/terminal/terminal.js +1 -3
- package/terminal/terminal.min.js +1 -1
- package/textarea/BaseTextarea.vue +9 -1
- package/textarea/Textarea.d.ts +10 -0
- package/textarea/Textarea.vue +1 -1
- package/textarea/style/textareastyle.cjs.js +3 -3
- package/textarea/style/textareastyle.cjs.min.js +1 -1
- package/textarea/style/textareastyle.esm.js +3 -3
- package/textarea/style/textareastyle.esm.min.js +1 -1
- package/textarea/style/textareastyle.js +3 -3
- package/textarea/style/textareastyle.min.js +1 -1
- package/textarea/textarea.cjs.js +10 -4
- package/textarea/textarea.cjs.min.js +1 -1
- package/textarea/textarea.esm.js +10 -4
- package/textarea/textarea.esm.min.js +1 -1
- package/textarea/textarea.js +10 -4
- package/textarea/textarea.min.js +1 -1
- package/tieredmenu/TieredMenu.vue +1 -1
- package/tieredmenu/style/tieredmenustyle.cjs.js +0 -3
- package/tieredmenu/style/tieredmenustyle.cjs.min.js +1 -1
- package/tieredmenu/style/tieredmenustyle.esm.js +0 -3
- package/tieredmenu/style/tieredmenustyle.esm.min.js +1 -1
- package/tieredmenu/style/tieredmenustyle.js +0 -3
- package/tieredmenu/style/tieredmenustyle.min.js +1 -1
- package/tieredmenu/tieredmenu.cjs.js +1 -3
- package/tieredmenu/tieredmenu.cjs.min.js +1 -1
- package/tieredmenu/tieredmenu.esm.js +1 -3
- package/tieredmenu/tieredmenu.esm.min.js +1 -1
- package/tieredmenu/tieredmenu.js +1 -3
- package/tieredmenu/tieredmenu.min.js +1 -1
- package/timeline/Timeline.vue +1 -1
- package/timeline/style/timelinestyle.cjs.js +0 -2
- package/timeline/style/timelinestyle.cjs.min.js +1 -1
- package/timeline/style/timelinestyle.esm.js +0 -2
- package/timeline/style/timelinestyle.esm.min.js +1 -1
- package/timeline/style/timelinestyle.js +0 -2
- package/timeline/style/timelinestyle.min.js +1 -1
- package/timeline/timeline.cjs.js +1 -3
- package/timeline/timeline.cjs.min.js +1 -1
- package/timeline/timeline.esm.js +1 -3
- package/timeline/timeline.esm.min.js +1 -1
- package/timeline/timeline.js +1 -3
- package/timeline/timeline.min.js +1 -1
- package/toast/Toast.d.ts +1 -1
- package/toast/style/toaststyle.cjs.js +3 -4
- package/toast/style/toaststyle.cjs.min.js +1 -1
- package/toast/style/toaststyle.esm.js +3 -4
- package/toast/style/toaststyle.esm.min.js +1 -1
- package/toast/style/toaststyle.js +3 -4
- package/toast/style/toaststyle.min.js +1 -1
- package/togglebutton/BaseToggleButton.vue +4 -0
- package/togglebutton/ToggleButton.d.ts +5 -0
- package/togglebutton/ToggleButton.vue +1 -1
- package/togglebutton/style/togglebuttonstyle.cjs.js +2 -3
- package/togglebutton/style/togglebuttonstyle.cjs.min.js +1 -1
- package/togglebutton/style/togglebuttonstyle.esm.js +2 -3
- package/togglebutton/style/togglebuttonstyle.esm.min.js +1 -1
- package/togglebutton/style/togglebuttonstyle.js +2 -3
- package/togglebutton/style/togglebuttonstyle.min.js +1 -1
- package/togglebutton/togglebutton.cjs.js +4 -1
- package/togglebutton/togglebutton.cjs.min.js +1 -1
- package/togglebutton/togglebutton.esm.js +4 -1
- package/togglebutton/togglebutton.esm.min.js +1 -1
- package/togglebutton/togglebutton.js +4 -1
- package/togglebutton/togglebutton.min.js +1 -1
- package/toolbar/Toolbar.vue +1 -1
- package/toolbar/style/toolbarstyle.cjs.js +0 -2
- package/toolbar/style/toolbarstyle.cjs.min.js +1 -1
- package/toolbar/style/toolbarstyle.esm.js +0 -2
- package/toolbar/style/toolbarstyle.esm.min.js +1 -1
- package/toolbar/style/toolbarstyle.js +0 -2
- package/toolbar/style/toolbarstyle.min.js +1 -1
- package/toolbar/toolbar.cjs.js +1 -3
- package/toolbar/toolbar.cjs.min.js +1 -1
- package/toolbar/toolbar.esm.js +1 -3
- package/toolbar/toolbar.esm.min.js +1 -1
- package/toolbar/toolbar.js +1 -3
- package/toolbar/toolbar.min.js +1 -1
- package/tooltip/style/tooltipstyle.cjs.js +0 -2
- package/tooltip/style/tooltipstyle.cjs.min.js +1 -1
- package/tooltip/style/tooltipstyle.esm.js +0 -2
- package/tooltip/style/tooltipstyle.esm.min.js +1 -1
- package/tooltip/style/tooltipstyle.js +0 -2
- package/tooltip/style/tooltipstyle.min.js +1 -1
- package/tree/Tree.vue +1 -1
- package/tree/style/treestyle.cjs.js +0 -2
- package/tree/style/treestyle.cjs.min.js +1 -1
- package/tree/style/treestyle.esm.js +0 -2
- package/tree/style/treestyle.esm.min.js +1 -1
- package/tree/style/treestyle.js +0 -2
- package/tree/style/treestyle.min.js +1 -1
- package/tree/tree.cjs.js +1 -3
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +1 -3
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +1 -3
- package/tree/tree.min.js +1 -1
- package/treeselect/BaseTreeSelect.vue +8 -0
- package/treeselect/TreeSelect.d.ts +10 -0
- package/treeselect/TreeSelect.vue +7 -3
- package/treeselect/style/treeselectstyle.cjs.js +4 -4
- package/treeselect/style/treeselectstyle.cjs.min.js +1 -1
- package/treeselect/style/treeselectstyle.esm.js +4 -4
- package/treeselect/style/treeselectstyle.esm.min.js +1 -1
- package/treeselect/style/treeselectstyle.js +4 -4
- package/treeselect/style/treeselectstyle.min.js +1 -1
- package/treeselect/treeselect.cjs.js +16 -6
- package/treeselect/treeselect.cjs.min.js +1 -1
- package/treeselect/treeselect.esm.js +17 -7
- package/treeselect/treeselect.esm.min.js +1 -1
- package/treeselect/treeselect.js +16 -6
- package/treeselect/treeselect.min.js +1 -1
- package/treetable/HeaderCell.vue +1 -1
- package/treetable/TreeTable.vue +2 -4
- package/treetable/style/treetablestyle.cjs.js +0 -2
- package/treetable/style/treetablestyle.cjs.min.js +1 -1
- package/treetable/style/treetablestyle.esm.js +0 -2
- package/treetable/style/treetablestyle.esm.min.js +1 -1
- package/treetable/style/treetablestyle.js +0 -2
- package/treetable/style/treetablestyle.min.js +1 -1
- package/treetable/treetable.cjs.js +4 -9
- package/treetable/treetable.cjs.min.js +1 -1
- package/treetable/treetable.esm.js +4 -9
- package/treetable/treetable.esm.min.js +1 -1
- package/treetable/treetable.js +4 -9
- package/treetable/treetable.min.js +1 -1
- package/tristatecheckbox/BaseTriStateCheckbox.vue +8 -0
- package/tristatecheckbox/TriStateCheckbox.d.ts +10 -0
- package/tristatecheckbox/TriStateCheckbox.vue +1 -1
- package/tristatecheckbox/style/tristatecheckboxstyle.cjs.js +3 -3
- package/tristatecheckbox/style/tristatecheckboxstyle.cjs.min.js +1 -1
- package/tristatecheckbox/style/tristatecheckboxstyle.esm.js +3 -3
- package/tristatecheckbox/style/tristatecheckboxstyle.esm.min.js +1 -1
- package/tristatecheckbox/style/tristatecheckboxstyle.js +3 -3
- package/tristatecheckbox/style/tristatecheckboxstyle.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.cjs.js +8 -1
- package/tristatecheckbox/tristatecheckbox.cjs.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.esm.js +8 -1
- package/tristatecheckbox/tristatecheckbox.esm.min.js +1 -1
- package/tristatecheckbox/tristatecheckbox.js +8 -1
- package/tristatecheckbox/tristatecheckbox.min.js +1 -1
- package/vetur-attributes.json +138 -6
- package/vetur-tags.json +33 -0
- package/virtualscroller/VirtualScroller.vue +16 -11
- package/virtualscroller/virtualscroller.cjs.js +32 -25
- package/virtualscroller/virtualscroller.cjs.min.js +1 -1
- package/virtualscroller/virtualscroller.esm.js +32 -25
- package/virtualscroller/virtualscroller.esm.min.js +1 -1
- package/virtualscroller/virtualscroller.js +32 -25
- package/virtualscroller/virtualscroller.min.js +1 -1
- package/web-types.json +337 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"primevue/base/style";var p=e.extend({name:"chip",classes:{root:function(e){return["p-chip p-component",{"p-chip-image":null!=e.props.image}]},icon:"p-chip-icon",label:"p-chip-text",removeIcon:"p-chip-remove-icon"}});export{p as default};
|
package/chip/style/chipstyle.js
CHANGED
|
@@ -7,7 +7,6 @@ this.primevue.chip.style = (function (BaseStyle) {
|
|
|
7
7
|
|
|
8
8
|
var BaseStyle__default = /*#__PURE__*/_interopDefaultLegacy(BaseStyle);
|
|
9
9
|
|
|
10
|
-
var css = "\n@layer primevue {\n .p-chip {\n display: inline-flex;\n align-items: center;\n }\n\n .p-chip-text {\n line-height: 1.5;\n }\n\n .p-chip-icon.pi {\n line-height: 1.5;\n }\n\n .p-chip-remove-icon {\n line-height: 1.5;\n cursor: pointer;\n }\n\n .p-chip img {\n border-radius: 50%;\n }\n}\n";
|
|
11
10
|
var classes = {
|
|
12
11
|
root: function root(_ref) {
|
|
13
12
|
var props = _ref.props;
|
|
@@ -21,7 +20,6 @@ this.primevue.chip.style = (function (BaseStyle) {
|
|
|
21
20
|
};
|
|
22
21
|
var ChipStyle = BaseStyle__default["default"].extend({
|
|
23
22
|
name: 'chip',
|
|
24
|
-
css: css,
|
|
25
23
|
classes: classes
|
|
26
24
|
});
|
|
27
25
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.chip=this.primevue.chip||{},this.primevue.chip.style=function(e){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}return i(primevue.base.style).default.extend({name:"chip",
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.chip=this.primevue.chip||{},this.primevue.chip.style=function(e){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}return i(primevue.base.style).default.extend({name:"chip",classes:{root:function(e){return["p-chip p-component",{"p-chip-image":null!=e.props.image}]},icon:"p-chip-icon",label:"p-chip-text",removeIcon:"p-chip-remove-icon"}})}();
|
package/chips/BaseChips.vue
CHANGED
package/chips/Chips.d.ts
CHANGED
|
@@ -184,10 +184,21 @@ export interface ChipsProps {
|
|
|
184
184
|
* @deprecated since v3.27.0. Use 'removetokenicon' slot.
|
|
185
185
|
*/
|
|
186
186
|
removeTokenIcon?: string | undefined;
|
|
187
|
+
/**
|
|
188
|
+
* When present, it specifies that the component should have invalid state style.
|
|
189
|
+
* @defaultValue false
|
|
190
|
+
*/
|
|
191
|
+
invalid?: boolean | undefined;
|
|
187
192
|
/**
|
|
188
193
|
* When present, it specifies that the element should be disabled.
|
|
194
|
+
* @defaultValue false
|
|
189
195
|
*/
|
|
190
196
|
disabled?: boolean | undefined;
|
|
197
|
+
/**
|
|
198
|
+
* Specifies the input variant of the component.
|
|
199
|
+
* @defaultValue outlined
|
|
200
|
+
*/
|
|
201
|
+
variant?: 'outlined' | 'filled' | undefined;
|
|
191
202
|
/**
|
|
192
203
|
* Placeholder text for the input.
|
|
193
204
|
*/
|
package/chips/Chips.vue
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div :class="cx('root')" v-bind="ptm('root')"
|
|
2
|
+
<div :class="cx('root')" v-bind="ptm('root')">
|
|
3
3
|
<ul
|
|
4
4
|
ref="container"
|
|
5
5
|
:class="cx('container')"
|
|
@@ -67,12 +67,20 @@ export default {
|
|
|
67
67
|
emits: ['update:modelValue', 'add', 'remove', 'focus', 'blur'],
|
|
68
68
|
data() {
|
|
69
69
|
return {
|
|
70
|
-
id:
|
|
70
|
+
id: this.$attrs.id,
|
|
71
71
|
inputValue: null,
|
|
72
72
|
focused: false,
|
|
73
73
|
focusedIndex: null
|
|
74
74
|
};
|
|
75
75
|
},
|
|
76
|
+
watch: {
|
|
77
|
+
'$attrs.id': function (newValue) {
|
|
78
|
+
this.id = newValue || UniqueComponentId();
|
|
79
|
+
}
|
|
80
|
+
},
|
|
81
|
+
mounted() {
|
|
82
|
+
this.id = this.id || UniqueComponentId();
|
|
83
|
+
},
|
|
76
84
|
methods: {
|
|
77
85
|
onWrapperClick() {
|
|
78
86
|
this.$refs.input.focus();
|
package/chips/chips.cjs.js
CHANGED
|
@@ -40,6 +40,14 @@ var script$1 = {
|
|
|
40
40
|
type: String,
|
|
41
41
|
"default": null
|
|
42
42
|
},
|
|
43
|
+
variant: {
|
|
44
|
+
type: String,
|
|
45
|
+
"default": null
|
|
46
|
+
},
|
|
47
|
+
invalid: {
|
|
48
|
+
type: Boolean,
|
|
49
|
+
"default": false
|
|
50
|
+
},
|
|
43
51
|
disabled: {
|
|
44
52
|
type: Boolean,
|
|
45
53
|
"default": false
|
|
@@ -93,12 +101,20 @@ var script = {
|
|
|
93
101
|
emits: ['update:modelValue', 'add', 'remove', 'focus', 'blur'],
|
|
94
102
|
data: function data() {
|
|
95
103
|
return {
|
|
96
|
-
id:
|
|
104
|
+
id: this.$attrs.id,
|
|
97
105
|
inputValue: null,
|
|
98
106
|
focused: false,
|
|
99
107
|
focusedIndex: null
|
|
100
108
|
};
|
|
101
109
|
},
|
|
110
|
+
watch: {
|
|
111
|
+
'$attrs.id': function $attrsId(newValue) {
|
|
112
|
+
this.id = newValue || utils.UniqueComponentId();
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
mounted: function mounted() {
|
|
116
|
+
this.id = this.id || utils.UniqueComponentId();
|
|
117
|
+
},
|
|
102
118
|
methods: {
|
|
103
119
|
onWrapperClick: function onWrapperClick() {
|
|
104
120
|
this.$refs.input.focus();
|
|
@@ -275,9 +291,7 @@ var _hoisted_3 = ["id", "disabled", "placeholder"];
|
|
|
275
291
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
276
292
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
277
293
|
"class": _ctx.cx('root')
|
|
278
|
-
}, _ctx.ptm('root'), {
|
|
279
|
-
"data-pc-name": "chips"
|
|
280
|
-
}), [vue.createElementVNode("ul", vue.mergeProps({
|
|
294
|
+
}, _ctx.ptm('root')), [vue.createElementVNode("ul", vue.mergeProps({
|
|
281
295
|
ref: "container",
|
|
282
296
|
"class": _ctx.cx('container'),
|
|
283
297
|
tabindex: "-1",
|
package/chips/chips.cjs.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e=require("primevue/icons/timescircle"),t=require("primevue/utils"),n=require("primevue/basecomponent"),o=require("primevue/chips/style"),r=require("vue");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=i(e);function l(e){return d(e)||c(e)||s(e)||u()}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function c(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function d(e){if(Array.isArray(e))return p(e)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var f={name:"Chips",extends:{name:"BaseChips",extends:i(n).default,props:{modelValue:{type:Array,default:null},max:{type:Number,default:null},separator:{type:[String,Object],default:null},addOnBlur:{type:Boolean,default:null},allowDuplicate:{type:Boolean,default:!0},placeholder:{type:String,default:null},disabled:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},inputProps:{type:null,default:null},removeTokenIcon:{type:String,default:void 0},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:i(o).default,provide:function(){return{$parentInstance:this}}},emits:["update:modelValue","add","remove","focus","blur"],data:function(){return{id:
|
|
1
|
+
"use strict";var e=require("primevue/icons/timescircle"),t=require("primevue/utils"),n=require("primevue/basecomponent"),o=require("primevue/chips/style"),r=require("vue");function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=i(e);function l(e){return d(e)||c(e)||s(e)||u()}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function c(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function d(e){if(Array.isArray(e))return p(e)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var f={name:"Chips",extends:{name:"BaseChips",extends:i(n).default,props:{modelValue:{type:Array,default:null},max:{type:Number,default:null},separator:{type:[String,Object],default:null},addOnBlur:{type:Boolean,default:null},allowDuplicate:{type:Boolean,default:!0},placeholder:{type:String,default:null},variant:{type:String,default:null},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},inputProps:{type:null,default:null},removeTokenIcon:{type:String,default:void 0},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:i(o).default,provide:function(){return{$parentInstance:this}}},emits:["update:modelValue","add","remove","focus","blur"],data:function(){return{id:this.$attrs.id,inputValue:null,focused:!1,focusedIndex:null}},watch:{"$attrs.id":function(e){this.id=e||t.UniqueComponentId()}},mounted:function(){this.id=this.id||t.UniqueComponentId()},methods:{onWrapperClick:function(){this.$refs.input.focus()},onInput:function(e){this.inputValue=e.target.value,this.focusedIndex=null},onFocus:function(e){this.focused=!0,this.focusedIndex=null,this.$emit("focus",e)},onBlur:function(e){this.focused=!1,this.focusedIndex=null,this.addOnBlur&&this.addItem(e,e.target.value,!1),this.$emit("blur",e)},onKeyDown:function(e){var t=e.target.value;switch(e.code){case"Backspace":0===t.length&&this.modelValue&&this.modelValue.length>0&&this.removeItem(e,null!==this.focusedIndex?this.focusedIndex:this.modelValue.length-1);break;case"Enter":case"NumpadEnter":t&&t.trim().length&&!this.maxedOut&&this.addItem(e,t,!0);break;case"ArrowLeft":0===t.length&&this.modelValue&&this.modelValue.length>0&&this.$refs.container.focus();break;case"ArrowRight":e.stopPropagation();break;default:this.separator&&(this.separator===e.key||e.key.match(this.separator))&&this.addItem(e,t,!0)}},onPaste:function(e){var t=this;if(this.separator){var n=this.separator.replace("\\n","\n").replace("\\r","\r").replace("\\t","\t"),o=(e.clipboardData||window.clipboardData).getData("Text");if(o){var r=this.modelValue||[],i=o.split(n);i=i.filter((function(e){return t.allowDuplicate||-1===r.indexOf(e)})),r=[].concat(l(r),l(i)),this.updateModel(e,r,!0)}}},onContainerFocus:function(){this.focused=!0},onContainerBlur:function(){this.focusedIndex=-1,this.focused=!1},onContainerKeyDown:function(e){switch(e.code){case"ArrowLeft":this.onArrowLeftKeyOn(e);break;case"ArrowRight":this.onArrowRightKeyOn(e);break;case"Backspace":this.onBackspaceKeyOn(e)}},onArrowLeftKeyOn:function(){0===this.inputValue.length&&this.modelValue&&this.modelValue.length>0&&(this.focusedIndex=null===this.focusedIndex?this.modelValue.length-1:this.focusedIndex-1,this.focusedIndex<0&&(this.focusedIndex=0))},onArrowRightKeyOn:function(){0===this.inputValue.length&&this.modelValue&&this.modelValue.length>0&&(this.focusedIndex===this.modelValue.length-1?(this.focusedIndex=null,this.$refs.input.focus()):this.focusedIndex++)},onBackspaceKeyOn:function(e){null!==this.focusedIndex&&this.removeItem(e,this.focusedIndex)},updateModel:function(e,t,n){var o=this;this.$emit("update:modelValue",t),this.$emit("add",{originalEvent:e,value:t}),this.$refs.input.value="",this.inputValue="",setTimeout((function(){o.maxedOut&&(o.focused=!1)}),0),n&&e.preventDefault()},addItem:function(e,t,n){if(t&&t.trim().length){var o=this.modelValue?l(this.modelValue):[];(this.allowDuplicate||-1===o.indexOf(t))&&(o.push(t),this.updateModel(e,o,n))}},removeItem:function(e,t){if(!this.disabled){var n=l(this.modelValue),o=n.splice(t,1);this.focusedIndex=null,this.$refs.input.focus(),this.$emit("update:modelValue",n),this.$emit("remove",{originalEvent:e,value:o})}}},computed:{maxedOut:function(){return this.max&&this.modelValue&&this.max===this.modelValue.length},focusedOptionId:function(){return null!==this.focusedIndex?"".concat(this.id,"_chips_item_").concat(this.focusedIndex):null}},components:{TimesCircleIcon:a.default}};function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){var o;return(t="symbol"==m(o=v(t,"string"))?o:String(o))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e,t){if("object"!=m(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=m(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var g=["aria-labelledby","aria-label","aria-activedescendant"],I=["id","aria-label","aria-setsize","aria-posinset","data-p-focused"],x=["id","disabled","placeholder"];f.render=function(e,t,n,o,i,a){return r.openBlock(),r.createElementBlock("div",r.mergeProps({class:e.cx("root")},e.ptm("root")),[r.createElementVNode("ul",r.mergeProps({ref:"container",class:e.cx("container"),tabindex:"-1",role:"listbox","aria-orientation":"horizontal","aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-activedescendant":i.focused?a.focusedOptionId:void 0,onClick:t[5]||(t[5]=function(e){return a.onWrapperClick()}),onFocus:t[6]||(t[6]=function(){return a.onContainerFocus&&a.onContainerFocus.apply(a,arguments)}),onBlur:t[7]||(t[7]=function(){return a.onContainerBlur&&a.onContainerBlur.apply(a,arguments)}),onKeydown:t[8]||(t[8]=function(){return a.onContainerKeyDown&&a.onContainerKeyDown.apply(a,arguments)})},e.ptm("container")),[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(e.modelValue,(function(t,n){return r.openBlock(),r.createElementBlock("li",r.mergeProps({key:"".concat(n,"_").concat(t),id:i.id+"_chips_item_"+n,role:"option",class:e.cx("token",{index:n}),"aria-label":t,"aria-selected":!0,"aria-setsize":e.modelValue.length,"aria-posinset":n+1},e.ptm("token"),{"data-p-focused":i.focusedIndex===n}),[r.renderSlot(e.$slots,"chip",{class:r.normalizeClass(e.cx("label")),value:t},(function(){return[r.createElementVNode("span",r.mergeProps({class:e.cx("label")},e.ptm("label")),r.toDisplayString(t),17)]})),r.renderSlot(e.$slots,"removetokenicon",{class:r.normalizeClass(e.cx("removeTokenIcon")),index:n,onClick:function(e){return a.removeItem(e,n)},removeCallback:function(e){return a.removeItem(e,n)}},(function(){return[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(e.removeTokenIcon?"span":"TimesCircleIcon"),r.mergeProps({class:[e.cx("removeTokenIcon"),e.removeTokenIcon],onClick:function(e){return a.removeItem(e,n)},"aria-hidden":"true"},e.ptm("removeTokenIcon")),null,16,["class","onClick"]))]}))],16,I)})),128)),r.createElementVNode("li",r.mergeProps({class:e.cx("inputToken"),role:"option"},e.ptm("inputToken")),[r.createElementVNode("input",r.mergeProps({ref:"input",id:e.inputId,type:"text",class:e.inputClass,style:e.inputStyle,disabled:e.disabled||a.maxedOut,placeholder:e.placeholder,onFocus:t[0]||(t[0]=function(e){return a.onFocus(e)}),onBlur:t[1]||(t[1]=function(e){return a.onBlur(e)}),onInput:t[2]||(t[2]=function(){return a.onInput&&a.onInput.apply(a,arguments)}),onKeydown:t[3]||(t[3]=function(e){return a.onKeyDown(e)}),onPaste:t[4]||(t[4]=function(e){return a.onPaste(e)})},y(y({},e.inputProps),e.ptm("input"))),null,16,x)],16)],16,g)],16)},module.exports=f;
|
package/chips/chips.esm.js
CHANGED
|
@@ -32,6 +32,14 @@ var script$1 = {
|
|
|
32
32
|
type: String,
|
|
33
33
|
"default": null
|
|
34
34
|
},
|
|
35
|
+
variant: {
|
|
36
|
+
type: String,
|
|
37
|
+
"default": null
|
|
38
|
+
},
|
|
39
|
+
invalid: {
|
|
40
|
+
type: Boolean,
|
|
41
|
+
"default": false
|
|
42
|
+
},
|
|
35
43
|
disabled: {
|
|
36
44
|
type: Boolean,
|
|
37
45
|
"default": false
|
|
@@ -85,12 +93,20 @@ var script = {
|
|
|
85
93
|
emits: ['update:modelValue', 'add', 'remove', 'focus', 'blur'],
|
|
86
94
|
data: function data() {
|
|
87
95
|
return {
|
|
88
|
-
id:
|
|
96
|
+
id: this.$attrs.id,
|
|
89
97
|
inputValue: null,
|
|
90
98
|
focused: false,
|
|
91
99
|
focusedIndex: null
|
|
92
100
|
};
|
|
93
101
|
},
|
|
102
|
+
watch: {
|
|
103
|
+
'$attrs.id': function $attrsId(newValue) {
|
|
104
|
+
this.id = newValue || UniqueComponentId();
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
mounted: function mounted() {
|
|
108
|
+
this.id = this.id || UniqueComponentId();
|
|
109
|
+
},
|
|
94
110
|
methods: {
|
|
95
111
|
onWrapperClick: function onWrapperClick() {
|
|
96
112
|
this.$refs.input.focus();
|
|
@@ -267,9 +283,7 @@ var _hoisted_3 = ["id", "disabled", "placeholder"];
|
|
|
267
283
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
268
284
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
269
285
|
"class": _ctx.cx('root')
|
|
270
|
-
}, _ctx.ptm('root'), {
|
|
271
|
-
"data-pc-name": "chips"
|
|
272
|
-
}), [createElementVNode("ul", mergeProps({
|
|
286
|
+
}, _ctx.ptm('root')), [createElementVNode("ul", mergeProps({
|
|
273
287
|
ref: "container",
|
|
274
288
|
"class": _ctx.cx('container'),
|
|
275
289
|
tabindex: "-1",
|
package/chips/chips.esm.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import e from"primevue/icons/timescircle";import{UniqueComponentId as t}from"primevue/utils";import n from"primevue/basecomponent";import o from"primevue/chips/style";import{openBlock as
|
|
1
|
+
import e from"primevue/icons/timescircle";import{UniqueComponentId as t}from"primevue/utils";import n from"primevue/basecomponent";import o from"primevue/chips/style";import{openBlock as i,createElementBlock as r,mergeProps as a,createElementVNode as l,Fragment as u,renderList as s,renderSlot as c,normalizeClass as d,toDisplayString as p,createBlock as f,resolveDynamicComponent as h}from"vue";function m(e){return g(e)||v(e)||b(e)||y()}function y(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(e,t){if(e){if("string"==typeof e)return I(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?I(e,t):void 0}}function v(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function g(e){if(Array.isArray(e))return I(e)}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var x={name:"Chips",extends:{name:"BaseChips",extends:n,props:{modelValue:{type:Array,default:null},max:{type:Number,default:null},separator:{type:[String,Object],default:null},addOnBlur:{type:Boolean,default:null},allowDuplicate:{type:Boolean,default:!0},placeholder:{type:String,default:null},variant:{type:String,default:null},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},inputProps:{type:null,default:null},removeTokenIcon:{type:String,default:void 0},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:o,provide:function(){return{$parentInstance:this}}},emits:["update:modelValue","add","remove","focus","blur"],data:function(){return{id:this.$attrs.id,inputValue:null,focused:!1,focusedIndex:null}},watch:{"$attrs.id":function(e){this.id=e||t()}},mounted:function(){this.id=this.id||t()},methods:{onWrapperClick:function(){this.$refs.input.focus()},onInput:function(e){this.inputValue=e.target.value,this.focusedIndex=null},onFocus:function(e){this.focused=!0,this.focusedIndex=null,this.$emit("focus",e)},onBlur:function(e){this.focused=!1,this.focusedIndex=null,this.addOnBlur&&this.addItem(e,e.target.value,!1),this.$emit("blur",e)},onKeyDown:function(e){var t=e.target.value;switch(e.code){case"Backspace":0===t.length&&this.modelValue&&this.modelValue.length>0&&this.removeItem(e,null!==this.focusedIndex?this.focusedIndex:this.modelValue.length-1);break;case"Enter":case"NumpadEnter":t&&t.trim().length&&!this.maxedOut&&this.addItem(e,t,!0);break;case"ArrowLeft":0===t.length&&this.modelValue&&this.modelValue.length>0&&this.$refs.container.focus();break;case"ArrowRight":e.stopPropagation();break;default:this.separator&&(this.separator===e.key||e.key.match(this.separator))&&this.addItem(e,t,!0)}},onPaste:function(e){var t=this;if(this.separator){var n=this.separator.replace("\\n","\n").replace("\\r","\r").replace("\\t","\t"),o=(e.clipboardData||window.clipboardData).getData("Text");if(o){var i=this.modelValue||[],r=o.split(n);r=r.filter((function(e){return t.allowDuplicate||-1===i.indexOf(e)})),i=[].concat(m(i),m(r)),this.updateModel(e,i,!0)}}},onContainerFocus:function(){this.focused=!0},onContainerBlur:function(){this.focusedIndex=-1,this.focused=!1},onContainerKeyDown:function(e){switch(e.code){case"ArrowLeft":this.onArrowLeftKeyOn(e);break;case"ArrowRight":this.onArrowRightKeyOn(e);break;case"Backspace":this.onBackspaceKeyOn(e)}},onArrowLeftKeyOn:function(){0===this.inputValue.length&&this.modelValue&&this.modelValue.length>0&&(this.focusedIndex=null===this.focusedIndex?this.modelValue.length-1:this.focusedIndex-1,this.focusedIndex<0&&(this.focusedIndex=0))},onArrowRightKeyOn:function(){0===this.inputValue.length&&this.modelValue&&this.modelValue.length>0&&(this.focusedIndex===this.modelValue.length-1?(this.focusedIndex=null,this.$refs.input.focus()):this.focusedIndex++)},onBackspaceKeyOn:function(e){null!==this.focusedIndex&&this.removeItem(e,this.focusedIndex)},updateModel:function(e,t,n){var o=this;this.$emit("update:modelValue",t),this.$emit("add",{originalEvent:e,value:t}),this.$refs.input.value="",this.inputValue="",setTimeout((function(){o.maxedOut&&(o.focused=!1)}),0),n&&e.preventDefault()},addItem:function(e,t,n){if(t&&t.trim().length){var o=this.modelValue?m(this.modelValue):[];(this.allowDuplicate||-1===o.indexOf(t))&&(o.push(t),this.updateModel(e,o,n))}},removeItem:function(e,t){if(!this.disabled){var n=m(this.modelValue),o=n.splice(t,1);this.focusedIndex=null,this.$refs.input.focus(),this.$emit("update:modelValue",n),this.$emit("remove",{originalEvent:e,value:o})}}},computed:{maxedOut:function(){return this.max&&this.modelValue&&this.max===this.modelValue.length},focusedOptionId:function(){return null!==this.focusedIndex?"".concat(this.id,"_chips_item_").concat(this.focusedIndex):null}},components:{TimesCircleIcon:e}};function O(e){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},O(e)}function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w(Object(n),!0).forEach((function(t){V(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function V(e,t,n){var o;return(t="symbol"==O(o=S(t,"string"))?o:String(o))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S(e,t){if("object"!=O(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=O(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var C=["aria-labelledby","aria-label","aria-activedescendant"],j=["id","aria-label","aria-setsize","aria-posinset","data-p-focused"],B=["id","disabled","placeholder"];x.render=function(e,t,n,o,m,y){return i(),r("div",a({class:e.cx("root")},e.ptm("root")),[l("ul",a({ref:"container",class:e.cx("container"),tabindex:"-1",role:"listbox","aria-orientation":"horizontal","aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-activedescendant":m.focused?y.focusedOptionId:void 0,onClick:t[5]||(t[5]=function(e){return y.onWrapperClick()}),onFocus:t[6]||(t[6]=function(){return y.onContainerFocus&&y.onContainerFocus.apply(y,arguments)}),onBlur:t[7]||(t[7]=function(){return y.onContainerBlur&&y.onContainerBlur.apply(y,arguments)}),onKeydown:t[8]||(t[8]=function(){return y.onContainerKeyDown&&y.onContainerKeyDown.apply(y,arguments)})},e.ptm("container")),[(i(!0),r(u,null,s(e.modelValue,(function(t,n){return i(),r("li",a({key:"".concat(n,"_").concat(t),id:m.id+"_chips_item_"+n,role:"option",class:e.cx("token",{index:n}),"aria-label":t,"aria-selected":!0,"aria-setsize":e.modelValue.length,"aria-posinset":n+1},e.ptm("token"),{"data-p-focused":m.focusedIndex===n}),[c(e.$slots,"chip",{class:d(e.cx("label")),value:t},(function(){return[l("span",a({class:e.cx("label")},e.ptm("label")),p(t),17)]})),c(e.$slots,"removetokenicon",{class:d(e.cx("removeTokenIcon")),index:n,onClick:function(e){return y.removeItem(e,n)},removeCallback:function(e){return y.removeItem(e,n)}},(function(){return[(i(),f(h(e.removeTokenIcon?"span":"TimesCircleIcon"),a({class:[e.cx("removeTokenIcon"),e.removeTokenIcon],onClick:function(e){return y.removeItem(e,n)},"aria-hidden":"true"},e.ptm("removeTokenIcon")),null,16,["class","onClick"]))]}))],16,j)})),128)),l("li",a({class:e.cx("inputToken"),role:"option"},e.ptm("inputToken")),[l("input",a({ref:"input",id:e.inputId,type:"text",class:e.inputClass,style:e.inputStyle,disabled:e.disabled||y.maxedOut,placeholder:e.placeholder,onFocus:t[0]||(t[0]=function(e){return y.onFocus(e)}),onBlur:t[1]||(t[1]=function(e){return y.onBlur(e)}),onInput:t[2]||(t[2]=function(){return y.onInput&&y.onInput.apply(y,arguments)}),onKeydown:t[3]||(t[3]=function(e){return y.onKeyDown(e)}),onPaste:t[4]||(t[4]=function(e){return y.onPaste(e)})},k(k({},e.inputProps),e.ptm("input"))),null,16,B)],16)],16,C)],16)};export{x as default};
|
package/chips/chips.js
CHANGED
|
@@ -36,6 +36,14 @@ this.primevue.chips = (function (TimesCircleIcon, utils, BaseComponent, ChipsSty
|
|
|
36
36
|
type: String,
|
|
37
37
|
"default": null
|
|
38
38
|
},
|
|
39
|
+
variant: {
|
|
40
|
+
type: String,
|
|
41
|
+
"default": null
|
|
42
|
+
},
|
|
43
|
+
invalid: {
|
|
44
|
+
type: Boolean,
|
|
45
|
+
"default": false
|
|
46
|
+
},
|
|
39
47
|
disabled: {
|
|
40
48
|
type: Boolean,
|
|
41
49
|
"default": false
|
|
@@ -89,12 +97,20 @@ this.primevue.chips = (function (TimesCircleIcon, utils, BaseComponent, ChipsSty
|
|
|
89
97
|
emits: ['update:modelValue', 'add', 'remove', 'focus', 'blur'],
|
|
90
98
|
data: function data() {
|
|
91
99
|
return {
|
|
92
|
-
id:
|
|
100
|
+
id: this.$attrs.id,
|
|
93
101
|
inputValue: null,
|
|
94
102
|
focused: false,
|
|
95
103
|
focusedIndex: null
|
|
96
104
|
};
|
|
97
105
|
},
|
|
106
|
+
watch: {
|
|
107
|
+
'$attrs.id': function $attrsId(newValue) {
|
|
108
|
+
this.id = newValue || utils.UniqueComponentId();
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
mounted: function mounted() {
|
|
112
|
+
this.id = this.id || utils.UniqueComponentId();
|
|
113
|
+
},
|
|
98
114
|
methods: {
|
|
99
115
|
onWrapperClick: function onWrapperClick() {
|
|
100
116
|
this.$refs.input.focus();
|
|
@@ -271,9 +287,7 @@ this.primevue.chips = (function (TimesCircleIcon, utils, BaseComponent, ChipsSty
|
|
|
271
287
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
272
288
|
return vue.openBlock(), vue.createElementBlock("div", vue.mergeProps({
|
|
273
289
|
"class": _ctx.cx('root')
|
|
274
|
-
}, _ctx.ptm('root'), {
|
|
275
|
-
"data-pc-name": "chips"
|
|
276
|
-
}), [vue.createElementVNode("ul", vue.mergeProps({
|
|
290
|
+
}, _ctx.ptm('root')), [vue.createElementVNode("ul", vue.mergeProps({
|
|
277
291
|
ref: "container",
|
|
278
292
|
"class": _ctx.cx('container'),
|
|
279
293
|
tabindex: "-1",
|
package/chips/chips.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.chips=function(e,t,n,o,r){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=i(e);function l(e){return d(e)||c(e)||s(e)||u()}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function c(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function d(e){if(Array.isArray(e))return p(e)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var f={name:"Chips",extends:{name:"BaseChips",extends:i(n).default,props:{modelValue:{type:Array,default:null},max:{type:Number,default:null},separator:{type:[String,Object],default:null},addOnBlur:{type:Boolean,default:null},allowDuplicate:{type:Boolean,default:!0},placeholder:{type:String,default:null},disabled:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},inputProps:{type:null,default:null},removeTokenIcon:{type:String,default:void 0},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:i(o).default,provide:function(){return{$parentInstance:this}}},emits:["update:modelValue","add","remove","focus","blur"],data:function(){return{id:
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.chips=function(e,t,n,o,r){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=i(e);function l(e){return d(e)||c(e)||s(e)||u()}function u(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function s(e,t){if(e){if("string"==typeof e)return p(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(e,t):void 0}}function c(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function d(e){if(Array.isArray(e))return p(e)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}var f={name:"Chips",extends:{name:"BaseChips",extends:i(n).default,props:{modelValue:{type:Array,default:null},max:{type:Number,default:null},separator:{type:[String,Object],default:null},addOnBlur:{type:Boolean,default:null},allowDuplicate:{type:Boolean,default:!0},placeholder:{type:String,default:null},variant:{type:String,default:null},invalid:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},inputId:{type:String,default:null},inputClass:{type:[String,Object],default:null},inputStyle:{type:Object,default:null},inputProps:{type:null,default:null},removeTokenIcon:{type:String,default:void 0},ariaLabelledby:{type:String,default:null},ariaLabel:{type:String,default:null}},style:i(o).default,provide:function(){return{$parentInstance:this}}},emits:["update:modelValue","add","remove","focus","blur"],data:function(){return{id:this.$attrs.id,inputValue:null,focused:!1,focusedIndex:null}},watch:{"$attrs.id":function(e){this.id=e||t.UniqueComponentId()}},mounted:function(){this.id=this.id||t.UniqueComponentId()},methods:{onWrapperClick:function(){this.$refs.input.focus()},onInput:function(e){this.inputValue=e.target.value,this.focusedIndex=null},onFocus:function(e){this.focused=!0,this.focusedIndex=null,this.$emit("focus",e)},onBlur:function(e){this.focused=!1,this.focusedIndex=null,this.addOnBlur&&this.addItem(e,e.target.value,!1),this.$emit("blur",e)},onKeyDown:function(e){var t=e.target.value;switch(e.code){case"Backspace":0===t.length&&this.modelValue&&this.modelValue.length>0&&this.removeItem(e,null!==this.focusedIndex?this.focusedIndex:this.modelValue.length-1);break;case"Enter":case"NumpadEnter":t&&t.trim().length&&!this.maxedOut&&this.addItem(e,t,!0);break;case"ArrowLeft":0===t.length&&this.modelValue&&this.modelValue.length>0&&this.$refs.container.focus();break;case"ArrowRight":e.stopPropagation();break;default:this.separator&&(this.separator===e.key||e.key.match(this.separator))&&this.addItem(e,t,!0)}},onPaste:function(e){var t=this;if(this.separator){var n=this.separator.replace("\\n","\n").replace("\\r","\r").replace("\\t","\t"),o=(e.clipboardData||window.clipboardData).getData("Text");if(o){var r=this.modelValue||[],i=o.split(n);i=i.filter((function(e){return t.allowDuplicate||-1===r.indexOf(e)})),r=[].concat(l(r),l(i)),this.updateModel(e,r,!0)}}},onContainerFocus:function(){this.focused=!0},onContainerBlur:function(){this.focusedIndex=-1,this.focused=!1},onContainerKeyDown:function(e){switch(e.code){case"ArrowLeft":this.onArrowLeftKeyOn(e);break;case"ArrowRight":this.onArrowRightKeyOn(e);break;case"Backspace":this.onBackspaceKeyOn(e)}},onArrowLeftKeyOn:function(){0===this.inputValue.length&&this.modelValue&&this.modelValue.length>0&&(this.focusedIndex=null===this.focusedIndex?this.modelValue.length-1:this.focusedIndex-1,this.focusedIndex<0&&(this.focusedIndex=0))},onArrowRightKeyOn:function(){0===this.inputValue.length&&this.modelValue&&this.modelValue.length>0&&(this.focusedIndex===this.modelValue.length-1?(this.focusedIndex=null,this.$refs.input.focus()):this.focusedIndex++)},onBackspaceKeyOn:function(e){null!==this.focusedIndex&&this.removeItem(e,this.focusedIndex)},updateModel:function(e,t,n){var o=this;this.$emit("update:modelValue",t),this.$emit("add",{originalEvent:e,value:t}),this.$refs.input.value="",this.inputValue="",setTimeout((function(){o.maxedOut&&(o.focused=!1)}),0),n&&e.preventDefault()},addItem:function(e,t,n){if(t&&t.trim().length){var o=this.modelValue?l(this.modelValue):[];(this.allowDuplicate||-1===o.indexOf(t))&&(o.push(t),this.updateModel(e,o,n))}},removeItem:function(e,t){if(!this.disabled){var n=l(this.modelValue),o=n.splice(t,1);this.focusedIndex=null,this.$refs.input.focus(),this.$emit("update:modelValue",n),this.$emit("remove",{originalEvent:e,value:o})}}},computed:{maxedOut:function(){return this.max&&this.modelValue&&this.max===this.modelValue.length},focusedOptionId:function(){return null!==this.focusedIndex?"".concat(this.id,"_chips_item_").concat(this.focusedIndex):null}},components:{TimesCircleIcon:a.default}};function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){var o;return(t="symbol"==m(o=v(t,"string"))?o:String(o))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v(e,t){if("object"!=m(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=m(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}var g=["aria-labelledby","aria-label","aria-activedescendant"],I=["id","aria-label","aria-setsize","aria-posinset","data-p-focused"],x=["id","disabled","placeholder"];return f.render=function(e,t,n,o,i,a){return r.openBlock(),r.createElementBlock("div",r.mergeProps({class:e.cx("root")},e.ptm("root")),[r.createElementVNode("ul",r.mergeProps({ref:"container",class:e.cx("container"),tabindex:"-1",role:"listbox","aria-orientation":"horizontal","aria-labelledby":e.ariaLabelledby,"aria-label":e.ariaLabel,"aria-activedescendant":i.focused?a.focusedOptionId:void 0,onClick:t[5]||(t[5]=function(e){return a.onWrapperClick()}),onFocus:t[6]||(t[6]=function(){return a.onContainerFocus&&a.onContainerFocus.apply(a,arguments)}),onBlur:t[7]||(t[7]=function(){return a.onContainerBlur&&a.onContainerBlur.apply(a,arguments)}),onKeydown:t[8]||(t[8]=function(){return a.onContainerKeyDown&&a.onContainerKeyDown.apply(a,arguments)})},e.ptm("container")),[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(e.modelValue,(function(t,n){return r.openBlock(),r.createElementBlock("li",r.mergeProps({key:"".concat(n,"_").concat(t),id:i.id+"_chips_item_"+n,role:"option",class:e.cx("token",{index:n}),"aria-label":t,"aria-selected":!0,"aria-setsize":e.modelValue.length,"aria-posinset":n+1},e.ptm("token"),{"data-p-focused":i.focusedIndex===n}),[r.renderSlot(e.$slots,"chip",{class:r.normalizeClass(e.cx("label")),value:t},(function(){return[r.createElementVNode("span",r.mergeProps({class:e.cx("label")},e.ptm("label")),r.toDisplayString(t),17)]})),r.renderSlot(e.$slots,"removetokenicon",{class:r.normalizeClass(e.cx("removeTokenIcon")),index:n,onClick:function(e){return a.removeItem(e,n)},removeCallback:function(e){return a.removeItem(e,n)}},(function(){return[(r.openBlock(),r.createBlock(r.resolveDynamicComponent(e.removeTokenIcon?"span":"TimesCircleIcon"),r.mergeProps({class:[e.cx("removeTokenIcon"),e.removeTokenIcon],onClick:function(e){return a.removeItem(e,n)},"aria-hidden":"true"},e.ptm("removeTokenIcon")),null,16,["class","onClick"]))]}))],16,I)})),128)),r.createElementVNode("li",r.mergeProps({class:e.cx("inputToken"),role:"option"},e.ptm("inputToken")),[r.createElementVNode("input",r.mergeProps({ref:"input",id:e.inputId,type:"text",class:e.inputClass,style:e.inputStyle,disabled:e.disabled||a.maxedOut,placeholder:e.placeholder,onFocus:t[0]||(t[0]=function(e){return a.onFocus(e)}),onBlur:t[1]||(t[1]=function(e){return a.onBlur(e)}),onInput:t[2]||(t[2]=function(){return a.onInput&&a.onInput.apply(a,arguments)}),onKeydown:t[3]||(t[3]=function(e){return a.onKeyDown(e)}),onPaste:t[4]||(t[4]=function(e){return a.onPaste(e)})},y(y({},e.inputProps),e.ptm("input"))),null,16,x)],16)],16,g)],16)},f}(primevue.icons.timescircle,primevue.utils,primevue.basecomponent,primevue.chips.style,Vue);
|
|
@@ -6,22 +6,28 @@ 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-chips {\n display: inline-flex;\n }\n\n .p-chips-multiple-container {\n margin: 0;\n padding: 0;\n list-style-type: none;\n cursor: text;\n overflow: hidden;\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n }\n\n .p-chips-token {\n cursor: default;\n display: inline-flex;\n align-items: center;\n flex: 0 0 auto;\n }\n\n .p-chips-input-token {\n flex: 1 1 auto;\n display: inline-flex;\n }\n\n .p-chips-token-icon {\n cursor: pointer;\n }\n\n .p-chips-input-token input {\n border: 0 none;\n outline: 0 none;\n background-color: transparent;\n margin: 0;\n padding: 0;\n box-shadow: none;\n border-radius: 0;\n width: 100%;\n }\n\n .p-fluid .p-chips {\n display: flex;\n }\n}\n";
|
|
10
9
|
var classes = {
|
|
11
10
|
root: function root(_ref) {
|
|
12
11
|
var instance = _ref.instance,
|
|
13
12
|
props = _ref.props;
|
|
14
13
|
return ['p-chips p-component p-inputwrapper', {
|
|
15
14
|
'p-disabled': props.disabled,
|
|
15
|
+
'p-invalid': props.invalid,
|
|
16
16
|
'p-focus': instance.focused,
|
|
17
17
|
'p-inputwrapper-filled': props.modelValue && props.modelValue.length || instance.inputValue && instance.inputValue.length,
|
|
18
18
|
'p-inputwrapper-focus': instance.focused
|
|
19
19
|
}];
|
|
20
20
|
},
|
|
21
|
-
container:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
21
|
+
container: function container(_ref2) {
|
|
22
|
+
var props = _ref2.props,
|
|
23
|
+
instance = _ref2.instance;
|
|
24
|
+
return ['p-inputtext p-chips-multiple-container', {
|
|
25
|
+
'p-variant-filled': props.variant ? props.variant === 'filled' : instance.$primevue.config.inputStyle === 'filled'
|
|
26
|
+
}];
|
|
27
|
+
},
|
|
28
|
+
token: function token(_ref3) {
|
|
29
|
+
var state = _ref3.state,
|
|
30
|
+
index = _ref3.index;
|
|
25
31
|
return ['p-chips-token', {
|
|
26
32
|
'p-focus': state.focusedIndex === index
|
|
27
33
|
}];
|
|
@@ -32,7 +38,6 @@ var classes = {
|
|
|
32
38
|
};
|
|
33
39
|
var ChipsStyle = BaseStyle__default["default"].extend({
|
|
34
40
|
name: 'chips',
|
|
35
|
-
css: css,
|
|
36
41
|
classes: classes
|
|
37
42
|
});
|
|
38
43
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";function
|
|
1
|
+
"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=e(require("primevue/base/style")).default.extend({name:"chips",classes:{root:function(e){var n=e.instance,t=e.props;return["p-chips p-component p-inputwrapper",{"p-disabled":t.disabled,"p-invalid":t.invalid,"p-focus":n.focused,"p-inputwrapper-filled":t.modelValue&&t.modelValue.length||n.inputValue&&n.inputValue.length,"p-inputwrapper-focus":n.focused}]},container:function(e){var n=e.props;return["p-inputtext p-chips-multiple-container",{"p-variant-filled":n.variant?"filled"===n.variant:"filled"===e.instance.$primevue.config.inputStyle}]},token:function(e){return["p-chips-token",{"p-focus":e.state.focusedIndex===e.index}]},label:"p-chips-token-label",removeTokenIcon:"p-chips-token-icon",inputToken:"p-chips-input-token"}});module.exports=n;
|
|
@@ -1,21 +1,27 @@
|
|
|
1
1
|
import BaseStyle from 'primevue/base/style';
|
|
2
2
|
|
|
3
|
-
var css = "\n@layer primevue {\n .p-chips {\n display: inline-flex;\n }\n\n .p-chips-multiple-container {\n margin: 0;\n padding: 0;\n list-style-type: none;\n cursor: text;\n overflow: hidden;\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n }\n\n .p-chips-token {\n cursor: default;\n display: inline-flex;\n align-items: center;\n flex: 0 0 auto;\n }\n\n .p-chips-input-token {\n flex: 1 1 auto;\n display: inline-flex;\n }\n\n .p-chips-token-icon {\n cursor: pointer;\n }\n\n .p-chips-input-token input {\n border: 0 none;\n outline: 0 none;\n background-color: transparent;\n margin: 0;\n padding: 0;\n box-shadow: none;\n border-radius: 0;\n width: 100%;\n }\n\n .p-fluid .p-chips {\n display: flex;\n }\n}\n";
|
|
4
3
|
var classes = {
|
|
5
4
|
root: function root(_ref) {
|
|
6
5
|
var instance = _ref.instance,
|
|
7
6
|
props = _ref.props;
|
|
8
7
|
return ['p-chips p-component p-inputwrapper', {
|
|
9
8
|
'p-disabled': props.disabled,
|
|
9
|
+
'p-invalid': props.invalid,
|
|
10
10
|
'p-focus': instance.focused,
|
|
11
11
|
'p-inputwrapper-filled': props.modelValue && props.modelValue.length || instance.inputValue && instance.inputValue.length,
|
|
12
12
|
'p-inputwrapper-focus': instance.focused
|
|
13
13
|
}];
|
|
14
14
|
},
|
|
15
|
-
container:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
container: function container(_ref2) {
|
|
16
|
+
var props = _ref2.props,
|
|
17
|
+
instance = _ref2.instance;
|
|
18
|
+
return ['p-inputtext p-chips-multiple-container', {
|
|
19
|
+
'p-variant-filled': props.variant ? props.variant === 'filled' : instance.$primevue.config.inputStyle === 'filled'
|
|
20
|
+
}];
|
|
21
|
+
},
|
|
22
|
+
token: function token(_ref3) {
|
|
23
|
+
var state = _ref3.state,
|
|
24
|
+
index = _ref3.index;
|
|
19
25
|
return ['p-chips-token', {
|
|
20
26
|
'p-focus': state.focusedIndex === index
|
|
21
27
|
}];
|
|
@@ -26,7 +32,6 @@ var classes = {
|
|
|
26
32
|
};
|
|
27
33
|
var ChipsStyle = BaseStyle.extend({
|
|
28
34
|
name: 'chips',
|
|
29
|
-
css: css,
|
|
30
35
|
classes: classes
|
|
31
36
|
});
|
|
32
37
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import e from"primevue/base/style";var n=e.extend({name:"chips",classes:{root:function(e){var n=e.instance,p=e.props;return["p-chips p-component p-inputwrapper",{"p-disabled":p.disabled,"p-invalid":p.invalid,"p-focus":n.focused,"p-inputwrapper-filled":p.modelValue&&p.modelValue.length||n.inputValue&&n.inputValue.length,"p-inputwrapper-focus":n.focused}]},container:function(e){var n=e.props;return["p-inputtext p-chips-multiple-container",{"p-variant-filled":n.variant?"filled"===n.variant:"filled"===e.instance.$primevue.config.inputStyle}]},token:function(e){return["p-chips-token",{"p-focus":e.state.focusedIndex===e.index}]},label:"p-chips-token-label",removeTokenIcon:"p-chips-token-icon",inputToken:"p-chips-input-token"}});export{n as default};
|
|
@@ -7,22 +7,28 @@ this.primevue.chips.style = (function (BaseStyle) {
|
|
|
7
7
|
|
|
8
8
|
var BaseStyle__default = /*#__PURE__*/_interopDefaultLegacy(BaseStyle);
|
|
9
9
|
|
|
10
|
-
var css = "\n@layer primevue {\n .p-chips {\n display: inline-flex;\n }\n\n .p-chips-multiple-container {\n margin: 0;\n padding: 0;\n list-style-type: none;\n cursor: text;\n overflow: hidden;\n display: flex;\n align-items: center;\n flex-wrap: wrap;\n }\n\n .p-chips-token {\n cursor: default;\n display: inline-flex;\n align-items: center;\n flex: 0 0 auto;\n }\n\n .p-chips-input-token {\n flex: 1 1 auto;\n display: inline-flex;\n }\n\n .p-chips-token-icon {\n cursor: pointer;\n }\n\n .p-chips-input-token input {\n border: 0 none;\n outline: 0 none;\n background-color: transparent;\n margin: 0;\n padding: 0;\n box-shadow: none;\n border-radius: 0;\n width: 100%;\n }\n\n .p-fluid .p-chips {\n display: flex;\n }\n}\n";
|
|
11
10
|
var classes = {
|
|
12
11
|
root: function root(_ref) {
|
|
13
12
|
var instance = _ref.instance,
|
|
14
13
|
props = _ref.props;
|
|
15
14
|
return ['p-chips p-component p-inputwrapper', {
|
|
16
15
|
'p-disabled': props.disabled,
|
|
16
|
+
'p-invalid': props.invalid,
|
|
17
17
|
'p-focus': instance.focused,
|
|
18
18
|
'p-inputwrapper-filled': props.modelValue && props.modelValue.length || instance.inputValue && instance.inputValue.length,
|
|
19
19
|
'p-inputwrapper-focus': instance.focused
|
|
20
20
|
}];
|
|
21
21
|
},
|
|
22
|
-
container:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
container: function container(_ref2) {
|
|
23
|
+
var props = _ref2.props,
|
|
24
|
+
instance = _ref2.instance;
|
|
25
|
+
return ['p-inputtext p-chips-multiple-container', {
|
|
26
|
+
'p-variant-filled': props.variant ? props.variant === 'filled' : instance.$primevue.config.inputStyle === 'filled'
|
|
27
|
+
}];
|
|
28
|
+
},
|
|
29
|
+
token: function token(_ref3) {
|
|
30
|
+
var state = _ref3.state,
|
|
31
|
+
index = _ref3.index;
|
|
26
32
|
return ['p-chips-token', {
|
|
27
33
|
'p-focus': state.focusedIndex === index
|
|
28
34
|
}];
|
|
@@ -33,7 +39,6 @@ this.primevue.chips.style = (function (BaseStyle) {
|
|
|
33
39
|
};
|
|
34
40
|
var ChipsStyle = BaseStyle__default["default"].extend({
|
|
35
41
|
name: 'chips',
|
|
36
|
-
css: css,
|
|
37
42
|
classes: classes
|
|
38
43
|
});
|
|
39
44
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
this.primevue=this.primevue||{},this.primevue.chips=this.primevue.chips||{},this.primevue.chips.style=function(
|
|
1
|
+
this.primevue=this.primevue||{},this.primevue.chips=this.primevue.chips||{},this.primevue.chips.style=function(e){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}return i(primevue.base.style).default.extend({name:"chips",classes:{root:function(e){var i=e.instance,n=e.props;return["p-chips p-component p-inputwrapper",{"p-disabled":n.disabled,"p-invalid":n.invalid,"p-focus":i.focused,"p-inputwrapper-filled":n.modelValue&&n.modelValue.length||i.inputValue&&i.inputValue.length,"p-inputwrapper-focus":i.focused}]},container:function(e){var i=e.props;return["p-inputtext p-chips-multiple-container",{"p-variant-filled":i.variant?"filled"===i.variant:"filled"===e.instance.$primevue.config.inputStyle}]},token:function(e){return["p-chips-token",{"p-focus":e.state.focusedIndex===e.index}]},label:"p-chips-token-label",removeTokenIcon:"p-chips-token-icon",inputToken:"p-chips-input-token"}})}();
|
|
@@ -96,8 +96,7 @@ export default {
|
|
|
96
96
|
this.selfUpdate = true;
|
|
97
97
|
this.updateColorHandle();
|
|
98
98
|
this.updateInput();
|
|
99
|
-
this.updateModel();
|
|
100
|
-
this.$emit('change', { event: event, value: this.modelValue });
|
|
99
|
+
this.updateModel(event);
|
|
101
100
|
},
|
|
102
101
|
pickHue(event) {
|
|
103
102
|
let top = this.hueView.getBoundingClientRect().top + (window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0);
|
|
@@ -111,28 +110,32 @@ export default {
|
|
|
111
110
|
this.selfUpdate = true;
|
|
112
111
|
this.updateColorSelector();
|
|
113
112
|
this.updateHue();
|
|
114
|
-
this.updateModel();
|
|
113
|
+
this.updateModel(event);
|
|
115
114
|
this.updateInput();
|
|
116
|
-
this.$emit('change', { event: event, value: this.modelValue });
|
|
117
115
|
},
|
|
118
|
-
updateModel() {
|
|
116
|
+
updateModel(event) {
|
|
117
|
+
let value = this.modelValue;
|
|
118
|
+
|
|
119
119
|
switch (this.format) {
|
|
120
120
|
case 'hex':
|
|
121
|
-
|
|
121
|
+
value = this.HSBtoHEX(this.hsbValue);
|
|
122
122
|
break;
|
|
123
123
|
|
|
124
124
|
case 'rgb':
|
|
125
|
-
|
|
125
|
+
value = this.HSBtoRGB(this.hsbValue);
|
|
126
126
|
break;
|
|
127
127
|
|
|
128
128
|
case 'hsb':
|
|
129
|
-
|
|
129
|
+
value = this.hsbValue;
|
|
130
130
|
break;
|
|
131
131
|
|
|
132
132
|
default:
|
|
133
133
|
//NoOp
|
|
134
134
|
break;
|
|
135
135
|
}
|
|
136
|
+
|
|
137
|
+
this.$emit('update:modelValue', value);
|
|
138
|
+
this.$emit('change', { event, value });
|
|
136
139
|
},
|
|
137
140
|
updateColorSelector() {
|
|
138
141
|
if (this.colorSelector) {
|