faast-vue

0.0.32-beta • Public • Published

https://www.npmjs.com/package/faast-vue

Installation

npm install faast-vue

DescriptionAssessment Component

The DescriptionAssessment component is used for assessing company descriptions. It accepts props for coverage, content, and colors.

screenshot

Props

  • scores: Object
  • content: Object
    • options: title, description, functiondescription1, functiondescription2.
  • colors: Object
    • options: primary, borderColor, backgroundColor, tooltipBgColor
  • lang: String

Example Usage

<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>

ComparativeScore Component

The ComparativeScore component is used for assessing how likely startups are to succeed. The score is between 350 and 900, usually around 650.

screenshot

Props

  • scores: Object
  • content: Object
    • options: title, description, functiondescription1, functiondescription2.
  • colors: Object
    • options: primary, borderColor, backgroundColor, tooltipBgColor
  • lang: String

Example Usage

<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>

Readme

Keywords

none

Package Sidebar

Install

npm i faast-vue

Weekly Downloads

1

Version

0.0.32-beta

License

none

Unpacked Size

391 kB

Total Files

18

Last publish

Collaborators

  • iubayb