Variable
Static Public Summary | ||
public |
Holds the activity object of the activity the user is assesseing |
|
public |
Enum defining the length of a button (journal button) |
|
public |
Enum defining the color lightness of a component of a button |
|
public |
Enum defining the position of components |
|
public |
Colors used in the color selector for drawing and free text |
|
public |
Enum defining the expression and function of the avatar of the helper. |
|
public |
Enum defining the posture of the character |
|
public |
ColorPalette: * Complete color palette used in the user interface |
|
public |
Create a context for the diary module, to keep track of the page the user is on. |
|
public |
Enum defining the dimensions of round buttons in journal module. |
|
public |
UI colors used in journal |
|
public |
Creates a context for the journal module, to keep track of login information. |
|
public |
Enum to differentiate between FreeTextView and DrawingView |
|
public |
Defines a new context for mood with no startvalue. |
|
public |
Enum definingn different moods. |
|
public |
Creates a context that controls whether helper is muted or not |
|
public |
Defines constants describing the type of notification. |
|
public |
Enum defining the dimensions of round buttons (journal button) |
|
public |
Enum defining the size of round button |
|
public |
Enum defining the dimensions of square buttons |
|
public |
UIColors: * The default colors used for the UI elements |
|
public |
activities: Object[] Activity sessions |
|
public |
Type of activities |
|
public |
Different compliments the user recieve in scoreboard component. |
|
public |
Common styles used in the diary. |
|
public |
General styles which can be used by all components |
|
public |
Font and font size from iOS UI kit |
|
public |
Font and font size from iOS UI kit, xLarge |
|
public |
iOS xxxLarge: diary details on free text, buttons |
|
public |
Styles used in journal |
|
public |
therapists: Object[] Therapists |
|
public |
Non standard-iOS typography |
|
public |
The user that is using the application |
Static Public
public ActivityContext: Object source
import {ActivityContext} from 'aktivitetsmodulrn/src/utils/Contexts.js'
Holds the activity object of the activity the user is assesseing
public ButtonLength: Object source
import {ButtonLength} from 'aktivitetsmodulrn/src/utils/DimensionsConstants.js'
Enum defining the length of a button (journal button)
public ButtonLightness: Object source
import {ButtonLightness} from 'aktivitetsmodulrn/src/utils/DimensionsConstants.js'
Enum defining the color lightness of a component of a button
public ButtonPosition: Object source
import {ButtonPosition} from 'aktivitetsmodulrn/src/utils/DimensionsConstants.js'
Enum defining the position of components
public CSSColors: string[] source
import {CSSColors} from 'aktivitetsmodulrn/src/utils/ColorConstants.js'
Colors used in the color selector for drawing and free text
public CharacterExpression: * source
import {CharacterExpression} from 'aktivitetsmodulrn/src/utils/CharacterConstants.js'
Enum defining the expression and function of the avatar of the helper. _HELP: the avatar has a question mark on his clothes _WARNING: the avatar has an exclamation mark on his clothes
Properties:
Name | Type | Attribute | Description |
SATISFIED_HELP | number | Satisfied expression (help) |
|
HAPPY_HELP | number | Happy expression (help) |
|
THUMBUP_HELP | number | Thump up (help) |
|
CURIOUS_HELP | number | Curious expression (help) |
|
SITTING_HELP | number | Sitting (help) |
|
RESTING_HELP | number | Laying (help) |
|
DOUBT_WARNING | number | Doubtful expression (warning) |
|
THUMP_UP | number | Thumb up |
public CharacterPosture: * source
import {CharacterPosture} from 'aktivitetsmodulrn/src/utils/CharacterConstants.js'
Enum defining the posture of the character
public ColorPalette: * source
import {ColorPalette} from 'aktivitetsmodulrn/src/utils/ColorConstants.js'
Complete color palette used in the user interface
public DiaryPageContext: Object source
import {DiaryPageContext} from 'aktivitetsmodulrn/src/utils/Contexts.js'
Create a context for the diary module, to keep track of the page the user is on.
public JournalButtonDimensions: Object source
import {JournalButtonDimensions} from 'aktivitetsmodulrn/src/utils/DimensionsConstants.js'
Enum defining the dimensions of round buttons in journal module.
public JournalColors: * source
import {JournalColors} from 'aktivitetsmodulrn/src/utils/ColorConstants.js'
UI colors used in journal
Properties:
Name | Type | Attribute | Description |
LIGHT | string | Light color |
|
BACKGROUND_VIEW | string | Default background color of view |
|
BACKGROUND_DARK | string | Dark background (journal) |
|
BACKGROUND_ELEMENT | string | Default background of elements |
|
BACKGROUND_BUTTON_NORMAL | string | Normal background color of button in journal |
|
BACKGROUND_BUTTON_NORMAL_TEXT | string | Normal background color of text on button in journal |
|
BACKGROUND_BUTTON_LIGHT | string | Light background color of button in journal |
|
BACKGROUND_BUTTON_LIGHT_TEXT | string | Light background color of text on button in journal |
public JournalContext: Object source
import {JournalContext} from 'aktivitetsmodulrn/src/utils/Contexts.js'
Creates a context for the journal module, to keep track of login information.
public Module: Object source
import {Module} from 'aktivitetsmodulrn/src/utils/ModuleConstants.js'
Enum to differentiate between FreeTextView and DrawingView
public MoodContext: Object source
import {MoodContext} from 'aktivitetsmodulrn/src/utils/Contexts.js'
Defines a new context for mood with no startvalue. Will work as a global variable
public Moods: Object source
import Moods from 'aktivitetsmodulrn/src/utils/Moods.js'
Enum definingn different moods. A mood correspond to a grade.
public MuteContext: Object source
import {MuteContext} from 'aktivitetsmodulrn/src/utils/Contexts.js'
Creates a context that controls whether helper is muted or not
public NotificationType: Object source
import {NotificationType} from 'aktivitetsmodulrn/src/utils/NotificationConstants.js'
Defines constants describing the type of notification. Used to style components.
public RoundButtonDimensions: Object source
import {RoundButtonDimensions} from 'aktivitetsmodulrn/src/utils/DimensionsConstants.js'
Enum defining the dimensions of round buttons (journal button)
public RoundButtonSize: Object source
import {RoundButtonSize} from 'aktivitetsmodulrn/src/utils/DimensionsConstants.js'
Enum defining the size of round button
public SquareButtonDimensions: Object source
import {SquareButtonDimensions} from 'aktivitetsmodulrn/src/utils/DimensionsConstants.js'
Enum defining the dimensions of square buttons
Properties:
Name | Type | Attribute | Description |
LARGE_BUTTON | number | Large button |
public UIColors: * source
import {UIColors} from 'aktivitetsmodulrn/src/utils/ColorConstants.js'
The default colors used for the UI elements
Properties:
Name | Type | Attribute | Description |
NORMAL | string | Default color |
|
LIGHT | string | Light color |
|
WARNING | string | Color for warning messages |
|
ERROR | string | Color for error messages |
|
CONFIRMATION | string | Color for confirmation messages |
|
SHADOW | string | Shadow color |
|
OVERLAY | string | Color of overlay |
|
BACKGROUND_AVATAR | string | Background of avatar |
|
BACKGROUND_VIEW | string | Default background color of views |
|
BACKGROUND_BUTTON | string | Default background color of button |
public activities: Object[] source
import activities from 'aktivitetsmodulrn/src/database/Activities.js'
Activity sessions
public activityTypes: Object[] source
import activityTypes from 'aktivitetsmodulrn/src/database/ActivityTypes.js'
Type of activities
public compliments: string[] source
import {compliments} from 'aktivitetsmodulrn/src/utils/HelpString.js'
Different compliments the user recieve in scoreboard component. Positive feedback to motivate user
public diaryStyles: Object source
import {diaryStyles} from 'aktivitetsmodulrn/src/views/diary/Styles.js'
Common styles used in the diary.
public globalStyles: Object source
import {globalStyles} from 'aktivitetsmodulrn/src/styles/styles.js'
General styles which can be used by all components
public iOSTypo: Object source
import {iOSTypo} from 'aktivitetsmodulrn/src/styles/Typography.js'
Font and font size from iOS UI kit
public iOSxLargeTypo: Object source
import {iOSxLargeTypo} from 'aktivitetsmodulrn/src/styles/Typography.js'
Font and font size from iOS UI kit, xLarge
public iOSxxxLargeTypo: Object source
import {iOSxxxLargeTypo} from 'aktivitetsmodulrn/src/styles/Typography.js'
iOS xxxLarge: diary details on free text, buttons
public journalStyles: Object source
import {journalStyles} from 'aktivitetsmodulrn/src/views/journal/Styles.js'
Styles used in journal
public therapists: Object[] source
import therapists from 'aktivitetsmodulrn/src/database/Therapists.js'
Therapists
public typography: Object source
import {typography} from 'aktivitetsmodulrn/src/styles/Typography.js'
Non standard-iOS typography
public user: Object[] source
import user from 'aktivitetsmodulrn/src/database/User.js'
The user that is using the application