diff --git a/components/lib/accordioncontent/BaseAccordionContent.vue b/components/lib/accordioncontent/BaseAccordionContent.vue index 0d921e894..2dde87c91 100644 --- a/components/lib/accordioncontent/BaseAccordionContent.vue +++ b/components/lib/accordioncontent/BaseAccordionContent.vue @@ -15,6 +15,12 @@ export default { default: false } }, - style: AccordionContentStyle + style: AccordionContentStyle, + provide() { + return { + $pcAccordionContent: this, + $parentInstance: this + }; + } }; diff --git a/components/lib/accordionheader/BaseAccordionHeader.vue b/components/lib/accordionheader/BaseAccordionHeader.vue index c3b4e550c..a1e9ae26e 100644 --- a/components/lib/accordionheader/BaseAccordionHeader.vue +++ b/components/lib/accordionheader/BaseAccordionHeader.vue @@ -18,6 +18,7 @@ export default { style: AccordionHeaderStyle, provide() { return { + $pcAccordionHeader: this, $parentInstance: this }; } diff --git a/components/lib/accordiontab/BaseAccordionTab.vue b/components/lib/accordiontab/BaseAccordionTab.vue index d62cb70c0..e68be8183 100644 --- a/components/lib/accordiontab/BaseAccordionTab.vue +++ b/components/lib/accordiontab/BaseAccordionTab.vue @@ -19,6 +19,7 @@ export default { style: AccordionTabStyle, provide() { return { + $pcAccordionTab: this, $parentInstance: this }; } diff --git a/components/lib/autocomplete/BaseAutoComplete.vue b/components/lib/autocomplete/BaseAutoComplete.vue index 1c653e462..2e9ec74a7 100644 --- a/components/lib/autocomplete/BaseAutoComplete.vue +++ b/components/lib/autocomplete/BaseAutoComplete.vue @@ -173,6 +173,7 @@ export default { style: AutoCompleteStyle, provide() { return { + $pcAutoComplete: this, $parentInstance: this }; } diff --git a/components/lib/avatar/BaseAvatar.vue b/components/lib/avatar/BaseAvatar.vue index d1abacaa4..63729070b 100644 --- a/components/lib/avatar/BaseAvatar.vue +++ b/components/lib/avatar/BaseAvatar.vue @@ -38,6 +38,7 @@ export default { style: AvatarStyle, provide() { return { + $pcAvatar: this, $parentInstance: this }; } diff --git a/components/lib/avatargroup/BaseAvatarGroup.vue b/components/lib/avatargroup/BaseAvatarGroup.vue index 1f88c9470..3182b5f1f 100644 --- a/components/lib/avatargroup/BaseAvatarGroup.vue +++ b/components/lib/avatargroup/BaseAvatarGroup.vue @@ -8,6 +8,7 @@ export default { style: AvatarGroupStyle, provide() { return { + $pcAvatarGroup: this, $parentInstance: this }; } diff --git a/components/lib/badge/BaseBadge.vue b/components/lib/badge/BaseBadge.vue index 2d4f8bf9c..174008b9a 100644 --- a/components/lib/badge/BaseBadge.vue +++ b/components/lib/badge/BaseBadge.vue @@ -22,6 +22,7 @@ export default { style: BadgeStyle, provide() { return { + $pcBadge: this, $parentInstance: this }; } diff --git a/components/lib/baseicon/BaseIcon.vue b/components/lib/baseicon/BaseIcon.vue index bd92349e3..71dfc9a42 100644 --- a/components/lib/baseicon/BaseIcon.vue +++ b/components/lib/baseicon/BaseIcon.vue @@ -17,6 +17,12 @@ export default { } }, style: BaseIconStyle, + provide() { + return { + $pcIcon: this, + $parentInstance: this + }; + }, methods: { pti() { const isLabelEmpty = ObjectUtils.isEmpty(this.label); diff --git a/components/lib/blockui/BaseBlockUI.vue b/components/lib/blockui/BaseBlockUI.vue index 6c70b866b..b17b18e41 100644 --- a/components/lib/blockui/BaseBlockUI.vue +++ b/components/lib/blockui/BaseBlockUI.vue @@ -26,6 +26,7 @@ export default { style: BlockUIStyle, provide() { return { + $pcBlockUI: this, $parentInstance: this }; } diff --git a/components/lib/breadcrumb/BaseBreadcrumb.vue b/components/lib/breadcrumb/BaseBreadcrumb.vue index 4ce380886..9b17fdcb9 100644 --- a/components/lib/breadcrumb/BaseBreadcrumb.vue +++ b/components/lib/breadcrumb/BaseBreadcrumb.vue @@ -18,6 +18,7 @@ export default { style: BreadcrumbStyle, provide() { return { + $pcBreadcrumb: this, $parentInstance: this }; } diff --git a/components/lib/button/BaseButton.vue b/components/lib/button/BaseButton.vue index 32bc1bf83..43525ca75 100644 --- a/components/lib/button/BaseButton.vue +++ b/components/lib/button/BaseButton.vue @@ -78,6 +78,7 @@ export default { style: ButtonStyle, provide() { return { + $pcButton: this, $parentInstance: this }; } diff --git a/components/lib/buttongroup/BaseButtonGroup.vue b/components/lib/buttongroup/BaseButtonGroup.vue index b476b3aef..a551b3b38 100644 --- a/components/lib/buttongroup/BaseButtonGroup.vue +++ b/components/lib/buttongroup/BaseButtonGroup.vue @@ -8,6 +8,7 @@ export default { style: ButtonGroupStyle, provide() { return { + $pcButtonGroup: this, $parentInstance: this }; } diff --git a/components/lib/card/BaseCard.vue b/components/lib/card/BaseCard.vue index 7750f53c5..352a5d0cf 100644 --- a/components/lib/card/BaseCard.vue +++ b/components/lib/card/BaseCard.vue @@ -5,6 +5,12 @@ import CardStyle from 'primevue/card/style'; export default { name: 'BaseCard', extends: BaseComponent, - style: CardStyle + style: CardStyle, + provide() { + return { + $pcCard: this, + $parentInstance: this + }; + } }; diff --git a/components/lib/carousel/BaseCarousel.vue b/components/lib/carousel/BaseCarousel.vue index b46c931f2..357c2755f 100644 --- a/components/lib/carousel/BaseCarousel.vue +++ b/components/lib/carousel/BaseCarousel.vue @@ -63,6 +63,7 @@ export default { style: CarouselStyle, provide() { return { + $pcCarousel: this, $parentInstance: this }; } diff --git a/components/lib/cascadeselect/BaseCascadeSelect.vue b/components/lib/cascadeselect/BaseCascadeSelect.vue index a83301ee3..fd1cc1555 100644 --- a/components/lib/cascadeselect/BaseCascadeSelect.vue +++ b/components/lib/cascadeselect/BaseCascadeSelect.vue @@ -124,6 +124,7 @@ export default { style: CascadeSelectStyle, provide() { return { + $pcCascadeSelect: this, $parentInstance: this }; } diff --git a/components/lib/chart/BaseChart.vue b/components/lib/chart/BaseChart.vue index 7120fd702..04d95dd66 100644 --- a/components/lib/chart/BaseChart.vue +++ b/components/lib/chart/BaseChart.vue @@ -26,6 +26,7 @@ export default { style: ChartStyle, provide() { return { + $pcChart: this, $parentInstance: this }; } diff --git a/components/lib/checkbox/BaseCheckbox.vue b/components/lib/checkbox/BaseCheckbox.vue index 82e049bbf..dfae83a2b 100644 --- a/components/lib/checkbox/BaseCheckbox.vue +++ b/components/lib/checkbox/BaseCheckbox.vue @@ -73,6 +73,7 @@ export default { style: CheckboxStyle, provide() { return { + $pcCheckbox: this, $parentInstance: this }; } diff --git a/components/lib/chip/BaseChip.vue b/components/lib/chip/BaseChip.vue index 19d70b86a..92037ed8b 100644 --- a/components/lib/chip/BaseChip.vue +++ b/components/lib/chip/BaseChip.vue @@ -30,6 +30,7 @@ export default { style: ChipStyle, provide() { return { + $pcChip: this, $parentInstance: this }; } diff --git a/components/lib/colorpicker/BaseColorPicker.vue b/components/lib/colorpicker/BaseColorPicker.vue index 521d84743..cebcf8c86 100644 --- a/components/lib/colorpicker/BaseColorPicker.vue +++ b/components/lib/colorpicker/BaseColorPicker.vue @@ -47,6 +47,7 @@ export default { style: ColorPickerStyle, provide() { return { + $pcColorPicker: this, $parentInstance: this }; } diff --git a/components/lib/column/BaseColumn.vue b/components/lib/column/BaseColumn.vue index fa7f4243f..4c408cb92 100644 --- a/components/lib/column/BaseColumn.vue +++ b/components/lib/column/BaseColumn.vue @@ -186,6 +186,7 @@ export default { style: ColumnStyle, provide() { return { + $pcColumn: this, $parentInstance: this }; } diff --git a/components/lib/columngroup/BaseColumnGroup.vue b/components/lib/columngroup/BaseColumnGroup.vue index 74542a840..fec072a2d 100644 --- a/components/lib/columngroup/BaseColumnGroup.vue +++ b/components/lib/columngroup/BaseColumnGroup.vue @@ -14,6 +14,7 @@ export default { style: ColumnGroupStyle, provide() { return { + $pcColumnGroup: this, $parentInstance: this }; } diff --git a/components/lib/confirmdialog/BaseConfirmDialog.vue b/components/lib/confirmdialog/BaseConfirmDialog.vue index 7be91657a..4cdd2d2c6 100644 --- a/components/lib/confirmdialog/BaseConfirmDialog.vue +++ b/components/lib/confirmdialog/BaseConfirmDialog.vue @@ -19,6 +19,7 @@ export default { style: ConfirmDialogStyle, provide() { return { + $pcConfirmDialog: this, $parentInstance: this }; } diff --git a/components/lib/confirmpopup/BaseConfirmPopup.vue b/components/lib/confirmpopup/BaseConfirmPopup.vue index 09b2ceca6..1adc82792 100644 --- a/components/lib/confirmpopup/BaseConfirmPopup.vue +++ b/components/lib/confirmpopup/BaseConfirmPopup.vue @@ -11,6 +11,7 @@ export default { style: ConfirmPopupStyle, provide() { return { + $pcConfirmPopup: this, $parentInstance: this }; } diff --git a/components/lib/contextmenu/BaseContextMenu.vue b/components/lib/contextmenu/BaseContextMenu.vue index bdb96095c..6e5f7f903 100644 --- a/components/lib/contextmenu/BaseContextMenu.vue +++ b/components/lib/contextmenu/BaseContextMenu.vue @@ -42,6 +42,7 @@ export default { style: ContextMenuStyle, provide() { return { + $pcContextMenu: this, $parentInstance: this }; } diff --git a/components/lib/datatable/BaseDataTable.vue b/components/lib/datatable/BaseDataTable.vue index fbedabd19..3c36c72af 100644 --- a/components/lib/datatable/BaseDataTable.vue +++ b/components/lib/datatable/BaseDataTable.vue @@ -289,6 +289,7 @@ export default { style: DataTableStyle, provide() { return { + $pcDataTable: this, $parentInstance: this }; } diff --git a/components/lib/dataview/BaseDataView.vue b/components/lib/dataview/BaseDataView.vue index 2d9111ac0..1666829db 100644 --- a/components/lib/dataview/BaseDataView.vue +++ b/components/lib/dataview/BaseDataView.vue @@ -74,6 +74,7 @@ export default { style: DataViewStyle, provide() { return { + $pcDataView: this, $parentInstance: this }; } diff --git a/components/lib/datepicker/BaseDatePicker.vue b/components/lib/datepicker/BaseDatePicker.vue index 2044e7078..4c57a0ad3 100644 --- a/components/lib/datepicker/BaseDatePicker.vue +++ b/components/lib/datepicker/BaseDatePicker.vue @@ -252,6 +252,7 @@ export default { style: DatePickerStyle, provide() { return { + $pcDatePicker: this, $parentInstance: this }; } diff --git a/components/lib/dialog/BaseDialog.vue b/components/lib/dialog/BaseDialog.vue index 2f1d97216..35e1e0a04 100644 --- a/components/lib/dialog/BaseDialog.vue +++ b/components/lib/dialog/BaseDialog.vue @@ -135,6 +135,7 @@ export default { style: DialogStyle, provide() { return { + $pcDialog: this, $parentInstance: this }; } diff --git a/components/lib/divider/BaseDivider.vue b/components/lib/divider/BaseDivider.vue index 1c9973c5f..6195c70f4 100644 --- a/components/lib/divider/BaseDivider.vue +++ b/components/lib/divider/BaseDivider.vue @@ -22,6 +22,7 @@ export default { style: DividerStyle, provide() { return { + $pcDivider: this, $parentInstance: this }; } diff --git a/components/lib/dock/BaseDock.vue b/components/lib/dock/BaseDock.vue index 977353258..be0773fbe 100644 --- a/components/lib/dock/BaseDock.vue +++ b/components/lib/dock/BaseDock.vue @@ -38,6 +38,7 @@ export default { style: DockStyle, provide() { return { + $pcDock: this, $parentInstance: this }; } diff --git a/components/lib/drawer/BaseDrawer.vue b/components/lib/drawer/BaseDrawer.vue index db63751bf..79861f1fb 100644 --- a/components/lib/drawer/BaseDrawer.vue +++ b/components/lib/drawer/BaseDrawer.vue @@ -56,6 +56,7 @@ export default { style: DrawerStyle, provide() { return { + $pcDrawer: this, $parentInstance: this }; } diff --git a/components/lib/dynamicdialog/BaseDynamicDialog.vue b/components/lib/dynamicdialog/BaseDynamicDialog.vue index 963604015..090ad6681 100644 --- a/components/lib/dynamicdialog/BaseDynamicDialog.vue +++ b/components/lib/dynamicdialog/BaseDynamicDialog.vue @@ -9,6 +9,7 @@ export default { style: DynamicDialogStyle, provide() { return { + $pcDynamicDialog: this, $parentInstance: this }; } diff --git a/components/lib/editor/BaseEditor.vue b/components/lib/editor/BaseEditor.vue index 55543395d..d680faa12 100644 --- a/components/lib/editor/BaseEditor.vue +++ b/components/lib/editor/BaseEditor.vue @@ -16,6 +16,7 @@ export default { style: EditorStyle, provide() { return { + $pcEditor: this, $parentInstance: this }; }, diff --git a/components/lib/fieldset/BaseFieldset.vue b/components/lib/fieldset/BaseFieldset.vue index cf5bb673c..cb304eda2 100644 --- a/components/lib/fieldset/BaseFieldset.vue +++ b/components/lib/fieldset/BaseFieldset.vue @@ -17,6 +17,7 @@ export default { style: FieldsetStyle, provide() { return { + $pcFieldset: this, $parentInstance: this }; } diff --git a/components/lib/fileupload/BaseFileUpload.vue b/components/lib/fileupload/BaseFileUpload.vue index 46949e53f..a0508d768 100644 --- a/components/lib/fileupload/BaseFileUpload.vue +++ b/components/lib/fileupload/BaseFileUpload.vue @@ -104,6 +104,7 @@ export default { style: FileUploadStyle, provide() { return { + $pcFileUpload: this, $parentInstance: this }; } diff --git a/components/lib/floatlabel/BaseFloatLabel.vue b/components/lib/floatlabel/BaseFloatLabel.vue index 8ec905a33..e065091b6 100644 --- a/components/lib/floatlabel/BaseFloatLabel.vue +++ b/components/lib/floatlabel/BaseFloatLabel.vue @@ -9,6 +9,7 @@ export default { style: FloatLabelStyle, provide() { return { + $pcFloatLabel: this, $parentInstance: this }; } diff --git a/components/lib/galleria/BaseGalleria.vue b/components/lib/galleria/BaseGalleria.vue index 51aade029..4dd583959 100644 --- a/components/lib/galleria/BaseGalleria.vue +++ b/components/lib/galleria/BaseGalleria.vue @@ -126,6 +126,7 @@ export default { style: GalleriaStyle, provide() { return { + $pcGalleria: this, $parentInstance: this }; } diff --git a/components/lib/iconfield/BaseIconField.vue b/components/lib/iconfield/BaseIconField.vue index fe1433d5e..ee2e3cc42 100644 --- a/components/lib/iconfield/BaseIconField.vue +++ b/components/lib/iconfield/BaseIconField.vue @@ -8,6 +8,7 @@ export default { style: IconFieldStyle, provide() { return { + $pcIconField: this, $parentInstance: this }; } diff --git a/components/lib/image/BaseImage.vue b/components/lib/image/BaseImage.vue index 86c9a862b..1b0236e27 100644 --- a/components/lib/image/BaseImage.vue +++ b/components/lib/image/BaseImage.vue @@ -46,6 +46,7 @@ export default { style: ImageStyle, provide() { return { + $pcImage: this, $parentInstance: this }; } diff --git a/components/lib/inlinemessage/BaseInlineMessage.vue b/components/lib/inlinemessage/BaseInlineMessage.vue index e7905bc0f..b2db70b3d 100644 --- a/components/lib/inlinemessage/BaseInlineMessage.vue +++ b/components/lib/inlinemessage/BaseInlineMessage.vue @@ -18,6 +18,7 @@ export default { style: InlineMessageStyle, provide() { return { + $pcInlineMessage: this, $parentInstance: this }; } diff --git a/components/lib/inplace/BaseInplace.vue b/components/lib/inplace/BaseInplace.vue index ff0b7d926..eeab8a151 100644 --- a/components/lib/inplace/BaseInplace.vue +++ b/components/lib/inplace/BaseInplace.vue @@ -22,6 +22,7 @@ export default { style: InplaceStyle, provide() { return { + $pcInplace: this, $parentInstance: this }; } diff --git a/components/lib/inputchips/BaseInputChips.vue b/components/lib/inputchips/BaseInputChips.vue index 3a9ac4cc8..b9e723e70 100644 --- a/components/lib/inputchips/BaseInputChips.vue +++ b/components/lib/inputchips/BaseInputChips.vue @@ -74,6 +74,7 @@ export default { style: InputChipsStyle, provide() { return { + $pcInputChips: this, $parentInstance: this }; } diff --git a/components/lib/inputgroup/BaseInputGroup.vue b/components/lib/inputgroup/BaseInputGroup.vue index c5aa25648..b6c4bbc72 100644 --- a/components/lib/inputgroup/BaseInputGroup.vue +++ b/components/lib/inputgroup/BaseInputGroup.vue @@ -8,6 +8,7 @@ export default { style: InputGroupStyle, provide() { return { + $pcInputGroup: this, $parentInstance: this }; } diff --git a/components/lib/inputgroupaddon/BaseInputGroupAddon.vue b/components/lib/inputgroupaddon/BaseInputGroupAddon.vue index b5e29ffb2..7838c2b3c 100644 --- a/components/lib/inputgroupaddon/BaseInputGroupAddon.vue +++ b/components/lib/inputgroupaddon/BaseInputGroupAddon.vue @@ -8,6 +8,7 @@ export default { style: InputGroupAddonStyle, provide() { return { + $pcInputGroupAddon: this, $parentInstance: this }; } diff --git a/components/lib/inputicon/BaseInputIcon.vue b/components/lib/inputicon/BaseInputIcon.vue index c24479f1a..53f5d0eed 100644 --- a/components/lib/inputicon/BaseInputIcon.vue +++ b/components/lib/inputicon/BaseInputIcon.vue @@ -11,6 +11,7 @@ export default { }, provide() { return { + $pcInputIcon: this, $parentInstance: this }; } diff --git a/components/lib/inputmask/BaseInputMask.vue b/components/lib/inputmask/BaseInputMask.vue index eb7d1976e..e630210ee 100644 --- a/components/lib/inputmask/BaseInputMask.vue +++ b/components/lib/inputmask/BaseInputMask.vue @@ -40,6 +40,12 @@ export default { default: null } }, - style: InputMaskStyle + style: InputMaskStyle, + provide() { + return { + $pcInputMask: this, + $parentInstance: this + }; + } }; diff --git a/components/lib/inputnumber/BaseInputNumber.vue b/components/lib/inputnumber/BaseInputNumber.vue index 762974396..1d123e0b5 100644 --- a/components/lib/inputnumber/BaseInputNumber.vue +++ b/components/lib/inputnumber/BaseInputNumber.vue @@ -149,6 +149,7 @@ export default { style: InputNumberStyle, provide() { return { + $pcInputNumber: this, $parentInstance: this }; } diff --git a/components/lib/inputotp/BaseInputOtp.vue b/components/lib/inputotp/BaseInputOtp.vue index b05b42582..a155af9fa 100644 --- a/components/lib/inputotp/BaseInputOtp.vue +++ b/components/lib/inputotp/BaseInputOtp.vue @@ -46,6 +46,7 @@ export default { style: InputOtpStyle, provide() { return { + $pcInputOtp: this, $parentInstance: this }; } diff --git a/components/lib/inputtext/BaseInputText.vue b/components/lib/inputtext/BaseInputText.vue index 829614580..0734f98a3 100644 --- a/components/lib/inputtext/BaseInputText.vue +++ b/components/lib/inputtext/BaseInputText.vue @@ -23,6 +23,7 @@ export default { style: InputTextStyle, provide() { return { + $pcInputText: this, $parentInstance: this }; } diff --git a/components/lib/knob/BaseKnob.vue b/components/lib/knob/BaseKnob.vue index cdaf67962..c1b9b9047 100644 --- a/components/lib/knob/BaseKnob.vue +++ b/components/lib/knob/BaseKnob.vue @@ -81,6 +81,7 @@ export default { style: KnobStyle, provide() { return { + $pcKnob: this, $parentInstance: this }; } diff --git a/components/lib/listbox/BaseListbox.vue b/components/lib/listbox/BaseListbox.vue index 7ddf95604..7192140d1 100644 --- a/components/lib/listbox/BaseListbox.vue +++ b/components/lib/listbox/BaseListbox.vue @@ -106,6 +106,7 @@ export default { style: ListboxStyle, provide() { return { + $pcListbox: this, $parentInstance: this }; } diff --git a/components/lib/megamenu/BaseMegaMenu.vue b/components/lib/megamenu/BaseMegaMenu.vue index 487e8c058..ed0a81d93 100644 --- a/components/lib/megamenu/BaseMegaMenu.vue +++ b/components/lib/megamenu/BaseMegaMenu.vue @@ -38,6 +38,7 @@ export default { style: MegaMenuStyle, provide() { return { + $pcMegaMenu: this, $parentInstance: this }; } diff --git a/components/lib/menu/BaseMenu.vue b/components/lib/menu/BaseMenu.vue index 3726a5d33..05b157c30 100644 --- a/components/lib/menu/BaseMenu.vue +++ b/components/lib/menu/BaseMenu.vue @@ -42,6 +42,7 @@ export default { style: MenuStyle, provide() { return { + $pcMenu: this, $parentInstance: this }; } diff --git a/components/lib/menubar/BaseMenubar.vue b/components/lib/menubar/BaseMenubar.vue index 5630975f2..c604cf88e 100644 --- a/components/lib/menubar/BaseMenubar.vue +++ b/components/lib/menubar/BaseMenubar.vue @@ -30,6 +30,7 @@ export default { style: MenubarStyle, provide() { return { + $pcMenubar: this, $parentInstance: this }; } diff --git a/components/lib/message/BaseMessage.vue b/components/lib/message/BaseMessage.vue index cb8fe4cc6..72670e022 100644 --- a/components/lib/message/BaseMessage.vue +++ b/components/lib/message/BaseMessage.vue @@ -38,6 +38,7 @@ export default { style: MessageStyle, provide() { return { + $pcMessage: this, $parentInstance: this }; } diff --git a/components/lib/metergroup/BaseMeterGroup.vue b/components/lib/metergroup/BaseMeterGroup.vue index ca17ac459..918c2ea86 100644 --- a/components/lib/metergroup/BaseMeterGroup.vue +++ b/components/lib/metergroup/BaseMeterGroup.vue @@ -34,6 +34,7 @@ export default { style: MeterGroupStyle, provide() { return { + $pcMeterGroup: this, $parentInstance: this }; } diff --git a/components/lib/multiselect/BaseMultiSelect.vue b/components/lib/multiselect/BaseMultiSelect.vue index e681934bd..3616a492a 100644 --- a/components/lib/multiselect/BaseMultiSelect.vue +++ b/components/lib/multiselect/BaseMultiSelect.vue @@ -167,6 +167,7 @@ export default { style: MultiSelectStyle, provide() { return { + $pcMultiSelect: this, $parentInstance: this }; } diff --git a/components/lib/orderlist/BaseOrderList.vue b/components/lib/orderlist/BaseOrderList.vue index 3d51abb56..e458b7927 100644 --- a/components/lib/orderlist/BaseOrderList.vue +++ b/components/lib/orderlist/BaseOrderList.vue @@ -92,6 +92,7 @@ export default { style: OrderListStyle, provide() { return { + $pcOrderList: this, $parentInstance: this }; } diff --git a/components/lib/organizationchart/BaseOrganizationChart.vue b/components/lib/organizationchart/BaseOrganizationChart.vue index c939b4a0f..892296aa2 100644 --- a/components/lib/organizationchart/BaseOrganizationChart.vue +++ b/components/lib/organizationchart/BaseOrganizationChart.vue @@ -30,6 +30,7 @@ export default { style: OrganizationChartStyle, provide() { return { + $pcOrganizationChart: this, $parentInstance: this }; } diff --git a/components/lib/paginator/BasePaginator.vue b/components/lib/paginator/BasePaginator.vue index af80066b9..4a7f3f561 100644 --- a/components/lib/paginator/BasePaginator.vue +++ b/components/lib/paginator/BasePaginator.vue @@ -42,6 +42,7 @@ export default { style: PaginatorStyle, provide() { return { + $pcPaginator: this, $parentInstance: this }; } diff --git a/components/lib/panel/BasePanel.vue b/components/lib/panel/BasePanel.vue index 41cb4f1a0..67a0f9cdd 100644 --- a/components/lib/panel/BasePanel.vue +++ b/components/lib/panel/BasePanel.vue @@ -23,6 +23,7 @@ export default { style: PanelStyle, provide() { return { + $pcPanel: this, $parentInstance: this }; } diff --git a/components/lib/panelmenu/BasePanelMenu.vue b/components/lib/panelmenu/BasePanelMenu.vue index 54670b35b..94cfe59c4 100644 --- a/components/lib/panelmenu/BasePanelMenu.vue +++ b/components/lib/panelmenu/BasePanelMenu.vue @@ -26,6 +26,7 @@ export default { style: PanelMenuStyle, provide() { return { + $pcPanelMenu: this, $parentInstance: this }; } diff --git a/components/lib/password/BasePassword.vue b/components/lib/password/BasePassword.vue index a8a34d561..538b0ccdd 100644 --- a/components/lib/password/BasePassword.vue +++ b/components/lib/password/BasePassword.vue @@ -115,6 +115,7 @@ export default { style: PasswordStyle, provide() { return { + $pcPassword: this, $parentInstance: this }; } diff --git a/components/lib/picklist/BasePickList.vue b/components/lib/picklist/BasePickList.vue index ca67754a4..7a9090d48 100644 --- a/components/lib/picklist/BasePickList.vue +++ b/components/lib/picklist/BasePickList.vue @@ -108,6 +108,7 @@ export default { style: PickListStyle, provide() { return { + $pcPickList: this, $parentInstance: this }; } diff --git a/components/lib/popover/BasePopover.vue b/components/lib/popover/BasePopover.vue index b41a251fa..8e31ee9bd 100644 --- a/components/lib/popover/BasePopover.vue +++ b/components/lib/popover/BasePopover.vue @@ -34,6 +34,7 @@ export default { style: PopoverStyle, provide() { return { + $pcPopover: this, $parentInstance: this }; } diff --git a/components/lib/progressbar/BaseProgressBar.vue b/components/lib/progressbar/BaseProgressBar.vue index 8f3274d33..37109d8b7 100644 --- a/components/lib/progressbar/BaseProgressBar.vue +++ b/components/lib/progressbar/BaseProgressBar.vue @@ -22,6 +22,7 @@ export default { style: ProgressBarStyle, provide() { return { + $pcProgressBar: this, $parentInstance: this }; } diff --git a/components/lib/progressspinner/BaseProgressSpinner.vue b/components/lib/progressspinner/BaseProgressSpinner.vue index e35ce1842..150fac6f4 100644 --- a/components/lib/progressspinner/BaseProgressSpinner.vue +++ b/components/lib/progressspinner/BaseProgressSpinner.vue @@ -22,6 +22,7 @@ export default { style: ProgressSpinnerStyle, provide() { return { + $pcProgressSpinner: this, $parentInstance: this }; } diff --git a/components/lib/radiobutton/BaseRadioButton.vue b/components/lib/radiobutton/BaseRadioButton.vue index 162ad687d..c34d19a4e 100644 --- a/components/lib/radiobutton/BaseRadioButton.vue +++ b/components/lib/radiobutton/BaseRadioButton.vue @@ -57,6 +57,7 @@ export default { style: RadioButtonStyle, provide() { return { + $pcRadioButton: this, $parentInstance: this }; } diff --git a/components/lib/rating/BaseRating.vue b/components/lib/rating/BaseRating.vue index 9d3a2aa09..81bd2b7df 100644 --- a/components/lib/rating/BaseRating.vue +++ b/components/lib/rating/BaseRating.vue @@ -34,6 +34,7 @@ export default { style: RatingStyle, provide() { return { + $pcRating: this, $parentInstance: this }; } diff --git a/components/lib/scrollpanel/BaseScrollPanel.vue b/components/lib/scrollpanel/BaseScrollPanel.vue index 59f7dcd3e..51d5bfd1c 100644 --- a/components/lib/scrollpanel/BaseScrollPanel.vue +++ b/components/lib/scrollpanel/BaseScrollPanel.vue @@ -14,6 +14,7 @@ export default { style: ScrollPanelStyle, provide() { return { + $pcScrollPanel: this, $parentInstance: this }; } diff --git a/components/lib/scrolltop/BaseScrollTop.vue b/components/lib/scrolltop/BaseScrollTop.vue index 1ed3ffa6b..369a88a61 100644 --- a/components/lib/scrolltop/BaseScrollTop.vue +++ b/components/lib/scrolltop/BaseScrollTop.vue @@ -32,6 +32,7 @@ export default { style: ScrollTopStyle, provide() { return { + $pcScrollTop: this, $parentInstance: this }; } diff --git a/components/lib/select/BaseSelect.vue b/components/lib/select/BaseSelect.vue index a4751097c..a79af4878 100644 --- a/components/lib/select/BaseSelect.vue +++ b/components/lib/select/BaseSelect.vue @@ -166,6 +166,7 @@ export default { style: SelectStyle, provide() { return { + $pcSelect: this, $parentInstance: this }; } diff --git a/components/lib/selectbutton/BaseSelectButton.vue b/components/lib/selectbutton/BaseSelectButton.vue index 8af63441c..c8936bafc 100644 --- a/components/lib/selectbutton/BaseSelectButton.vue +++ b/components/lib/selectbutton/BaseSelectButton.vue @@ -34,6 +34,7 @@ export default { style: SelectButtonStyle, provide() { return { + $pcSelectButton: this, $parentInstance: this }; } diff --git a/components/lib/skeleton/BaseSkeleton.vue b/components/lib/skeleton/BaseSkeleton.vue index 187222c1d..153d83954 100644 --- a/components/lib/skeleton/BaseSkeleton.vue +++ b/components/lib/skeleton/BaseSkeleton.vue @@ -34,6 +34,7 @@ export default { style: SkeletonStyle, provide() { return { + $pcSkeleton: this, $parentInstance: this }; } diff --git a/components/lib/slider/BaseSlider.vue b/components/lib/slider/BaseSlider.vue index 44bcfa785..c5274efae 100644 --- a/components/lib/slider/BaseSlider.vue +++ b/components/lib/slider/BaseSlider.vue @@ -47,6 +47,7 @@ export default { style: SliderStyle, provide() { return { + $pcSlider: this, $parentInstance: this }; } diff --git a/components/lib/speeddial/BaseSpeedDial.vue b/components/lib/speeddial/BaseSpeedDial.vue index 7db145215..8ef01589f 100644 --- a/components/lib/speeddial/BaseSpeedDial.vue +++ b/components/lib/speeddial/BaseSpeedDial.vue @@ -81,6 +81,7 @@ export default { style: SpeedDialStyle, provide() { return { + $pcSpeedDial: this, $parentInstance: this }; } diff --git a/components/lib/splitbutton/BaseSplitButton.vue b/components/lib/splitbutton/BaseSplitButton.vue index 2715823b8..9efb25acc 100644 --- a/components/lib/splitbutton/BaseSplitButton.vue +++ b/components/lib/splitbutton/BaseSplitButton.vue @@ -86,6 +86,7 @@ export default { style: SplitButtonStyle, provide() { return { + $pcSplitButton: this, $parentInstance: this }; } diff --git a/components/lib/splitter/BaseSplitter.vue b/components/lib/splitter/BaseSplitter.vue index e3fca8914..0eb333054 100644 --- a/components/lib/splitter/BaseSplitter.vue +++ b/components/lib/splitter/BaseSplitter.vue @@ -30,6 +30,7 @@ export default { style: SplitterStyle, provide() { return { + $pcSplitter: this, $parentInstance: this }; } diff --git a/components/lib/splitterpanel/BaseSplitterPanel.vue b/components/lib/splitterpanel/BaseSplitterPanel.vue index 9d3d6472f..72ee450d9 100644 --- a/components/lib/splitterpanel/BaseSplitterPanel.vue +++ b/components/lib/splitterpanel/BaseSplitterPanel.vue @@ -18,6 +18,7 @@ export default { style: SplitterPanelStyle, provide() { return { + $pcSplitterPanel: this, $parentInstance: this }; } diff --git a/components/lib/stepper/BaseStepper.vue b/components/lib/stepper/BaseStepper.vue index 85de0ac0d..12968cb3f 100644 --- a/components/lib/stepper/BaseStepper.vue +++ b/components/lib/stepper/BaseStepper.vue @@ -22,6 +22,7 @@ export default { style: StepperStyle, provide() { return { + $pcStepper: this, $parentInstance: this }; } diff --git a/components/lib/stepperpanel/BaseStepperPanel.vue b/components/lib/stepperpanel/BaseStepperPanel.vue index 4262bb43e..7eac50341 100644 --- a/components/lib/stepperpanel/BaseStepperPanel.vue +++ b/components/lib/stepperpanel/BaseStepperPanel.vue @@ -11,6 +11,7 @@ export default { style: StepperPanelStyle, provide() { return { + $pcStepperPanel: this, $parentInstance: this }; } diff --git a/components/lib/steps/BaseSteps.vue b/components/lib/steps/BaseSteps.vue index 48aa3aa19..ed69eefd5 100644 --- a/components/lib/steps/BaseSteps.vue +++ b/components/lib/steps/BaseSteps.vue @@ -25,6 +25,7 @@ export default { style: StepsStyle, provide() { return { + $pcSteps: this, $parentInstance: this }; } diff --git a/components/lib/tab/BaseTab.vue b/components/lib/tab/BaseTab.vue index 069e88e62..cf38813e5 100644 --- a/components/lib/tab/BaseTab.vue +++ b/components/lib/tab/BaseTab.vue @@ -26,6 +26,7 @@ export default { style: TabStyle, provide() { return { + $pcTab: this, $parentInstance: this }; } diff --git a/components/lib/tabmenu/BaseTabMenu.vue b/components/lib/tabmenu/BaseTabMenu.vue index 338742ebc..3d61142ea 100644 --- a/components/lib/tabmenu/BaseTabMenu.vue +++ b/components/lib/tabmenu/BaseTabMenu.vue @@ -26,6 +26,7 @@ export default { style: TabMenuStyle, provide() { return { + $pcTabMenu: this, $parentInstance: this }; } diff --git a/components/lib/tabpanel/BaseTabPanel.vue b/components/lib/tabpanel/BaseTabPanel.vue index ad35956ac..388c3906e 100644 --- a/components/lib/tabpanel/BaseTabPanel.vue +++ b/components/lib/tabpanel/BaseTabPanel.vue @@ -30,6 +30,12 @@ export default { contentProps: null, disabled: Boolean }, - style: TabPanelStyle + style: TabPanelStyle, + provide() { + return { + $pcTabPanel: this, + $parentInstance: this + }; + } }; diff --git a/components/lib/tabpanels/BaseTabPanels.vue b/components/lib/tabpanels/BaseTabPanels.vue index dd09b25bf..8c2af39ce 100644 --- a/components/lib/tabpanels/BaseTabPanels.vue +++ b/components/lib/tabpanels/BaseTabPanels.vue @@ -9,6 +9,7 @@ export default { style: TabPanelsStyle, provide() { return { + $pcTabPanels: this, $parentInstance: this }; } diff --git a/components/lib/tabview/BaseTabView.vue b/components/lib/tabview/BaseTabView.vue index 8701ce0e0..984c24546 100644 --- a/components/lib/tabview/BaseTabView.vue +++ b/components/lib/tabview/BaseTabView.vue @@ -47,6 +47,7 @@ export default { provide() { return { $pcTabs: undefined, // Backwards compatible to prevent component from breaking + $pcTabView: this, $parentInstance: this }; } diff --git a/components/lib/tag/BaseTag.vue b/components/lib/tag/BaseTag.vue index 6a145b2ff..08ef17a8a 100644 --- a/components/lib/tag/BaseTag.vue +++ b/components/lib/tag/BaseTag.vue @@ -14,6 +14,7 @@ export default { style: TagStyle, provide() { return { + $pcTag: this, $parentInstance: this }; } diff --git a/components/lib/terminal/BaseTerminal.vue b/components/lib/terminal/BaseTerminal.vue index bf4b2b9f4..34b78e60d 100644 --- a/components/lib/terminal/BaseTerminal.vue +++ b/components/lib/terminal/BaseTerminal.vue @@ -18,6 +18,7 @@ export default { style: TerminalStyle, provide() { return { + $pcTerminal: this, $parentInstance: this }; } diff --git a/components/lib/textarea/BaseTextarea.vue b/components/lib/textarea/BaseTextarea.vue index 8f1c27e69..a8396d232 100644 --- a/components/lib/textarea/BaseTextarea.vue +++ b/components/lib/textarea/BaseTextarea.vue @@ -20,6 +20,7 @@ export default { style: TextareaStyle, provide() { return { + $pcTextarea: this, $parentInstance: this }; } diff --git a/components/lib/tieredmenu/BaseTieredMenu.vue b/components/lib/tieredmenu/BaseTieredMenu.vue index cdaf865fe..e201c828f 100644 --- a/components/lib/tieredmenu/BaseTieredMenu.vue +++ b/components/lib/tieredmenu/BaseTieredMenu.vue @@ -46,6 +46,7 @@ export default { style: TieredMenuStyle, provide() { return { + $pcTieredMenu: this, $parentInstance: this }; } diff --git a/components/lib/timeline/BaseTimeline.vue b/components/lib/timeline/BaseTimeline.vue index 455750232..a03c7be81 100644 --- a/components/lib/timeline/BaseTimeline.vue +++ b/components/lib/timeline/BaseTimeline.vue @@ -20,6 +20,7 @@ export default { style: TimelineStyle, provide() { return { + $pcTimeline: this, $parentInstance: this }; } diff --git a/components/lib/toast/BaseToast.vue b/components/lib/toast/BaseToast.vue index cdff8bdbf..54e45390b 100644 --- a/components/lib/toast/BaseToast.vue +++ b/components/lib/toast/BaseToast.vue @@ -56,6 +56,7 @@ export default { style: ToastStyle, provide() { return { + $pcToast: this, $parentInstance: this }; } diff --git a/components/lib/togglebutton/BaseToggleButton.vue b/components/lib/togglebutton/BaseToggleButton.vue index 1a7a5f72f..1be737d66 100644 --- a/components/lib/togglebutton/BaseToggleButton.vue +++ b/components/lib/togglebutton/BaseToggleButton.vue @@ -49,6 +49,7 @@ export default { style: ToggleButtonStyle, provide() { return { + $pcToggleButton: this, $parentInstance: this }; } diff --git a/components/lib/toggleswitch/BaseToggleSwitch.vue b/components/lib/toggleswitch/BaseToggleSwitch.vue index 1c93d16dc..4eb9f89b5 100644 --- a/components/lib/toggleswitch/BaseToggleSwitch.vue +++ b/components/lib/toggleswitch/BaseToggleSwitch.vue @@ -58,6 +58,7 @@ export default { style: ToggleSwitchStyle, provide() { return { + $pcToggleSwitch: this, $parentInstance: this }; } diff --git a/components/lib/toolbar/BaseToolbar.vue b/components/lib/toolbar/BaseToolbar.vue index f7215b0b3..ebb94f7fc 100644 --- a/components/lib/toolbar/BaseToolbar.vue +++ b/components/lib/toolbar/BaseToolbar.vue @@ -14,6 +14,7 @@ export default { style: ToolbarStyle, provide() { return { + $pcToolbar: this, $parentInstance: this }; } diff --git a/components/lib/tree/BaseTree.vue b/components/lib/tree/BaseTree.vue index 2eeb8585c..484e48d2a 100644 --- a/components/lib/tree/BaseTree.vue +++ b/components/lib/tree/BaseTree.vue @@ -82,6 +82,7 @@ export default { style: TreeStyle, provide() { return { + $pcTree: this, $parentInstance: this }; } diff --git a/components/lib/treeselect/BaseTreeSelect.vue b/components/lib/treeselect/BaseTreeSelect.vue index 0c79199f0..75b7860a1 100644 --- a/components/lib/treeselect/BaseTreeSelect.vue +++ b/components/lib/treeselect/BaseTreeSelect.vue @@ -88,6 +88,7 @@ export default { style: TreeSelectStyle, provide() { return { + $pcTreeSelect: this, $parentInstance: this }; } diff --git a/components/lib/treetable/BaseTreeTable.vue b/components/lib/treetable/BaseTreeTable.vue index 47291414b..40f08f115 100644 --- a/components/lib/treetable/BaseTreeTable.vue +++ b/components/lib/treetable/BaseTreeTable.vue @@ -174,6 +174,7 @@ export default { style: TreeTableStyle, provide() { return { + $pcTreeTable: this, $parentInstance: this }; } diff --git a/components/lib/virtualscroller/BaseVirtualScroller.vue b/components/lib/virtualscroller/BaseVirtualScroller.vue index 46c8e0650..342d5d300 100644 --- a/components/lib/virtualscroller/BaseVirtualScroller.vue +++ b/components/lib/virtualscroller/BaseVirtualScroller.vue @@ -90,6 +90,7 @@ export default { style: VirtualScrollerStyle, provide() { return { + $pcVirtualScroller: this, $parentInstance: this }; },