mx-ui-components
Version:
mobius ui library
90 lines (89 loc) • 3.67 kB
TypeScript
import BaseComponent from "../Counter/BaseComponent";
declare class CustomDatePicker extends BaseComponent {
protected currentMonth: number;
protected currentDate: number;
protected currentDay: string;
protected props: any;
protected currentYear: number;
protected month: number;
protected componentName: string;
protected containerDefaultStyles: string;
protected textAreaDefaultStyles: string;
protected logoDefaultStyles: string;
protected placeHolderStyles: string;
protected value: any;
protected DatePickerWindow: any;
protected datePickerWindowStyles: string;
protected calenderStyles: string;
protected clockStyles: string;
protected monthDateWrapperStyles: string;
protected calenderCellStyles: string;
protected selectorStyles: string;
protected monthNames: string[];
protected yearList: number[];
protected timeDropDown: any;
protected monthDropDown: any;
protected yearDropDown: any;
protected dropDownStyles: string;
protected dropDownItems: string;
protected stepperStyles: string;
protected stepperElement: string;
protected monthSelector: any;
protected yearSelector: any;
protected clockRequired: boolean;
protected dateFormat: string;
protected hourTime: string;
protected minuteTime: string;
protected secondTime: string;
protected AMorPM: string;
protected selectRange: boolean;
protected disabledDate: string;
protected selectedDate: string;
protected startingDate: string;
protected endDate: string;
protected singleValue: string;
protected prevValues: any;
protected leftLimit: any;
protected rightLimit: any;
constructor();
static get observedAttributes(): string[];
attributeChangedCallback(name: string, oldValue: any, newValue: any): void;
connectedCallback(): void;
disconnectedCallback(): void;
handleOutsideClick(event: MouseEvent): void;
onBlur(element: HTMLElement): void;
onFocus(element: HTMLElement, listData: any, type: string): void;
onInput(element: any, listData: any, type: any): void;
createDropdown(element: any): any;
filterListData(listData: any, inputText: any): any;
createDropDownItem(item: any): any;
handleDropDownSelection(dropDown: any, item: any, index: any, type: any, element: any): void;
updateSelectedValue(item: any, index: any, type: any): void;
handleEventListener(element: HTMLElement, target: any, type: string, listData: any): void;
renderDatePickerWindow(): void;
createElement(tag: any, className: any, textContent?: string): any;
createMonthYearSelector(): any;
createEditableSelector(value: any, type: any, dataList: any): any;
populateCalendar(container: any): void;
getDayClass(day: number): string;
isSelectedDate(date: Date): boolean;
handleDayClick(day: any, cell: any): void;
renderClock(container: any): void;
createAMPMSelector(): any;
createStepperWrapper(): any;
createTimeSelector(label: any): any;
createStepperElement(content: any): any;
getTimeValue(label: any): string;
attachStepperEvents(upArrow: any, downArrow: any, value: any, label: any): void;
updateTime(valueElement: any, label: any, step: any): void;
updateStoredTime(label: any, value: any): void;
updateDateValues(): void;
getWeekDays(current: any): string[];
renderSelectedDate(): void;
formatDate(date: any, format?: string): string;
render(): void;
createTextArea(): any;
createLogoArea(): any;
addEventListeners(element1: any, element2: any): void;
}
export default CustomDatePicker;