Rename `componentbase` with `basecomponent`

pull/3841/head
mertsincan 2023-03-31 22:51:41 +01:00
parent 01c151b799
commit fa0241d46c
16 changed files with 35 additions and 35 deletions

View File

@ -41,13 +41,13 @@
</template>
<script>
import ComponentBase from 'primevue/componentbase';
import BaseComponent from 'primevue/basecomponent';
import Ripple from 'primevue/ripple';
import { DomHandler, UniqueComponentId } from 'primevue/utils';
export default {
name: 'Accordion',
extends: ComponentBase,
extends: BaseComponent,
emits: ['update:activeIndex', 'tab-open', 'tab-close', 'tab-click'],
props: {
multiple: {

View File

@ -3,11 +3,11 @@
</template>
<script>
import ComponentBase from 'primevue/componentbase';
import BaseComponent from 'primevue/basecomponent';
export default {
name: 'AccordionTab',
extends: ComponentBase,
extends: BaseComponent,
props: {
header: null,
headerStyle: null,

View File

@ -2,7 +2,7 @@
import { ObjectUtils } from 'primevue/utils';
export default {
name: 'ComponentBase',
name: 'BaseComponent',
props: {
pt: {
type: Object,

View File

@ -0,0 +1,8 @@
{
"main": "./basecomponent.cjs.js",
"module": "./basecomponent.esm.js",
"unpkg": "./basecomponent.min.js",
"browser": {
"./sfc": "./BaseComponent.vue"
}
}

View File

@ -21,10 +21,10 @@
</template>
<script>
import ComponentBase from 'primevue/componentbase';
import BaseComponent from 'primevue/basecomponent';
export default {
name: 'Card',
extends: ComponentBase
extends: BaseComponent
};
</script>

View File

@ -1,8 +0,0 @@
{
"main": "./componentbase.cjs.js",
"module": "./componentbase.esm.js",
"unpkg": "./componentbase.min.js",
"browser": {
"./sfc": "./ComponentBase.vue"
}
}

View File

@ -5,11 +5,11 @@
</template>
<script>
import ComponentBase from 'primevue/componentbase';
import BaseComponent from 'primevue/basecomponent';
export default {
name: 'DeferredContent',
extends: ComponentBase,
extends: BaseComponent,
emits: ['load'],
data() {
return {

View File

@ -7,10 +7,10 @@
</template>
<script>
import ComponentBase from 'primevue/componentbase';
import BaseComponent from 'primevue/basecomponent';
export default {
name: 'Divider',
extends: ComponentBase,
extends: BaseComponent,
props: {
align: {
type: String,

View File

@ -36,13 +36,13 @@
</template>
<script>
import ComponentBase from 'primevue/componentbase';
import BaseComponent from 'primevue/basecomponent';
import Ripple from 'primevue/ripple';
import { UniqueComponentId } from 'primevue/utils';
export default {
name: 'Fieldset',
extends: ComponentBase,
extends: BaseComponent,
emits: ['update:collapsed', 'toggle'],
props: {
legend: String,

View File

@ -40,13 +40,13 @@
</template>
<script>
import ComponentBase from 'primevue/componentbase';
import BaseComponent from 'primevue/basecomponent';
import Ripple from 'primevue/ripple';
import { UniqueComponentId } from 'primevue/utils';
export default {
name: 'Panel',
extends: ComponentBase,
extends: BaseComponent,
emits: ['update:collapsed', 'toggle'],
props: {
header: String,

View File

@ -36,12 +36,12 @@
</template>
<script>
import ComponentBase from 'primevue/componentbase';
import BaseComponent from 'primevue/basecomponent';
import { DomHandler, UniqueComponentId } from 'primevue/utils';
export default {
name: 'ScrollPanel',
extends: ComponentBase,
extends: BaseComponent,
props: {
step: {
type: Number,

View File

@ -20,12 +20,12 @@
</template>
<script>
import ComponentBase from 'primevue/componentbase';
import BaseComponent from 'primevue/basecomponent';
import { DomHandler, ObjectUtils } from 'primevue/utils';
export default {
name: 'Splitter',
extends: ComponentBase,
extends: BaseComponent,
emits: ['resizestart', 'resizeend'],
props: {
layout: {

View File

@ -5,11 +5,11 @@
</template>
<script>
import ComponentBase from 'primevue/componentbase';
import BaseComponent from 'primevue/basecomponent';
export default {
name: 'SplitterPanel',
extends: ComponentBase,
extends: BaseComponent,
props: {
size: {
type: Number,

View File

@ -3,10 +3,10 @@
</template>
<script>
import ComponentBase from 'primevue/componentbase';
import BaseComponent from 'primevue/basecomponent';
export default {
name: 'TabPanel',
extends: ComponentBase,
extends: BaseComponent,
props: {
header: null,
headerStyle: null,

View File

@ -82,13 +82,13 @@
</template>
<script>
import ComponentBase from 'primevue/componentbase';
import BaseComponent from 'primevue/basecomponent';
import Ripple from 'primevue/ripple';
import { DomHandler, UniqueComponentId } from 'primevue/utils';
export default {
name: 'TabView',
extends: ComponentBase,
extends: BaseComponent,
emits: ['update:activeIndex', 'tab-change', 'tab-click'],
props: {
activeIndex: {

View File

@ -13,10 +13,10 @@
</template>
<script>
import ComponentBase from 'primevue/componentbase';
import BaseComponent from 'primevue/basecomponent';
export default {
name: 'Toolbar',
extends: ComponentBase,
extends: BaseComponent,
props: {
'aria-labelledby': {
type: String,