outsystems-ui - v3.0.0
    Preparing search index...

    Class AbstractConfigurationAbstract

    Contains the configurations shared with all patterns.

    Hierarchy (View Summary)

    Index
    ExtendedClass: string

    CSS classes added to the pattern root.

    • Protected

      Method that helps to validate if a boolean is not undefined

      Parameters

      • value: boolean

        Value received in the configs

      • defaultValue: boolean

        Value used when the given one is missing or invalid

      Returns boolean

    • Protected

      Method that helps to validate if a given value is a valid date

      Parameters

      • value: string | Date

        Value received in the configs

      • defaultValue: string

        Value used when the given one is missing or invalid

      Returns string | Date

    • Protected

      Method that helps to validate if a given value is within a range of values.

      Parameters

      • value: unknown

        Value received in the configs

      • defaultValue: unknown

        Value used when the given one is missing or invalid

      • ...args: unknown[]

        Allowed values

      Returns unknown

    • Protected

      Method that helps to validate if a number is not empty or undefined.

      Parameters

      • value: number

        Value received in the configs

      • defaultValue: number

        Value used when the given one is missing or invalid

      Returns number

    • Protected

      Method that helps to validate if a string is not empty or undefined.

      Parameters

      • value: string

        Value received in the configs

      • defaultValue: string

        Value used when the given one is missing or invalid

      Returns string

    • Protected

      Method that helps to validate if a given value is a valid time

      Parameters

      • value: string

        Value received in the configs

      • defaultValue: string

        Value used when the given one is missing or invalid

      Returns string

    • Method that validates if a given property can be changed.

      Parameters

      • _isBuilt: boolean

        True when the pattern has already been built

      • _key: string

        Name of the configuration property

      Returns boolean

    • Method that assures that the values being set as configurations respect the defaults.

      Parameters

      • _key: string

        Name of the configuration property

      • value: unknown

        Value received in the configs

      Returns unknown