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> </template>
<script> <script>
import ComponentBase from 'primevue/base'; import ComponentBase from 'primevue/componentbase';
import Ripple from 'primevue/ripple'; import Ripple from 'primevue/ripple';
import { DomHandler, UniqueComponentId } from 'primevue/utils'; import { DomHandler, UniqueComponentId } from 'primevue/utils';

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -23,7 +23,7 @@ export default {
'primevue/utils': path.resolve(__dirname, './components/lib/utils/Utils.js'), 'primevue/utils': path.resolve(__dirname, './components/lib/utils/Utils.js'),
'primevue/api': path.resolve(__dirname, './components/lib/api/Api.js'), 'primevue/api': path.resolve(__dirname, './components/lib/api/Api.js'),
'primevue/portal': path.resolve(__dirname, './components/lib/portal/Portal.vue'), '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/button': path.resolve(__dirname, './components/lib/button/Button.vue'),
'primevue/inputtext': path.resolve(__dirname, './components/lib/inputtext/InputText.vue'), 'primevue/inputtext': path.resolve(__dirname, './components/lib/inputtext/InputText.vue'),
'primevue/dialog': path.resolve(__dirname, './components/lib/dialog/Dialog.vue'), 'primevue/dialog': path.resolve(__dirname, './components/lib/dialog/Dialog.vue'),