DayComponent
Extends:
Static Member Summary
| Static Public Members | ||
| public static get |
builderInfo: {"title": string, "group": string, "icon": string, "documentation": string, "weight": number, "schema": *} |
|
Static Method Summary
| Static Public Methods | ||
| public static |
schema(extend: ...*): * |
|
Member Summary
| Public Members | ||
| public get |
Return the date object for this component. |
|
| public |
dayFirst: * |
|
| public get |
dayRequired: * |
|
| public get |
days: * |
|
| public get |
|
|
| public set |
|
|
| public get |
emptyValue: '00/00/0000': string The empty value for day component. |
|
| public get |
Get the format for the value string. |
|
| public get |
inputInfo: * |
|
| public get |
|
|
| public get |
months: * |
|
| public get |
parts: {"day": *, "month": *, "year": *} |
|
| public get |
|
|
| public get |
showDay: * |
|
| public get |
showMonth: * |
|
| public get |
showYear: * |
|
| public get |
validationValue: Date: * Return the raw value. |
|
| public |
validators: * |
|
| public get |
|
|
| public get |
yearRequired: * |
|
| public get |
years: * |
|
| Private Members | ||
| private |
|
|
| private |
|
|
| private |
|
|
Method Summary
| Public Methods | ||
| public |
attach(element: *): * |
|
| public |
focus() |
|
| public |
getDate(value: *): * Return the date for this component. |
|
| public |
getFieldValue(name: *): * |
|
| public |
getValue(): * |
|
| public |
getValueAsString(value: *): null Get the input value of the date. |
|
| public |
getValueAt(index: *): * Get the value at a specific index. |
|
| public |
init() |
|
| public |
inputDefinition(name: *): {"type": string, "ref": *, "attr": *} |
|
| public |
isPartialDay(value: *): * |
|
| public |
normalizeMinMaxDates(): * |
|
| public |
normalizeValue(value: *): * |
|
| public |
removeInputError(elements: *) |
|
| public |
render(): * |
|
| public |
renderField(name: *): * |
|
| public |
selectDefinition(name: *): {"multiple": *, "ref": *, "widget": string, "attr": *} |
|
| public |
setErrorClasses(elements: *, dirty: *, hasError: *) |
|
| public |
setValueAt(index: *, value: *): * Set the value at a specific index. |
|
| public |
validateRequired(setting: *, value: *): * |
|
Static Public Members
Static Public Methods
public static schema(extend: ...*): * source
Params:
| Name | Type | Attribute | Description |
| extend | ...* |
Return:
| * |
Public Members
public dayFirst: * source
public get dayRequired: * source
public get days: * source
public get defaultSchema: * source
public set disabled source
public get emptyValue: '00/00/0000': string source
The empty value for day component.
Return:
| '00/00/0000' |
public get inputInfo: * source
public get monthRequired: * source
public get months: * source
public get parts: {"day": *, "month": *, "year": *} source
public get shouldDisabled: * source
public get showDay: * source
public get showMonth: * source
public get showYear: * source
public validators: * source
public get yearRequired: * source
public get years: * source
Private Members
Public Methods
public focus() source
public getDate(value: *): * source
Return the date for this component.
Params:
| Name | Type | Attribute | Description |
| value | * |
Return:
| * |
public getValueAsString(value: *): null source
Get the input value of the date.
Params:
| Name | Type | Attribute | Description |
| value | * |
public getValueAt(index: *): * source
Get the value at a specific index.
Params:
| Name | Type | Attribute | Description |
| index | * |
Return:
| * |
public init() source
public inputDefinition(name: *): {"type": string, "ref": *, "attr": *} source
Params:
| Name | Type | Attribute | Description |
| name | * |
public removeInputError(elements: *) source
Params:
| Name | Type | Attribute | Description |
| elements | * |
public selectDefinition(name: *): {"multiple": *, "ref": *, "widget": string, "attr": *} source
Params:
| Name | Type | Attribute | Description |
| name | * |
public setErrorClasses(elements: *, dirty: *, hasError: *) source
Params:
| Name | Type | Attribute | Description |
| elements | * | ||
| dirty | * | ||
| hasError | * |
public setValueAt(index: *, value: *): * source
Set the value at a specific index.
Params:
| Name | Type | Attribute | Description |
| index | * | ||
| value | * |
Return:
| * |
public validateRequired(setting: *, value: *): * source
Params:
| Name | Type | Attribute | Description |
| setting | * | ||
| value | * |
Return:
| * |
