Merge branch 'master' of https://github.com/primefaces/primevue
commit
d8b4cdf6ef
|
@ -1,8 +0,0 @@
|
|||
<template>
|
||||
<DocSectionText v-bind="$attrs">
|
||||
<p>{{ $attrs.description }}</p>
|
||||
</DocSectionText>
|
||||
<div class="card">
|
||||
<img class="w-full" src="https://primefaces.org/cdn/primevue/images/pt/wireframe-placeholder.jpg" />
|
||||
</div>
|
||||
</template>
|
|
@ -11,17 +11,11 @@
|
|||
<script>
|
||||
import DocApiTable from '@/components/doc/DocApiTable.vue';
|
||||
import { getPTOptions } from '@/components/doc/helpers';
|
||||
import PTImage from './PTImage.vue';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
docs: [
|
||||
{
|
||||
id: 'pt.image',
|
||||
label: 'Wireframe',
|
||||
component: PTImage
|
||||
},
|
||||
{
|
||||
id: 'pt.doc.ripple',
|
||||
label: 'Ripple PT Options',
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
<template>
|
||||
<DocSectionText v-bind="$attrs">
|
||||
<p>{{ $attrs.description }}</p>
|
||||
</DocSectionText>
|
||||
<div class="card">
|
||||
<img class="w-full" src="https://primefaces.org/cdn/primevue/images/pt/toast.jpg" />
|
||||
</div>
|
||||
</template>
|
|
@ -0,0 +1,47 @@
|
|||
<template>
|
||||
<DocSectionText v-bind="$attrs" />
|
||||
<DocPTViewer :docs="docs">
|
||||
<div class="p-toast p-component" data-pc-name="toast">
|
||||
<div>
|
||||
<div class="p-toast-message p-toast-message-info" data-pc-section="message">
|
||||
<div class="p-toast-message-content" data-pc-section="messagecontent">
|
||||
<InfoCircleIcon class="p-toast-message-icon" data-pc-section="messageicon" />
|
||||
<div class="p-toast-message-text" data-pc-section="messagetext">
|
||||
<span class="p-toast-summary" data-pc-section="summary">Message Summary</span>
|
||||
<div class="p-toast-detail" data-pc-section="detail">Message Detail</div>
|
||||
</div>
|
||||
<div data-pc-section="buttoncontainer">
|
||||
<button class="p-toast-close-button" type="button" data-pc-section="closebutton">
|
||||
<TimesIcon class="p-toast-close-icon" data-pc-section="closeicon" />
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</DocPTViewer>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getPTOptions } from '@/components/doc/helpers';
|
||||
import InfoCircleIcon from '@primevue/icons/infocircle';
|
||||
import TimesIcon from '@primevue/icons/times';
|
||||
import { markRaw } from 'vue';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
docs: [
|
||||
{
|
||||
data: getPTOptions('Toast'),
|
||||
key: 'Toast'
|
||||
}
|
||||
]
|
||||
};
|
||||
},
|
||||
components: {
|
||||
InfoCircleIcon: markRaw(InfoCircleIcon),
|
||||
TimesIcon: markRaw(TimesIcon)
|
||||
}
|
||||
};
|
||||
</script>
|
|
@ -11,16 +11,16 @@
|
|||
<script>
|
||||
import DocApiTable from '@/components/doc/DocApiTable.vue';
|
||||
import { getPTOptions } from '@/components/doc/helpers';
|
||||
import PTImage from './PTImage.vue';
|
||||
import PTViewer from './PTViewer.vue';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
docs: [
|
||||
{
|
||||
id: 'pt.image',
|
||||
label: 'Wireframe',
|
||||
component: PTImage
|
||||
id: 'pt.viewer',
|
||||
label: 'Viewer',
|
||||
component: PTViewer
|
||||
},
|
||||
{
|
||||
id: 'pt.doc.toast',
|
||||
|
|
Loading…
Reference in New Issue