Refactor #3922 - For Rating

This commit is contained in:
Bahadır Sofuoğlu 2023-05-06 23:34:27 +03:00
parent 9d9f568ce9
commit 510d4b2918
6 changed files with 209 additions and 11 deletions

41
doc/rating/pt/index.vue Normal file
View file

@ -0,0 +1,41 @@
<template>
<div class="doc-main">
<div class="doc-intro">
<h1>Rating Pass Through</h1>
</div>
<DocSections :docs="docs" />
</div>
<DocSectionNav :docs="docs" />
</template>
<script>
import DocApiTable from '@/components/doc/DocApiTable.vue';
import { getPTOption } from '@/components/doc/helpers/PTHelper.js';
import PtDoc from './PTDoc.vue';
import PTImage from './PTImage.vue';
export default {
data() {
return {
docs: [
{
id: 'pt.image',
label: 'Wireframe',
component: PTImage
},
{
id: 'pt.doc.steps',
label: 'Rating PT Options',
component: DocApiTable,
data: getPTOption('Rating')
},
{
id: 'pt.demo',
label: 'Demo',
component: PtDoc
}
]
};
}
};
</script>