Update componentbase structure

pull/3841/head
mertsincan 2023-03-30 11:44:34 +01:00
parent 9fef4a19c5
commit 90be0a29c3
18 changed files with 16 additions and 15 deletions

View File

@ -41,7 +41,7 @@
</template>
<script>
import ComponentBase from 'primevue/base';
import ComponentBase from 'primevue/componentbase';
import Ripple from 'primevue/ripple';
import { DomHandler, UniqueComponentId } from 'primevue/utils';

View File

@ -3,7 +3,7 @@
</template>
<script>
import ComponentBase from 'primevue/base';
import ComponentBase from 'primevue/componentbase';
export default {
name: 'AccordionTab',

View File

@ -21,7 +21,7 @@
</template>
<script>
import ComponentBase from 'primevue/base';
import ComponentBase from 'primevue/componentbase';
export default {
name: 'Card',

View File

@ -5,7 +5,7 @@
</template>
<script>
import ComponentBase from 'primevue/base';
import ComponentBase from 'primevue/componentbase';
export default {
name: 'DeferredContent',

View File

@ -7,7 +7,7 @@
</template>
<script>
import ComponentBase from 'primevue/base';
import ComponentBase from 'primevue/componentbase';
export default {
name: 'Divider',
extends: ComponentBase,

View File

@ -36,7 +36,7 @@
</template>
<script>
import ComponentBase from 'primevue/base';
import ComponentBase from 'primevue/componentbase';
import Ripple from 'primevue/ripple';
import { UniqueComponentId } from 'primevue/utils';

View File

@ -37,7 +37,7 @@
</template>
<script>
import ComponentBase from 'primevue/base';
import ComponentBase from 'primevue/componentbase';
import Ripple from 'primevue/ripple';
import { UniqueComponentId } from 'primevue/utils';

View File

@ -36,7 +36,7 @@
</template>
<script>
import ComponentBase from 'primevue/base';
import ComponentBase from 'primevue/componentbase';
import { DomHandler, UniqueComponentId } from 'primevue/utils';
export default {

View File

@ -20,7 +20,7 @@
</template>
<script>
import ComponentBase from 'primevue/base';
import ComponentBase from 'primevue/componentbase';
import { DomHandler, ObjectUtils } from 'primevue/utils';
export default {

View File

@ -5,7 +5,7 @@
</template>
<script>
import ComponentBase from 'primevue/base';
import ComponentBase from 'primevue/componentbase';
export default {
name: 'SplitterPanel',

View File

@ -3,7 +3,7 @@
</template>
<script>
import ComponentBase from 'primevue/base';
import ComponentBase from 'primevue/componentbase';
export default {
name: 'TabPanel',
extends: ComponentBase,

View File

@ -82,7 +82,7 @@
</template>
<script>
import ComponentBase from 'primevue/base';
import ComponentBase from 'primevue/componentbase';
import Ripple from 'primevue/ripple';
import { DomHandler, UniqueComponentId } from 'primevue/utils';

View File

@ -13,7 +13,7 @@
</template>
<script>
import ComponentBase from 'primevue/base';
import ComponentBase from 'primevue/componentbase';
export default {
name: 'Toolbar',
extends: ComponentBase,

View File

@ -85,7 +85,7 @@ export default defineNuxtConfig({
'primevue/utils': path.resolve(__dirname, './components/lib/utils/Utils.js'),
'primevue/api': path.resolve(__dirname, './components/lib/api/Api.js'),
'primevue/portal': path.resolve(__dirname, './components/lib/portal/Portal.vue'),
'primevue/base': path.resolve(__dirname, './components/lib/base/ComponentBase.vue'),
'primevue/componentbase': path.resolve(__dirname, './components/lib/componentbase/ComponentBase.vue'),
'primevue/button': path.resolve(__dirname, './components/lib/button/Button.vue'),
'primevue/inputtext': path.resolve(__dirname, './components/lib/inputtext/InputText.vue'),
'primevue/dialog': path.resolve(__dirname, './components/lib/dialog/Dialog.vue'),

View File

@ -15,6 +15,7 @@ let coreDependencies = {
'primevue/config': 'primevue.config',
'primevue/ripple': 'primevue.ripple',
'primevue/portal': 'primevue.portal',
'primevue/componentbase': 'primevue.componentbase',
'primevue/tooltip': 'primevue.tooltip',
'primevue/focustrap': 'primevue.focustrap',
'primevue/virtualscroller': 'primevue.virtualscroller',

View File

@ -23,7 +23,7 @@ export default {
'primevue/utils': path.resolve(__dirname, './components/lib/utils/Utils.js'),
'primevue/api': path.resolve(__dirname, './components/lib/api/Api.js'),
'primevue/portal': path.resolve(__dirname, './components/lib/portal/Portal.vue'),
'primevue/base': path.resolve(__dirname, './components/lib/base/ComponentBase.vue'),
'primevue/componentbase': path.resolve(__dirname, './components/lib/componentbase/ComponentBase.vue'),
'primevue/button': path.resolve(__dirname, './components/lib/button/Button.vue'),
'primevue/inputtext': path.resolve(__dirname, './components/lib/inputtext/InputText.vue'),
'primevue/dialog': path.resolve(__dirname, './components/lib/dialog/Dialog.vue'),