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

View File

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

View File

@ -2,7 +2,7 @@
import { ObjectUtils } from 'primevue/utils'; import { ObjectUtils } from 'primevue/utils';
export default { export default {
name: 'ComponentBase', name: 'BaseComponent',
props: { props: {
pt: { pt: {
type: Object, 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> </template>
<script> <script>
import ComponentBase from 'primevue/componentbase'; import BaseComponent from 'primevue/basecomponent';
export default { export default {
name: 'Card', name: 'Card',
extends: ComponentBase extends: BaseComponent
}; };
</script> </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> </template>
<script> <script>
import ComponentBase from 'primevue/componentbase'; import BaseComponent from 'primevue/basecomponent';
export default { export default {
name: 'DeferredContent', name: 'DeferredContent',
extends: ComponentBase, extends: BaseComponent,
emits: ['load'], emits: ['load'],
data() { data() {
return { return {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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