@datarailsshared/datarailsshared 1.4.176 → 1.4.177

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.
@@ -613,13 +613,13 @@
613
613
  }
614
614
  Object.defineProperty(MonthTagComponent.prototype, "isLocked", {
615
615
  get: function () {
616
- return this.date ? !this.dateFilter(moment$7.unix(this.date).utc()) : false;
616
+ return this.date ? !this.dateFilter(moment$7.unix(this.date)) : false;
617
617
  },
618
618
  enumerable: false,
619
619
  configurable: true
620
620
  });
621
621
  MonthTagComponent.prototype.initDate = function () {
622
- this.date = this.defaultValue || moment$7().utc().unix();
622
+ this.date = this.defaultValue || moment$7().unix();
623
623
  this.dateObj.date = this.date;
624
624
  };
625
625
  MonthTagComponent.prototype.initName = function () {
@@ -628,7 +628,7 @@
628
628
  }
629
629
  };
630
630
  MonthTagComponent.prototype.chosenTagHandler = function (value) {
631
- var resultDate = moment$7.unix(value).utc();
631
+ var resultDate = moment$7.unix(value);
632
632
  resultDate.hour(12);
633
633
  var resultTag = {
634
634
  name: this.name,
@@ -687,7 +687,7 @@
687
687
  get: function () {
688
688
  var _this = this;
689
689
  return this.quarters
690
- ? this.quarters.some(function (quarter) { return !_this.dateFilter(moment$6.unix(quarter.value).utc()); })
690
+ ? this.quarters.some(function (quarter) { return !_this.dateFilter(moment$6.unix(quarter.value)); })
691
691
  : false;
692
692
  },
693
693
  enumerable: false,
@@ -722,7 +722,7 @@
722
722
  }
723
723
  };
724
724
  QuarterTagComponent.prototype.chosenTagHandler = function (quarter) {
725
- var resultDate = moment$6.unix(quarter.value).utc();
725
+ var resultDate = moment$6.unix(quarter.value);
726
726
  var resultTag = {
727
727
  name: this.name,
728
728
  value: resultDate.unix(),
@@ -817,14 +817,14 @@
817
817
  }
818
818
  Object.defineProperty(WeekTagComponent.prototype, "isLocked", {
819
819
  get: function () {
820
- return this.date ? !this.dateFilter(moment$5.unix(this.date).utc()) : false;
820
+ return this.date ? !this.dateFilter(moment$5.unix(this.date)) : false;
821
821
  },
822
822
  enumerable: false,
823
823
  configurable: true
824
824
  });
825
825
  WeekTagComponent.prototype.ngOnInit = function () {
826
826
  this.initName();
827
- var timestamp = this.defaultValue || moment$5().utc().unix();
827
+ var timestamp = this.defaultValue || moment$5().unix();
828
828
  this.date = timestamp;
829
829
  this.dateObj.date = timestamp;
830
830
  this.chosenTagHandler(timestamp);
@@ -844,7 +844,7 @@
844
844
  };
845
845
  ;
846
846
  WeekTagComponent.prototype.chosenTagHandler = function (value) {
847
- var resultDate = moment$5.unix(value).utc();
847
+ var resultDate = moment$5.unix(value);
848
848
  var resultTag = {
849
849
  name: this.name,
850
850
  value: resultDate.unix(),
@@ -903,13 +903,13 @@
903
903
  }
904
904
  Object.defineProperty(YearTagComponent.prototype, "isLocked", {
905
905
  get: function () {
906
- return this.date ? !this.dateFilter(moment$4.unix(this.date).utc()) : false;
906
+ return this.date ? !this.dateFilter(moment$4.unix(this.date)) : false;
907
907
  },
908
908
  enumerable: false,
909
909
  configurable: true
910
910
  });
911
911
  YearTagComponent.prototype.initDate = function () {
912
- this.date = this.defaultValue || moment$4().utc().unix();
912
+ this.date = this.defaultValue || moment$4().unix();
913
913
  this.dateObj.date = this.date;
914
914
  };
915
915
  YearTagComponent.prototype.initName = function () {
@@ -918,7 +918,7 @@
918
918
  }
919
919
  };
920
920
  YearTagComponent.prototype.chosenTagHandler = function (value) {
921
- var resultDate = moment$4.unix(value).utc();
921
+ var resultDate = moment$4.unix(value);
922
922
  resultDate.hour(12);
923
923
  var resultTag = {
924
924
  name: this.name,
@@ -1221,13 +1221,13 @@
1221
1221
  }
1222
1222
  Object.defineProperty(DayTagComponent.prototype, "isLocked", {
1223
1223
  get: function () {
1224
- return this.date ? !this.dateFilter(moment$3.unix(this.date).utc()) : false;
1224
+ return this.date ? !this.dateFilter(moment$3.unix(this.date)) : false;
1225
1225
  },
1226
1226
  enumerable: false,
1227
1227
  configurable: true
1228
1228
  });
1229
1229
  DayTagComponent.prototype.initDate = function () {
1230
- this.date = this.defaultValue || moment$3().utc().unix();
1230
+ this.date = this.defaultValue || moment$3().unix();
1231
1231
  this.dateObj.date = this.date;
1232
1232
  };
1233
1233
  DayTagComponent.prototype.initName = function () {
@@ -1236,7 +1236,7 @@
1236
1236
  }
1237
1237
  };
1238
1238
  DayTagComponent.prototype.chosenTagHandler = function (value) {
1239
- var date = moment$3.unix(value).utc();
1239
+ var date = moment$3.unix(value);
1240
1240
  var resultTag = {
1241
1241
  name: this.name,
1242
1242
  value: date.unix(),
@@ -5704,6 +5704,7 @@
5704
5704
  forms.ReactiveFormsModule,
5705
5705
  common.CommonModule,
5706
5706
  ngSelect.NgSelectModule,
5707
+ core.MatNativeDateModule,
5707
5708
  datepicker.MatDatepickerModule,
5708
5709
  tooltip.MatTooltipModule,
5709
5710
  DrTooltipModule