@rishovt/angular-nepali-datepicker
Version:
A lightweight Angular wrapper and fully customizable, non-typeable Nepali datepicker component for Angular with support for Unicode-rendered Nepali dates, BS↔AD conversion, and flexible date formats. Ideal for forms requiring calendar-based input with nat
1 lines • 6.14 kB
JSON
{"__symbolic":"module","version":4,"metadata":{"RtcNepaliDatePickerModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"RtcNepaliDatepickerComponent"}],"exports":[{"__symbolic":"reference","name":"RtcNepaliDatepickerComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":9,"character":12},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":9,"character":26},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":9,"character":39}],"providers":[{"__symbolic":"reference","name":"RtcNepaliDatepickerService"}]}]}],"members":{}},"RtcNepaliDatepickerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"rtc-nepali-datepicker","template":"\n <input\n #nepaliInput\n type=\"text\"\n [id]=\"pickerId\"\n [class]=\"options.classes || 'form-control'\"\n [placeholder]=\"options.placeholder || 'Select Nepali Date'\"\n [disabled]=\"options.disabled || false\"\n (keydown)=\"onKeyDown($event)\"\n />\n ","providers":[{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":20,"character":15},"useExisting":{"__symbolic":"reference","name":"RtcNepaliDatepickerComponent"},"multi":true}]}]}],"members":{"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":27,"character":3}}]}],"dateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":40,"character":3}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":41,"character":3}}]}],"pickerId":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":42,"character":3}}]}],"inputElementRef":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":47,"character":3},"arguments":["nepaliInput",{"static":true}]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"RtcNepaliDatepickerService"}]}],"ngOnInit":[{"__symbolic":"method"}],"onKeyDown":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"initializeDatePicker":[{"__symbolic":"method"}],"setDate":[{"__symbolic":"method"}],"writeValue":[{"__symbolic":"method"}],"registerOnChange":[{"__symbolic":"method"}],"registerOnTouched":[{"__symbolic":"method"}],"setDisabledState":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"RtcNepaliDatepickerService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1}}],"members":{"registerComponent":[{"__symbolic":"method"}],"unregisterComponent":[{"__symbolic":"method"}],"setDate":[{"__symbolic":"method"}],"formatDate":[{"__symbolic":"method"}],"loadLibrary":[{"__symbolic":"method"}],"loadNepaliDatePicker":[{"__symbolic":"method"}],"ensureLibraryLoaded":[{"__symbolic":"method"}],"AD2BS":[{"__symbolic":"method"}],"BS2AD":[{"__symbolic":"method"}],"ConvertToDateFormat":[{"__symbolic":"method"}],"ConvertToDateObject":[{"__symbolic":"method"}],"ConvertToNumber":[{"__symbolic":"method"}],"ConvertToUnicode":[{"__symbolic":"method"}],"NumberToWords":[{"__symbolic":"method"}],"NumberToWordsUnicode":[{"__symbolic":"method"}],"ParseDate":[{"__symbolic":"method"}],"ADDatesDiff":[{"__symbolic":"method"}],"ADGetCurrentDate":[{"__symbolic":"method"}],"ADGetCurrentDay":[{"__symbolic":"method"}],"ADGetCurrentMonth":[{"__symbolic":"method"}],"ADGetCurrentYear":[{"__symbolic":"method"}],"ADGetDay":[{"__symbolic":"method"}],"ADGetDays":[{"__symbolic":"method"}],"ADGetDaysInMonth":[{"__symbolic":"method"}],"ADGetDayShort":[{"__symbolic":"method"}],"ADGetDaysShort":[{"__symbolic":"method"}],"ADGetFullDate":[{"__symbolic":"method"}],"ADGetFullDay":[{"__symbolic":"method"}],"ADGetMonth":[{"__symbolic":"method"}],"ADGetMonths":[{"__symbolic":"method"}],"BSAddDays":[{"__symbolic":"method"}],"BSDatesDiff":[{"__symbolic":"method"}],"BSGetCurrentDate":[{"__symbolic":"method"}],"BSGetCurrentDay":[{"__symbolic":"method"}],"BSGetCurrentMonth":[{"__symbolic":"method"}],"BSGetCurrentYear":[{"__symbolic":"method"}],"BSGetDayInUnicode":[{"__symbolic":"method"}],"BSGetDaysInUnicodeShort":[{"__symbolic":"method"}],"BSGetDaysInMonth":[{"__symbolic":"method"}],"BSGetDaysInUnicode":[{"__symbolic":"method"}],"BSGetDayInUnicodeShort":[{"__symbolic":"method"}],"BSGetFullDate":[{"__symbolic":"method"}],"BSGetFullDay":[{"__symbolic":"method"}],"BSGetFullDayInUnicode":[{"__symbolic":"method"}],"BSGetMonth":[{"__symbolic":"method"}],"BSGetMonthInUnicode":[{"__symbolic":"method"}],"BSGetMonths":[{"__symbolic":"method"}],"BSGetMonthsInUnicode":[{"__symbolic":"method"}],"BSIsBetweenDates":[{"__symbolic":"method"}],"BSIsEqualTo":[{"__symbolic":"method"}],"BSIsGreaterThan":[{"__symbolic":"method"}],"BSIsGreaterThanOrEqualTo":[{"__symbolic":"method"}],"BSIsLessThan":[{"__symbolic":"method"}],"BSIsLessThanOrEqualTo":[{"__symbolic":"method"}],"BSValidateDate":[{"__symbolic":"method"}]}},"DateObject":{"__symbolic":"interface"},"NepaliFunctions":{"__symbolic":"interface"}},"origins":{"RtcNepaliDatePickerModule":"./lib/angular-nepali-datepicker.module","RtcNepaliDatepickerComponent":"./lib/angular-nepali-datepicker.component","RtcNepaliDatepickerService":"./lib/angular-nepali-datepicker.service","DateObject":"./lib/types","NepaliFunctions":"./lib/types"},"importAs":"@rishovt/angular-nepali-datepicker"}