@next-level-integration/nli-datefield-lib
Advanced tools
Comparing version 9.4.18 to 9.4.19-beta.1
@@ -24,4 +24,6 @@ export class DateFormatter { | ||
if (date) { | ||
if (timeFormat == "HH:MM") { | ||
return this.addSecondNumberIfNotExist(date.getHours()) + ":" + this.addSecondNumberIfNotExist(date.getMinutes()); | ||
if (timeFormat == "HH:MM:SS") { | ||
return this.addSecondNumberIfNotExist(date.getHours()) + ":" + | ||
this.addSecondNumberIfNotExist(date.getMinutes()) + ":" + | ||
this.addSecondNumberIfNotExist(date.getSeconds()); | ||
} | ||
@@ -48,3 +50,3 @@ } | ||
DateFormatter.datePipeFormat = "dd.MM.y"; | ||
DateFormatter.timeFormat = "HH:MM"; | ||
DateFormatter.timeFormat = "HH:MM:SS"; | ||
DateFormatter.DEFAULT_DATE_FORMATS = { | ||
@@ -63,2 +65,2 @@ parse: { | ||
; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS5mb3JtYXR0ZXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV4dC1sZXZlbC1pbnRlZ3JhdGlvbi9ubGktZGF0ZWZpZWxkLWxpYi8iLCJzb3VyY2VzIjpbInNyYy9jb250cm9scy9mb3JtYXR0ZXIvZGF0ZS5mb3JtYXR0ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLGFBQWE7SUFvQnRCLE1BQU0sQ0FBQyxnQkFBZ0IsQ0FBQyxJQUFTLEVBQUUsVUFBaUI7UUFFaEQsSUFBRyxDQUFDLFVBQVUsRUFBQztZQUNYLFVBQVUsR0FBRyxJQUFJLENBQUMsTUFBTSxDQUFDO1NBQzVCO1FBQ0QsSUFBRyxJQUFJLEVBQUM7WUFDQSxJQUFHLFVBQVUsSUFBSSxZQUFZLEVBQUM7Z0JBQzFCLE9BQU8sSUFBSSxDQUFDLHlCQUF5QixDQUFDLElBQUksQ0FBQyxPQUFPLEVBQU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9ybWF0O1xuICAgICAgICB9XG4gICAgICAgIGlmKGRhdGUpe1xuICAgICAgICAgICAgICAgIGlmKHRpbWVGb3JtYXQgPT0gXCJISDpNTVwiKXtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHRoaXMuYWRkU2Vjb25kTnVtYmVySWZOb3RFeGlzdChkYXRlLmdldEhvdXJzKCkpK1wiOlwiK3RoaXMuYWRkU2Vjb25kTnVtYmVySWZOb3RFeGlzdChkYXRlLmdldE1pbnV0ZXMoKSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHJldHVybiBcIlwiO1xuICAgIH1cblxuICAgIHN0YXRpYyBhZGRTZWNvbmROdW1iZXJJZk5vdEV4aXN0KG51bWJlcjpudW1iZXIpOnN0cmluZ1xuICAgIHtcbiAgICAgICAgaWYoU3RyaW5nKG51bWJlcikubGVuZ3RoID09IDEpe1xuICAgICAgICAgICAgcmV0dXJuIFwiMFwiK251bWJlcjtcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gU3RyaW5nKG51bWJlcik7XG4gICAgfVxuXG4gICAgc3RhdGljIGdldEZvcm1hdHRlZERhdGVXaXRoRGF5TmFtZShkYXRlOkRhdGUpOnN0cmluZ1xuICAgIHtcbiAgICAgICBpZihkYXRlKXtcbiAgICAgICAgICAgIC8vaWYodGhpcy5mb3JtYXQgPT0gXCJERC5NTS5ZWVlZXCIpe1xuICAgICAgICAgICAgICAgIHJldHVybiBkYXRlLnRvRGF0ZVN0cmluZygpO1xuICAgICAgICAgICAgLy99XG4gICAgICAgfVxuICAgICAgICByZXR1cm4gXCJcIjtcbiAgICB9XG5cblxufTtcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS5mb3JtYXR0ZXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV4dC1sZXZlbC1pbnRlZ3JhdGlvbi9ubGktZGF0ZWZpZWxkLWxpYi8iL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pzdHJpbmdcbiAgICB7XG4gICAgICAgIGlmKFN0cmluZyhudW1iZXIpLmxlbmd0aCA9PSAxKXtcbiAgICAgICAgICAgIHJldHVybiBcIjBcIitudW1iZXI7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIFN0cmluZyhudW1iZXIpO1xuICAgIH1cblxuICAgIHN0YXRpYyBnZXRGb3JtYXR0ZWREYXRlV2l0aERheU5hbWUoZGF0ZTpEYXRlKTpzdHJpbmdcbiAgICB7XG4gICAgICAgaWYoZGF0ZSl7XG4gICAgICAgICAgICAvL2lmKHRoaXMuZm9ybWF0ID09IFwiREQuTU0uWVlZWVwiKXtcbiAgICAgICAgICAgICAgICByZXR1cm4gZGF0ZS50b0RhdGVTdHJpbmcoKTtcbiAgICAgICAgICAgIC8vfVxuICAgICAgIH1cbiAgICAgICAgcmV0dXJuIFwiXCI7XG4gICAgfVxuXG5cbn07XG4iXX0= |
@@ -26,4 +26,6 @@ var DateFormatter = /** @class */ (function () { | ||
if (date) { | ||
if (timeFormat == "HH:MM") { | ||
return this.addSecondNumberIfNotExist(date.getHours()) + ":" + this.addSecondNumberIfNotExist(date.getMinutes()); | ||
if (timeFormat == "HH:MM:SS") { | ||
return this.addSecondNumberIfNotExist(date.getHours()) + ":" + | ||
this.addSecondNumberIfNotExist(date.getMinutes()) + ":" + | ||
this.addSecondNumberIfNotExist(date.getSeconds()); | ||
} | ||
@@ -49,3 +51,3 @@ } | ||
DateFormatter.datePipeFormat = "dd.MM.y"; | ||
DateFormatter.timeFormat = "HH:MM"; | ||
DateFormatter.timeFormat = "HH:MM:SS"; | ||
DateFormatter.DEFAULT_DATE_FORMATS = { | ||
@@ -67,2 +69,2 @@ parse: { | ||
; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0ZS5mb3JtYXR0ZXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AbmV4dC1sZXZlbC1pbnRlZ3JhdGlvbi9ubGktZG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KzEpK1wiLlwiK2RhdGUuZ2V0RnVsbFllYXIoKStcIiBcIit0aGlzLmFkZFNlY29uZE51bWJlcklmTm90RXhpc3QoZGF0ZS5nZXRIb3VycygpKStcIjpcIit0aGlzLmFkZFNlY29uZE51bWJlcklmTm90RXhpc3QoZGF0ZS5nZXRNaW51dGVzKCkpK1wiOlwiK3RoaXMuYWRkU2Vjb25kTnVtYmVySWZOb3RFeGlzdChkYXRlLmdldFNlY29uZHMoKSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgICAgIHJldHVybiBcIlwiO1xuICAgIH1cblxuICAgIHN0YXRpYyBnZXRGb3JtYXR0ZWRUaW1lKGRhdGU6RGF0ZSwgdGltZUZvcm1hdDpzdHJpbmcpOnN0cmluZ1xuICAgIHtcbiAgICAgICAgaWYoIXRpbWVGb3JtYXQpe1xuICAgICAgICAgICAgdGltZUZvcm1hdCA9IHRoaXMudGltZUZvcm1hdDtcbiAgICAgICAgfVxuICAgICAgICBpZihkYXRlKXtcbiAgICAgICAgICAgICAgICBpZih0aW1lRm9ybWF0ID09IFwiSEg6TU1cIil7XG4gICAgICAgICAgICAgICAgICAgIHJldHVybiB0aGlzLmFkZFNlY29uZE51bWJlcklmTm90RXhpc3QoZGF0ZS5nZXRIb3VycygpKStcIjpcIit0aGlzLmFkZFNlY29uZE51bWJlcklmTm90RXhpc3QoZGF0ZS5nZXRNaW51dGVzKCkpO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gXCJcIjtcbiAgICB9XG5cbiAgICBzdGF0aWMgYWRkU2Vjb25kTnVtYmVySWZOb3RFeGlzdChudW1iZXI6bnVtYmVyKTpzdHJpbmdcbiAgICB7XG4gICAgICAgIGlmKFN0cmluZyhudW1iZXIpLmxlbmd0aCA9PSAxKXtcbiAgICAgICAgICAgIHJldHVybiBcIjBcIitudW1iZXI7XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIFN0cmluZyhudW1i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WF0O1xuICAgICAgICB9XG4gICAgICAgIGlmKGRhdGUpe1xuICAgICAgICAgICAgICAgIGlmKHRpbWVGb3JtYXQgPT0gXCJISDpNTTpTU1wiKXtcbiAgICAgICAgICAgICAgICAgIHJldHVybiB0aGlzLmFkZFNlY29uZE51bWJlcklmTm90RXhpc3QoZGF0ZS5nZXRIb3VycygpKSArIFwiOlwiICtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5hZGRTZWNvbmROdW1iZXJJZk5vdEV4aXN0KGRhdGUuZ2V0TWludXRlcygpKSArIFwiOlwiICtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5hZGRTZWNvbmROdW1iZXJJZk5vdEV4aXN0KGRhdGUuZ2V0U2Vjb25kcygpKTtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICAgICAgcmV0dXJuIFwiXCI7XG4gICAgfVxuXG4gICAgc3RhdGljIGFkZFNlY29uZE51bWJlcklmTm90RXhpc3QobnVtYmVyOm51bWJlcik6c3RyaW5nXG4gICAge1xuICAgICAgICBpZihTdHJpbmcobnVtYmVyKS5sZW5ndGggPT0gMSl7XG4gICAgICAgICAgICByZXR1cm4gXCIwXCIrbnVtYmVyO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiBTdHJpbmcobnVtYmVyKTtcbiAgICB9XG5cbiAgICBzdGF0aWMgZ2V0Rm9ybWF0dGVkRGF0ZVdpdGhEYXlOYW1lKGRhdGU6RGF0ZSk6c3RyaW5nXG4gICAge1xuICAgICAgIGlmKGRhdGUpe1xuICAgICAgICAgICAgLy9pZih0aGlzLmZvcm1hdCA9PSBcIkRELk1NLllZWVlcIil7XG4gICAgICAgICAgICAgICAgcmV0dXJuIGRhdGUudG9EYXRlU3RyaW5nKCk7XG4gICAgICAgICAgICAvL31cbiAgICAgICB9XG4gICAgICAgIHJldHVybiBcIlwiO1xuICAgIH1cblxuXG59O1xuIl19 |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"NLIDateFieldModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵe"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":17,"character":8},{"__symbolic":"reference","module":"@next-level-integration/inputs","name":"NliInputsModule","line":18,"character":8},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":19,"character":8},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":20,"character":8},{"__symbolic":"reference","module":"@angular/material/form-field","name":"MatFormFieldModule","line":21,"character":8},{"__symbolic":"reference","module":"@angular/material/input","name":"MatInputModule","line":22,"character":8},{"__symbolic":"reference","module":"@angular/material/icon","name":"MatIconModule","line":23,"character":8}],"exports":[{"__symbolic":"reference","name":"ɵb"}],"providers":[],"bootstrap":[],"schemas":[{"__symbolic":"reference","module":"@angular/core","name":"CUSTOM_ELEMENTS_SCHEMA","line":28,"character":14}]}]}],"members":{}},"DateFieldOptions":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}],"setDefultOptions":[{"__symbolic":"method"}],"getDefultOptions":[{"__symbolic":"method"}],"setOptions":[{"__symbolic":"method"}],"addLabels":[{"__symbolic":"method"}]}},"DateRange":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Date"},{"__symbolic":"reference","name":"Date"}]}],"timeSpan":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":2}}]}]},"statics":{"WHOLE_TIME_SPAN":"WHOLE_TIME_SPAN","TODAY":"TODAY","YESTERDAY":"YESTERDAY","LAST_SEVEN_DAYS":"LAST_SEVEN_DAYS","LAST_THIRTY_DAYS":"LAST_THIRTY_DAYS","INDIVIDUALLY":"INDIVIDUALLY"}},"DateUtils":{"__symbolic":"class","members":{},"statics":{"JANUARY":"January","FEBRUARY":"February","MARCH":"March","APRIL":"April","MAY":"May","JUNE":"June","JULY":"July","AUGUST":"August","SEPTEMBER":"September","OCTOBER":"October","NOVEMBER":"November","DECEMBER":"December","MONDAY":"Monday","TUESDAY":"Tuesday","WEDNESDAY":"Wednesday","THURSDAY":"Thursday","FRIDAY":"Friday","SATURDAY":"Saturday","SUNDAY":"Sunday","ACTIVE":"active-day","PASSIVE":"passive-day","START_OF_RANGE":"start-of-range","END_OF_RANGE":"end-of-range","START_AND_END_OF_RANGE":"start-and-end-of-range","DAY_IN_RANGE":"day-in-range","DAY_IS_TODAY":"day-is-today","DAY_IS_SELECTED_DAY":"selected-day","ERROR_RANGE_CAN_NOT_USED_IN_FILTER_MODE":"ERROR_RANGE_CAN_NOT_USED_IN_FILTER_MODE","ERROR_DATE_IS_NOT_VALID":"ERROR_DATE_IS_NOT_VALID","ERROR_DATE_IS_PASST":"ERROR_DATE_IS_PASST","ERROR_DATE_IS_FUTURE":"ERROR_DATE_IS_FUTURE","ERROR_DATE_IS_NOT_SELECTABLE_RANGE":"ERROR_DATE_IS_NOT_SELECTABLE_RANGE","ERROR_DATE_IS_NOT_SELECTED_RANGE":"ERROR_DATE_IS_NOT_SELECTED_RANGE","ERROR_DATE_COULD_NOT_FOUND":"ERROR_DATE_COULD_NOT_FOUND","ERROR_VALUE_NOT_DEFINED":"ERROR_VALUE_NOT_DEFINED","ERROR_DATE_PERIOD_NOT_DEFINED":"ERROR_DATE_PERIOD_NOT_DEFINED","MONTHS":"months","YEARS":"years","DAYS":"days","TIME_SPAN":"time-span","FROM":"from","TO":"to","OK":"ok","CANCEL":"cancel","WHOLE_TIME_SPAN":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"../vo/DateRange","name":"DateRange","line":61,"character":44},"member":"WHOLE_TIME_SPAN"},"TODAY":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"../vo/DateRange","name":"DateRange","line":62,"character":34},"member":"TODAY"},"YESTERDAY":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"../vo/DateRange","name":"DateRange","line":63,"character":38},"member":"YESTERDAY"},"LAST_SEVEN_DAYS":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"../vo/DateRange","name":"DateRange","line":64,"character":44},"member":"LAST_SEVEN_DAYS"},"LAST_THIRTY_DAYS":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"../vo/DateRange","name":"DateRange","line":65,"character":45},"member":"LAST_THIRTY_DAYS"},"INDIVIDUALLY":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"../vo/DateRange","name":"DateRange","line":66,"character":41},"member":"INDIVIDUALLY"},"lang":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ɵf"}},"dayNames":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"initDayNamesWithLang"}},"monthNames":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"initMonthNamesWithLang"}},"monthList":[[{"index":0,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":0},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":0},"member":"substring"},"arguments":[0,3]}},{"index":1,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":1},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":1},"member":"substring"},"arguments":[0,3]}},{"index":2,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":2},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":2},"member":"substring"},"arguments":[0,3]}}],[{"index":3,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":3},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":3},"member":"substring"},"arguments":[0,3]}},{"index":4,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":4},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":4},"member":"substring"},"arguments":[0,3]}},{"index":5,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":5},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":5},"member":"substring"},"arguments":[0,3]}}],[{"index":6,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":6},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":6},"member":"substring"},"arguments":[0,3]}},{"index":7,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":7},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":7},"member":"substring"},"arguments":[0,3]}},{"index":8,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":8},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":8},"member":"substring"},"arguments":[0,3]}}],[{"index":9,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":9},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":9},"member":"substring"},"arguments":[0,3]}},{"index":10,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":10},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":10},"member":"substring"},"arguments":[0,3]}},{"index":11,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":11},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":11},"member":"substring"},"arguments":[0,3]}}]],"daysInDateUtilsMonth":{"__symbolic":"function","parameters":["date"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Date"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"date"},"member":"getFullYear"}},{"__symbolic":"binop","operator":"+","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"date"},"member":"getMonth"}},"right":1},0]},"member":"getDate"}}},"getCancelButtonLabel":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"lang"},"member":"get"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"CANCEL"}]}},"getOkButtonLabel":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"lang"},"member":"get"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"OK"}]}},"isDate":{"__symbolic":"function","parameters":["date"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Boolean"},"arguments":[{"__symbolic":"reference","name":"date"}]}},"today":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Date"}}}}},"ɵa":{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":16,"character":13},"useExisting":{"__symbolic":"reference","name":"ɵb"},"multi":true},"ɵb":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵc"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":21,"character":1},"arguments":[{"selector":"nli-datefield","providers":[{"__symbolic":"reference","name":"ɵa"}],"template":"<!-- WRAPPER-->\n<div id=\"nli-datepicker\"\n class=\"nli-datepicker {{classes}}\"\n (clickOutside)=\"clickedOutsideOfDateField($event)\">\n\n <!-- DATEPICKER INPUTS -->\n <div [formGroup]=\"dateFieldForm\">\n <!-- WITHOUT FILTERED DATEPICKER INPUT -->\n <div class=\"nli-datepicker-input-wrapper\" *ngIf=\"!options.filterMode\">\n <div class=\"nli-datepicker-opener nli-datepicker-input-container\">\n <nli-text #dateInput\n name=\"dateInput\"\n [inputLabel]=\"label\"\n formArrayName=\"dateInput\"\n [formControl]=\"(dateFieldForm.controls['dateInput'])\"\n [(ngModel)]=\"inputValue\"\n class=\"mat-form-field-appearance-legacy {{options.readOnly?'pointer-events-none':''}}\"\n (change)=\"formatEnteredStringToDate($event)\"></nli-text>\n </div>\n <button class=\"nli-datepicker-opener-button glyphicon\" (click)=\"onFocus(this)\" *ngIf=\"!options.readOnly\"></button>\n <div *ngIf=\"dateFieldForm.get('dateInput').errors &&\n dateFieldForm.get('dateInput').errors.error\" class=\"error-label date-field-error-label\">\n {{dateFieldForm.get('dateInput').errors.errorString}}\n </div>\n </div><!-- /WITHOUT FILTERED DATEPICKER INPUT -->\n\n <!-- DATEPICKER INPUT -->\n <div class=\"nli-datepicker-input-wrapper nli-datepicker-filter-mode-input\"\n *ngIf=\"options.filterMode\"\n (click)=\"onFocus(this)\"\n title=\"{{label+': '+inputValue}}\">\n <div class=\"nli-datepicker-opener nli-datepicker-filter-opener-container\">\n\n <mat-form-field class=\"width-100-percent\">\n <mat-label>{{label}}</mat-label>\n <input matInput\n style=\"overflow:hidden !important; white-space:nowrap !important; text-overflow: ellipsis!important; \"\n name=\"dateFilterInput\"\n [readonly]=\"options.readOnly\"\n [(ngModel)]=\"inputValue\"\n [formControl]=\"dateFieldForm.controls['dateFilterInput']\"\n readonly=\"readonly\"\n class=\"pointer-events-none\">\n <mat-icon matSuffix>date_range</mat-icon>\n </mat-form-field>\n </div>\n <div *ngIf=\"dateFieldForm.get('dateFilterInput').errors &&\n dateFieldForm.get('dateFilterInput').errors.error\" class=\"error-label date-field-filter-mode-error-label\">\n {{dateFieldForm.get('dateFilterInput').errors.errorString}}\n </div>\n </div><!-- / FILTERED DATEPICKER INPUT -->\n </div><!-- /DATEPICKER INPUTS -->\n\n <!-- CONTAINER -->\n <div #datePicker\n *ngIf=\"visibility\"\n class=\"nli-datepicker-container {{(options.filterMode)? 'width-500': 'width-250'}}\"\n tabindex=\"0\"\n (contentEditable)=\"onBlur($event)\">\n <!-- CALENDAR -->\n <div #views class=\"nli-datepicker-calendar {{(options.filterMode)? 'width-50-percent': 'width-100-percent'}}\">\n <!-- VIEWS -->\n <div id=\"nli-datepicker-view-container\" class=\"nli-datepicker-view-container\">\n\n <!-- VIEW-1: CURRENT MONTH -->\n <div class=\"nli-calendar-main\" *ngIf=\"state == 'days'\">\n\n <div class=\"nli-calendar-header\" *ngIf=\"!options.filterMode\">\n <div class=\"nli-calendar-header-title\">{{getSelectedYearLabel()}}</div>\n <div class=\"nli-calendar-header-content\">{{getSelectedDateLabel()}}</div>\n </div>\n\n <div class=\"nli-calendar-current-month-and-year\">\n\n <table class=\"nli-calendar-current-month-and-year-table\">\n <tr>\n <td class=\"link-button\" (click)=\"prevMonthView()\">\n <div><i class=\"nli-calendar-icon arrow-left\"></i></div>\n </td>\n <td>\n <span class=\"calendar-link-button\" (click)=\"changeState('months')\">{{getCurrentMonthLabel()}}</span>\n \n <span class=\"calendar-link-button\" (click)=\"changeState('years')\">{{getCurrentFullYearLabel()}}</span>\n </td>\n <td class=\"right-button\" (click)=\"nextMonthView()\">\n <div><i class=\"nli-calendar-icon arrow-right\"></i></div>\n </td>\n </tr>\n </table>\n </div>\n <div class=\"nli-calendar-table-container\">\n <table class=\"nli-calendar-table\">\n <tr>\n <th *ngFor=\"let dayName of getDayNames()\">{{dayName}}</th>\n </tr>\n <tr *ngFor=\"let calendarWeek of calendarWeeks\">\n <td *ngFor=\"let calendarDay of calendarWeek.days\">\n <div class=\"calendar-day-cell\" (click)=\"selectADay(calendarDay)\">\n <div class=\"{{getStateOfDayCell(calendarWeek, calendarDay)}}\">{{calendarDay.day}}</div>\n </div>\n </td>\n </tr>\n </table>\n </div>\n </div><!-- /VIEW-1: CURRENT MONTH -->\n\n <!-- VIEW-2: MONTH SELECTION -->\n <div id=\"nli-calendar-months-main\" class=\"nli-calendar-months-main\" *ngIf=\"state == 'months'\">\n <div class=\"nli-calendar-header\" *ngIf=\"!options.filterMode\">\n <div class=\"nli-calendar-header-title\">{{getSelectedYearLabel()}}</div>\n <div class=\"nli-calendar-header-content\">{{getSelectedDateLabel()}}</div>\n </div>\n <div class=\"nli-calendar-years-table-container\">\n <div class=\"nli-calendar-months-table\">\n <table>\n <tr *ngFor=\"let monthsGroup of monthList()\">\n\n <td id=\"nli-calendar-months-table-td-{{month.key}}\" (click)=\"selectCurrentMonth(month.index)\" *ngFor=\"let month of monthsGroup\">\n <div id=\"nli-calendar-months-table-td-div-{{month.key}}\" class=\"{{(currentDate.getMonth() == month.index)?'current-month':''}}\">{{month.key}}</div>\n </td>\n </tr>\n </table>\n </div>\n </div>\n </div><!-- /VIEW-2: MONTH SELECTION -->\n\n <!-- VIEW-3: YEAR SELECTION -->\n <div id=\"nli-calendar-years-main\" class=\"nli-calendar-years-main\" *ngIf=\"state == 'years'\">\n <div class=\"nli-calendar-header\" *ngIf=\"!options.filterMode\">\n <div class=\"nli-calendar-header-title\">{{getSelectedYearLabel()}}</div>\n <div class=\"nli-calendar-header-content\">{{getSelectedDateLabel()}}</div>\n </div>\n <div class=\"nli-calendar-years-table-container\">\n <div id=\"year-selection-scroll-bar\" class=\"scrollbar {{(options.filterMode)?'height-290':'height-240'}}\"\n (mouseWheel)=\"yearSelectionMouseWheelFunc($event)\" (scroll)=\"changeYearSelectionList($event)\">\n <div class=\"force-overflow\">\n <table>\n <tr id=\"year-line-{{year}}\" *ngFor=\"let year of selectableYears\">\n <td (click)=\"selectCurrentYear(year)\">\n <div class=\"{{(centeredYearInYearSelection == year && currentDate.getFullYear() == year) ?'year-color-centered year-color-selected' :((centeredYearInYearSelection == year) ?'year-color-centered':(((currentDate.getFullYear() == year) ?'year-color-selected':'')))}}\">{{year}}</div>\n </td>\n </tr>\n </table>\n </div>\n </div>\n </div>\n </div><!-- /VIEW-3: YEAR SELECTION -->\n </div><!-- /VIEWS -->\n </div><!-- CALENDAR -->\n\n <!-- FILTERS -->\n <div #filter class=\"nli-datepicker-filters\" *ngIf=\"options.filterMode\">\n <div class=\"nli-datepicker-filters-dropdown-container\">\n {{lang.get('time-span')}}<br>\n <select #timeSpanDropDown\n class=\"nli-datepicker-filter-dropdown width-100-percent\"\n (change)=\"timeSpanItemChange($event)\">\n\n <option [value]=\"item.key\" [attr.selected]=\"item.selected=='selected'? item.selected : null\" *ngFor=\"let item of timeSpanDataProvider\">{{item.label}}</option>\n\n </select>\n </div>\n <div class=\"nli-datepicker-filters-input-container\">\n {{lang.get('from')}}<br>\n <input #filterStartDateInput type=\"text\"\n class=\"nli-datepicker-filter-input width-47-percent\"\n [value]=\"filterStartDateInputValue\"\n maxlength=\"10\"\n onkeyup=\"this.value = this.value.replace(/[^0-9\\.]/, '')\"\n (change)=\"filterInputChange($event)\"\n (focusout)=\"filterStartDateInputFocusOut($event)\"/> \n <input #filterStartTimeInput type=\"text\"\n class=\"nli-datepicker-filter-input width-47-percent\"\n [value]=\"filterStartTimeInputValue\"\n onkeyup=\"this.value = this.value.replace(/[^0-9\\:]/, '')\"\n maxlength=\"5\"\n (change)=\"filterInputChange($event)\"\n (focusout)=\"filterStartTimeInputFocusOut($event)\"/>\n </div>\n <div class=\"nli-datepicker-filters-input-container\">\n {{lang.get('to')}}<br>\n <input #filterEndDateInput type=\"text\"\n class=\"nli-datepicker-filter-input width-47-percent\"\n [value]=\"filterEndDateInputValue\"\n onkeyup=\"this.value = this.value.replace(/[^0-9\\.]/, '')\"\n (change)=\"filterInputChange($event)\"\n maxlength=\"10\"\n (focusout)=\"filterEndDateInputFocusOut($event)\"/> \n <input #filterEndTimeInput type=\"text\"\n class=\"nli-datepicker-filter-input width-47-percent\"\n [value]=\"filterEndTimeInputValue\"\n onkeyup=\"this.value = this.value.replace(/[^0-9\\:]/, '')\"\n maxlength=\"5\"\n (change)=\"filterInputChange($event)\"\n (focusout)=\"filterEndTimeInputFocusOut($event)\"/>\n </div>\n <div class=\"error-string error-container\">{{filterError}}</div>\n <div class=\"nli-datepicker-filters-button-container\">\n <input type=\"button\" class=\"nli-datepicker-filter-button\" value=\"{{getCancelButtonLabel()}}\" (click)=\"timeSpanCancelButtonClick($event)\"/> \n <input type=\"button\" class=\"nli-datepicker-filter-button\" value=\"{{getOkButtonLabel()}}\" (click)=\"timeSpanOkButtonClick($event)\"/>\n </div>\n </div><!-- /FILTERS -->\n\n </div><!-- CONTAINER -->\n\n</div><!-- WRAPPER-->\n","styles":[".nli-datepicker{position:relative;font-family:Roboto,sans-serif}.width-500{width:500px}.width-250{width:250px}.width-50-percent{width:50%}.nli-datepicker a:hover{background-color:#fff}.nli-datepicker-opener{float:left}.nli-datepicker-container{position:absolute;margin:0;padding:0;z-index:999;box-shadow:0 8px 16px 0 rgba(0,0,0,.2)}.nli-datepicker-container:focus{outline:0}.nli-datepicker-calendar{float:left}.nli-datepicker-filters{float:left;width:50%;height:290px;padding:20px;color:#fff;background-color:#3fa9f3}.nli-datepicker-dropdown{width:count(100%-20px);outline:0}.nli-datepicker-input-wrapper{width:100%;float:left}.nli-datepicker-input-container{display:inline-block;margin-bottom:-10px;width:100%}.nli-datepicker-filter-mode-input{padding-left:5px}.nli-datepicker-filter-opener-container{float:left;cursor:pointer;margin-bottom:-25px;width:100%}.nli-datepicker-filter-opener-container-label{float:left}.nli-datepicker-opener-button{width:24px;height:24px;margin-top:26px;cursor:pointer;border:none;outline:0;overflow:hidden;background-color:Transparent;background-image:url(../assets/date-range-up.png);background-position:center;background-repeat:no-repeat;z-index:997;position:absolute;right:0;top:-2px}.nli-datepicker-filter-mode-opener-button{width:24px;height:30px;margin-top:26px;cursor:pointer;border:none;outline:0;overflow:hidden;background-color:Transparent;background-image:url(../assets/date-range-up.png);background-repeat:no-repeat;z-index:997;right:0;position:absolute}.nli-datepicker-opener-button:hover{background-image:url(../assets/date-range-hover.png)}.nli-datepicker-opener-button:active{background-image:url(../assets/date-range-opened.png)}.nli-datepicker-input{width:100%;height:24px;outline:0;margin:0!important;border:1px solid #d7d7d7;position:absolute;padding:4px;float:left}.nli-datepicker-input:hover{background-color:#f1f5fb}.nli-datepicker-view-container{width:100%;background-color:#fff;overflow:auto;z-index:1}.nli-datepicker-view-container a{color:#000;padding:12px 16px;text-decoration:none;display:block}.nli-datepicker-filters-dropdown-container,.nli-datepicker-filters-input-container{height:50px;margin:5px 0}.nli-datepicker-filters-button-container{position:absolute;right:10px;bottom:10px}.nli-datepicker-filter-input{background-color:#3288d0;border:none;color:#fff;padding-left:5px;padding-right:5px;height:25px}.nli-datepicker-filter-dropdown{border:none;color:#fff;padding-left:5px;padding-right:5px;height:25px;background-color:#3288d0}.nli-datepicker-filter-dropdown option{border:none;color:#000!important;font-size:.9em;padding-left:5px;padding-right:5px;background-color:#fff!important}.nli-datepicker-filter-dropdown option:hover{background-color:#3288d0!important}.nli-datepicker-filter-button{background:0 0;border:none;color:#fff;font-weight:700}.width-100-percent{width:100%}.width-47-percent{width:47%}.scrollbar{width:100%;overflow-y:scroll}.height-240{height:240px}.height-290{height:290px}.force-overflow{min-height:240px}#year-selection-scroll-bar::-webkit-scrollbar{width:6px;background-color:#f5f5f5}#year-selection-scroll-bar::-webkit-scrollbar-thumb{background-color:#ccc}#year-selection-scroll-bar::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px #d7d7d7;background-color:#f5f5f5}.nli-calendar-main{background-color:#fff;width:100%;border-top:1px solid #f0f0f0}.nli-calendar-triangle{width:0;height:0;margin-left:20px;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:8px solid #4a85ce}.nli-calendar-header{background-color:#3fa9f3;width:100%;padding:5px 20px;text-align:center;vertical-align:middle;color:#fff}.nli-calendar-header-title{margin-top:6px;height:12px;vertical-align:bottom;text-align:left;font-size:12px!important}.nli-calendar-header-content{text-align:left;font-size:24px!important}.nli-calendar-current-month-and-year{font-size:14px;background-color:#fff;width:100%;height:48px;text-align:center;vertical-align:middle;color:#000;opacity:.87}.nli-calendar-current-month-and-year-table{width:100%;height:100%}.nli-calendar-current-month-and-year-table td.link-button{width:30px;height:100%;text-align:center;vertical-align:middle;cursor:pointer}.nli-calendar-current-month-and-year-table td.link-button div{padding:10px;opacity:.87}.nli-calendar-current-month-and-year-table td.link-button div:hover{opacity:1}.nli-calendar-current-month-and-year-table td.right-button{width:30px;height:100%;text-align:center;vertical-align:middle;cursor:pointer}.nli-calendar-current-month-and-year-table td.right-button div{padding:10px;opacity:.87}.nli-calendar-current-month-and-year-table td.right-button div:hover{opacity:1}.nli-calendar-current-month-and-year-table td.calendar-link-button-container{width:100%;text-align:center}.nli-calendar-current-month-and-year-table td.calendar-link-button-container div:hover{color:#4f3d45}.calendar-link-button{cursor:pointer}.calendar-link-button:hover{color:#4f3d45}.calendar-link-button-entry{background-color:#0ff;width:100%;margin:auto}.nli-calendar-current-month-and-year-table td.year-button{width:50%}.nli-calendar-current-month-and-year-table td.year-button div{width:100%;padding-left:5px;cursor:pointer;text-align:left}.nli-calendar-current-month-and-year-table td.year-button div:hover{color:#4a85ce}.nli-calendar-current-month-and-year-table td.time-button{width:50%}.nli-calendar-current-month-and-year-table td.time-button div{width:100%;padding-left:5px;cursor:pointer;text-align:left}.nli-calendar-current-month-and-year-table td.time-button div:hover{color:#4a85ce}.nli-calendar-icon{border:solid #000;border-width:0 3px 3px 0;display:inline-block;padding:3px;opacity:.87}.nli-calendar-icon:hover{opacity:1}.nli-calendar-table-container{width:100%;padding:0 10px 10px}table.nli-calendar-table{width:100%;border-spacing:5px}table.nli-calendar-table tr{padding:2px}table.nli-calendar-table tr th{font-size:12px;width:32px;height:32px;text-align:center;vertical-align:middle;font-weight:700;opacity:.54}table.nli-calendar-table tr td{font-size:12px;width:32px;height:32px;text-align:center;vertical-align:middle;background-color:#fff;cursor:pointer;opacity:.87}table.nli-calendar-table tr td:hover{background-color:#d2e7ff}.nli-calendar-table td div{width:100%;height:100%;padding:4px}.nli-calendar-table td div div{width:100%;height:100%;padding-top:4px;vertical-align:middle;text-align:center}.calendar-current-day-cell{color:#4a85ce}.calendar-selected-range-cell{background-color:#4a85ce!important;color:#fff}.nli-calendar-bottom-bar{width:100%;height:40px;background-color:#4b86ce}.nli-calendar-bottom-cancel{float:left;width:100%;height:100%}.nli-calendar-bottom-button{width:100%;height:100%;color:#fff;padding-top:8px;font-size:18px;text-align:center;vertical-align:middle;cursor:pointer}.calendar-day-cell{width:100%;height:100;text-align:center;vertical-align:middle;color:#000}.passive-day{opacity:.2}.selected-day{background-color:#3fa9f3!important;color:#fff!important;border-radius:50%}.start-of-range{border-radius:4px 0 0 4px;background-color:#3fa9f3!important}.end-of-range{border-radius:0 4px 4px 0;background-color:#3fa9f3!important}.start-and-end-of-range{border-radius:4px;background-color:#3fa9f3!important}.day-in-range{background-color:#cce3fc}.day-is-today{color:#3fa9f3!important}.error-string{font-size:10px;color:#ffb6c1}.error-container{width:100%;padding:20px 0 10px}.nli-calendar-months-main{width:100%;height:100%;background-color:#fff}.nli-calendar-months-month-name{text-align:right;color:#fff}.nli-calendar-months-table{width:100%;padding-top:30px}.nli-calendar-months-table table{width:100%;border-spacing:2px}.nli-calendar-months-table table td{width:34px;height:60px;padding:2px;cursor:pointer;opacity:.87}.nli-calendar-months-table table td div{width:100%;height:100%;text-align:center;vertical-align:middle!important;background-color:#fff}.nli-calendar-months-table table td div:hover{color:#4aa9f5}.nli-calendar-months-main .nli-calendar-current-month-and-year-table .year-button,.nli-calendar-months-main .nli-calendar-current-month-and-year-table .year-button div{width:100%;text-align:center}.current-month{color:#3fa9f3!important}.nli-calendar-years-main{width:100%;height:100%;background-color:#fff}.nli-calendar-years-header{width:100%;height:40px;background-color:#4b86ce}.nli-calendar-years-header div{width:100%;padding-top:8px}.nli-calendar-years-current-year{text-align:center;color:#fff;font-size:18px}.nli-calendar-years-table-container{width:100%}.nli-calendar-years-main table{width:100%;border-spacing:2px}.nli-calendar-years-main table td{width:40px;height:31px;padding-left:5px;padding-right:5px;font-size:18px;text-align:center;vertical-align:middle;cursor:pointer;opacity:.87;background-color:#fff}.year-color-centered{font-size:22px}.year-color-selected{color:#4aa9f5}.nli-calendar-years-main table td:hover{background-color:#f9f9f9}.nli-calendar-years-main table td div{width:100%;height:100%;padding:4px}.nli-calendar-year-button{margin:auto}.nli-calendar-up-button{height:10px;padding-top:5px}.nli-calendar-down-button{height:10px;padding-bottom:5px;margin:auto}.nli-calendar-time-main{width:100%;height:100%;background-color:#fff}.nli-calendar-time-header{width:100%;height:40px;background-color:#4b86ce}.nli-calendar-time-header-current-time{width:100%;height:100%;padding-top:8px;color:#fff;font-size:18px;text-align:center;vertical-align:middle}.nli-calendar-time-table-container{padding:10px}.nli-calendar-time-main table{width:100%;border-spacing:2px}.nli-calendar-time-main table td{width:30px;height:22px;color:#000;text-align:center;vertical-align:middle;cursor:pointer}.nli-calendar-time-main table td.empty-td-container{width:6px;height:100%;color:#000;text-align:center;vertical-align:middle;font-size:32px;font-weight:700}.nli-calendar-time-main table td div:hover{background-color:#f9f9f9}.nli-calendar-time-main table td div{width:100%;height:100%;padding:2px;background-color:#fff}.nli-calendar-time-input{background-color:#fff;color:#000;border:1px solid #cfcfcf;width:60px;height:60px;font-size:32px;font-weight:700;text-align:center;vertical-align:middle}.nli-calendar-time-cancel,.nli-calendar-time-set{float:left;width:50%;height:100%}.nli-calendar-time-bottom-button{width:100%;height:100%;border-left:1px solid #fff;color:#fff;padding-top:8px;font-size:18px;text-align:center;vertical-align:middle;cursor:pointer}.nli-calendar-time-bottom-button:hover{background-color:#3a72b8;text-align:center;vertical-align:middle}.arrow-right{transform:rotate(-45deg);-webkit-transform:rotate(-45deg);cursor:pointer}.arrow-left{transform:rotate(135deg);-webkit-transform:rotate(135deg);cursor:pointer}.arrow-up{transform:rotate(-135deg);-webkit-transform:rotate(-135deg);cursor:pointer}.arrow-down{transform:rotate(45deg);-webkit-transform:rotate(45deg);cursor:pointer}.time-up-button{text-align:center}.invisible{display:none}.visible{display:table-cell}.mouse-disabled{cursor:not-allowed}.error-label{font-size:11px;color:#f50000;cursor:pointer!important}.date-field-error-label{overflow-wrap:break-word;text-align:left!important;width:100%!important;float:left}.date-field-filter-mode-error-label{overflow-wrap:break-word;text-align:left!important;box-sizing:border-box;padding-right:10px}.pointer-events-none{pointer-events:none}"]}]}],"members":{"datePicker":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":29,"character":5},"arguments":["datePicker",{"static":false}]}]}],"changed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":32,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/forms","name":"FormBuilder","line":52,"character":28}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"configs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":75,"character":5}}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":93,"character":5}}]}],"inputValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":103,"character":5}}]}],"selectedRange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":122,"character":5}}]}],"selectedDate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":138,"character":5}}]}],"classes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":153,"character":5}}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":163,"character":5}}]}],"prevMonthView":[{"__symbolic":"method"}],"nextMonthView":[{"__symbolic":"method"}],"prevYear":[{"__symbolic":"method"}],"nextYear":[{"__symbolic":"method"}],"selectCurrentMonth":[{"__symbolic":"method"}],"selectCurrentYear":[{"__symbolic":"method"}],"yearSelectionMouseWheelFunc":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":231,"character":5},"arguments":["mousewheel",["$event"]]}]}],"scrollTo":[{"__symbolic":"method"}],"moveAYearItemToTheTopOfView":[{"__symbolic":"method"}],"changeYearSelectionList":[{"__symbolic":"method"}],"open":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"clickedOutsideOfDateField":[{"__symbolic":"method"}],"resetAndCloseDropdown":[{"__symbolic":"method"}],"closeDropdown":[{"__symbolic":"method"}],"onBlur":[{"__symbolic":"method"}],"onFocus":[{"__symbolic":"method"}],"changeSelectedDate":[{"__symbolic":"method"}],"selectADay":[{"__symbolic":"method"}],"changeSelectedRange":[{"__symbolic":"method"}],"getStateOfDayCell":[{"__symbolic":"method"}],"changeState":[{"__symbolic":"method"}],"timeSpanItemChange":[{"__symbolic":"method"}],"setFilterInputValues":[{"__symbolic":"method"}],"filterInputChange":[{"__symbolic":"method"}],"filterStartDateInputFocusOut":[{"__symbolic":"method"}],"filterStartTimeInputFocusOut":[{"__symbolic":"method"}],"filterEndDateInputFocusOut":[{"__symbolic":"method"}],"filterEndTimeInputFocusOut":[{"__symbolic":"method"}],"changeFilterValues":[{"__symbolic":"method"}],"createRangeObjectByInputValues":[{"__symbolic":"method"}],"proofIfTheDateIsInSelectedRange":[{"__symbolic":"method"}],"proofIfTheDateIsStartDateOfSelectedRange":[{"__symbolic":"method"}],"proofIfTheDateIsEndDateOfSelectedRange":[{"__symbolic":"method"}],"proofIfTheDateIsInSelectableRange":[{"__symbolic":"method"}],"timeSpanOkButtonClick":[{"__symbolic":"method"}],"timeSpanCancelButtonClick":[{"__symbolic":"method"}],"formatEnteredStringToDate":[{"__symbolic":"method"}],"isCalendarDayToday":[{"__symbolic":"method"}],"isCalendarDaySelectedDate":[{"__symbolic":"method"}],"clearFilter":[{"__symbolic":"method"}],"clearFilterInputs":[{"__symbolic":"method"}],"getSelectedYearLabel":[{"__symbolic":"method"}],"getSelectedDateLabel":[{"__symbolic":"method"}],"monthList":[{"__symbolic":"method"}],"getCurrentFullYearLabel":[{"__symbolic":"method"}],"getCurrentMonthLabel":[{"__symbolic":"method"}],"getCancelButtonLabel":[{"__symbolic":"method"}],"getOkButtonLabel":[{"__symbolic":"method"}],"getMonthLabel":[{"__symbolic":"method"}],"getDayNames":[{"__symbolic":"method"}],"getFilterDropDownItems":[{"__symbolic":"method"}],"setTimeSpanLabel":[{"__symbolic":"method"}],"reCreateFilterOptions":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵd"},"members":{"calendarEventEmitter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":19,"character":2}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":2}}]}],"__ctor__":[{"__symbolic":"constructor"}],"init":[{"__symbolic":"method"}],"changeCurrentYear":[{"__symbolic":"method"}],"changeCurrentMonth":[{"__symbolic":"method"}],"changeSelectedDate":[{"__symbolic":"method"}],"changeYearLists":[{"__symbolic":"method"}],"setSelectableYears":[{"__symbolic":"method"}],"create":[{"__symbolic":"method"}],"createCalendarWeeks":[{"__symbolic":"method"}],"getWeekNumberOfYearByDate":[{"__symbolic":"method"}],"addADayToCalendarWeek":[{"__symbolic":"method"}],"addPreviousMonthDays":[{"__symbolic":"method"}],"addNextMonthDays":[{"__symbolic":"method"}],"createYearLists":[{"__symbolic":"method"}]}},"ɵd":{"__symbolic":"class","members":{}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"[clickOutside]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":6,"character":37}]}],"clickOutside":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":9,"character":5}}]}],"onClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":12,"character":5},"arguments":["document:click",["$event","$event.target"]]}]}],"isElementAChildOf":[{"__symbolic":"method"}]}},"ɵf":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}],"get":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}],"addLabelGroup":[{"__symbolic":"method"}],"setDefaultList":[{"__symbolic":"method"}]}}},"origins":{"NLIDateFieldModule":"./src/datefield.module","DateFieldOptions":"./src/controls/vo/DateFieldOptions","DateRange":"./src/controls/vo/DateRange","DateUtils":"./src/controls/utils/DateUtils","ɵa":"./src/component/nli-datefield","ɵb":"./src/component/nli-datefield","ɵc":"./src/controls/calendar/Calendar","ɵd":"./src/core/ui.component","ɵe":"./src/core/ClickOutsideElement","ɵf":"./src/core/Lang"},"importAs":"@next-level-integration/nli-datefield-lib"} | ||
{"__symbolic":"module","version":4,"metadata":{"NLIDateFieldModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","name":"ɵe"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":17,"character":8},{"__symbolic":"reference","module":"@next-level-integration/inputs","name":"NliInputsModule","line":18,"character":8},{"__symbolic":"reference","module":"@angular/forms","name":"FormsModule","line":19,"character":8},{"__symbolic":"reference","module":"@angular/forms","name":"ReactiveFormsModule","line":20,"character":8},{"__symbolic":"reference","module":"@angular/material/form-field","name":"MatFormFieldModule","line":21,"character":8},{"__symbolic":"reference","module":"@angular/material/input","name":"MatInputModule","line":22,"character":8},{"__symbolic":"reference","module":"@angular/material/icon","name":"MatIconModule","line":23,"character":8}],"exports":[{"__symbolic":"reference","name":"ɵb"}],"providers":[],"bootstrap":[],"schemas":[{"__symbolic":"reference","module":"@angular/core","name":"CUSTOM_ELEMENTS_SCHEMA","line":28,"character":14}]}]}],"members":{}},"DateFieldOptions":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}],"setDefultOptions":[{"__symbolic":"method"}],"getDefultOptions":[{"__symbolic":"method"}],"setOptions":[{"__symbolic":"method"}],"addLabels":[{"__symbolic":"method"}]}},"DateRange":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"Date"},{"__symbolic":"reference","name":"Date"}]}],"timeSpan":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":20,"character":2}}]}]},"statics":{"WHOLE_TIME_SPAN":"WHOLE_TIME_SPAN","TODAY":"TODAY","YESTERDAY":"YESTERDAY","LAST_SEVEN_DAYS":"LAST_SEVEN_DAYS","LAST_THIRTY_DAYS":"LAST_THIRTY_DAYS","INDIVIDUALLY":"INDIVIDUALLY"}},"DateUtils":{"__symbolic":"class","members":{},"statics":{"JANUARY":"January","FEBRUARY":"February","MARCH":"March","APRIL":"April","MAY":"May","JUNE":"June","JULY":"July","AUGUST":"August","SEPTEMBER":"September","OCTOBER":"October","NOVEMBER":"November","DECEMBER":"December","MONDAY":"Monday","TUESDAY":"Tuesday","WEDNESDAY":"Wednesday","THURSDAY":"Thursday","FRIDAY":"Friday","SATURDAY":"Saturday","SUNDAY":"Sunday","ACTIVE":"active-day","PASSIVE":"passive-day","START_OF_RANGE":"start-of-range","END_OF_RANGE":"end-of-range","START_AND_END_OF_RANGE":"start-and-end-of-range","DAY_IN_RANGE":"day-in-range","DAY_IS_TODAY":"day-is-today","DAY_IS_SELECTED_DAY":"selected-day","ERROR_RANGE_CAN_NOT_USED_IN_FILTER_MODE":"ERROR_RANGE_CAN_NOT_USED_IN_FILTER_MODE","ERROR_DATE_IS_NOT_VALID":"ERROR_DATE_IS_NOT_VALID","ERROR_DATE_IS_PASST":"ERROR_DATE_IS_PASST","ERROR_DATE_IS_FUTURE":"ERROR_DATE_IS_FUTURE","ERROR_DATE_IS_NOT_SELECTABLE_RANGE":"ERROR_DATE_IS_NOT_SELECTABLE_RANGE","ERROR_DATE_IS_NOT_SELECTED_RANGE":"ERROR_DATE_IS_NOT_SELECTED_RANGE","ERROR_DATE_COULD_NOT_FOUND":"ERROR_DATE_COULD_NOT_FOUND","ERROR_VALUE_NOT_DEFINED":"ERROR_VALUE_NOT_DEFINED","ERROR_DATE_PERIOD_NOT_DEFINED":"ERROR_DATE_PERIOD_NOT_DEFINED","MONTHS":"months","YEARS":"years","DAYS":"days","TIME_SPAN":"time-span","FROM":"from","TO":"to","OK":"ok","CANCEL":"cancel","WHOLE_TIME_SPAN":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"../vo/DateRange","name":"DateRange","line":61,"character":44},"member":"WHOLE_TIME_SPAN"},"TODAY":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"../vo/DateRange","name":"DateRange","line":62,"character":34},"member":"TODAY"},"YESTERDAY":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"../vo/DateRange","name":"DateRange","line":63,"character":38},"member":"YESTERDAY"},"LAST_SEVEN_DAYS":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"../vo/DateRange","name":"DateRange","line":64,"character":44},"member":"LAST_SEVEN_DAYS"},"LAST_THIRTY_DAYS":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"../vo/DateRange","name":"DateRange","line":65,"character":45},"member":"LAST_THIRTY_DAYS"},"INDIVIDUALLY":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"../vo/DateRange","name":"DateRange","line":66,"character":41},"member":"INDIVIDUALLY"},"lang":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"ɵf"}},"dayNames":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"initDayNamesWithLang"}},"monthNames":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"initMonthNamesWithLang"}},"monthList":[[{"index":0,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":0},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":0},"member":"substring"},"arguments":[0,3]}},{"index":1,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":1},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":1},"member":"substring"},"arguments":[0,3]}},{"index":2,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":2},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":2},"member":"substring"},"arguments":[0,3]}}],[{"index":3,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":3},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":3},"member":"substring"},"arguments":[0,3]}},{"index":4,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":4},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":4},"member":"substring"},"arguments":[0,3]}},{"index":5,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":5},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":5},"member":"substring"},"arguments":[0,3]}}],[{"index":6,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":6},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":6},"member":"substring"},"arguments":[0,3]}},{"index":7,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":7},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":7},"member":"substring"},"arguments":[0,3]}},{"index":8,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":8},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":8},"member":"substring"},"arguments":[0,3]}}],[{"index":9,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":9},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":9},"member":"substring"},"arguments":[0,3]}},{"index":10,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":10},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":10},"member":"substring"},"arguments":[0,3]}},{"index":11,"label":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":11},"key":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"index","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"monthNames"},"index":11},"member":"substring"},"arguments":[0,3]}}]],"daysInDateUtilsMonth":{"__symbolic":"function","parameters":["date"],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Date"},"arguments":[{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"date"},"member":"getFullYear"}},{"__symbolic":"binop","operator":"+","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"date"},"member":"getMonth"}},"right":1},0]},"member":"getDate"}}},"getCancelButtonLabel":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"lang"},"member":"get"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"CANCEL"}]}},"getOkButtonLabel":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"lang"},"member":"get"},"arguments":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"DateUtils"},"member":"OK"}]}},"isDate":{"__symbolic":"function","parameters":["date"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"Boolean"},"arguments":[{"__symbolic":"reference","name":"date"}]}},"today":{"__symbolic":"function","parameters":[],"value":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Date"}}}}},"ɵa":{"provide":{"__symbolic":"reference","module":"@angular/forms","name":"NG_VALUE_ACCESSOR","line":16,"character":13},"useExisting":{"__symbolic":"reference","name":"ɵb"},"multi":true},"ɵb":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵc"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":21,"character":1},"arguments":[{"selector":"nli-datefield","providers":[{"__symbolic":"reference","name":"ɵa"}],"template":"<!-- WRAPPER-->\n<div id=\"nli-datepicker\"\n class=\"nli-datepicker {{classes}}\"\n (clickOutside)=\"clickedOutsideOfDateField($event)\">\n\n <!-- DATEPICKER INPUTS -->\n <div [formGroup]=\"dateFieldForm\">\n <!-- WITHOUT FILTERED DATEPICKER INPUT -->\n <div class=\"nli-datepicker-input-wrapper\" *ngIf=\"!options.filterMode\">\n <div class=\"nli-datepicker-opener nli-datepicker-input-container\">\n <nli-text #dateInput\n name=\"dateInput\"\n [inputLabel]=\"label\"\n formArrayName=\"dateInput\"\n [formControl]=\"(dateFieldForm.controls['dateInput'])\"\n [(ngModel)]=\"inputValue\"\n class=\"mat-form-field-appearance-legacy {{options.readOnly?'pointer-events-none':''}}\"\n (change)=\"formatEnteredStringToDate($event)\"></nli-text>\n </div>\n <button class=\"nli-datepicker-opener-button glyphicon\" (click)=\"onFocus(this)\" *ngIf=\"!options.readOnly\"></button>\n <div *ngIf=\"dateFieldForm.get('dateInput').errors &&\n dateFieldForm.get('dateInput').errors.error\" class=\"error-label date-field-error-label\">\n {{dateFieldForm.get('dateInput').errors.errorString}}\n </div>\n </div><!-- /WITHOUT FILTERED DATEPICKER INPUT -->\n\n <!-- DATEPICKER INPUT -->\n <div class=\"nli-datepicker-input-wrapper nli-datepicker-filter-mode-input\"\n *ngIf=\"options.filterMode\"\n (click)=\"onFocus(this)\"\n title=\"{{label+': '+inputValue}}\">\n <div class=\"nli-datepicker-opener nli-datepicker-filter-opener-container\">\n\n <mat-form-field class=\"width-100-percent\">\n <mat-label>{{label}}</mat-label>\n <input matInput\n style=\"overflow:hidden !important; white-space:nowrap !important; text-overflow: ellipsis!important; \"\n name=\"dateFilterInput\"\n [readonly]=\"options.readOnly\"\n [(ngModel)]=\"inputValue\"\n [formControl]=\"dateFieldForm.controls['dateFilterInput']\"\n readonly=\"readonly\"\n class=\"pointer-events-none\">\n <mat-icon matSuffix>date_range</mat-icon>\n </mat-form-field>\n </div>\n <div *ngIf=\"dateFieldForm.get('dateFilterInput').errors &&\n dateFieldForm.get('dateFilterInput').errors.error\" class=\"error-label date-field-filter-mode-error-label\">\n {{dateFieldForm.get('dateFilterInput').errors.errorString}}\n </div>\n </div><!-- / FILTERED DATEPICKER INPUT -->\n </div><!-- /DATEPICKER INPUTS -->\n\n <!-- CONTAINER -->\n <div #datePicker\n *ngIf=\"visibility\"\n class=\"nli-datepicker-container {{(options.filterMode)? 'width-500': 'width-250'}}\"\n tabindex=\"0\"\n (contentEditable)=\"onBlur($event)\">\n <!-- CALENDAR -->\n <div #views class=\"nli-datepicker-calendar {{(options.filterMode)? 'width-50-percent': 'width-100-percent'}}\">\n <!-- VIEWS -->\n <div id=\"nli-datepicker-view-container\" class=\"nli-datepicker-view-container\">\n\n <!-- VIEW-1: CURRENT MONTH -->\n <div class=\"nli-calendar-main\" *ngIf=\"state == 'days'\">\n\n <div class=\"nli-calendar-header\" *ngIf=\"!options.filterMode\">\n <div class=\"nli-calendar-header-title\">{{getSelectedYearLabel()}}</div>\n <div class=\"nli-calendar-header-content\">{{getSelectedDateLabel()}}</div>\n </div>\n\n <div class=\"nli-calendar-current-month-and-year\">\n\n <table class=\"nli-calendar-current-month-and-year-table\">\n <tr>\n <td class=\"link-button\" (click)=\"prevMonthView()\">\n <div><i class=\"nli-calendar-icon arrow-left\"></i></div>\n </td>\n <td>\n <span class=\"calendar-link-button\" (click)=\"changeState('months')\">{{getCurrentMonthLabel()}}</span>\n \n <span class=\"calendar-link-button\" (click)=\"changeState('years')\">{{getCurrentFullYearLabel()}}</span>\n </td>\n <td class=\"right-button\" (click)=\"nextMonthView()\">\n <div><i class=\"nli-calendar-icon arrow-right\"></i></div>\n </td>\n </tr>\n </table>\n </div>\n <div class=\"nli-calendar-table-container\">\n <table class=\"nli-calendar-table\">\n <tr>\n <th *ngFor=\"let dayName of getDayNames()\">{{dayName}}</th>\n </tr>\n <tr *ngFor=\"let calendarWeek of calendarWeeks\">\n <td *ngFor=\"let calendarDay of calendarWeek.days\">\n <div class=\"calendar-day-cell\" (click)=\"selectADay(calendarDay)\">\n <div class=\"{{getStateOfDayCell(calendarWeek, calendarDay)}}\">{{calendarDay.day}}</div>\n </div>\n </td>\n </tr>\n </table>\n </div>\n </div><!-- /VIEW-1: CURRENT MONTH -->\n\n <!-- VIEW-2: MONTH SELECTION -->\n <div id=\"nli-calendar-months-main\" class=\"nli-calendar-months-main\" *ngIf=\"state == 'months'\">\n <div class=\"nli-calendar-header\" *ngIf=\"!options.filterMode\">\n <div class=\"nli-calendar-header-title\">{{getSelectedYearLabel()}}</div>\n <div class=\"nli-calendar-header-content\">{{getSelectedDateLabel()}}</div>\n </div>\n <div class=\"nli-calendar-years-table-container\">\n <div class=\"nli-calendar-months-table\">\n <table>\n <tr *ngFor=\"let monthsGroup of monthList()\">\n\n <td id=\"nli-calendar-months-table-td-{{month.key}}\" (click)=\"selectCurrentMonth(month.index)\" *ngFor=\"let month of monthsGroup\">\n <div id=\"nli-calendar-months-table-td-div-{{month.key}}\" class=\"{{(currentDate.getMonth() == month.index)?'current-month':''}}\">{{month.key}}</div>\n </td>\n </tr>\n </table>\n </div>\n </div>\n </div><!-- /VIEW-2: MONTH SELECTION -->\n\n <!-- VIEW-3: YEAR SELECTION -->\n <div id=\"nli-calendar-years-main\" class=\"nli-calendar-years-main\" *ngIf=\"state == 'years'\">\n <div class=\"nli-calendar-header\" *ngIf=\"!options.filterMode\">\n <div class=\"nli-calendar-header-title\">{{getSelectedYearLabel()}}</div>\n <div class=\"nli-calendar-header-content\">{{getSelectedDateLabel()}}</div>\n </div>\n <div class=\"nli-calendar-years-table-container\">\n <div id=\"year-selection-scroll-bar\" class=\"scrollbar {{(options.filterMode)?'height-290':'height-240'}}\"\n (mouseWheel)=\"yearSelectionMouseWheelFunc($event)\" (scroll)=\"changeYearSelectionList($event)\">\n <div class=\"force-overflow\">\n <table>\n <tr id=\"year-line-{{year}}\" *ngFor=\"let year of selectableYears\">\n <td (click)=\"selectCurrentYear(year)\">\n <div class=\"{{(centeredYearInYearSelection == year && currentDate.getFullYear() == year) ?'year-color-centered year-color-selected' :((centeredYearInYearSelection == year) ?'year-color-centered':(((currentDate.getFullYear() == year) ?'year-color-selected':'')))}}\">{{year}}</div>\n </td>\n </tr>\n </table>\n </div>\n </div>\n </div>\n </div><!-- /VIEW-3: YEAR SELECTION -->\n </div><!-- /VIEWS -->\n </div><!-- CALENDAR -->\n\n <!-- FILTERS -->\n <div #filter class=\"nli-datepicker-filters\" *ngIf=\"options.filterMode\">\n <div class=\"nli-datepicker-filters-dropdown-container\">\n {{lang.get('time-span')}}<br>\n <select #timeSpanDropDown\n class=\"nli-datepicker-filter-dropdown width-100-percent\"\n (change)=\"timeSpanItemChange($event)\">\n\n <option [value]=\"item.key\" [attr.selected]=\"item.selected=='selected'? item.selected : null\" *ngFor=\"let item of timeSpanDataProvider\">{{item.label}}</option>\n\n </select>\n </div>\n <div class=\"nli-datepicker-filters-input-container\">\n {{lang.get('from')}}<br>\n <input #filterStartDateInput type=\"text\"\n class=\"nli-datepicker-filter-input width-47-percent\"\n [value]=\"filterStartDateInputValue\"\n maxlength=\"10\"\n onkeyup=\"this.value = this.value.replace(/[^0-9\\.]/, '')\"\n (change)=\"filterInputChange($event)\"\n (focusout)=\"filterStartDateInputFocusOut($event)\"/> \n <input #filterStartTimeInput type=\"text\"\n class=\"nli-datepicker-filter-input width-47-percent\"\n [value]=\"filterStartTimeInputValue\"\n onkeyup=\"this.value = this.value.replace(/[^0-9\\:]/, '')\"\n maxlength=\"8\"\n (change)=\"filterInputChange($event)\"\n (focusout)=\"filterStartTimeInputFocusOut($event)\"/>\n </div>\n <div class=\"nli-datepicker-filters-input-container\">\n {{lang.get('to')}}<br>\n <input #filterEndDateInput type=\"text\"\n class=\"nli-datepicker-filter-input width-47-percent\"\n [value]=\"filterEndDateInputValue\"\n onkeyup=\"this.value = this.value.replace(/[^0-9\\.]/, '')\"\n (change)=\"filterInputChange($event)\"\n maxlength=\"10\"\n (focusout)=\"filterEndDateInputFocusOut($event)\"/> \n <input #filterEndTimeInput type=\"text\"\n class=\"nli-datepicker-filter-input width-47-percent\"\n [value]=\"filterEndTimeInputValue\"\n onkeyup=\"this.value = this.value.replace(/[^0-9\\:]/, '')\"\n maxlength=\"8\"\n (change)=\"filterInputChange($event)\"\n (focusout)=\"filterEndTimeInputFocusOut($event)\"/>\n </div>\n <div class=\"error-string error-container\">{{filterError}}</div>\n <div class=\"nli-datepicker-filters-button-container\">\n <input type=\"button\" class=\"nli-datepicker-filter-button\" value=\"{{getCancelButtonLabel()}}\" (click)=\"timeSpanCancelButtonClick($event)\"/> \n <input type=\"button\" class=\"nli-datepicker-filter-button\" value=\"{{getOkButtonLabel()}}\" (click)=\"timeSpanOkButtonClick($event)\"/>\n </div>\n </div><!-- /FILTERS -->\n\n </div><!-- CONTAINER -->\n\n</div><!-- WRAPPER-->\n","styles":[".nli-datepicker{position:relative;font-family:Roboto,sans-serif}.width-500{width:500px}.width-250{width:250px}.width-50-percent{width:50%}.nli-datepicker a:hover{background-color:#fff}.nli-datepicker-opener{float:left}.nli-datepicker-container{position:absolute;margin:0;padding:0;z-index:999;box-shadow:0 8px 16px 0 rgba(0,0,0,.2)}.nli-datepicker-container:focus{outline:0}.nli-datepicker-calendar{float:left}.nli-datepicker-filters{float:left;width:50%;height:290px;padding:20px;color:#fff;background-color:#3fa9f3}.nli-datepicker-dropdown{width:count(100%-20px);outline:0}.nli-datepicker-input-wrapper{width:100%;float:left}.nli-datepicker-input-container{display:inline-block;margin-bottom:-10px;width:100%}.nli-datepicker-filter-mode-input{padding-left:5px}.nli-datepicker-filter-opener-container{float:left;cursor:pointer;margin-bottom:-25px;width:100%}.nli-datepicker-filter-opener-container-label{float:left}.nli-datepicker-opener-button{width:24px;height:24px;margin-top:26px;cursor:pointer;border:none;outline:0;overflow:hidden;background-color:Transparent;background-image:url(../assets/date-range-up.png);background-position:center;background-repeat:no-repeat;z-index:997;position:absolute;right:0;top:-2px}.nli-datepicker-filter-mode-opener-button{width:24px;height:30px;margin-top:26px;cursor:pointer;border:none;outline:0;overflow:hidden;background-color:Transparent;background-image:url(../assets/date-range-up.png);background-repeat:no-repeat;z-index:997;right:0;position:absolute}.nli-datepicker-opener-button:hover{background-image:url(../assets/date-range-hover.png)}.nli-datepicker-opener-button:active{background-image:url(../assets/date-range-opened.png)}.nli-datepicker-input{width:100%;height:24px;outline:0;margin:0!important;border:1px solid #d7d7d7;position:absolute;padding:4px;float:left}.nli-datepicker-input:hover{background-color:#f1f5fb}.nli-datepicker-view-container{width:100%;background-color:#fff;overflow:auto;z-index:1}.nli-datepicker-view-container a{color:#000;padding:12px 16px;text-decoration:none;display:block}.nli-datepicker-filters-dropdown-container,.nli-datepicker-filters-input-container{height:50px;margin:5px 0}.nli-datepicker-filters-button-container{position:absolute;right:10px;bottom:10px}.nli-datepicker-filter-input{background-color:#3288d0;border:none;color:#fff;padding-left:5px;padding-right:5px;height:25px}.nli-datepicker-filter-dropdown{border:none;color:#fff;padding-left:5px;padding-right:5px;height:25px;background-color:#3288d0}.nli-datepicker-filter-dropdown option{border:none;color:#000!important;font-size:.9em;padding-left:5px;padding-right:5px;background-color:#fff!important}.nli-datepicker-filter-dropdown option:hover{background-color:#3288d0!important}.nli-datepicker-filter-button{background:0 0;border:none;color:#fff;font-weight:700}.width-100-percent{width:100%}.width-47-percent{width:47%}.scrollbar{width:100%;overflow-y:scroll}.height-240{height:240px}.height-290{height:290px}.force-overflow{min-height:240px}#year-selection-scroll-bar::-webkit-scrollbar{width:6px;background-color:#f5f5f5}#year-selection-scroll-bar::-webkit-scrollbar-thumb{background-color:#ccc}#year-selection-scroll-bar::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px #d7d7d7;background-color:#f5f5f5}.nli-calendar-main{background-color:#fff;width:100%;border-top:1px solid #f0f0f0}.nli-calendar-triangle{width:0;height:0;margin-left:20px;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:8px solid #4a85ce}.nli-calendar-header{background-color:#3fa9f3;width:100%;padding:5px 20px;text-align:center;vertical-align:middle;color:#fff}.nli-calendar-header-title{margin-top:6px;height:12px;vertical-align:bottom;text-align:left;font-size:12px!important}.nli-calendar-header-content{text-align:left;font-size:24px!important}.nli-calendar-current-month-and-year{font-size:14px;background-color:#fff;width:100%;height:48px;text-align:center;vertical-align:middle;color:#000;opacity:.87}.nli-calendar-current-month-and-year-table{width:100%;height:100%}.nli-calendar-current-month-and-year-table td.link-button{width:30px;height:100%;text-align:center;vertical-align:middle;cursor:pointer}.nli-calendar-current-month-and-year-table td.link-button div{padding:10px;opacity:.87}.nli-calendar-current-month-and-year-table td.link-button div:hover{opacity:1}.nli-calendar-current-month-and-year-table td.right-button{width:30px;height:100%;text-align:center;vertical-align:middle;cursor:pointer}.nli-calendar-current-month-and-year-table td.right-button div{padding:10px;opacity:.87}.nli-calendar-current-month-and-year-table td.right-button div:hover{opacity:1}.nli-calendar-current-month-and-year-table td.calendar-link-button-container{width:100%;text-align:center}.nli-calendar-current-month-and-year-table td.calendar-link-button-container div:hover{color:#4f3d45}.calendar-link-button{cursor:pointer}.calendar-link-button:hover{color:#4f3d45}.calendar-link-button-entry{background-color:#0ff;width:100%;margin:auto}.nli-calendar-current-month-and-year-table td.year-button{width:50%}.nli-calendar-current-month-and-year-table td.year-button div{width:100%;padding-left:5px;cursor:pointer;text-align:left}.nli-calendar-current-month-and-year-table td.year-button div:hover{color:#4a85ce}.nli-calendar-current-month-and-year-table td.time-button{width:50%}.nli-calendar-current-month-and-year-table td.time-button div{width:100%;padding-left:5px;cursor:pointer;text-align:left}.nli-calendar-current-month-and-year-table td.time-button div:hover{color:#4a85ce}.nli-calendar-icon{border:solid #000;border-width:0 3px 3px 0;display:inline-block;padding:3px;opacity:.87}.nli-calendar-icon:hover{opacity:1}.nli-calendar-table-container{width:100%;padding:0 10px 10px}table.nli-calendar-table{width:100%;border-spacing:5px}table.nli-calendar-table tr{padding:2px}table.nli-calendar-table tr th{font-size:12px;width:32px;height:32px;text-align:center;vertical-align:middle;font-weight:700;opacity:.54}table.nli-calendar-table tr td{font-size:12px;width:32px;height:32px;text-align:center;vertical-align:middle;background-color:#fff;cursor:pointer;opacity:.87}table.nli-calendar-table tr td:hover{background-color:#d2e7ff}.nli-calendar-table td div{width:100%;height:100%;padding:4px}.nli-calendar-table td div div{width:100%;height:100%;padding-top:4px;vertical-align:middle;text-align:center}.calendar-current-day-cell{color:#4a85ce}.calendar-selected-range-cell{background-color:#4a85ce!important;color:#fff}.nli-calendar-bottom-bar{width:100%;height:40px;background-color:#4b86ce}.nli-calendar-bottom-cancel{float:left;width:100%;height:100%}.nli-calendar-bottom-button{width:100%;height:100%;color:#fff;padding-top:8px;font-size:18px;text-align:center;vertical-align:middle;cursor:pointer}.calendar-day-cell{width:100%;height:100;text-align:center;vertical-align:middle;color:#000}.passive-day{opacity:.2}.selected-day{background-color:#3fa9f3!important;color:#fff!important;border-radius:50%}.start-of-range{border-radius:4px 0 0 4px;background-color:#3fa9f3!important}.end-of-range{border-radius:0 4px 4px 0;background-color:#3fa9f3!important}.start-and-end-of-range{border-radius:4px;background-color:#3fa9f3!important}.day-in-range{background-color:#cce3fc}.day-is-today{color:#3fa9f3!important}.error-string{font-size:10px;color:#ffb6c1}.error-container{width:100%;padding:20px 0 10px}.nli-calendar-months-main{width:100%;height:100%;background-color:#fff}.nli-calendar-months-month-name{text-align:right;color:#fff}.nli-calendar-months-table{width:100%;padding-top:30px}.nli-calendar-months-table table{width:100%;border-spacing:2px}.nli-calendar-months-table table td{width:34px;height:60px;padding:2px;cursor:pointer;opacity:.87}.nli-calendar-months-table table td div{width:100%;height:100%;text-align:center;vertical-align:middle!important;background-color:#fff}.nli-calendar-months-table table td div:hover{color:#4aa9f5}.nli-calendar-months-main .nli-calendar-current-month-and-year-table .year-button,.nli-calendar-months-main .nli-calendar-current-month-and-year-table .year-button div{width:100%;text-align:center}.current-month{color:#3fa9f3!important}.nli-calendar-years-main{width:100%;height:100%;background-color:#fff}.nli-calendar-years-header{width:100%;height:40px;background-color:#4b86ce}.nli-calendar-years-header div{width:100%;padding-top:8px}.nli-calendar-years-current-year{text-align:center;color:#fff;font-size:18px}.nli-calendar-years-table-container{width:100%}.nli-calendar-years-main table{width:100%;border-spacing:2px}.nli-calendar-years-main table td{width:40px;height:31px;padding-left:5px;padding-right:5px;font-size:18px;text-align:center;vertical-align:middle;cursor:pointer;opacity:.87;background-color:#fff}.year-color-centered{font-size:22px}.year-color-selected{color:#4aa9f5}.nli-calendar-years-main table td:hover{background-color:#f9f9f9}.nli-calendar-years-main table td div{width:100%;height:100%;padding:4px}.nli-calendar-year-button{margin:auto}.nli-calendar-up-button{height:10px;padding-top:5px}.nli-calendar-down-button{height:10px;padding-bottom:5px;margin:auto}.nli-calendar-time-main{width:100%;height:100%;background-color:#fff}.nli-calendar-time-header{width:100%;height:40px;background-color:#4b86ce}.nli-calendar-time-header-current-time{width:100%;height:100%;padding-top:8px;color:#fff;font-size:18px;text-align:center;vertical-align:middle}.nli-calendar-time-table-container{padding:10px}.nli-calendar-time-main table{width:100%;border-spacing:2px}.nli-calendar-time-main table td{width:30px;height:22px;color:#000;text-align:center;vertical-align:middle;cursor:pointer}.nli-calendar-time-main table td.empty-td-container{width:6px;height:100%;color:#000;text-align:center;vertical-align:middle;font-size:32px;font-weight:700}.nli-calendar-time-main table td div:hover{background-color:#f9f9f9}.nli-calendar-time-main table td div{width:100%;height:100%;padding:2px;background-color:#fff}.nli-calendar-time-input{background-color:#fff;color:#000;border:1px solid #cfcfcf;width:60px;height:60px;font-size:32px;font-weight:700;text-align:center;vertical-align:middle}.nli-calendar-time-cancel,.nli-calendar-time-set{float:left;width:50%;height:100%}.nli-calendar-time-bottom-button{width:100%;height:100%;border-left:1px solid #fff;color:#fff;padding-top:8px;font-size:18px;text-align:center;vertical-align:middle;cursor:pointer}.nli-calendar-time-bottom-button:hover{background-color:#3a72b8;text-align:center;vertical-align:middle}.arrow-right{transform:rotate(-45deg);-webkit-transform:rotate(-45deg);cursor:pointer}.arrow-left{transform:rotate(135deg);-webkit-transform:rotate(135deg);cursor:pointer}.arrow-up{transform:rotate(-135deg);-webkit-transform:rotate(-135deg);cursor:pointer}.arrow-down{transform:rotate(45deg);-webkit-transform:rotate(45deg);cursor:pointer}.time-up-button{text-align:center}.invisible{display:none}.visible{display:table-cell}.mouse-disabled{cursor:not-allowed}.error-label{font-size:11px;color:#f50000;cursor:pointer!important}.date-field-error-label{overflow-wrap:break-word;text-align:left!important;width:100%!important;float:left}.date-field-filter-mode-error-label{overflow-wrap:break-word;text-align:left!important;box-sizing:border-box;padding-right:10px}.pointer-events-none{pointer-events:none}"]}]}],"members":{"datePicker":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":29,"character":5},"arguments":["datePicker",{"static":false}]}]}],"changed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":32,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/forms","name":"FormBuilder","line":52,"character":28}]}],"ngOnInit":[{"__symbolic":"method"}],"ngAfterViewInit":[{"__symbolic":"method"}],"configs":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":75,"character":5}}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":93,"character":5}}]}],"inputValue":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":103,"character":5}}]}],"selectedRange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":122,"character":5}}]}],"selectedDate":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":138,"character":5}}]}],"classes":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":153,"character":5}}]}],"styles":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":163,"character":5}}]}],"prevMonthView":[{"__symbolic":"method"}],"nextMonthView":[{"__symbolic":"method"}],"prevYear":[{"__symbolic":"method"}],"nextYear":[{"__symbolic":"method"}],"selectCurrentMonth":[{"__symbolic":"method"}],"selectCurrentYear":[{"__symbolic":"method"}],"yearSelectionMouseWheelFunc":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":231,"character":5},"arguments":["mousewheel",["$event"]]}]}],"scrollTo":[{"__symbolic":"method"}],"moveAYearItemToTheTopOfView":[{"__symbolic":"method"}],"changeYearSelectionList":[{"__symbolic":"method"}],"open":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"clickedOutsideOfDateField":[{"__symbolic":"method"}],"resetAndCloseDropdown":[{"__symbolic":"method"}],"closeDropdown":[{"__symbolic":"method"}],"onBlur":[{"__symbolic":"method"}],"onFocus":[{"__symbolic":"method"}],"changeSelectedDate":[{"__symbolic":"method"}],"selectADay":[{"__symbolic":"method"}],"changeSelectedRange":[{"__symbolic":"method"}],"getStateOfDayCell":[{"__symbolic":"method"}],"changeState":[{"__symbolic":"method"}],"timeSpanItemChange":[{"__symbolic":"method"}],"setFilterInputValues":[{"__symbolic":"method"}],"filterInputChange":[{"__symbolic":"method"}],"filterStartDateInputFocusOut":[{"__symbolic":"method"}],"filterStartTimeInputFocusOut":[{"__symbolic":"method"}],"filterEndDateInputFocusOut":[{"__symbolic":"method"}],"filterEndTimeInputFocusOut":[{"__symbolic":"method"}],"changeFilterValues":[{"__symbolic":"method"}],"createRangeObjectByInputValues":[{"__symbolic":"method"}],"proofIfTheDateIsInSelectedRange":[{"__symbolic":"method"}],"proofIfTheDateIsStartDateOfSelectedRange":[{"__symbolic":"method"}],"proofIfTheDateIsEndDateOfSelectedRange":[{"__symbolic":"method"}],"proofIfTheDateIsInSelectableRange":[{"__symbolic":"method"}],"timeSpanOkButtonClick":[{"__symbolic":"method"}],"timeSpanCancelButtonClick":[{"__symbolic":"method"}],"formatEnteredStringToDate":[{"__symbolic":"method"}],"isCalendarDayToday":[{"__symbolic":"method"}],"isCalendarDaySelectedDate":[{"__symbolic":"method"}],"clearFilter":[{"__symbolic":"method"}],"clearFilterInputs":[{"__symbolic":"method"}],"getSelectedYearLabel":[{"__symbolic":"method"}],"getSelectedDateLabel":[{"__symbolic":"method"}],"monthList":[{"__symbolic":"method"}],"getCurrentFullYearLabel":[{"__symbolic":"method"}],"getCurrentMonthLabel":[{"__symbolic":"method"}],"getCancelButtonLabel":[{"__symbolic":"method"}],"getOkButtonLabel":[{"__symbolic":"method"}],"getMonthLabel":[{"__symbolic":"method"}],"getDayNames":[{"__symbolic":"method"}],"getFilterDropDownItems":[{"__symbolic":"method"}],"setTimeSpanLabel":[{"__symbolic":"method"}],"reCreateFilterOptions":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"ɵd"},"members":{"calendarEventEmitter":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":19,"character":2}}]}],"options":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":2}}]}],"__ctor__":[{"__symbolic":"constructor"}],"init":[{"__symbolic":"method"}],"changeCurrentYear":[{"__symbolic":"method"}],"changeCurrentMonth":[{"__symbolic":"method"}],"changeSelectedDate":[{"__symbolic":"method"}],"changeYearLists":[{"__symbolic":"method"}],"setSelectableYears":[{"__symbolic":"method"}],"create":[{"__symbolic":"method"}],"createCalendarWeeks":[{"__symbolic":"method"}],"getWeekNumberOfYearByDate":[{"__symbolic":"method"}],"addADayToCalendarWeek":[{"__symbolic":"method"}],"addPreviousMonthDays":[{"__symbolic":"method"}],"addNextMonthDays":[{"__symbolic":"method"}],"createYearLists":[{"__symbolic":"method"}]}},"ɵd":{"__symbolic":"class","members":{}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":2,"character":1},"arguments":[{"selector":"[clickOutside]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":6,"character":37}]}],"clickOutside":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":9,"character":5}}]}],"onClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":12,"character":5},"arguments":["document:click",["$event","$event.target"]]}]}],"isElementAChildOf":[{"__symbolic":"method"}]}},"ɵf":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}],"get":[{"__symbolic":"method"}],"set":[{"__symbolic":"method"}],"addLabelGroup":[{"__symbolic":"method"}],"setDefaultList":[{"__symbolic":"method"}]}}},"origins":{"NLIDateFieldModule":"./src/datefield.module","DateFieldOptions":"./src/controls/vo/DateFieldOptions","DateRange":"./src/controls/vo/DateRange","DateUtils":"./src/controls/utils/DateUtils","ɵa":"./src/component/nli-datefield","ɵb":"./src/component/nli-datefield","ɵc":"./src/controls/calendar/Calendar","ɵd":"./src/core/ui.component","ɵe":"./src/core/ClickOutsideElement","ɵf":"./src/core/Lang"},"importAs":"@next-level-integration/nli-datefield-lib"} |
{ | ||
"name": "@next-level-integration/nli-datefield-lib", | ||
"version": "9.4.18", | ||
"version": "9.4.19-beta.1", | ||
"description": "NLI-Datefield component", | ||
@@ -5,0 +5,0 @@ "peerDependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1611809
10251
3