PT demos updated
parent
2aee60b5db
commit
f318e45f06
|
@ -7,7 +7,7 @@
|
||||||
:key="tab.title"
|
:key="tab.title"
|
||||||
:header="tab.title"
|
:header="tab.title"
|
||||||
:pt="{
|
:pt="{
|
||||||
headeraction: ({ props, parent }) => ({
|
headerAction: ({ props, parent }) => ({
|
||||||
class: panelClass(props, parent, index)
|
class: panelClass(props, parent, index)
|
||||||
})
|
})
|
||||||
}"
|
}"
|
||||||
|
@ -32,7 +32,7 @@ export default {
|
||||||
<Accordion :activeIndex="0">
|
<Accordion :activeIndex="0">
|
||||||
<AccordionTab v-for="(tab, index) in tabs" :key="tab.title" :header="tab.title"
|
<AccordionTab v-for="(tab, index) in tabs" :key="tab.title" :header="tab.title"
|
||||||
:pt="{
|
:pt="{
|
||||||
headeraction: ({ props, parent }) => ({
|
headerAction: ({ props, parent }) => ({
|
||||||
class: panelClass(props, parent, index)
|
class: panelClass(props, parent, index)
|
||||||
})
|
})
|
||||||
}">
|
}">
|
||||||
|
@ -45,7 +45,7 @@ export default {
|
||||||
<Accordion :activeIndex="0">
|
<Accordion :activeIndex="0">
|
||||||
<AccordionTab v-for="(tab, index) in tabs" :key="tab.title" :header="tab.title"
|
<AccordionTab v-for="(tab, index) in tabs" :key="tab.title" :header="tab.title"
|
||||||
:pt="{
|
:pt="{
|
||||||
headeraction: ({ props, parent }) => ({
|
headerAction: ({ props, parent }) => ({
|
||||||
class: panelClass(props, parent, index)
|
class: panelClass(props, parent, index)
|
||||||
})
|
})
|
||||||
}">
|
}">
|
||||||
|
@ -82,7 +82,7 @@ export default {
|
||||||
<Accordion :activeIndex="0">
|
<Accordion :activeIndex="0">
|
||||||
<AccordionTab v-for="(tab, index) in tabs" :key="tab.title" :header="tab.title"
|
<AccordionTab v-for="(tab, index) in tabs" :key="tab.title" :header="tab.title"
|
||||||
:pt="{
|
:pt="{
|
||||||
headeraction: ({ props, parent }) => ({
|
headerAction: ({ props, parent }) => ({
|
||||||
class: panelClass(props, parent, index)
|
class: panelClass(props, parent, index)
|
||||||
})
|
})
|
||||||
}">
|
}">
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<DocSectionText v-bind="$attrs"> </DocSectionText>
|
<DocSectionText v-bind="$attrs"> </DocSectionText>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<Fieldset legend="Header" :toggleable="true" :pt="{ legend: { class: 'bg-primary' }, legendtitle: { class: 'text-white' }, togglericon: { class: 'text-white' } }">
|
<Fieldset legend="Header" :toggleable="true" :pt="{ legend: { class: 'bg-primary' }, legendTitle: { class: 'text-white' }, togglerIcon: { class: 'text-white' } }">
|
||||||
<p>
|
<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.
|
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.
|
||||||
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.
|
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.
|
||||||
|
@ -17,12 +17,14 @@ export default {
|
||||||
return {
|
return {
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<Fieldset legend="Header" :toggleable="true"
|
<Fieldset
|
||||||
:pt="{
|
legend="Header"
|
||||||
legend: { class: 'bg-primary' },
|
:toggleable="true"
|
||||||
legendtitle: { class: 'text-white' },
|
:pt="{
|
||||||
togglericon: { class: 'text-white' }
|
legend: { class: 'bg-primary' },
|
||||||
}">
|
legendTitle: { class: 'text-white' },
|
||||||
|
togglerIcon: { class: 'text-white' }
|
||||||
|
}">
|
||||||
<p>
|
<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.
|
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.
|
||||||
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.
|
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.
|
||||||
|
@ -31,12 +33,14 @@ export default {
|
||||||
options: `
|
options: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<Fieldset legend="Header" :toggleable="true"
|
<Fieldset
|
||||||
:pt="{
|
legend="Header"
|
||||||
legend: { class: 'bg-primary' },
|
:toggleable="true"
|
||||||
legendtitle: { class: 'text-white' },
|
:pt="{
|
||||||
togglericon: { class: 'text-white' }
|
legend: { class: 'bg-primary' },
|
||||||
}">
|
legendTitle: { class: 'text-white' },
|
||||||
|
togglerIcon: { class: 'text-white' }
|
||||||
|
}">
|
||||||
<p>
|
<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.
|
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.
|
||||||
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.
|
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.
|
||||||
|
@ -47,12 +51,14 @@ export default {
|
||||||
composition: `
|
composition: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<Fieldset legend="Header" :toggleable="true"
|
<Fieldset
|
||||||
:pt="{
|
legend="Header"
|
||||||
legend: { class: 'bg-primary' },
|
:toggleable="true"
|
||||||
legendtitle: { class: 'text-white' },
|
:pt="{
|
||||||
togglericon: { class: 'text-white' }
|
legend: { class: 'bg-primary' },
|
||||||
}">
|
legendTitle: { class: 'text-white' },
|
||||||
|
togglerIcon: { class: 'text-white' }
|
||||||
|
}">
|
||||||
<p>
|
<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.
|
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.
|
||||||
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.
|
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.
|
||||||
|
|
|
@ -25,7 +25,13 @@ export default {
|
||||||
return {
|
return {
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<ScrollPanel :pt="{ root: { style: { width: '100%', height: '200px' } }, bary: { class: 'bg-primary' } }">
|
<ScrollPanel
|
||||||
|
:pt="{
|
||||||
|
root: {
|
||||||
|
style: { width: '100%', height: '200px' }
|
||||||
|
},
|
||||||
|
barY: { class: 'bg-primary' }
|
||||||
|
}">
|
||||||
<p>
|
<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.
|
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.
|
||||||
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.
|
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.
|
||||||
|
@ -42,7 +48,13 @@ export default {
|
||||||
options: `
|
options: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<ScrollPanel :pt="{ root: { style: { width: '100%', height: '200px' } }, bary: { class: 'bg-primary' } }">
|
<ScrollPanel
|
||||||
|
:pt="{
|
||||||
|
root: {
|
||||||
|
style: { width: '100%', height: '200px' }
|
||||||
|
},
|
||||||
|
barY: { class: 'bg-primary' }
|
||||||
|
}">
|
||||||
<p>
|
<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.
|
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.
|
||||||
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.
|
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.
|
||||||
|
@ -61,7 +73,13 @@ export default {
|
||||||
composition: `
|
composition: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<ScrollPanel :pt="{ root: { style: { width: '100%', height: '200px' } }, bary: { class: 'bg-primary' } }">
|
<ScrollPanel
|
||||||
|
:pt="{
|
||||||
|
root: {
|
||||||
|
style: { width: '100%', height: '200px' }
|
||||||
|
},
|
||||||
|
barY: { class: 'bg-primary' }
|
||||||
|
}">
|
||||||
<p>
|
<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.
|
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.
|
||||||
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.
|
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.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<template>
|
<template>
|
||||||
<DocSectionText v-bind="$attrs"> </DocSectionText>
|
<DocSectionText v-bind="$attrs"> </DocSectionText>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<Splitter :pt="{ root: { style: { height: '300px' } }, gutterhandler: { class: 'bg-primary' } }">
|
<Splitter :pt="{ root: { style: { height: '300px' } }, gutterHandler: { class: 'bg-primary' } }">
|
||||||
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 1 </SplitterPanel>
|
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 1 </SplitterPanel>
|
||||||
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 2 </SplitterPanel>
|
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 2 </SplitterPanel>
|
||||||
</Splitter>
|
</Splitter>
|
||||||
|
@ -15,14 +15,22 @@ export default {
|
||||||
return {
|
return {
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<Splitter :pt="{ root: { style: { height: '300px' } }, gutterhandler: { class: 'bg-primary' } }">
|
<Splitter
|
||||||
|
:pt="{
|
||||||
|
root: { style: { height: '300px' } },
|
||||||
|
gutterHandler: { class: 'bg-primary' }
|
||||||
|
}">
|
||||||
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 1 </SplitterPanel>
|
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 1 </SplitterPanel>
|
||||||
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 2 </SplitterPanel>
|
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 2 </SplitterPanel>
|
||||||
</Splitter>`,
|
</Splitter>`,
|
||||||
options: `
|
options: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<Splitter :pt="{ root: { style: { height: '300px' } }, gutterhandler: { class: 'bg-primary' } }">
|
<Splitter
|
||||||
|
:pt="{
|
||||||
|
root: { style: { height: '300px' } },
|
||||||
|
gutterHandler: { class: 'bg-primary' }
|
||||||
|
}">
|
||||||
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 1 </SplitterPanel>
|
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 1 </SplitterPanel>
|
||||||
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 2 </SplitterPanel>
|
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 2 </SplitterPanel>
|
||||||
</Splitter>
|
</Splitter>
|
||||||
|
@ -31,7 +39,11 @@ export default {
|
||||||
composition: `
|
composition: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<Splitter :pt="{ root: { style: { height: '300px' } }, gutterhandler: { class: 'bg-primary' } }">
|
<Splitter
|
||||||
|
:pt="{
|
||||||
|
root: { style: { height: '300px' } },
|
||||||
|
gutterHandler: { class: 'bg-primary' }
|
||||||
|
}">
|
||||||
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 1 </SplitterPanel>
|
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 1 </SplitterPanel>
|
||||||
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 2 </SplitterPanel>
|
<SplitterPanel :pt="{ root: { class: 'flex align-items-center justify-content-center' } }"> Panel 2 </SplitterPanel>
|
||||||
</Splitter>
|
</Splitter>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
:key="tab.title"
|
:key="tab.title"
|
||||||
:header="tab.title"
|
:header="tab.title"
|
||||||
:pt="{
|
:pt="{
|
||||||
headeraction: ({ props, parent }) => ({
|
headerAction: ({ props, parent }) => ({
|
||||||
class: panelClass(props, parent, index)
|
class: panelClass(props, parent, index)
|
||||||
})
|
})
|
||||||
}"
|
}"
|
||||||
|
@ -32,7 +32,7 @@ export default {
|
||||||
<TabView>
|
<TabView>
|
||||||
<TabPanel v-for="(tab, index) in tabs" :key="tab.title" :header="tab.title"
|
<TabPanel v-for="(tab, index) in tabs" :key="tab.title" :header="tab.title"
|
||||||
:pt="{
|
:pt="{
|
||||||
headeraction: ({ props, parent }) => ({
|
headerAction: ({ props, parent }) => ({
|
||||||
class: panelClass(props, parent, index)
|
class: panelClass(props, parent, index)
|
||||||
})
|
})
|
||||||
}">
|
}">
|
||||||
|
@ -45,7 +45,7 @@ export default {
|
||||||
<TabView>
|
<TabView>
|
||||||
<TabPanel v-for="(tab, index) in tabs" :key="tab.title" :header="tab.title"
|
<TabPanel v-for="(tab, index) in tabs" :key="tab.title" :header="tab.title"
|
||||||
:pt="{
|
:pt="{
|
||||||
headeraction: ({ props, parent }) => ({
|
headerAction: ({ props, parent }) => ({
|
||||||
class: panelClass(props, parent, index)
|
class: panelClass(props, parent, index)
|
||||||
})
|
})
|
||||||
}">
|
}">
|
||||||
|
|
|
@ -22,7 +22,10 @@ export default {
|
||||||
code: {
|
code: {
|
||||||
basic: `
|
basic: `
|
||||||
<TabView>
|
<TabView>
|
||||||
<Toolbar :pt="{ root: { style: { background: 'linear-gradient(to right, #8e2de2, #4a00e0)', borderRadius: '24px' } } }">
|
<Toolbar
|
||||||
|
:pt="{
|
||||||
|
root: { style: { background: 'linear-gradient(to right, #8e2de2, #4a00e0)', borderRadius: '24px' } }
|
||||||
|
}">
|
||||||
<template #start>
|
<template #start>
|
||||||
<Button label="New" icon="pi pi-plus" class="p-button-help" />
|
<Button label="New" icon="pi pi-plus" class="p-button-help" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -36,7 +39,10 @@ export default {
|
||||||
options: `
|
options: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<Toolbar :pt="{ root: { style: { background: 'linear-gradient(to right, #8e2de2, #4a00e0)', borderRadius: '24px' } } }">
|
<Toolbar
|
||||||
|
:pt="{
|
||||||
|
root: { style: { background: 'linear-gradient(to right, #8e2de2, #4a00e0)', borderRadius: '24px' } }
|
||||||
|
}">
|
||||||
<template #start>
|
<template #start>
|
||||||
<Button label="New" icon="pi pi-plus" class="p-button-help" />
|
<Button label="New" icon="pi pi-plus" class="p-button-help" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -51,7 +57,10 @@ export default {
|
||||||
composition: `
|
composition: `
|
||||||
<template>
|
<template>
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<Toolbar :pt="{ root: { style: { background: 'linear-gradient(to right, #8e2de2, #4a00e0)', borderRadius: '24px' } } }">
|
<Toolbar
|
||||||
|
:pt="{
|
||||||
|
root: { style: { background: 'linear-gradient(to right, #8e2de2, #4a00e0)', borderRadius: '24px' } }
|
||||||
|
}">
|
||||||
<template #start>
|
<template #start>
|
||||||
<Button label="New" icon="pi pi-plus" class="p-button-help" />
|
<Button label="New" icon="pi pi-plus" class="p-button-help" />
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue