https://www.npmjs.com/package/faast-vue
npm install faast-vue
The DescriptionAssessment
component is used for assessing company descriptions. It accepts props for coverage, content, and colors.
-
scores
: Object -
content
: Object- options: title, description, functiondescription1, functiondescription2.
-
colors
: Object- options: primary, borderColor, backgroundColor, tooltipBgColor
-
lang
: String- refer to the available languages list
<template>
<CompanyDescription
:scores="data"
:content="
{
title: 'Description Assessment',
description: 'The following assessment provides a detai...'
}"
:colors=" { primary: '#4CAF50' } "
lang="en"
/>
</template>
<script setup>
import { CompanyDescription } from 'faast-vue'
or import CompanyDescription from 'faast-vue/assessments/CompanyDescription'
import 'faast-vue/style.css'
const data = {
"id": 88,
"description_scores": [
{
"key": "team",
"name": "Team",
"score": "4",
"comments": "The team score of 4."
},
{
"key": "problem",
"name": "Problem",
"score": "4",
"comments": "The problem score of 4."
}
...
]
}
</script>
The ComparativeScore
component is used for assessing how likely startups are to succeed. The score is between 350 and 900, usually around 650.
-
scores
: Object -
content
: Object- options: title, description, functiondescription1, functiondescription2.
-
colors
: Object- options: primary, borderColor, backgroundColor, tooltipBgColor
-
lang
: String- refer to the available languages list
<template>
<ComparativeScore
:scores="data"
:content="
{
title: 'Description Assessment',
description: 'The following assessment provides a detai...'
}"
:colors=" { primary: '#4CAF50' } "
lang="en"
/>
</template>
<script setup>
import { ComparativeScore } from 'faast-vue'
or import ComparativeScore from 'faast-vue/assessments/ComparativeScore'
import 'faast-vue/style.css'
const data = {
"id": 33,
"synd_id": 1,
"big_score": 715,
"comparative_scores": [
{
"axis": "Return Potential",
"sequence": 1,
"value": 771
},
{
"axis": "Funding Potential",
"sequence": 2,
"value": 637
}
],
"summaries": [
"The company has a strong team with a good track record of success.",
"They also scored 637 on the propensity to receive future funding evaluation. "
],
"big_score_histories": [
{
"id": 32,
"big_score": 515,
"added": "2024-03-27T07:01:19.000Z",
"added_month_year": "March 2024"
},
{
"id": 33,
"big_score": 715,
"added": "2024-05-27T07:01:19.000Z",
"added_month_year": "May 2024"
}
]
}
</script>