Remove unused unstyled mode checks

pull/3997/head
Tuğçe Küçükoğlu 2023-05-25 17:12:08 +03:00
parent db4589c4c6
commit 34d2b65236
3 changed files with 0 additions and 40 deletions

View File

@ -1,9 +1,5 @@
<script> <script>
import BaseComponent from 'primevue/basecomponent'; import BaseComponent from 'primevue/basecomponent';
import { useStyle } from 'primevue/usestyle';
const styles = `
`;
const classes = { const classes = {
root: ({ instance }) => [ root: ({ instance }) => [
@ -14,8 +10,6 @@ const classes = {
] ]
}; };
const { load: loadStyle, unload: unloadStyle } = useStyle(styles, { id: 'primevue_inputmask_style', manual: true });
export default { export default {
name: 'BaseInputMask', name: 'BaseInputMask',
extends: BaseComponent, extends: BaseComponent,
@ -44,14 +38,6 @@ export default {
}, },
css: { css: {
classes classes
},
watch: {
isUnstyled: {
immediate: true,
handler(newValue) {
!newValue && loadStyle();
}
}
} }
}; };
</script> </script>

View File

@ -1,8 +1,5 @@
<script> <script>
import BaseComponent from 'primevue/basecomponent'; import BaseComponent from 'primevue/basecomponent';
import { useStyle } from 'primevue/usestyle';
const styles = ``;
const classes = { const classes = {
root: ({ instance, props }) => [ root: ({ instance, props }) => [
@ -26,8 +23,6 @@ const classes = {
label: 'p-button-label' label: 'p-button-label'
}; };
const { load: loadStyle, unload: unloadStyle } = useStyle(styles, { id: 'primevue_togglebutton_style', manual: true });
export default { export default {
name: 'BaseToggleButton', name: 'BaseToggleButton',
extends: BaseComponent, extends: BaseComponent,
@ -82,14 +77,6 @@ export default {
}, },
css: { css: {
classes classes
},
watch: {
isUnstyled: {
immediate: true,
handler(newValue) {
!newValue && loadStyle();
}
}
} }
}; };
</script> </script>

View File

@ -1,8 +1,5 @@
<script> <script>
import BaseComponent from 'primevue/basecomponent'; import BaseComponent from 'primevue/basecomponent';
import { useStyle } from 'primevue/usestyle';
const styles = ``;
const classes = { const classes = {
root: ({ instance, props }) => [ root: ({ instance, props }) => [
@ -28,8 +25,6 @@ const classes = {
nullableIcon: 'p-checkbox-icon' nullableIcon: 'p-checkbox-icon'
}; };
const { load: loadStyle, unload: unloadStyle } = useStyle(styles, { id: 'primevue_tristatecheckbox_style', manual: true });
export default { export default {
name: 'BaseTriStateCheckbox', name: 'BaseTriStateCheckbox',
extends: BaseComponent, extends: BaseComponent,
@ -62,14 +57,6 @@ export default {
}, },
css: { css: {
classes classes
},
watch: {
isUnstyled: {
immediate: true,
handler(newValue) {
!newValue && loadStyle();
}
}
} }
}; };
</script> </script>