@datarailsshared/datarailsshared 1.4.175 → 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.
@@ -26,7 +26,7 @@ $dr-color-gray: #9EA1AA;
26
26
  $dr-color-gray-medium-light: #DFE0E3;
27
27
  $dr-color-gray-light: #F0F1F4;
28
28
 
29
- $dr-color-background-main-header: #0D142A;
29
+ $dr-color-background-main-header: #0C142B;
30
30
  $dr-color-background-main: #F6F7F8;
31
31
  $dr-color-background-secondary: #FBFBFE;
32
32
  $dr-color-background-white: #FFFFFF;
@@ -39,11 +39,15 @@ $dr-color-background-status-error: #F7D9DC;
39
39
  $dr-color-background-status-info: #E6EFFF;
40
40
  $dr-color-background-status-warning: #FFEDBF;
41
41
  $dr-color-background-status-success: #DBF5E6;
42
+ $dr-color-background-status-progress: #F2F2FB;
43
+ $dr-color-background-status-regular: #F0F1F4;
42
44
 
43
45
  $dr-color-status-error: #BF1D30;
44
46
  $dr-color-status-info: #0B5AF9;
45
47
  $dr-color-status-warning: #FFB800;
46
48
  $dr-color-status-success: #03A678;
49
+ $dr-color-status-progress: #4646CE;
50
+ $dr-color-status-regular: #7E828E;
47
51
 
48
52
  $dr-color-border-divider: #DFE0E3;
49
53
  $dr-color-border-input: #9EA1AA;
@@ -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(),
@@ -4310,6 +4310,17 @@
4310
4310
  return ChatMessage;
4311
4311
  }());
4312
4312
 
4313
+ exports.BadgeStatus = void 0;
4314
+ (function (BadgeStatus) {
4315
+ BadgeStatus["INFO"] = "info";
4316
+ BadgeStatus["ERROR"] = "error";
4317
+ BadgeStatus["WARNING"] = "warning";
4318
+ BadgeStatus["SUCCESS"] = "success";
4319
+ BadgeStatus["REGULAR"] = "regular";
4320
+ BadgeStatus["PROGRESS"] = "progress";
4321
+ BadgeStatus["DOTTED"] = "dotted";
4322
+ })(exports.BadgeStatus || (exports.BadgeStatus = {}));
4323
+
4313
4324
  var _a;
4314
4325
  var allDateTags = (_a = {},
4315
4326
  _a[TagsConfigSubType.YEAR] = {
@@ -5693,6 +5704,7 @@
5693
5704
  forms.ReactiveFormsModule,
5694
5705
  common.CommonModule,
5695
5706
  ngSelect.NgSelectModule,
5707
+ core.MatNativeDateModule,
5696
5708
  datepicker.MatDatepickerModule,
5697
5709
  tooltip.MatTooltipModule,
5698
5710
  DrTooltipModule
@@ -7037,6 +7049,49 @@
7037
7049
  },] }
7038
7050
  ];
7039
7051
 
7052
+ var DrBadgeStatusComponent = /** @class */ (function () {
7053
+ function DrBadgeStatusComponent() {
7054
+ this.theme = exports.BadgeStatus.REGULAR;
7055
+ }
7056
+ DrBadgeStatusComponent.prototype.ngOnInit = function () {
7057
+ };
7058
+ return DrBadgeStatusComponent;
7059
+ }());
7060
+ DrBadgeStatusComponent.decorators = [
7061
+ { type: i0.Component, args: [{
7062
+ template: "<div class=\"badge-status\" [drTooltip]=\"tooltip\"\n [ngClass]=\"'badge-status--' + theme\">\n <i *ngIf=\"icon\" class=\"{{ icon }}\"></i>\n <span *ngIf=\"label\">{{ label }}</span>\n</div>\n",
7063
+ selector: 'dr-badge-status',
7064
+ encapsulation: i0.ViewEncapsulation.None,
7065
+ styles: [".badge-status{display:flex;align-items:center;font-family:\"Poppins\",sans-serif;font-style:normal;font-size:\"Poppins\",sans-serif;font-weight:12px;line-height:20px;font-weight:600;height:24px;padding:2px 8px 2px 4px;border-radius:4px;cursor:pointer}.badge-status i{font-size:20px;margin-right:4px}.badge-status--info{color:#0b5af9;background:#E6EFFF}.badge-status--error{color:#bf1d30;background:#F7D9DC}.badge-status--warning{color:#ffb800;background:#FFEDBF}.badge-status--success{color:#03a678;background:#DBF5E6}.badge-status--regular{color:#7e828e;background:#F0F1F4}.badge-status--progress{color:#4646ce;background:#F2F2FB}.badge-status--dotted{color:#7e828e;background:transparent}.badge-status--dotted i{display:none}\n"]
7066
+ },] }
7067
+ ];
7068
+ DrBadgeStatusComponent.ctorParameters = function () { return []; };
7069
+ DrBadgeStatusComponent.propDecorators = {
7070
+ theme: [{ type: i0.Input }],
7071
+ icon: [{ type: i0.Input }],
7072
+ label: [{ type: i0.Input }],
7073
+ tooltip: [{ type: i0.Input }]
7074
+ };
7075
+
7076
+ var DrBadgeStatusModule = /** @class */ (function () {
7077
+ function DrBadgeStatusModule() {
7078
+ }
7079
+ return DrBadgeStatusModule;
7080
+ }());
7081
+ DrBadgeStatusModule.decorators = [
7082
+ { type: i0.NgModule, args: [{
7083
+ imports: [
7084
+ common.CommonModule,
7085
+ DrTooltipModule
7086
+ ],
7087
+ exports: [DrBadgeStatusComponent],
7088
+ providers: [],
7089
+ declarations: [
7090
+ DrBadgeStatusComponent
7091
+ ],
7092
+ },] }
7093
+ ];
7094
+
7040
7095
  /* components */
7041
7096
 
7042
7097
  /**
@@ -7059,6 +7114,7 @@
7059
7114
  exports.DrAvatarComponent = DrAvatarComponent;
7060
7115
  exports.DrAvatarModule = DrAvatarModule;
7061
7116
  exports.DrAvatarPipe = DrAvatarPipe;
7117
+ exports.DrBadgeStatusModule = DrBadgeStatusModule;
7062
7118
  exports.DrButtonComponent = DrButtonComponent;
7063
7119
  exports.DrChatModule = DrChatModule;
7064
7120
  exports.DrDetailsListComponent = DrDetailsListComponent;
@@ -7117,6 +7173,7 @@
7117
7173
  exports["ɵba"] = DrChatCustomMessageDirective;
7118
7174
  exports["ɵbb"] = DrScenarioConfigurationComponent;
7119
7175
  exports["ɵbc"] = DrScenarioTagConfigurationComponent;
7176
+ exports["ɵbd"] = DrBadgeStatusComponent;
7120
7177
  exports["ɵc"] = DrDatePickerComponent;
7121
7178
  exports["ɵd"] = DrDatePickerService;
7122
7179
  exports["ɵe"] = DrDatePickerWithTimeframeComponent;