@datarailsshared/datarailsshared 1.4.25-tigers → 1.4.26-tigers

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -426,7 +426,7 @@
426
426
  }
427
427
 
428
428
  // @ts-ignore
429
- var moment$9 = require("moment");
429
+ var moment$8 = require("moment");
430
430
  var ForecastTagComponent = /** @class */ (function (_super) {
431
431
  __extends(ForecastTagComponent, _super);
432
432
  function ForecastTagComponent() {
@@ -448,10 +448,10 @@
448
448
  { "value": 11, "label": "11+1" }
449
449
  ];
450
450
  _this.dateFilter = function (date) {
451
- var forecastDate = moment$9.unix(date);
451
+ var forecastDate = moment$8.unix(date);
452
452
  var status = true;
453
453
  _this.lockedDate.forEach(function (timestamp) {
454
- var locked = moment$9.unix(timestamp);
454
+ var locked = moment$8.unix(timestamp);
455
455
  return status = !(locked.month() === forecastDate.month() && locked.year() === forecastDate.year());
456
456
  });
457
457
  return status;
@@ -468,7 +468,7 @@
468
468
  this.forecastValue = this.getFiscalMonthFromDate(dateVal, fiscal_year_starts_from) - 1;
469
469
  var fiscal_year = this.getFiscalYearFromDate(dateVal, fiscal_year_starts_from, fiscal_year_back);
470
470
  console.log("test", dateVal, fiscal_year_starts_from, this.forecastValue, fiscal_year);
471
- this.dateObj.date = moment$9(new Date(fiscal_year, 0, 1)).format("YYYY");
471
+ this.dateObj.date = moment$8(new Date(fiscal_year, 0, 1)).format("YYYY");
472
472
  this.updateLockedDate();
473
473
  };
474
474
  ForecastTagComponent.prototype.updateLockedDate = function () {
@@ -477,7 +477,7 @@
477
477
  var _loop_1 = function (forecastTag) {
478
478
  forecastTag.disable = false;
479
479
  this_1.lockedDate.forEach(function (timestamp) {
480
- var locked = moment$9.unix(timestamp);
480
+ var locked = moment$8.unix(timestamp);
481
481
  if (locked.month() - 1 === forecastTag.value && +locked.year() + 1 === +_this.dateObj.date) {
482
482
  forecastTag.disable = true;
483
483
  }
@@ -586,7 +586,7 @@
586
586
  };
587
587
 
588
588
  // @ts-ignore
589
- var moment$8 = require("moment");
589
+ var moment$7 = require("moment");
590
590
  var MONTH_FORMATS = {
591
591
  parse: {
592
592
  dateInput: "DD-MM-YYYY",
@@ -604,12 +604,12 @@
604
604
  function MonthTagComponent() {
605
605
  var _this = _super.call(this) || this;
606
606
  _this.lockedDate = [];
607
- _this.date = new forms.FormControl(moment$8());
607
+ _this.date = new forms.FormControl(moment$7());
608
608
  _this.dateFilter = function (date) {
609
- var calendarDate = moment$8(date);
609
+ var calendarDate = moment$7(date);
610
610
  var status = true;
611
611
  _this.lockedDate.forEach(function (timestamp) {
612
- var lockDate = moment$8.unix(timestamp);
612
+ var lockDate = moment$7.unix(timestamp);
613
613
  return status = !(lockDate.year() === calendarDate.year() && lockDate.month() === calendarDate.month());
614
614
  });
615
615
  return status;
@@ -618,11 +618,11 @@
618
618
  }
619
619
  MonthTagComponent.prototype.initDate = function () {
620
620
  if (this.defaultValue) {
621
- this.dateObj.date = moment$8(this.defaultValue * 1000).utc().format("YYYY-MM");
622
- this.date = new forms.FormControl(moment$8(this.defaultValue * 1000));
621
+ this.dateObj.date = moment$7(this.defaultValue * 1000).utc().format("YYYY-MM");
622
+ this.date = new forms.FormControl(moment$7(this.defaultValue * 1000));
623
623
  }
624
624
  else {
625
- this.dateObj.date = moment$8(new Date()).format("YYYY-MM");
625
+ this.dateObj.date = moment$7(new Date()).format("YYYY-MM");
626
626
  }
627
627
  };
628
628
  MonthTagComponent.prototype.initName = function () {
@@ -631,7 +631,7 @@
631
631
  }
632
632
  };
633
633
  MonthTagComponent.prototype.chosenTagHandler = function (value) {
634
- var resultDate = moment$8.utc(value);
634
+ var resultDate = moment$7.utc(value);
635
635
  resultDate.hour(12);
636
636
  var resultTag = {
637
637
  name: this.name,
@@ -670,7 +670,7 @@
670
670
  };
671
671
 
672
672
  // @ts-ignore
673
- var moment$7 = require("moment");
673
+ var moment$6 = require("moment");
674
674
  var QuarterTagComponent = /** @class */ (function (_super) {
675
675
  __extends(QuarterTagComponent, _super);
676
676
  function QuarterTagComponent() {
@@ -681,8 +681,8 @@
681
681
  _this.dateFilter = function (date) {
682
682
  var status = true;
683
683
  _this.lockedDate.forEach(function (timestamp) {
684
- var lockDate = moment$7.unix(timestamp);
685
- var quarterDate = moment$7.unix(date.value);
684
+ var lockDate = moment$6.unix(timestamp);
685
+ var quarterDate = moment$6.unix(date.value);
686
686
  if (lockDate.year() === quarterDate.year() && lockDate.month() === quarterDate.month()) {
687
687
  date.disable = true;
688
688
  status = false;
@@ -725,7 +725,7 @@
725
725
  };
726
726
  QuarterTagComponent.prototype.chosenTagHandler = function (value) {
727
727
  var date = new Date(value * 1000);
728
- var resultDate = moment$7.utc(date);
728
+ var resultDate = moment$6.utc(date);
729
729
  var resultTag = {
730
730
  name: this.name,
731
731
  value: parseInt(resultDate.format("X"), 10),
@@ -783,7 +783,7 @@
783
783
  };
784
784
 
785
785
  // @ts-ignore
786
- var moment$6 = require("moment");
786
+ var moment$5 = require("moment");
787
787
  var WEEK_FORMATS = {
788
788
  parse: {
789
789
  dateInput: "WW-YYYY",
@@ -801,13 +801,13 @@
801
801
  function WeekTagComponent() {
802
802
  var _this = _super.call(this) || this;
803
803
  _this.lockedDate = [];
804
- _this.date = new forms.FormControl(moment$6());
804
+ _this.date = new forms.FormControl(moment$5());
805
805
  _this.selectedValue = "";
806
806
  _this.dateFilter = function (date) {
807
- var calendarDate = moment$6(date);
807
+ var calendarDate = moment$5(date);
808
808
  var status = true;
809
809
  _this.lockedDate.forEach(function (timestamp) {
810
- var lockDate = moment$6.unix(timestamp);
810
+ var lockDate = moment$5.unix(timestamp);
811
811
  return status = !(lockDate.week() === calendarDate.week() && lockDate.year() === calendarDate.year());
812
812
  });
813
813
  return status;
@@ -838,7 +838,7 @@
838
838
  }
839
839
  };
840
840
  WeekTagComponent.prototype.chosenDateHandler = function (normalizedDay) {
841
- var date = moment$6(normalizedDay).unix();
841
+ var date = moment$5(normalizedDay).unix();
842
842
  this.chosenTagHandler(date);
843
843
  };
844
844
  WeekTagComponent.prototype.chosenTagHandler = function (value) {
@@ -850,7 +850,7 @@
850
850
  else {
851
851
  date = new Date(value * 1000);
852
852
  }
853
- var resultDate = moment$6(date);
853
+ var resultDate = moment$5(date);
854
854
  var resultTag = {
855
855
  name: this.name,
856
856
  value: parseInt(resultDate.format("X"), 10),
@@ -861,8 +861,8 @@
861
861
  this.dateChange.emit(resultTag);
862
862
  };
863
863
  WeekTagComponent.prototype.getWeekLabel = function (date) {
864
- return "W" + this.pad(moment$6(date).isoWeek(), 2) +
865
- " " + moment$6(date).year();
864
+ return "W" + this.pad(moment$5(date).isoWeek(), 2) +
865
+ " " + moment$5(date).year();
866
866
  };
867
867
  WeekTagComponent.prototype.getUTCTimestamp = function (date) {
868
868
  return Date.UTC(date.getFullYear(), date.getMonth(), date.getDate(), 12, 0, 0, 0);
@@ -875,7 +875,7 @@
875
875
  return date;
876
876
  };
877
877
  WeekTagComponent.prototype.getWeekNumberByDate = function (date) {
878
- return this.pad(moment$6(date).isoWeek(), 2);
878
+ return this.pad(moment$5(date).isoWeek(), 2);
879
879
  };
880
880
  WeekTagComponent.prototype.pad = function (n, width, z) {
881
881
  if (z === void 0) { z = "0"; }
@@ -905,7 +905,7 @@
905
905
  };
906
906
 
907
907
  // @ts-ignore
908
- var moment$5 = require("moment");
908
+ var moment$4 = require("moment");
909
909
  var YEAR_FORMATS = {
910
910
  parse: {
911
911
  dateInput: "YYYY",
@@ -923,12 +923,12 @@
923
923
  function YearTagComponent() {
924
924
  var _this = _super.call(this) || this;
925
925
  _this.lockedDate = [];
926
- _this.date = new forms.FormControl(moment$5());
926
+ _this.date = new forms.FormControl(moment$4());
927
927
  _this.dateFilter = function (date) {
928
- var calendarDateYear = moment$5(date).year();
928
+ var calendarDateYear = moment$4(date).year();
929
929
  var status = true;
930
930
  _this.lockedDate.forEach(function (timestamp) {
931
- var lockDate = moment$5.unix(timestamp);
931
+ var lockDate = moment$4.unix(timestamp);
932
932
  return status = !(lockDate.year() === calendarDateYear);
933
933
  });
934
934
  return status;
@@ -937,11 +937,11 @@
937
937
  }
938
938
  YearTagComponent.prototype.initDate = function () {
939
939
  if (this.defaultValue) {
940
- this.dateObj.date = moment$5(new Date(this.defaultValue * 1000)).utc().format("YYYY");
941
- this.date = new forms.FormControl(moment$5(this.defaultValue * 1000));
940
+ this.dateObj.date = moment$4(new Date(this.defaultValue * 1000)).utc().format("YYYY");
941
+ this.date = new forms.FormControl(moment$4(this.defaultValue * 1000));
942
942
  }
943
943
  else {
944
- this.dateObj.date = moment$5(new Date()).format("YYYY");
944
+ this.dateObj.date = moment$4(new Date()).format("YYYY");
945
945
  }
946
946
  };
947
947
  YearTagComponent.prototype.initName = function () {
@@ -951,10 +951,10 @@
951
951
  };
952
952
  YearTagComponent.prototype.chosenTagHandler = function (value) {
953
953
  var date = new Date();
954
- var year = moment$5(value).year();
954
+ var year = moment$4(value).year();
955
955
  date.setTime(0);
956
956
  date.setFullYear(year, 0, 1);
957
- var resultDate = moment$5.utc(date);
957
+ var resultDate = moment$4.utc(date);
958
958
  resultDate.hour(12);
959
959
  var resultTag = {
960
960
  name: this.name,
@@ -1048,7 +1048,7 @@
1048
1048
  tagChange: [{ type: i0.Output }]
1049
1049
  };
1050
1050
 
1051
- var moment$4 = momentImported__namespace;
1051
+ var moment$3 = momentImported__namespace;
1052
1052
  var ListTagComponent = /** @class */ (function () {
1053
1053
  function ListTagComponent() {
1054
1054
  this.defaultValue = "";
@@ -1089,7 +1089,7 @@
1089
1089
  };
1090
1090
 
1091
1091
  // @ts-ignore
1092
- var moment$3 = require("moment");
1092
+ var moment$2 = require("moment");
1093
1093
  var DAY_FORMATS = {
1094
1094
  parse: {
1095
1095
  dateInput: "DD-MM-YYYY",
@@ -1107,9 +1107,9 @@
1107
1107
  function DayTagComponent() {
1108
1108
  var _this = _super.call(this) || this;
1109
1109
  _this.lockedDate = [];
1110
- _this.date = new forms.FormControl(moment$3());
1110
+ _this.date = new forms.FormControl(moment$2());
1111
1111
  _this.dateFilter = function (date) {
1112
- var calendarDate = moment$3(date).unix();
1112
+ var calendarDate = moment$2(date).unix();
1113
1113
  var status = true;
1114
1114
  _this.lockedDate.forEach(function (timestamp) {
1115
1115
  return status = !(timestamp === calendarDate);
@@ -1119,10 +1119,10 @@
1119
1119
  return _this;
1120
1120
  }
1121
1121
  DayTagComponent.prototype.initDate = function () {
1122
- var utcOffsetInMilliseconds = moment$3().utcOffset() * 60 * 1000;
1123
- this.dateObj.date = moment$3(moment$3().valueOf() + utcOffsetInMilliseconds);
1122
+ var utcOffsetInMilliseconds = moment$2().utcOffset() * 60 * 1000;
1123
+ this.dateObj.date = moment$2(moment$2().valueOf() + utcOffsetInMilliseconds);
1124
1124
  if (this.defaultValue) {
1125
- this.dateObj.date = moment$3(new Date(this.defaultValue * 1000)).utc();
1125
+ this.dateObj.date = moment$2(new Date(this.defaultValue * 1000)).utc();
1126
1126
  this.date.setValue(this.dateObj.date);
1127
1127
  }
1128
1128
  };
@@ -1132,11 +1132,11 @@
1132
1132
  }
1133
1133
  };
1134
1134
  DayTagComponent.prototype.chosenTagHandler = function (value) {
1135
- var date = moment$3(value).unix();
1135
+ var date = moment$2(value).unix();
1136
1136
  var resultTag = {
1137
1137
  name: this.name,
1138
1138
  value: date,
1139
- label: moment$3.unix(date).format("MM/DD/YYYY"),
1139
+ label: moment$2.unix(date).format("MM/DD/YYYY"),
1140
1140
  locked: !this.dateFilter(value)
1141
1141
  };
1142
1142
  console.log("resultTag", resultTag);
@@ -3455,18 +3455,21 @@
3455
3455
  ngModelDebounceChange: [{ type: i0.Output }]
3456
3456
  };
3457
3457
 
3458
- var MAT_DEFAULT_DATE_FORMAT = 'MM/DD/yyyy';
3459
- var DATE_INPUT_FORMAT = 'YYYY/MM/DD';
3460
- var YEAR_FORMAT = 'yyyy';
3461
- var MONTH_YEAR_FORMAT = 'MM/yyyy';
3462
- var QUARTER_FORMAT = 'Q/yyyy';
3458
+ exports.DateFromats = void 0;
3459
+ (function (DateFromats) {
3460
+ DateFromats["MAT_DEFAULT_DATE_FORMAT"] = "MM/DD/yyyy";
3461
+ DateFromats["DATE_INPUT_FORMAT"] = "YYYY/MM/DD";
3462
+ DateFromats["YEAR_FORMAT"] = "yyyy";
3463
+ DateFromats["MONTH_YEAR_FORMAT"] = "MM/yyyy";
3464
+ DateFromats["QUARTER_FORMAT"] = "Q/yyyy";
3465
+ })(exports.DateFromats || (exports.DateFromats = {}));
3463
3466
  var CustomDateFormat = /** @class */ (function () {
3464
3467
  function CustomDateFormat() {
3465
3468
  this._parse = {
3466
- dateInput: DATE_INPUT_FORMAT
3469
+ dateInput: exports.DateFromats.DATE_INPUT_FORMAT,
3467
3470
  };
3468
3471
  this._display = {
3469
- dateInput: DATE_INPUT_FORMAT,
3472
+ dateInput: exports.DateFromats.DATE_INPUT_FORMAT,
3470
3473
  monthYearLabel: 'MMM YYYY',
3471
3474
  dateA11yLabel: 'LL',
3472
3475
  monthYearA11yLabel: 'MMM YYYY',
@@ -3510,6 +3513,20 @@
3510
3513
  DatePickerPeriodPosition[DatePickerPeriodPosition["START_OF_PERIOD"] = 2] = "START_OF_PERIOD";
3511
3514
  DatePickerPeriodPosition[DatePickerPeriodPosition["DEFAULT"] = 3] = "DEFAULT";
3512
3515
  })(exports.DatePickerPeriodPosition || (exports.DatePickerPeriodPosition = {}));
3516
+ exports.TimeframeOption = void 0;
3517
+ (function (TimeframeOption) {
3518
+ TimeframeOption["DAY"] = "day";
3519
+ TimeframeOption["MONTH"] = "month";
3520
+ TimeframeOption["QUARTER"] = "quarter";
3521
+ TimeframeOption["YEAR"] = "year";
3522
+ })(exports.TimeframeOption || (exports.TimeframeOption = {}));
3523
+ exports.CalendarView = void 0;
3524
+ (function (CalendarView) {
3525
+ CalendarView["FOR_DAYS"] = "month";
3526
+ CalendarView["FOR_MONTHS"] = "year";
3527
+ CalendarView["FOR_QUARTERS"] = "none";
3528
+ CalendarView["FOR_YEARS"] = "multi-year";
3529
+ })(exports.CalendarView || (exports.CalendarView = {}));
3513
3530
 
3514
3531
  var components$2 = [DateTagComponent,
3515
3532
  DayTagComponent,
@@ -3591,38 +3608,37 @@
3591
3608
  },] }
3592
3609
  ];
3593
3610
 
3594
- var moment$2 = require('moment');
3595
3611
  var DrDatePickerService = /** @class */ (function () {
3596
3612
  function DrDatePickerService() {
3597
3613
  this.isTimeframeSelectionEnabled = false;
3598
- this.timeframe = 'day';
3599
- this.format$ = new rxjs.BehaviorSubject(MAT_DEFAULT_DATE_FORMAT);
3614
+ this.timeframe = exports.TimeframeOption.DAY;
3615
+ this.format$ = new rxjs.BehaviorSubject(exports.DateFromats.MAT_DEFAULT_DATE_FORMAT);
3600
3616
  this.updatedQuarter$ = new rxjs.Subject();
3601
3617
  this.formatConfig = {
3602
- day: MAT_DEFAULT_DATE_FORMAT,
3603
- month: MONTH_YEAR_FORMAT,
3604
- year: YEAR_FORMAT,
3605
- quarter: QUARTER_FORMAT,
3618
+ day: exports.DateFromats.MAT_DEFAULT_DATE_FORMAT,
3619
+ month: exports.DateFromats.MONTH_YEAR_FORMAT,
3620
+ year: exports.DateFromats.YEAR_FORMAT,
3621
+ quarter: exports.DateFromats.QUARTER_FORMAT,
3606
3622
  };
3607
3623
  }
3608
3624
  DrDatePickerService.prototype.getQuarterDisplay = function (value) {
3609
- return 'Q' + moment$2(value).quarter() + this.format$.getValue().charAt(1) + moment$2(value).year();
3625
+ return 'Q' + value.quarter() + this.format$.getValue().charAt(1) + value.year();
3610
3626
  };
3611
3627
  DrDatePickerService.prototype.getTimeframe = function (format) {
3612
- var defaultFrame = 'day';
3628
+ var defaultFrame = exports.TimeframeOption.DAY;
3613
3629
  if (!format) {
3614
3630
  return defaultFrame;
3615
3631
  }
3616
3632
  var lowerCaseFormat = format.toLowerCase();
3617
3633
  switch (true) {
3618
3634
  case lowerCaseFormat.includes('q'):
3619
- return 'quarter';
3635
+ return exports.TimeframeOption.QUARTER;
3620
3636
  case lowerCaseFormat.includes('d'):
3621
- return 'day';
3637
+ return exports.TimeframeOption.DAY;
3622
3638
  case lowerCaseFormat.includes('m'):
3623
- return 'month';
3639
+ return exports.TimeframeOption.MONTH;
3624
3640
  case lowerCaseFormat.includes('y'):
3625
- return 'year';
3641
+ return exports.TimeframeOption.YEAR;
3626
3642
  default:
3627
3643
  return defaultFrame;
3628
3644
  }
@@ -3647,6 +3663,7 @@
3647
3663
  var moment$1 = require('moment');
3648
3664
  var DrDatePickerCustomHeaderComponent = /** @class */ (function () {
3649
3665
  function DrDatePickerCustomHeaderComponent(_calendar, _dateAdapter, _dateFormats, cdr, datePickerService) {
3666
+ var _a;
3650
3667
  var _this = this;
3651
3668
  this._calendar = _calendar;
3652
3669
  this._dateAdapter = _dateAdapter;
@@ -3658,24 +3675,24 @@
3658
3675
  this.selectedQuarter = 1;
3659
3676
  this.timeframeOptions = [{
3660
3677
  title: 'Day',
3661
- value: 'month',
3678
+ value: exports.CalendarView.FOR_DAYS,
3662
3679
  format: this.datePickerService.formatConfig.day,
3663
3680
  periodLabel: function () { return _this._dateAdapter
3664
3681
  .format(_this._calendar.activeDate, _this._dateFormats.display.monthYearLabel)
3665
3682
  .toLocaleUpperCase(); }
3666
3683
  }, {
3667
3684
  title: 'Month',
3668
- value: 'year',
3685
+ value: exports.CalendarView.FOR_MONTHS,
3669
3686
  format: this.datePickerService.formatConfig.month,
3670
3687
  periodLabel: function () { return String(moment$1(_this._calendar.activeDate).year()); }
3671
3688
  }, {
3672
3689
  title: 'Quarter',
3673
- value: 'none',
3690
+ value: exports.CalendarView.FOR_QUARTERS,
3674
3691
  format: this.datePickerService.formatConfig.quarter,
3675
3692
  periodLabel: function () { return String(moment$1(_this._calendar.activeDate).year()); }
3676
3693
  }, {
3677
3694
  title: 'Year',
3678
- value: 'multi-year',
3695
+ value: exports.CalendarView.FOR_YEARS,
3679
3696
  format: this.datePickerService.formatConfig.year,
3680
3697
  periodLabel: function () {
3681
3698
  var currentYear = moment$1(_this._calendar.activeDate).year();
@@ -3683,16 +3700,17 @@
3683
3700
  return startPeriod + '-' + (startPeriod + 23);
3684
3701
  }
3685
3702
  }];
3686
- this.pagingSetup = {
3687
- 'year': function (forward) { return _this.pagingDateChange('addCalendarYears', 1, forward); },
3688
- 'none': function (forward) { return _this.pagingDateChange('addCalendarYears', 1, forward); },
3689
- 'month': function (forward) { return _this.pagingDateChange('addCalendarMonths', 1, forward); },
3690
- 'multi-year': function (forward) { return _this.pagingDateChange('addCalendarYears', 24, forward); }
3691
- };
3692
- this.selectedTimeframe = 'month';
3703
+ this.pagingSetup = (_a = {},
3704
+ _a[exports.CalendarView.FOR_MONTHS] = function (forward) { return _this.pagingDateChange('addCalendarYears', 1, forward); },
3705
+ _a[exports.CalendarView.FOR_QUARTERS] = function (forward) { return _this.pagingDateChange('addCalendarYears', 1, forward); },
3706
+ _a[exports.CalendarView.FOR_DAYS] = function (forward) { return _this.pagingDateChange('addCalendarMonths', 1, forward); },
3707
+ _a[exports.CalendarView.FOR_YEARS] = function (forward) { return _this.pagingDateChange('addCalendarYears', 24, forward); },
3708
+ _a);
3709
+ this.selectedTimeframe = exports.CalendarView.FOR_DAYS;
3693
3710
  this.timeframeSelection = false;
3694
3711
  this.periodMonthLabel = '';
3695
3712
  this.periodYearLabel = '';
3713
+ this.calendarView = exports.CalendarView;
3696
3714
  _calendar.stateChanges.pipe(operators.takeUntil(this._destroyed)).subscribe(function () { return _this.setPeriodLabels(); });
3697
3715
  this.datePickerService.format$
3698
3716
  .pipe(operators.take(1))
@@ -3726,13 +3744,13 @@
3726
3744
  this._calendar.currentView = this.selectedTimeframe;
3727
3745
  var chosenTimeframeOption = this.timeframeOptions.filter(function (option) { return option.value === _this.selectedTimeframe; })[0];
3728
3746
  this.datePickerService.updateTimeframeAndFormat(chosenTimeframeOption.format);
3729
- if (this.selectedTimeframe == 'none') {
3747
+ if (this.selectedTimeframe === exports.CalendarView.FOR_QUARTERS) {
3730
3748
  this.selectedQuarter = moment$1(this._calendar.activeDate).quarter();
3731
3749
  }
3732
3750
  };
3733
3751
  Object.defineProperty(DrDatePickerCustomHeaderComponent.prototype, "currentViewIsQuarter", {
3734
3752
  get: function () {
3735
- return !['month', 'year', 'multi-year'].includes(this._calendar.currentView);
3753
+ return ![exports.CalendarView.FOR_DAYS, exports.CalendarView.FOR_MONTHS, exports.CalendarView.FOR_YEARS].includes(this._calendar.currentView);
3736
3754
  },
3737
3755
  enumerable: false,
3738
3756
  configurable: true
@@ -3760,7 +3778,7 @@
3760
3778
  DrDatePickerCustomHeaderComponent.decorators = [
3761
3779
  { type: i0.Component, args: [{
3762
3780
  selector: 'dr-date-picker_custom-header.component',
3763
- template: "<div *ngIf=\"datePickerService.isTimeframeSelectionEnabled\" class=\"dr-datepicker__timeframe-select__wrapper\">\n <dr-select\n class=\"dr-datepicker__timeframe-select\"\n [(ngModel)]=\"selectedTimeframe\"\n [items]=\"timeframeOptions\"\n bindLabel=\"title\"\n bindValue=\"value\"\n (ngModelChange)=\"setTimeframe()\">\n </dr-select>\n</div>\n\n<div class=\"dr-date-paging\">\n <div class=\"dr-date-paging flip-page-button\"\n (click)=\"pagingClicked(false)\">\n <i class=\"dr-icon-arrow-left presentation_buttons-navigate_input\"></i>\n </div>\n <span class=\"example-header-label\">\n <span (click)=\"switchViewOnClickOnPeriodLabel('year')\">{{periodMonthLabel + ' '}}</span>\n <span (click)=\"switchViewOnClickOnPeriodLabel('multi-year')\">{{periodYearLabel}}</span>\n </span>\n <div class=\"dr-date-paging flip-page-button\"\n (click)=\"pagingClicked(true)\">\n <i class=\"dr-icon-arrow-right presentation_buttons-navigate_input\"></i>\n </div>\n</div>\n<div #quarterlyDatePicker class=\"dr-quarterly-datepicker\" *ngIf=\"currentViewIsQuarter\">\n <div *ngFor=\"let quarter of quarters\"\n class=\"quarter-selector\" (click)=\"onSelectQuarter(quarter)\"\n [class]=\"quarter == selectedQuarter ? 'selected' : ''\"\n >Q{{quarter}}</div>\n</div>\n\n",
3781
+ template: "<div *ngIf=\"datePickerService.isTimeframeSelectionEnabled\" class=\"dr-datepicker__timeframe-select__wrapper\">\n <dr-select\n class=\"dr-datepicker__timeframe-select\"\n [(ngModel)]=\"selectedTimeframe\"\n [items]=\"timeframeOptions\"\n bindLabel=\"title\"\n bindValue=\"value\"\n (ngModelChange)=\"setTimeframe()\">\n </dr-select>\n</div>\n\n<div class=\"dr-date-paging\">\n <div class=\"dr-date-paging flip-page-button\"\n (click)=\"pagingClicked(false)\">\n <i class=\"dr-icon-arrow-left presentation_buttons-navigate_input\"></i>\n </div>\n <span class=\"example-header-label\">\n <span (click)=\"switchViewOnClickOnPeriodLabel(calendarView.FOR_MONTHS)\">{{periodMonthLabel + ' '}}</span>\n <span (click)=\"switchViewOnClickOnPeriodLabel(calendarView.FOR_YEARS)\">{{periodYearLabel}}</span>\n </span>\n <div class=\"dr-date-paging flip-page-button\"\n (click)=\"pagingClicked(true)\">\n <i class=\"dr-icon-arrow-right presentation_buttons-navigate_input\"></i>\n </div>\n</div>\n<div #quarterlyDatePicker class=\"dr-quarterly-datepicker\" *ngIf=\"currentViewIsQuarter\">\n <div *ngFor=\"let quarter of quarters\"\n class=\"quarter-selector\" (click)=\"onSelectQuarter(quarter)\"\n [class]=\"quarter == selectedQuarter ? 'selected' : ''\"\n >Q{{quarter}}</div>\n</div>\n\n",
3764
3782
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
3765
3783
  styles: [":host{height:54px;align-items:center;font-family:\"Poppins\";font-style:normal;font-weight:600;font-size:14px;line-height:22px}.dr-datepicker__timeframe-select__wrapper{background-color:#f9faff;padding:16px 32px;border-radius:18px 18px 0 0}.dr-date-paging{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:16px 8px;grid-gap:4px;gap:4px}.dr-date-paging.flip-page-button{width:20px;height:20px;padding:0;color:#4e566c}.dr-date-paging.flip-page-button:hover{border-radius:50%;background:#F2F2FB;color:#4646ce}.example-header-label{cursor:pointer}.dr-quarterly-datepicker{display:flex;justify-content:space-between;padding:10px}.dr-quarterly-datepicker .quarter-selector{display:block;width:74px;height:40px;text-align:center;border-radius:40px;font-weight:400;padding-top:9px}.dr-quarterly-datepicker .quarter-selector:hover{background:#F2F2FB;color:#4646ce;font-weight:600;cursor:pointer}.dr-quarterly-datepicker .quarter-selector.selected{background-color:#4646ce;color:#f3f7ff;font-weight:600}\n"]
3766
3784
  },] }
@@ -3793,6 +3811,7 @@
3793
3811
  };
3794
3812
  this.customHeader = DrDatePickerCustomHeaderComponent;
3795
3813
  this.readonly = true;
3814
+ this.timeframeOption = exports.TimeframeOption;
3796
3815
  this.innerValue = null;
3797
3816
  this.destroyed$ = new rxjs.Subject();
3798
3817
  this.onTouchedCallback = noop;
@@ -3838,8 +3857,8 @@
3838
3857
  configurable: true
3839
3858
  });
3840
3859
  DrDatePickerComponent.prototype.ngAfterViewInit = function () {
3841
- this.datePickerService.calendarInstance = this.dp;
3842
- this.dp.startView = this.calendarViewsTimeframeMapping[this.datePickerService.timeframe];
3860
+ this.datePickerService.calendarInstance = this.datePicker;
3861
+ this.datePicker.startView = this.calendarViewsTimeframeMapping[this.datePickerService.timeframe];
3843
3862
  };
3844
3863
  DrDatePickerComponent.prototype.ngOnDestroy = function () {
3845
3864
  this.destroyed$.next();
@@ -3872,7 +3891,7 @@
3872
3891
  DrDatePickerComponent.prototype.chosenPeriodHandler = function (chosenDate, timeframe) {
3873
3892
  if (this.datePickerService.timeframe === timeframe) {
3874
3893
  this.setValueFromMoment(chosenDate);
3875
- this.dp.close();
3894
+ this.datePicker.close();
3876
3895
  }
3877
3896
  };
3878
3897
  /**
@@ -3911,7 +3930,7 @@
3911
3930
  DrDatePickerComponent.decorators = [
3912
3931
  { type: i0.Component, args: [{
3913
3932
  selector: 'dr-date-picker',
3914
- template: "<i class=\"dr-icon-schedule\"></i>\n<input [(ngModel)]=\"value\"\n (click)=\"datePicker.open()\"\n [matDatepicker]=\"datePicker\"\n [placeholder]=\"placeholder\"\n [drDatePickerFormat]=\"datePickerService.format$ | async\"\n [readonly]=\"readonly\"\n [min]=\"_min\"\n [max]=\"_max\"/>\n<mat-datepicker #datePicker\n [calendarHeaderComponent]=\"customHeader\"\n (yearSelected)=\"chosenPeriodHandler($event, 'year')\"\n (monthSelected)=\"chosenPeriodHandler($event, 'month')\">\n</mat-datepicker>\n",
3933
+ template: "<i class=\"dr-icon-schedule\"></i>\n<input [(ngModel)]=\"value\"\n (click)=\"datePicker.open()\"\n [matDatepicker]=\"datePicker\"\n [placeholder]=\"placeholder\"\n [drDatePickerFormat]=\"datePickerService.format$ | async\"\n [readonly]=\"readonly\"\n [min]=\"_min\"\n [max]=\"_max\"/>\n<mat-datepicker #datePicker\n [calendarHeaderComponent]=\"customHeader\"\n (yearSelected)=\"chosenPeriodHandler($event, timeframeOption.YEAR)\"\n (monthSelected)=\"chosenPeriodHandler($event, timeframeOption.MONTH)\">\n</mat-datepicker>\n",
3915
3934
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
3916
3935
  providers: [
3917
3936
  { provide: forms.NG_VALUE_ACCESSOR, useExisting: DrDatePickerComponent, multi: true },
@@ -3931,24 +3950,25 @@
3931
3950
  max: [{ type: i0.Input }],
3932
3951
  periodPosition: [{ type: i0.Input }],
3933
3952
  placeholder: [{ type: i0.Input }],
3934
- dp: [{ type: i0.ViewChild, args: ['datePicker',] }]
3953
+ datePicker: [{ type: i0.ViewChild, args: ['datePicker',] }]
3935
3954
  };
3936
3955
 
3937
3956
  var DrDatePickerWithTimeframeComponent = /** @class */ (function (_super) {
3938
3957
  __extends(DrDatePickerWithTimeframeComponent, _super);
3939
3958
  function DrDatePickerWithTimeframeComponent(cdr, dateAdapter, datePickerService) {
3959
+ var _b;
3940
3960
  var _this = _super.call(this, cdr, dateAdapter, datePickerService) || this;
3941
3961
  _this.cdr = cdr;
3942
3962
  _this.dateAdapter = dateAdapter;
3943
3963
  _this.datePickerService = datePickerService;
3944
3964
  _this.isDashboardDatepicker = false;
3945
3965
  _this.onChangeFormat = new i0.EventEmitter();
3946
- _this.pagingSetup = {
3947
- 'year': function (forward) { return _this.pagingDateChange('addCalendarYears', 1, forward); },
3948
- 'quarter': function (forward) { return _this.pagingDateChange('addCalendarMonths', 3, forward); },
3949
- 'month': function (forward) { return _this.pagingDateChange('addCalendarMonths', 1, forward); },
3950
- 'day': function (forward) { return _this.pagingDateChange('addCalendarDays', 1, forward); }
3951
- };
3966
+ _this.pagingSetup = (_b = {},
3967
+ _b[exports.TimeframeOption.YEAR] = function (forward) { return _this.pagingDateChange('addCalendarYears', 1, forward); },
3968
+ _b[exports.TimeframeOption.QUARTER] = function (forward) { return _this.pagingDateChange('addCalendarMonths', 3, forward); },
3969
+ _b[exports.TimeframeOption.MONTH] = function (forward) { return _this.pagingDateChange('addCalendarMonths', 1, forward); },
3970
+ _b[exports.TimeframeOption.DAY] = function (forward) { return _this.pagingDateChange('addCalendarDays', 1, forward); },
3971
+ _b);
3952
3972
  datePickerService.isTimeframeSelectionEnabled = true;
3953
3973
  datePickerService.format$
3954
3974
  .pipe(operators.takeUntil(_this.destroyed$))
@@ -3965,9 +3985,15 @@
3965
3985
  configurable: true
3966
3986
  });
3967
3987
  ;
3968
- Object.defineProperty(DrDatePickerWithTimeframeComponent.prototype, "quarterDisplay", {
3988
+ Object.defineProperty(DrDatePickerWithTimeframeComponent.prototype, "displayedFormattedValue", {
3969
3989
  get: function () {
3970
- return this.datePickerService.getQuarterDisplay(this.value);
3990
+ var _a;
3991
+ if (!this.value) {
3992
+ return this.placeholder;
3993
+ }
3994
+ return ((_a = this.datePickerService.format$.getValue()) === null || _a === void 0 ? void 0 : _a.includes('Q'))
3995
+ ? this.datePickerService.getQuarterDisplay(this.value)
3996
+ : this.value.format(this.datePickerService.format$.getValue());
3971
3997
  },
3972
3998
  enumerable: false,
3973
3999
  configurable: true
@@ -3979,7 +4005,7 @@
3979
4005
  };
3980
4006
  DrDatePickerWithTimeframeComponent.prototype.pagingClicked = function (forward) {
3981
4007
  this.pagingSetup[this.datePickerService.timeframe] && this.pagingSetup[this.datePickerService.timeframe](forward);
3982
- this.dp.close();
4008
+ this.datePicker.close();
3983
4009
  };
3984
4010
  DrDatePickerWithTimeframeComponent.prototype.pagingDateChange = function (actionCall, amount, forward) {
3985
4011
  var newValue = this.dateAdapter[actionCall](this.innerValue, forward ? amount : -amount);
@@ -3990,13 +4016,13 @@
3990
4016
  DrDatePickerWithTimeframeComponent.decorators = [
3991
4017
  { type: i0.Component, args: [{
3992
4018
  selector: 'dr-date-picker-with-timeframe',
3993
- template: "<div class=\"dr-input-date-paging__flip-page-button\"\n (click)=\"pagingClicked(false)\"\n>\n <i class=\"dr-icon-arrow-left presentation_buttons-navigate_input\"></i>\n</div>\n<div class=\"dr-datepicker__input-container\">\n <i *ngIf=\"isDashboardDatepicker\" class=\"dr-icon-date\"></i>\n <div\n class=\"dr-input-date-paging__formatted-value-display\"\n (click)=\"datepickerInput.click()\"\n >\n {{\n !value\n ? placeholder\n : (datePickerService.format$.getValue()?.includes('Q') ? quarterDisplay : value.format(datePickerService.format$.getValue()))\n }}\n </div>\n <input\n #datepickerInput\n [(ngModel)]=\"value\"\n (click)=\"datePicker.open()\"\n [matDatepicker]=\"datePicker\"\n [readonly]=\"readonly\"\n [min]=\"_min\"\n [max]=\"_max\"\n />\n</div>\n<div class=\"dr-input-date-paging__flip-page-button\"\n (click)=\"pagingClicked(true)\">\n <i class=\"dr-icon-arrow-right presentation_buttons-navigate_input\"></i>\n</div>\n<mat-datepicker #datePicker\n class=\"dr-timeframe-datepicker\"\n [calendarHeaderComponent]=\"customHeader\"\n (yearSelected)=\"chosenPeriodHandler($event, 'year')\"\n (monthSelected)=\"chosenPeriodHandler($event, 'month')\">\n</mat-datepicker>\n",
4019
+ template: "<dr-button theme=\"icon\" icon=\"dr-icon-arrow-left\" (click)=\"pagingClicked(false)\"></dr-button>\n<div class=\"dr-datepicker-input-container\">\n <i *ngIf=\"isDashboardDatepicker\" class=\"dr-icon-date\"></i>\n <div\n class=\"dr-datepicker-input-container__formatted-value-display\"\n (click)=\"datepickerInput.click()\"\n >\n {{ displayedFormattedValue }}\n </div>\n <input\n #datepickerInput\n [(ngModel)]=\"value\"\n (click)=\"datePicker.open()\"\n [matDatepicker]=\"datePicker\"\n [readonly]=\"readonly\"\n [min]=\"_min\"\n [max]=\"_max\"\n />\n</div>\n<dr-button theme=\"icon\" icon=\"dr-icon-arrow-right\" (click)=\"pagingClicked(true)\"></dr-button>\n<mat-datepicker #datePicker\n class=\"dr-timeframe-datepicker\"\n [calendarHeaderComponent]=\"customHeader\"\n (yearSelected)=\"chosenPeriodHandler($event, timeframeOption.YEAR)\"\n (monthSelected)=\"chosenPeriodHandler($event, timeframeOption.MONTH)\">\n</mat-datepicker>\n",
3994
4020
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
3995
4021
  providers: [
3996
4022
  { provide: forms.NG_VALUE_ACCESSOR, useExisting: DrDatePickerWithTimeframeComponent, multi: true },
3997
4023
  { provide: DrDatePickerService }
3998
4024
  ],
3999
- styles: [":host{position:relative;width:100%;display:flex;flex-direction:row;min-height:32px;height:32px;font-size:14px;font-family:\"Poppins\",sans-serif;background-color:#fff;border:1px solid #C3C4CE;border-radius:6px;color:#85889c;overflow:hidden;outline:none;cursor:pointer}:host:hover{border-color:#85889c}:host:focus-within{border-color:#21b8f1!important;color:#151b3f}:host.disabled{pointer-events:none;border:none;color:#85889c;background:#E5E6EA}:host.ng-valid.ng-dirty{border-color:#03a678}:host.ng-invalid.ng-dirty:not(:focus-within){border-color:#de2833!important}:host.ng-untouched.ng-valid{border-color:#c3c4ce}:host:after,:host:before{position:absolute;display:flex;border-color:#999999 transparent transparent;color:#999}:host:after{content:\"\";height:0;width:0;border-style:solid;border-width:5px 5px 2.5px;right:11px;top:13px}:host i{position:absolute;color:#999;left:8px;top:3px}:host input{display:flex;flex-grow:1;height:100%;border:none;text-align:left;padding-left:35px;padding-right:25px;cursor:pointer!important;outline:none}:host input.when-quarter{position:absolute;visibility:hidden}:host input:disabled{border:none;color:#85889c;background:transparent}:host input::-webkit-search-decoration,:host input::-webkit-search-cancel-button,:host input::-webkit-search-results-button,:host input::-webkit-search-results-decoration{-webkit-appearance:none}::ng-deep .mat-datepicker-content{margin:7px 0;box-shadow:0 4px 8px 1px #00000040;border-radius:12px!important}::ng-deep .mat-datepicker-content button[disabled]{border:inherit;color:inherit;background-color:inherit}::ng-deep .mat-datepicker-content button[disabled]:hover{border:inherit}::ng-deep .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background:#F2F2FB;color:#4646ce;font-weight:600}::ng-deep .mat-calendar-body-selected{background-color:#4646ce;color:#f2f2fb;font-weight:600}::ng-deep .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:none}::ng-deep .mat-button-focus-overlay{background:#F3F7FF}::ng-deep .mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:1!important;background:#F3F7FF;transition:opacity .2s cubic-bezier(.35,0,.25,1)}::ng-deep .mat-calendar-controls .mat-calendar-period-button:hover{background:#F3F7FF;transition:background .2s cubic-bezier(.35,0,.25,1)}::ng-deep .mat-calendar-table-header th{font-size:14px;font-weight:600;color:#19181a}::ng-deep .mat-calendar-table-header-divider{display:none}::ng-deep .mat-calendar-body-label{color:#fff;padding:0}:host{border:none;display:flex;align-items:center}:host.dr-date-picker-on-dashboard{width:180px;justify-content:space-between}:host.dr-date-picker-on-dashboard mat-datepicker{position:absolute}:host.dr-date-picker-on-dashboard .dr-datepicker__input-container{display:flex;flex-direction:row;justify-content:center;align-items:center;margin-left:-10px}:host.dr-date-picker-on-dashboard .dr-datepicker__input-container .dr-input-date-paging__formatted-value-display{font-weight:600;width:auto;margin-left:5px}:host.dr-date-picker-on-dashboard .dr-datepicker__input-container .dr-icon-date{display:block;position:relative;top:0;margin-right:8px;color:#4e566c}:host .dr-input-date-paging__flip-page-button{width:25px;height:25px;border-radius:16px;padding:0;background-color:#fff}:host .dr-input-date-paging__flip-page-button i{position:relative;color:#0c142b;top:unset;left:unset}:host .dr-input-date-paging__flip-page-button:hover{background-color:#f2f2fb;color:#4646ce}:host input{visibility:hidden;position:absolute;width:100%}:host .dr-input-date-paging__formatted-value-display{width:90px;height:22px;padding-left:0;text-align:center;line-height:22px;color:#0c142b;-webkit-text-decoration-line:underline;text-decoration-line:underline}:host .dr-input-date-paging__formatted-value-display:hover{background-color:#f2f2fb;border-radius:5px;cursor:pointer;-webkit-text-decoration-line:underline;text-decoration-line:underline;color:#4646ce}\n"]
4025
+ styles: [":host{position:relative;width:100%;display:flex;flex-direction:row;min-height:32px;height:32px;font-size:14px;font-family:\"Poppins\",sans-serif;background-color:#fff;border:1px solid #C3C4CE;border-radius:6px;color:#85889c;overflow:hidden;outline:none;cursor:pointer}:host:hover{border-color:#85889c}:host:focus-within{border-color:#21b8f1!important;color:#151b3f}:host.disabled{pointer-events:none;border:none;color:#85889c;background:#E5E6EA}:host.ng-valid.ng-dirty{border-color:#03a678}:host.ng-invalid.ng-dirty:not(:focus-within){border-color:#de2833!important}:host.ng-untouched.ng-valid{border-color:#c3c4ce}:host:after,:host:before{position:absolute;display:flex;border-color:#999999 transparent transparent;color:#999}:host:after{content:\"\";height:0;width:0;border-style:solid;border-width:5px 5px 2.5px;right:11px;top:13px}:host i{position:absolute;color:#999;left:8px;top:3px}:host input{display:flex;flex-grow:1;height:100%;border:none;text-align:left;padding-left:35px;padding-right:25px;cursor:pointer!important;outline:none}:host input.when-quarter{position:absolute;visibility:hidden}:host input:disabled{border:none;color:#85889c;background:transparent}:host input::-webkit-search-decoration,:host input::-webkit-search-cancel-button,:host input::-webkit-search-results-button,:host input::-webkit-search-results-decoration{-webkit-appearance:none}::ng-deep .mat-datepicker-content{margin:7px 0;box-shadow:0 4px 8px 1px #00000040;border-radius:12px!important}::ng-deep .mat-datepicker-content button[disabled]{border:inherit;color:inherit;background-color:inherit}::ng-deep .mat-datepicker-content button[disabled]:hover{border:inherit}::ng-deep .mat-calendar-body-cell:not(.mat-calendar-body-disabled):hover>.mat-calendar-body-cell-content:not(.mat-calendar-body-selected):not(.mat-calendar-body-comparison-identical){background:#F2F2FB;color:#4646ce;font-weight:600}::ng-deep .mat-calendar-body-selected{background-color:#4646ce;color:#f2f2fb;font-weight:600}::ng-deep .mat-calendar-body-today.mat-calendar-body-selected{box-shadow:none}::ng-deep .mat-button-focus-overlay{background:#F3F7FF}::ng-deep .mat-calendar-controls .mat-icon-button:hover .mat-button-focus-overlay{opacity:1!important;background:#F3F7FF;transition:opacity .2s cubic-bezier(.35,0,.25,1)}::ng-deep .mat-calendar-controls .mat-calendar-period-button:hover{background:#F3F7FF;transition:background .2s cubic-bezier(.35,0,.25,1)}::ng-deep .mat-calendar-table-header th{font-size:14px;font-weight:600;color:#19181a}::ng-deep .mat-calendar-table-header-divider{display:none}::ng-deep .mat-calendar-body-label{color:#fff;padding:0}:host{border:none;display:flex;align-items:center}:host.dr-date-picker-on-dashboard{width:180px;justify-content:space-between}:host.dr-date-picker-on-dashboard mat-datepicker{position:absolute}:host.dr-date-picker-on-dashboard .dr-datepicker-input-container{display:flex;flex-direction:row;justify-content:center;align-items:center;margin-left:-10px}:host.dr-date-picker-on-dashboard .dr-datepicker-input-container__formatted-value-display{font-weight:600;width:auto;margin-left:5px}:host.dr-date-picker-on-dashboard .dr-datepicker-input-container .dr-icon-date{display:block;position:relative;top:0;margin-right:8px;color:#4e566c}:host .dr-datepicker-input-container input{visibility:hidden;position:absolute;width:100%}:host .dr-datepicker-input-container__formatted-value-display{width:90px;height:22px;padding-left:0;text-align:center;line-height:22px;color:#0c142b;-webkit-text-decoration-line:underline;text-decoration-line:underline}:host .dr-datepicker-input-container__formatted-value-display:hover{background-color:#f2f2fb;border-radius:5px;cursor:pointer;-webkit-text-decoration-line:underline;text-decoration-line:underline;color:#4646ce}\n"]
4000
4026
  },] }
4001
4027
  ];
4002
4028
  DrDatePickerWithTimeframeComponent.ctorParameters = function () { return [
@@ -4266,7 +4292,6 @@
4266
4292
  exports.AnyTagComponent = AnyTagComponent;
4267
4293
  exports.CheckboxComponent = CheckboxComponent;
4268
4294
  exports.CustomDateFormat = CustomDateFormat;
4269
- exports.DATE_INPUT_FORMAT = DATE_INPUT_FORMAT;
4270
4295
  exports.DateTagComponent = DateTagComponent;
4271
4296
  exports.DateTagModule = DateTagModule;
4272
4297
  exports.DayTagComponent = DayTagComponent;
@@ -4309,16 +4334,12 @@
4309
4334
  exports.ForecastTagComponent = ForecastTagComponent;
4310
4335
  exports.ListTagComponent = ListTagComponent;
4311
4336
  exports.ListTagModule = ListTagModule;
4312
- exports.MAT_DEFAULT_DATE_FORMAT = MAT_DEFAULT_DATE_FORMAT;
4313
- exports.MONTH_YEAR_FORMAT = MONTH_YEAR_FORMAT;
4314
4337
  exports.MonthTagComponent = MonthTagComponent;
4315
- exports.QUARTER_FORMAT = QUARTER_FORMAT;
4316
4338
  exports.QuarterTagComponent = QuarterTagComponent;
4317
4339
  exports.RadioButtonComponent = RadioButtonComponent;
4318
4340
  exports.RadioGroupComponent = RadioGroupComponent;
4319
4341
  exports.TooltipComponent = TooltipComponent;
4320
4342
  exports.WeekTagComponent = WeekTagComponent;
4321
- exports.YEAR_FORMAT = YEAR_FORMAT;
4322
4343
  exports.YearTagComponent = YearTagComponent;
4323
4344
  exports["ɵa"] = components$2;
4324
4345
  exports["ɵb"] = POPUP_ANIMATION;