Home Reference Source

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

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

The default colors used for the UI elements

public

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

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

Enum defining the length of a button (journal button)

Properties:

NameTypeAttributeDescription
NORMAL number

Normal length

SHORT number

Short length

FULL_LENGTH number

Full length

public ButtonLightness: Object source

Enum defining the color lightness of a component of a button

Properties:

NameTypeAttributeDescription
DARK number

Dark color component

LIGHT number

Light color component

public ButtonPosition: Object source

Enum defining the position of components

Properties:

NameTypeAttributeDescription
LEFT number

Left side of the parent

RIGHT number

Right side of the parent

MIDDLE number

In the middle of the parent

public CSSColors: string[] source

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:

NameTypeAttributeDescription
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

Properties:

NameTypeAttributeDescription
NONE number

Normal length

STANDING number

Short length

SITTING number

Full length

LAYING number

Full length

public ColorPalette: * source

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.

Properties:

NameTypeAttributeDescription
SMALL_BUTTON number

Small size button

NORMAL_BUTTON number

Normal size button

LARGE_BUTTON number

Large size button

public JournalColors: * source

import {JournalColors} from 'aktivitetsmodulrn/src/utils/ColorConstants.js'

UI colors used in journal

Properties:

NameTypeAttributeDescription
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

Enum to differentiate between FreeTextView and DrawingView

Properties:

NameTypeAttributeDescription
FREE_TEXT number

Free text module

DRAWING number

Drawing module

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

Enum definingn different moods. A mood correspond to a grade.

Properties:

NameTypeAttributeDescription
NOTANSWERED number

Not answered

BAD number

Bad, don't like it

OK number

Ok

GOOD number

Good, like it

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

Defines constants describing the type of notification. Used to style components.

Properties:

NameTypeAttributeDescription
CONFIRMATION number

Confirmation type

ERROR number

Error type

public RoundButtonDimensions: Object source

import {RoundButtonDimensions} from 'aktivitetsmodulrn/src/utils/DimensionsConstants.js'

Enum defining the dimensions of round buttons (journal button)

Properties:

NameTypeAttributeDescription
NORMAL_BUTTON number

Normal size button

SMALL_BUTTON number

Small size button

TINY_BUTTON number

Tiny size button

public RoundButtonSize: Object source

Enum defining the size of round button

Properties:

NameTypeAttributeDescription
NORMAL number

Normal size button for main navigation elements

SMALL number

Small size button

TINY number

Tiny button

public SquareButtonDimensions: Object source

import {SquareButtonDimensions} from 'aktivitetsmodulrn/src/utils/DimensionsConstants.js'

Enum defining the dimensions of square buttons

Properties:

NameTypeAttributeDescription
LARGE_BUTTON number

Large button

public UIColors: * source

The default colors used for the UI elements

Properties:

NameTypeAttributeDescription
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

Activity sessions

public activityTypes: Object[] source

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

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

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

Therapists

public typography: Object source

Non standard-iOS typography

public user: Object[] source

The user that is using the application