Refactor #3965 - hostName fixes
parent
29856c6a3a
commit
3d49b11814
|
@ -467,7 +467,7 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
defaultPT() {
|
||||
return this._getOptionValue(this.$primevue.config.pt, this.$.type.name, { instance: this });
|
||||
return this._getOptionValue(this.$primevue.config.pt, this.$options.hostName || this.$.type.name, { instance: this });
|
||||
},
|
||||
isUnstyled() {
|
||||
return this.unstyled !== undefined ? this.unstyled : this.$primevue.config.unstyled;
|
||||
|
|
|
@ -23,6 +23,7 @@ import BaseComponent from 'primevue/basecomponent';
|
|||
|
||||
export default {
|
||||
name: 'BreadcrumbItem',
|
||||
hostName: 'Breadcrumb',
|
||||
extends: BaseComponent,
|
||||
props: {
|
||||
item: null,
|
||||
|
|
|
@ -58,6 +58,7 @@ import { DomHandler, ObjectUtils } from 'primevue/utils';
|
|||
|
||||
export default {
|
||||
name: 'CascadeSelectSub',
|
||||
hostName: 'CascadeSelect',
|
||||
extends: BaseComponent,
|
||||
emits: ['option-change'],
|
||||
props: {
|
||||
|
|
|
@ -81,6 +81,7 @@ import { DomHandler, ObjectUtils } from 'primevue/utils';
|
|||
|
||||
export default {
|
||||
name: 'ContextMenuSub',
|
||||
hostName: 'ContextMenu',
|
||||
extends: BaseComponent,
|
||||
emits: ['item-click', 'item-mouseenter'],
|
||||
props: {
|
||||
|
|
|
@ -80,6 +80,7 @@ import { DomHandler, ObjectUtils, UniqueComponentId } from 'primevue/utils';
|
|||
|
||||
export default {
|
||||
name: 'DockSub',
|
||||
hostName: 'Dock',
|
||||
extends: BaseComponent,
|
||||
emits: ['focus', 'blur'],
|
||||
props: {
|
||||
|
|
|
@ -25,6 +25,7 @@ import TimesIcon from 'primevue/icons/times';
|
|||
|
||||
export default {
|
||||
name: 'FileContent',
|
||||
hostName: 'FileUpload',
|
||||
extends: BaseComponent,
|
||||
emits: ['remove'],
|
||||
props: {
|
||||
|
|
|
@ -86,6 +86,7 @@ import { ObjectUtils } from 'primevue/utils';
|
|||
|
||||
export default {
|
||||
name: 'MegaMenuSub',
|
||||
hostName: 'MegaMenu',
|
||||
extends: BaseComponent,
|
||||
emits: ['item-click', 'item-mouseenter'],
|
||||
props: {
|
||||
|
|
|
@ -38,6 +38,7 @@ import { ObjectUtils } from 'primevue/utils';
|
|||
|
||||
export default {
|
||||
name: 'Menuitem',
|
||||
hostName: 'Menu',
|
||||
extends: BaseComponent,
|
||||
inheritAttrs: false,
|
||||
emits: ['item-click'],
|
||||
|
|
|
@ -78,6 +78,7 @@ import { ObjectUtils } from 'primevue/utils';
|
|||
|
||||
export default {
|
||||
name: 'MenubarSub',
|
||||
hostName: 'Menubar',
|
||||
extends: BaseComponent,
|
||||
emits: ['item-mouseenter', 'item-click'],
|
||||
props: {
|
||||
|
|
|
@ -76,6 +76,7 @@ import { DomHandler } from 'primevue/utils';
|
|||
|
||||
export default {
|
||||
name: 'OrganizationChartNode',
|
||||
hostName: 'OrganizationChart',
|
||||
extends: BaseComponent,
|
||||
emits: ['node-click', 'node-toggle'],
|
||||
props: {
|
||||
|
|
|
@ -7,6 +7,7 @@ import BaseComponent from 'primevue/basecomponent';
|
|||
|
||||
export default {
|
||||
name: 'CurrentPageReport',
|
||||
hostName: 'Paginator',
|
||||
extends: BaseComponent,
|
||||
props: {
|
||||
pageCount: {
|
||||
|
|
|
@ -11,6 +11,7 @@ import Ripple from 'primevue/ripple';
|
|||
|
||||
export default {
|
||||
name: 'FirstPageLink',
|
||||
hostName: 'Paginator',
|
||||
extends: BaseComponent,
|
||||
props: {
|
||||
template: {
|
||||
|
|
|
@ -19,6 +19,7 @@ import Dropdown from 'primevue/dropdown';
|
|||
|
||||
export default {
|
||||
name: 'JumpToPageDropdown',
|
||||
hostName: 'Paginator',
|
||||
extends: BaseComponent,
|
||||
emits: ['page-change'],
|
||||
props: {
|
||||
|
|
|
@ -18,6 +18,7 @@ import InputNumber from 'primevue/inputnumber';
|
|||
|
||||
export default {
|
||||
name: 'JumpToPageInput',
|
||||
hostName: 'Paginator',
|
||||
extends: BaseComponent,
|
||||
inheritAttrs: false,
|
||||
emits: ['page-change'],
|
||||
|
|
|
@ -11,6 +11,7 @@ import Ripple from 'primevue/ripple';
|
|||
|
||||
export default {
|
||||
name: 'LastPageLink',
|
||||
hostName: 'Paginator',
|
||||
extends: BaseComponent,
|
||||
props: {
|
||||
template: {
|
||||
|
|
|
@ -11,6 +11,7 @@ import Ripple from 'primevue/ripple';
|
|||
|
||||
export default {
|
||||
name: 'NextPageLink',
|
||||
hostName: 'Paginator',
|
||||
extends: BaseComponent,
|
||||
props: {
|
||||
template: {
|
||||
|
|
|
@ -23,6 +23,7 @@ import Ripple from 'primevue/ripple';
|
|||
|
||||
export default {
|
||||
name: 'PageLinks',
|
||||
hostName: 'Paginator',
|
||||
extends: BaseComponent,
|
||||
inheritAttrs: false,
|
||||
emits: ['click'],
|
||||
|
|
|
@ -11,6 +11,7 @@ import Ripple from 'primevue/ripple';
|
|||
|
||||
export default {
|
||||
name: 'PrevPageLink',
|
||||
hostName: 'Paginator',
|
||||
extends: BaseComponent,
|
||||
props: {
|
||||
template: {
|
||||
|
|
|
@ -19,6 +19,7 @@ import Dropdown from 'primevue/dropdown';
|
|||
|
||||
export default {
|
||||
name: 'RowsPerPageDropdown',
|
||||
hostName: 'Paginator',
|
||||
extends: BaseComponent,
|
||||
emits: ['rows-change'],
|
||||
props: {
|
||||
|
|
|
@ -27,6 +27,7 @@ import PanelMenuSub from './PanelMenuSub.vue';
|
|||
|
||||
export default {
|
||||
name: 'PanelMenuList',
|
||||
hostName: 'PanelMenu',
|
||||
extends: BaseComponent,
|
||||
emits: ['item-toggle', 'header-focus'],
|
||||
props: {
|
||||
|
|
|
@ -77,6 +77,7 @@ import { ObjectUtils } from 'primevue/utils';
|
|||
|
||||
export default {
|
||||
name: 'PanelMenuSub',
|
||||
hostName: 'PanelMenu',
|
||||
extends: BaseComponent,
|
||||
emits: ['item-toggle'],
|
||||
props: {
|
||||
|
|
|
@ -77,6 +77,7 @@ import { ObjectUtils } from 'primevue/utils';
|
|||
|
||||
export default {
|
||||
name: 'TieredMenuSub',
|
||||
hostName: 'TieredMenu',
|
||||
extends: BaseComponent,
|
||||
emits: ['item-click', 'item-mouseenter'],
|
||||
props: {
|
||||
|
|
|
@ -62,6 +62,7 @@ import { DomHandler } from 'primevue/utils';
|
|||
|
||||
export default {
|
||||
name: 'TreeNode',
|
||||
hostName: 'Tree',
|
||||
extends: BaseComponent,
|
||||
emits: ['node-toggle', 'node-click', 'checkbox-change'],
|
||||
props: {
|
||||
|
|
|
@ -32,6 +32,7 @@ import { DomHandler, ObjectUtils } from 'primevue/utils';
|
|||
|
||||
export default {
|
||||
name: 'BodyCell',
|
||||
hostName: 'TreeTable',
|
||||
extends: BaseComponent,
|
||||
emits: ['node-toggle', 'checkbox-toggle'],
|
||||
props: {
|
||||
|
|
|
@ -11,6 +11,7 @@ import { DomHandler, ObjectUtils } from 'primevue/utils';
|
|||
|
||||
export default {
|
||||
name: 'FooterCell',
|
||||
hostName: 'TreeTable',
|
||||
extends: BaseComponent,
|
||||
props: {
|
||||
column: {
|
||||
|
|
|
@ -32,6 +32,7 @@ import { DomHandler, ObjectUtils } from 'primevue/utils';
|
|||
|
||||
export default {
|
||||
name: 'HeaderCell',
|
||||
hostName: 'TreeTable',
|
||||
extends: BaseComponent,
|
||||
emits: ['column-click', 'column-resizestart'],
|
||||
props: {
|
||||
|
|
|
@ -67,6 +67,7 @@ import BodyCell from './BodyCell.vue';
|
|||
|
||||
export default {
|
||||
name: 'TreeTableRow',
|
||||
hostName: 'TreeTable',
|
||||
extends: BaseComponent,
|
||||
emits: ['node-click', 'node-toggle', 'checkbox-change', 'nodeClick', 'nodeToggle', 'checkboxChange'],
|
||||
props: {
|
||||
|
|
Loading…
Reference in New Issue