From 4836654f7bcae54b75282ea8da29b52fcaa0a504 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Tue, 30 Jan 2024 14:35:32 +0000 Subject: [PATCH] Fixed #5179 - Improve `data-pc-` structure in components --- components/lib/autocomplete/AutoComplete.vue | 16 +---- components/lib/avatar/Avatar.vue | 2 +- components/lib/avatargroup/AvatarGroup.vue | 2 +- components/lib/badge/Badge.vue | 2 +- .../lib/basecomponent/BaseComponent.vue | 20 +++++-- components/lib/basedirective/BaseDirective.js | 12 ++-- components/lib/blockui/BlockUI.vue | 2 - components/lib/breadcrumb/Breadcrumb.vue | 2 +- components/lib/button/Button.vue | 2 +- components/lib/calendar/Calendar.vue | 6 +- components/lib/card/Card.vue | 2 +- .../lib/cascadeselect/CascadeSelect.vue | 2 +- components/lib/chart/Chart.vue | 2 +- components/lib/checkbox/Checkbox.vue | 2 +- components/lib/chip/Chip.vue | 2 +- components/lib/chips/Chips.vue | 2 +- .../lib/confirmdialog/ConfirmDialog.vue | 8 +-- components/lib/confirmpopup/ConfirmPopup.vue | 26 ++------ components/lib/contextmenu/ContextMenu.vue | 2 +- components/lib/datatable/ColumnFilter.vue | 17 +----- components/lib/datatable/DataTable.vue | 2 +- components/lib/datatable/HeaderCell.vue | 2 +- components/lib/dataview/DataView.vue | 2 +- components/lib/divider/Divider.vue | 2 +- components/lib/dock/Dock.vue | 2 +- components/lib/dropdown/Dropdown.vue | 2 +- components/lib/editor/Editor.vue | 2 +- components/lib/fieldset/Fieldset.vue | 2 +- components/lib/fileupload/FileUpload.vue | 8 +-- components/lib/floatlabel/FloatLabel.vue | 2 +- components/lib/galleria/GalleriaContent.vue | 1 - components/lib/iconfield/IconField.vue | 2 +- components/lib/image/Image.vue | 2 +- components/lib/inplace/Inplace.vue | 2 +- components/lib/inputgroup/InputGroup.vue | 2 +- .../lib/inputgroupaddon/InputGroupAddon.vue | 2 +- components/lib/inputmask/InputMask.vue | 2 +- components/lib/inputnumber/InputNumber.vue | 29 +-------- components/lib/inputswitch/InputSwitch.vue | 2 +- components/lib/inputtext/InputText.vue | 2 +- components/lib/knob/Knob.vue | 2 +- components/lib/listbox/Listbox.vue | 2 +- components/lib/megamenu/MegaMenu.vue | 2 +- components/lib/menu/Menu.vue | 2 +- components/lib/message/Message.vue | 2 +- components/lib/metergroup/MeterGroup.vue | 2 +- components/lib/multiselect/MultiSelect.vue | 2 +- components/lib/orderlist/OrderList.vue | 8 +-- .../lib/paginator/JumpToPageDropdown.vue | 1 - components/lib/paginator/JumpToPageInput.vue | 12 +--- components/lib/paginator/Paginator.vue | 2 +- .../lib/paginator/RowsPerPageDropdown.vue | 1 - components/lib/panel/Panel.vue | 2 +- components/lib/panelmenu/PanelMenu.vue | 2 +- components/lib/password/Password.vue | 2 +- components/lib/picklist/PickList.vue | 60 ++++--------------- components/lib/progressbar/ProgressBar.vue | 2 +- .../lib/progressspinner/ProgressSpinner.vue | 2 +- components/lib/radiobutton/RadioButton.vue | 2 +- components/lib/rating/Rating.vue | 2 +- components/lib/scrollpanel/ScrollPanel.vue | 2 +- components/lib/scrolltop/ScrollTop.vue | 2 +- components/lib/selectbutton/SelectButton.vue | 2 +- components/lib/skeleton/Skeleton.vue | 2 +- components/lib/slider/Slider.vue | 2 +- components/lib/speeddial/SpeedDial.vue | 2 +- components/lib/splitbutton/SplitButton.vue | 4 +- components/lib/splitter/Splitter.vue | 2 +- .../lib/splitterpanel/SplitterPanel.vue | 2 +- components/lib/steps/Steps.vue | 2 +- components/lib/tabmenu/TabMenu.vue | 2 +- components/lib/tabview/TabView.vue | 2 +- components/lib/tag/Tag.vue | 2 +- components/lib/terminal/Terminal.vue | 2 +- components/lib/textarea/Textarea.vue | 2 +- components/lib/tieredmenu/TieredMenu.vue | 2 +- components/lib/timeline/Timeline.vue | 2 +- components/lib/togglebutton/ToggleButton.vue | 2 +- components/lib/toolbar/Toolbar.vue | 2 +- components/lib/tree/Tree.vue | 2 +- components/lib/treeselect/TreeSelect.vue | 3 +- components/lib/treetable/HeaderCell.vue | 2 +- components/lib/treetable/TreeTable.vue | 4 +- .../lib/tristatecheckbox/TriStateCheckbox.vue | 2 +- .../lib/virtualscroller/VirtualScroller.vue | 2 +- 85 files changed, 128 insertions(+), 242 deletions(-) diff --git a/components/lib/autocomplete/AutoComplete.vue b/components/lib/autocomplete/AutoComplete.vue index 7fe4e1064..0702b106f 100755 --- a/components/lib/autocomplete/AutoComplete.vue +++ b/components/lib/autocomplete/AutoComplete.vue @@ -1,5 +1,5 @@