Merge pull request #2479 from tugcekucukoglu/lint-fix

lint fixes
pull/2480/head
Tuğçe Küçükoğlu 2022-04-21 12:16:55 +03:00 committed by GitHub
commit 1113d7b916
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 151 additions and 152 deletions

View File

@ -25,135 +25,134 @@ export default {
return { return {
items: [ items: [
{ {
label:'File', label:'File',
icon:'pi pi-fw pi-file', icon:'pi pi-fw pi-file',
items:[ items:[
{ {
label:'New', label:'New',
icon:'pi pi-fw pi-plus', icon:'pi pi-fw pi-plus',
items:[ items:[
{ {
label:'Bookmark', label:'Bookmark',
icon:'pi pi-fw pi-bookmark' icon:'pi pi-fw pi-bookmark'
}, },
{ {
label:'Video', label:'Video',
icon:'pi pi-fw pi-video' icon:'pi pi-fw pi-video'
}, }
]
},
{
label:'Delete',
icon:'pi pi-fw pi-trash'
},
{
separator:true
},
{
label:'Export',
icon:'pi pi-fw pi-external-link'
}
]
},
{
label:'Edit',
icon:'pi pi-fw pi-pencil',
items:[
{
label:'Left',
icon:'pi pi-fw pi-align-left'
},
{
label:'Right',
icon:'pi pi-fw pi-align-right'
},
{
label:'Center',
icon:'pi pi-fw pi-align-center'
},
{
label:'Justify',
icon:'pi pi-fw pi-align-justify'
},
] ]
},
{
label:'Delete',
icon:'pi pi-fw pi-trash'
},
{
separator:true
},
{
label:'Export',
icon:'pi pi-fw pi-external-link'
}
]
}, },
{ {
label:'Edit', label:'Users',
icon:'pi pi-fw pi-pencil', icon:'pi pi-fw pi-user',
items:[ items:[
{ {
label:'Left', label:'New',
icon:'pi pi-fw pi-align-left' icon:'pi pi-fw pi-user-plus',
},
{
label:'Right',
icon:'pi pi-fw pi-align-right'
},
{
label:'Center',
icon:'pi pi-fw pi-align-center'
},
{
label:'Justify',
icon:'pi pi-fw pi-align-justify'
},
] },
{
label:'Delete',
icon:'pi pi-fw pi-user-minus',
},
{
label:'Search',
icon:'pi pi-fw pi-users',
items:[
{
label:'Filter',
icon:'pi pi-fw pi-filter',
items:[
{
label:'Print',
icon:'pi pi-fw pi-print'
}
]
},
{
icon:'pi pi-fw pi-bars',
label:'List'
}
]
}
]
}, },
{ {
label:'Users', label:'Events',
icon:'pi pi-fw pi-user', icon:'pi pi-fw pi-calendar',
items:[ items:[
{ {
label:'New', label:'Edit',
icon:'pi pi-fw pi-user-plus', icon:'pi pi-fw pi-pencil',
items:[
{
label:'Save',
icon:'pi pi-fw pi-calendar-plus'
},
{
label:'Delete',
icon:'pi pi-fw pi-calendar-minus'
},
}, ]
{ },
label:'Delete', {
icon:'pi pi-fw pi-user-minus', label:'Archieve',
icon:'pi pi-fw pi-calendar-times',
}, items:[
{ {
label:'Search', label:'Remove',
icon:'pi pi-fw pi-users', icon:'pi pi-fw pi-calendar-minus'
items:[ }
{ ]
label:'Filter', }
icon:'pi pi-fw pi-filter', ]
items:[
{
label:'Print',
icon:'pi pi-fw pi-print'
}
]
},
{
icon:'pi pi-fw pi-bars',
label:'List'
}
]
}
]
}, },
{ {
label:'Events', separator:true
icon:'pi pi-fw pi-calendar',
items:[
{
label:'Edit',
icon:'pi pi-fw pi-pencil',
items:[
{
label:'Save',
icon:'pi pi-fw pi-calendar-plus'
},
{
label:'Delete',
icon:'pi pi-fw pi-calendar-minus'
},
]
},
{
label:'Archieve',
icon:'pi pi-fw pi-calendar-times',
items:[
{
label:'Remove',
icon:'pi pi-fw pi-calendar-minus'
}
]
}
]
}, },
{ {
separator:true label:'Quit',
}, icon:'pi pi-fw pi-power-off'
{
label:'Quit',
icon:'pi pi-fw pi-power-off'
} }
] ]
} }
} }
} }
@ -192,8 +191,8 @@ export default {
</code></pre> </code></pre>
<h5>Templating</h5> <h5>Templating</h5>
<p>ContextMenu offers content customization with the <i>item</i> template that receives the menuitem instance from the model as a parameter.</p> <p>ContextMenu offers content customization with the <i>item</i> template that receives the menuitem instance from the model as a parameter.</p>
<pre v-code><code><template v-pre> <pre v-code><code><template v-pre>
&lt;ContextMenu :model="items"&gt; &lt;ContextMenu :model="items"&gt;
&lt;template #item="{item}"&gt; &lt;template #item="{item}"&gt;
@ -298,23 +297,23 @@ export default {
</table> </table>
</div> </div>
<h5>Slots</h5> <h5>Slots</h5>
<div class="doc-tablewrapper"> <div class="doc-tablewrapper">
<table class="doc-table"> <table class="doc-table">
<thead> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>
<th>Parameters</th> <th>Parameters</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>item</td> <td>item</td>
<td>item: Menuitem instance</td> <td>item: Menuitem instance</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
<h5>Styling</h5> <h5>Styling</h5>
<p>Following is the list of structural style classes, for theming classes visit <router-link to="/theming">theming</router-link> page.</p> <p>Following is the list of structural style classes, for theming classes visit <router-link to="/theming">theming</router-link> page.</p>

View File

@ -435,7 +435,7 @@ export default {
<td>option: OptionGroup instance <br /> <td>option: OptionGroup instance <br />
index: Index of the option group</td> index: Index of the option group</td>
</tr> </tr>
<tr> <tr>
<td>value</td> <td>value</td>
<td>value: Value of the component <br /> <td>value: Value of the component <br />
placeholder: Placeholder prop value</td> placeholder: Placeholder prop value</td>

View File

@ -149,20 +149,20 @@ export default {
<h5>Slots</h5> <h5>Slots</h5>
<div class="doc-tablewrapper"> <div class="doc-tablewrapper">
<table class="doc-table"> <table class="doc-table">
<thead> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>
<th>Parameters</th> <th>Parameters</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>item</td> <td>item</td>
<td>item: Menuitem instance</td> <td>item: Menuitem instance</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
<h5>Styling</h5> <h5>Styling</h5>
<p>Following is the list of structural style classes, for theming classes visit <router-link to="/theming">theming</router-link> page.</p> <p>Following is the list of structural style classes, for theming classes visit <router-link to="/theming">theming</router-link> page.</p>

View File

@ -119,7 +119,7 @@ import TabPanel from 'primevue/tabpanel';
Content II Content II
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;TabPanel header="Header III"&gt; &lt;TabPanel header="Header III"&gt;
Content III Content III
&lt;/TabPanel&gt; &lt;/TabPanel&gt;
&lt;/TabView&gt; &lt;/TabView&gt;