Remove extra lines

pull/3699/head
Tuğçe Küçükoğlu 2023-03-02 15:23:54 +03:00
parent cf14cd2b81
commit c6fba7f4e2
51 changed files with 59 additions and 116 deletions

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import AutoComplete from 'primevue/autocomplete';`
import AutoComplete from 'primevue/autocomplete';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import BlockUI from 'primevue/blockui';`
import BlockUI from 'primevue/blockui';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import Breadcrumb from 'primevue/breadcrumb';`
import Breadcrumb from 'primevue/breadcrumb';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import Button from 'primevue/button';`
import Button from 'primevue/button';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import Calendar from 'primevue/calendar';`
import Calendar from 'primevue/calendar';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import Carousel from 'primevue/carousel';`
import Carousel from 'primevue/carousel';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import CascadeSelect from 'primevue/cascadeselect';`
import CascadeSelect from 'primevue/cascadeselect';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import Checkbox from 'primevue/checkbox';`
import Checkbox from 'primevue/checkbox';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import Chip from 'primevue/chip';`
import Chip from 'primevue/chip';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import ColorPicker from 'primevue/colorpicker';`
import ColorPicker from 'primevue/colorpicker';`
} }
}; };
} }

View File

@ -10,8 +10,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import PrimeVue from 'primevue/config';
import PrimeVue from 'primevue/config';
const app = createApp(App); const app = createApp(App);
app.use(PrimeVue);` app.use(PrimeVue);`

View File

@ -15,8 +15,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import {createApp} from "vue";
import {createApp} from "vue";
import PrimeVue from "primevue/config"; import PrimeVue from "primevue/config";
const app = createApp(App); const app = createApp(App);

View File

@ -19,8 +19,7 @@ export default {
data() { data() {
return { return {
code1: { code1: {
basic: ` basic: `export default defineNuxtConfig({
export default defineNuxtConfig({
css: [ css: [
"primevue/resources/themes/lara-light-blue/theme.css", "primevue/resources/themes/lara-light-blue/theme.css",
"primevue/resources/primevue.css", "primevue/resources/primevue.css",
@ -32,8 +31,7 @@ export default defineNuxtConfig({
})` })`
}, },
code2: { code2: {
basic: ` basic: `import { defineNuxtPlugin } from "#app";
import { defineNuxtPlugin } from "#app";
import PrimeVue from "primevue/config"; import PrimeVue from "primevue/config";
import Button from "primevue/button"; import Button from "primevue/button";

View File

@ -11,8 +11,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `<Dialog :showHeader="false"></Dialog>
<Dialog :showHeader="false"></Dialog>
<!-- can be written as --> <!-- can be written as -->

View File

@ -11,8 +11,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import { createApp } from "vue";
import {createApp} from "vue";
import PrimeVue from "primevue/config"; import PrimeVue from "primevue/config";
const app = createApp(App); const app = createApp(App);

View File

@ -14,8 +14,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import {createApp} from "vue";
import {createApp} from "vue";
import PrimeVue from "primevue/config"; import PrimeVue from "primevue/config";
const app = createApp(App); const app = createApp(App);

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import ConfirmDialog from 'primevue/confirmdialog';`
import ConfirmDialog from 'primevue/confirmdialog';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import ConfirmPopup from 'primevue/confirmpopup';`
import ConfirmPopup from 'primevue/confirmpopup';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import DataView from 'primevue/dataview';
import DataView from 'primevue/dataview';
import DataViewLayoutOptions from 'primevue/dataviewlayoutoptions' // optional` import DataViewLayoutOptions from 'primevue/dataviewlayoutoptions' // optional`
} }
}; };

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import Dropdown from 'primevue/dropdown';`
import Dropdown from 'primevue/dropdown';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import DynamicDialog from 'primevue/dynamicdialog';`
import DynamicDialog from 'primevue/dynamicdialog';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import FileUpload from 'primevue/fileupload';`
import FileUpload from 'primevue/fileupload';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import Galleria from 'primevue/galleria';`
import Galleria from 'primevue/galleria';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import Image from 'primevue/image';`
import Image from 'primevue/image';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import InlineMessage from 'primevue/message';`
import InlineMessage from 'primevue/message';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import InputNumber from 'primevue/inputnumber';`
import InputNumber from 'primevue/inputnumber';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import InputText from 'primevue/inputtext';`
import InputText from 'primevue/inputtext';`
} }
}; };
} }

View File

@ -10,8 +10,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `// with npm
// with npm
npm install primevue primeicons npm install primevue primeicons
// with yarn // with yarn

View File

@ -1,6 +1,6 @@
<template> <template>
<DocSectionText v-bind="$attrs"> <DocSectionText v-bind="$attrs">
<p>Theme, core and icons are the necessary css files of the components, visit the <NuxtLink to="/theming#themes">Themes</NuxtLink> section for the complete list of available themes to choose from.</p> <p>Theme, core and icons are the necessary css files of the components, visit the <NuxtLink to="/theming/#themes">Themes</NuxtLink> section for the complete list of available themes to choose from.</p>
</DocSectionText> </DocSectionText>
<DocSectionCode :code="code" hideToggleCode importCode hideCodeSandbox hideStackBlitz /> <DocSectionCode :code="code" hideToggleCode importCode hideCodeSandbox hideStackBlitz />
</template> </template>
@ -10,8 +10,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `//theme
//theme
import "primevue/resources/themes/lara-light-indigo/theme.css"; import "primevue/resources/themes/lara-light-indigo/theme.css";
//core //core

View File

@ -5,7 +5,7 @@
<div class="card flex justify-content-center"> <div class="card flex justify-content-center">
<Button label="Check" icon="pi pi-check" /> <Button label="Check" icon="pi pi-check" />
</div> </div>
<DocSectionCode :code="code" /> <DocSectionCode :code="code" importCode />
</template> </template>
<script> <script>

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import Listbox from 'primevue/listbox';`
import Listbox from 'primevue/listbox';`
} }
}; };
} }

View File

@ -10,8 +10,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import PrimeVue from 'primevue/config';
import PrimeVue from 'primevue/config';
const app = createApp(App); const app = createApp(App);
app.use(PrimeVue);` app.use(PrimeVue);`

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import Menubar from 'primevue/menubar';`
import Menubar from 'primevue/menubar';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import Message from 'primevue/message';`
import Message from 'primevue/message';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import MultiSelect from 'primevue/multiselect';`
import MultiSelect from 'primevue/multiselect';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import OrderList from 'primevue/orderlist';`
import OrderList from 'primevue/orderlist';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import OrganizationChart from 'primevue/organizationchart';`
import OrganizationChart from 'primevue/organizationchart';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import OverlayPanel from 'primevue/overlaypanel';`
import OverlayPanel from 'primevue/overlaypanel';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import Paginator from 'primevue/paginator';`
import Paginator from 'primevue/paginator';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import PickList from 'primevue/picklist';`
import PickList from 'primevue/picklist';`
} }
}; };
} }

View File

@ -15,16 +15,14 @@ export default {
data() { data() {
return { return {
code1: { code1: {
basic: ` basic: `import { createApp } from 'vue';
import { createApp } from 'vue';
import PrimeVue from 'primevue/config'; import PrimeVue from 'primevue/config';
const app = createApp(App); const app = createApp(App);
app.use(PrimeVue, { ripple: true });` app.use(PrimeVue, { ripple: true });`
}, },
code2: { code2: {
basic: ` basic: `import Ripple from 'primevue/ripple';
import Ripple from 'primevue/ripple';
app.directive('ripple', Ripple);` app.directive('ripple', Ripple);`
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import Sidebar from 'primevue/sidebar';`
import Sidebar from 'primevue/sidebar';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import SplitButton from 'primevue/splitbutton';`
import SplitButton from 'primevue/splitbutton';`
} }
}; };
} }

View File

@ -26,8 +26,7 @@ export default {
<Button type="button" label="Button 1" class="mb-3 md:mb-0"></Button> <Button type="button" label="Button 1" class="mb-3 md:mb-0"></Button>
<Button type="button" label="Button 2" class="p-button-secondary mb-3 md:mb-0"></Button> <Button type="button" label="Button 2" class="p-button-secondary mb-3 md:mb-0"></Button>
<Button type="button" label="Button 3" class="p-button-help"></Button> <Button type="button" label="Button 3" class="p-button-help"></Button>
</div> </div>`
`
} }
}; };
} }

View File

@ -13,11 +13,9 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `html {
html {
font-size: 14px; font-size: 14px;
} }`
`
} }
}; };
} }

View File

@ -22,27 +22,23 @@ export default {
data() { data() {
return { return {
code1: { code1: {
basic: ` basic: `<style scoped>
<style scoped>
.mypanel .p-panel-header { .mypanel .p-panel-header {
background-color: #07c4e8; background-color: #07c4e8;
color: #ffffff; color: #ffffff;
} }
</style> </style>`
`
}, },
code2: { code2: {
basic: ` basic: `<template>
<template>
<Panel header="Named ClassName" class="mypanel"> <Panel header="Named ClassName" class="mypanel">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</Panel> </Panel>
</template> </template>`
`
} }
}; };
} }

View File

@ -10,8 +10,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `primevue/resources/themes/bootstrap4-light-blue/theme.css
primevue/resources/themes/bootstrap4-light-blue/theme.css
primevue/resources/themes/bootstrap4-light-purple/theme.css primevue/resources/themes/bootstrap4-light-purple/theme.css
primevue/resources/themes/bootstrap4-dark-blue/theme.css primevue/resources/themes/bootstrap4-dark-blue/theme.css
primevue/resources/themes/bootstrap4-dark-purple/theme.css primevue/resources/themes/bootstrap4-dark-purple/theme.css
@ -50,8 +49,7 @@ primevue/resources/themes/vela-purple/theme.css
primevue/resources/themes/arya-blue/theme.css primevue/resources/themes/arya-blue/theme.css
primevue/resources/themes/arya-green/theme.css primevue/resources/themes/arya-green/theme.css
primevue/resources/themes/arya-orange/theme.css primevue/resources/themes/arya-orange/theme.css
primevue/resources/themes/arya-purple/theme.css primevue/resources/themes/arya-purple/theme.css`
`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import Timeline from 'primevue/timeline';`
import Timeline from 'primevue/timeline';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import Toast from 'primevue/toast';`
import Toast from 'primevue/toast';`
} }
}; };
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import Tooltip from 'primevue/tooltip';
import Tooltip from 'primevue/tooltip';
app.directive('tooltip', Tooltip);` app.directive('tooltip', Tooltip);`
} }

View File

@ -8,8 +8,7 @@ export default {
data() { data() {
return { return {
code: { code: {
basic: ` basic: `import Tree from 'primevue/tree';`
import Tree from 'primevue/tree';`
} }
}; };
} }