DecisionQuestions

Die Fragen an ein Entscheidungsmodell, nur zum Lesen: jede mit ihrem Typ und ihren Anweisungen, dann was Ja und Nein, jede Option oder jede Stufe bedeutet.

Quelltext ansehen
  1. is_invoiceJa/Nein
    Is this document an invoice or a receipt?
    Ja
    It asks for or confirms a payment
    Nein
    Anything else
  2. team4 OptionenAuswahl
    Which team should handle it?
    finance
    Invoices, refunds and payments
    legal
    Contracts and data requests
    support
    Questions about using Kaeso
    sales
    Plans and quotes
  3. urgency3 StufenBewertung
    How soon does it need an answer?
    0
    This month: Nothing waits on it
    1
    This week: Someone waits, but not today
    2
    Today: Work is blocked until it is answered
  4. totalBox
    Where is the total on the receipt?
import { DecisionQuestions } from "@logicplanes/kaeso-ui/playground";

Props

  • aria-label
    string

    Der barrierefreie Name der Liste (standardmäßig „Fragen“, in der Sprache des Providers).

  • layout
    "list" = list

    Die Liste der Fragen, mit einer Haarlinie dazwischen.

  • questions
    readonly DecisionQuestion[]

    Die Fragen, wie sie gesendet wurden: Art, Name, Anweisungen und was Ja und Nein, die Optionen oder die Stufen bedeuten.