Rename `componentbase` with `basecomponent`
parent
01c151b799
commit
fa0241d46c
|
@ -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: {
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
import { ObjectUtils } from 'primevue/utils';
|
||||
|
||||
export default {
|
||||
name: 'ComponentBase',
|
||||
name: 'BaseComponent',
|
||||
props: {
|
||||
pt: {
|
||||
type: Object,
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"main": "./basecomponent.cjs.js",
|
||||
"module": "./basecomponent.esm.js",
|
||||
"unpkg": "./basecomponent.min.js",
|
||||
"browser": {
|
||||
"./sfc": "./BaseComponent.vue"
|
||||
}
|
||||
}
|
|
@ -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>
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"main": "./componentbase.cjs.js",
|
||||
"module": "./componentbase.esm.js",
|
||||
"unpkg": "./componentbase.min.js",
|
||||
"browser": {
|
||||
"./sfc": "./ComponentBase.vue"
|
||||
}
|
||||
}
|
|
@ -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 {
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue