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

    Class that represents the custom configurations received by the Monthpicker.

    Hierarchy (View Summary)

    Index
    ExtendedClass: string

    CSS classes added to the pattern root.

    DateFormat: string

    Display format of the selected month (e.g. MM/YYYY).

    InitialMonth: MonthYear

    Month selected when the picker is built ({ Month, Year }).

    MaxMonth: MonthYear

    Latest selectable month ({ Month, Year }).

    MinMonth: MonthYear

    Earliest selectable month ({ Month, Year }).

    providerExtendedOptions: FlatpickrOptions
    AllowInput: boolean = false

    Stores the ability to allow inputs to be editable or not

    DisableMobile: boolean = true

    Stores the ability to disable the mobile flatpickr behavior. False is the default provider option

    OnChangeEventCallback: Generic

    Set the OnChange Event that will be defined in the specific context for each Flatpickr mode

    OnCloseEventCallback: Generic

    Store the OnClose callback to be defined to the Flatpicker config instance

    OnOpenEventCallback: Generic

    Store the OnOpen callback to be defined to the Flatpicker config instance

    ServerDateFormat: string

    Store the Server Date format that will be used to casting the selected dates into a knowned date by/for Flatpickr

    • 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 to merge Common, Specific and External configs

      Parameters

      • commonConfigs: any

        Configurations shared by every mode of the provider

      • specificConfigs: any

        Configurations of the current mode

      • OptionalextendedConfigs: any

        Extensibility configurations set by the developer

      Returns any