@seniorsistemas/angular-components 17.16.3 → 17.16.5

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.
@@ -17687,13 +17687,16 @@ var PanelComponent = /** @class */ (function () {
17687
17687
  __decorate([
17688
17688
  Input()
17689
17689
  ], PanelComponent.prototype, "borderButtonOptions", void 0);
17690
+ __decorate([
17691
+ Input()
17692
+ ], PanelComponent.prototype, "class", void 0);
17690
17693
  __decorate([
17691
17694
  Output()
17692
17695
  ], PanelComponent.prototype, "collapsedChange", void 0);
17693
17696
  PanelComponent = __decorate([
17694
17697
  Component({
17695
17698
  selector: "s-panel",
17696
- template: "<div\n class=\"panel\"\n [ngClass]=\"{\n 'panel--success': severity === EnumSeverity.Success,\n 'panel--info': severity === EnumSeverity.Info,\n 'panel--warn': severity === EnumSeverity.Warn,\n 'panel--error': severity === EnumSeverity.Error,\n 'panel--collapsed': collapsed\n }\">\n <s-border-button\n *ngIf=\"\n borderButtonOptions?.visible\n ? borderButtonOptions?.visible(severity)\n : false\n \"\n [severity]=\"severity\"\n [options]=\"borderButtonOptions\"\n class=\"border-button\"\n [@BorderButtonAnimation]\n ></s-border-button>\n\n <div class=\"header\">\n <ng-container *ngIf=\"headerTemplate; then customHeaderTemplate; else simpleHeaderTemplate\"></ng-container>\n <ng-template #customHeaderTemplate>\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </ng-template>\n <ng-template #simpleHeaderTemplate>\n <span>{{ header }}</span>\n </ng-template>\n\n <button\n *ngIf=\"collapsable\"\n class=\"collapse-button fas\"\n [ngClass]=\"{\n 'fa-plus': collapsed,\n 'fa-minus': !collapsed\n }\"\n (click)=\"toggleCollapsed()\">\n </button>\n </div>\n <div *ngIf=\"!collapsable || !collapsed\" class=\"panel-content\">\n <div class=\"body\">\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"bodyTemplate\"></ng-container>\n </div>\n <div *ngIf=\"footerTemplate\" class=\"footer\">\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\n </div>\n </div>\n</div>",
17699
+ template: "<div\n class=\"panel\"\n [ngClass]=\"[\n class,\n {\n 'panel--success': severity === EnumSeverity.Success,\n 'panel--info': severity === EnumSeverity.Info,\n 'panel--warn': severity === EnumSeverity.Warn,\n 'panel--error': severity === EnumSeverity.Error,\n 'panel--collapsed': collapsed\n }\n ]\">\n <s-border-button\n *ngIf=\"borderButtonOptions?.visible ? borderButtonOptions?.visible(severity) : false\"\n [severity]=\"severity\"\n [options]=\"borderButtonOptions\"\n class=\"border-button\"\n [@BorderButtonAnimation]>\n </s-border-button>\n\n <div class=\"header\">\n <ng-container *ngIf=\"headerTemplate; then customHeaderTemplate; else simpleHeaderTemplate\"></ng-container>\n <ng-template #customHeaderTemplate>\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </ng-template>\n <ng-template #simpleHeaderTemplate>\n <span>{{ header }}</span>\n </ng-template>\n\n <button\n *ngIf=\"collapsable\"\n class=\"collapse-button fas\"\n [ngClass]=\"{\n 'fa-plus': collapsed,\n 'fa-minus': !collapsed\n }\"\n (click)=\"toggleCollapsed()\">\n </button>\n </div>\n <div *ngIf=\"!collapsable || !collapsed\" class=\"panel-content\">\n <div class=\"body\">\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"bodyTemplate\"></ng-container>\n </div>\n <div *ngIf=\"footerTemplate\" class=\"footer\">\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\n </div>\n </div>\n</div>",
17697
17700
  animations: [
17698
17701
  trigger("BorderButtonAnimation", [
17699
17702
  transition(":enter", [
@@ -18444,14 +18447,16 @@ var SlidePanelModule = /** @class */ (function () {
18444
18447
  var SliderComponent = /** @class */ (function () {
18445
18448
  function SliderComponent() {
18446
18449
  var _this = this;
18450
+ this.MAX_RANGE_VALUE = 100;
18451
+ this.MIN_RANGE_VALUE = 0;
18447
18452
  this.multiple = false;
18448
18453
  this.value = 0;
18449
18454
  this.valueChange = new EventEmitter();
18450
18455
  this.step = 1;
18451
18456
  this.hiddenThumb = false;
18452
18457
  this.disabled = false;
18453
- this.min = 0;
18454
- this.max = 100;
18458
+ this.min = this.MIN_RANGE_VALUE;
18459
+ this.max = this.MAX_RANGE_VALUE;
18455
18460
  this.tabindex = 0;
18456
18461
  this.startValue = 0;
18457
18462
  this.endValue = 0;
@@ -18470,13 +18475,11 @@ var SliderComponent = /** @class */ (function () {
18470
18475
  * @example
18471
18476
  * with min = -10 and max = 10 will have this map.
18472
18477
  * {
18473
- * -10: { left: 0, right: 10 },
18474
- * -9: { left: 11, right: 19 },
18478
+ * -10: { 0 },
18479
+ * -9: { 10 },
18475
18480
  * ...
18476
- * 10: { left: 90, right: 100 }
18481
+ * 10: { 10 }
18477
18482
  * }
18478
- * the left value represent value for startValue, the right value represent value for endValue
18479
- * left and right values ​​are used when applying percentages in the slider
18480
18483
  */
18481
18484
  this.mapRangeValuesForSlider = new Map();
18482
18485
  this.activeMouseDown = false;
@@ -18489,16 +18492,16 @@ var SliderComponent = /** @class */ (function () {
18489
18492
  (_this.multiple && _this.draggingThumb === "end" && newPosition < _this.startValue)) {
18490
18493
  return;
18491
18494
  }
18492
- var positionInUserRange = _this.getUserValueFromSliderValueByMap(newPosition);
18495
+ var positionInUserRange = _this.getValueFromMapByValue(newPosition);
18493
18496
  if (_this.multiple) {
18494
18497
  if (_this.draggingThumb === "start") {
18495
18498
  _this.startValue = _this.needParseValues
18496
- ? _this.mapRangeValuesForSlider.get(positionInUserRange).left
18499
+ ? _this.mapRangeValuesForSlider.get(positionInUserRange)
18497
18500
  : newPosition;
18498
18501
  }
18499
18502
  else if (_this.draggingThumb === "end") {
18500
18503
  _this.endValue = _this.needParseValues
18501
- ? _this.mapRangeValuesForSlider.get(positionInUserRange).right
18504
+ ? _this.mapRangeValuesForSlider.get(positionInUserRange)
18502
18505
  : newPosition;
18503
18506
  }
18504
18507
  _this.setValue([_this.startValue, _this.endValue]);
@@ -18511,18 +18514,15 @@ var SliderComponent = /** @class */ (function () {
18511
18514
  }
18512
18515
  }
18513
18516
  else {
18514
- var pickLeftValue = newPosition <= 50;
18515
- var pickRightValue = newPosition > 50;
18516
- if (pickLeftValue) {
18517
- _this.endValue = _this.needParseValues
18518
- ? _this.mapRangeValuesForSlider.get(positionInUserRange).left
18519
- : newPosition;
18520
- }
18521
- else if (pickRightValue) {
18522
- _this.endValue = _this.needParseValues
18523
- ? _this.mapRangeValuesForSlider.get(positionInUserRange).right
18524
- : newPosition;
18517
+ var currentValue = _this.value;
18518
+ var _value = _this.needParseValues ? positionInUserRange : newPosition;
18519
+ var isAtSameValue = _this.needParseValues ? positionInUserRange === _this.value : false;
18520
+ var hasStep = _this.step !== 0;
18521
+ var newValueIsValidByStep = hasStep ? currentValue + _this.step === _value || currentValue - _this.step === _value : false;
18522
+ if (isAtSameValue && !newValueIsValidByStep) {
18523
+ return;
18525
18524
  }
18525
+ _this.endValue = _this.needParseValues ? _this.mapRangeValuesForSlider.get(positionInUserRange) : newPosition;
18526
18526
  _this.startValue = _this.endValue;
18527
18527
  _this.setValue(_this.endValue);
18528
18528
  }
@@ -18543,20 +18543,20 @@ var SliderComponent = /** @class */ (function () {
18543
18543
  var startValueBeforeEvent = _this.startValueBeforeProgressBarEvent;
18544
18544
  var range = _this.rangeBetweenElementsBeforeProgressBarEvent;
18545
18545
  var _a = calculateNewRange(startValueBeforeEvent, startValueBeforeEvent + range, startPositionBeforeEvent, newCenter), newStart = _a.newStart, newEnd = _a.newEnd;
18546
- if (newStart < 0 || newEnd > 100) {
18546
+ if (newStart < _this.MIN_RANGE_VALUE || newEnd > _this.MAX_RANGE_VALUE) {
18547
18547
  return;
18548
18548
  }
18549
18549
  if (_this.needParseValues) {
18550
- var startValueBeforeEventUserRange = _this.getUserValueFromSliderValueByMap(startValueBeforeEvent);
18551
- var startPositionBeforeEventUserRange = _this.getUserValueFromSliderValueByMap(startPositionBeforeEvent);
18552
- var centerUserRange = _this.getUserValueFromSliderValueByMap(newCenter);
18550
+ var startValueBeforeEventUserRange = _this.getValueFromMapByValue(startValueBeforeEvent);
18551
+ var startPositionBeforeEventUserRange = _this.getValueFromMapByValue(startPositionBeforeEvent);
18552
+ var centerUserRange = _this.getValueFromMapByValue(newCenter);
18553
18553
  var valueRange = _this.totalRangeBeforeProgressBarEvent;
18554
18554
  var _b = calculateNewRange(startValueBeforeEventUserRange, startValueBeforeEventUserRange + valueRange, startPositionBeforeEventUserRange, centerUserRange), newStart_1 = _b.newStart, newEnd_1 = _b.newEnd;
18555
18555
  if (newStart_1 < _this.min || newEnd_1 > _this.max) {
18556
18556
  return;
18557
18557
  }
18558
- _this.startValue = _this.mapRangeValuesForSlider.get(newStart_1).left;
18559
- _this.endValue = _this.mapRangeValuesForSlider.get(newEnd_1).right;
18558
+ _this.startValue = _this.mapRangeValuesForSlider.get(newStart_1);
18559
+ _this.endValue = _this.mapRangeValuesForSlider.get(newEnd_1);
18560
18560
  }
18561
18561
  else {
18562
18562
  _this.startValue = newStart;
@@ -18579,8 +18579,15 @@ var SliderComponent = /** @class */ (function () {
18579
18579
  }
18580
18580
  SliderComponent_1 = SliderComponent;
18581
18581
  SliderComponent.prototype.ngOnInit = function () {
18582
- if (this.needParseValues) {
18582
+ this.setUserRangeMapValues();
18583
+ };
18584
+ SliderComponent.prototype.ngOnChanges = function (changes) {
18585
+ var hasChangesOnMin = changes.min && !changes.min.firstChange;
18586
+ var hasChangesOnMax = changes.max && !changes.max.firstChange;
18587
+ var hasChanges = hasChangesOnMin || hasChangesOnMax;
18588
+ if (hasChanges) {
18583
18589
  this.setUserRangeMapValues();
18590
+ this.setRangeValues();
18584
18591
  }
18585
18592
  };
18586
18593
  SliderComponent.prototype.ngAfterViewInit = function () {
@@ -18603,14 +18610,16 @@ var SliderComponent = /** @class */ (function () {
18603
18610
  };
18604
18611
  Object.defineProperty(SliderComponent.prototype, "tooltipStartText", {
18605
18612
  get: function () {
18606
- return (this.needParseValues ? this.getUserValueFromSliderValueByMap(this.startValue) : this.startValue).toString();
18613
+ var _a, _b;
18614
+ return Array.isArray(this.value) ? (_a = this.value[0]) === null || _a === void 0 ? void 0 : _a.toString() : (_b = this.value) === null || _b === void 0 ? void 0 : _b.toString();
18607
18615
  },
18608
18616
  enumerable: true,
18609
18617
  configurable: true
18610
18618
  });
18611
18619
  Object.defineProperty(SliderComponent.prototype, "tooltipEndText", {
18612
18620
  get: function () {
18613
- return (this.needParseValues ? this.getUserValueFromSliderValueByMap(this.endValue) : this.endValue).toString();
18621
+ var _a, _b;
18622
+ return Array.isArray(this.value) ? (_a = this.value[1]) === null || _a === void 0 ? void 0 : _a.toString() : (_b = this.value) === null || _b === void 0 ? void 0 : _b.toString();
18614
18623
  },
18615
18624
  enumerable: true,
18616
18625
  configurable: true
@@ -18639,11 +18648,11 @@ var SliderComponent = /** @class */ (function () {
18639
18648
  return;
18640
18649
  }
18641
18650
  var trackClickPercentage = this.getPercentageByEvent(evt);
18642
- var trackClickToUserRange = this.getUserValueFromSliderValueByMap(trackClickPercentage);
18651
+ var trackClickToUserRange = this.getValueFromMapByValue(trackClickPercentage);
18643
18652
  var _trackClickValid = this.needParseValues ? trackClickToUserRange : trackClickPercentage;
18644
18653
  var _setEndValue = function () {
18645
- var _endValueUserValue = _this.getUserValueFromSliderValueByMap(_this.endValue);
18646
- var _endValue = _this.needParseValues ? _this.mapRangeValuesForSlider.get(trackClickToUserRange).right : trackClickPercentage;
18654
+ var _endValueUserValue = _this.getValueFromMapByValue(_this.endValue);
18655
+ var _endValue = _this.needParseValues ? _this.mapRangeValuesForSlider.get(trackClickToUserRange) : trackClickPercentage;
18647
18656
  if (_this.needParseValues && _endValueUserValue !== trackClickToUserRange) {
18648
18657
  _this.endValue = _endValue;
18649
18658
  }
@@ -18652,10 +18661,10 @@ var SliderComponent = /** @class */ (function () {
18652
18661
  }
18653
18662
  };
18654
18663
  var _setStartValue = function () {
18655
- var _startValueUserValue = _this.getUserValueFromSliderValueByMap(_this.startValue);
18664
+ var _startValueUserValue = _this.getValueFromMapByValue(_this.startValue);
18656
18665
  if (_this.needParseValues && _startValueUserValue !== trackClickToUserRange) {
18657
18666
  var _startValue = _this.needParseValues
18658
- ? _this.mapRangeValuesForSlider.get(trackClickToUserRange).left
18667
+ ? _this.mapRangeValuesForSlider.get(trackClickToUserRange)
18659
18668
  : trackClickPercentage;
18660
18669
  _this.startValue = _startValue;
18661
18670
  }
@@ -18665,8 +18674,8 @@ var SliderComponent = /** @class */ (function () {
18665
18674
  };
18666
18675
  if (this.multiple) {
18667
18676
  var _a = __read(this.value, 2), start = _a[0], end = _a[1];
18668
- var validStart_1 = this.needParseValues ? this.mapRangeValuesForSlider.get(start).left : start;
18669
- var validEnd_1 = this.needParseValues ? this.mapRangeValuesForSlider.get(end).right : end;
18677
+ var validStart_1 = this.needParseValues ? this.mapRangeValuesForSlider.get(start) : start;
18678
+ var validEnd_1 = this.needParseValues ? this.mapRangeValuesForSlider.get(end) : end;
18670
18679
  var _updateStart = function () {
18671
18680
  _setStartValue();
18672
18681
  _this.setValue([trackClickPercentage, validEnd_1]);
@@ -18729,11 +18738,15 @@ var SliderComponent = /** @class */ (function () {
18729
18738
  document.addEventListener("mouseup", this.onMouseUp);
18730
18739
  };
18731
18740
  SliderComponent.prototype.setRangeValues = function () {
18741
+ var _this = this;
18742
+ var _setStartAndEndValue = function (startValue, endValue) {
18743
+ _this.startValue = _this.getClosestValueFromMapSlider(startValue);
18744
+ _this.endValue = _this.getClosestValueFromMapSlider(endValue);
18745
+ };
18732
18746
  if (Array.isArray(this.value) && !this.multiple) {
18733
18747
  throw new Error('You must use "multiple" with value as array');
18734
18748
  }
18735
- var hasRangeValues = !!(this.startValue && this.endValue);
18736
- if (this.multiple && Array.isArray(this.value) && !hasRangeValues) {
18749
+ if (this.multiple && Array.isArray(this.value)) {
18737
18750
  this.startValue = this.value[0];
18738
18751
  this.endValue = this.value[1];
18739
18752
  }
@@ -18745,13 +18758,40 @@ var SliderComponent = /** @class */ (function () {
18745
18758
  this.endValue = this.value;
18746
18759
  }
18747
18760
  if (this.needParseValues) {
18748
- var isEqualAndMultiple = this.multiple && this.startValue === this.endValue;
18749
- this.startValue = this.mapRangeValuesForSlider.get(this.startValue).left;
18750
- if (isEqualAndMultiple) {
18751
- this.endValue = this.startValue;
18761
+ _setStartAndEndValue(this.startValue, this.endValue);
18762
+ if (this.multiple) {
18763
+ var _a = __read(this.value, 2), _startValue = _a[0], _endValue = _a[1];
18764
+ var difference = getDifference(_endValue, _startValue);
18765
+ var endValueIsGreatherThanMax = _endValue > this.max;
18766
+ var startValueIsLessThanMin = _startValue < this.min;
18767
+ var needUpdateValues = endValueIsGreatherThanMax || startValueIsLessThanMin;
18768
+ if (endValueIsGreatherThanMax) {
18769
+ _endValue = this.max;
18770
+ _startValue = _endValue - difference;
18771
+ }
18772
+ else if (startValueIsLessThanMin) {
18773
+ _startValue = this.min;
18774
+ _endValue = _startValue + difference;
18775
+ }
18776
+ if (needUpdateValues) {
18777
+ _setStartAndEndValue(_startValue, _endValue);
18778
+ this.setValue([this.startValue, this.endValue]);
18779
+ }
18752
18780
  }
18753
18781
  else {
18754
- this.endValue = this.mapRangeValuesForSlider.get(this.endValue).right;
18782
+ var _value = this.value;
18783
+ var valueGreatherThanMax = _value > this.max;
18784
+ var valueLessThanMin = _value < this.min;
18785
+ var needUpdateValue = valueGreatherThanMax || valueLessThanMin;
18786
+ if (valueGreatherThanMax) {
18787
+ _value = this.max;
18788
+ }
18789
+ else if (valueLessThanMin) {
18790
+ _value = this.min;
18791
+ }
18792
+ if (needUpdateValue) {
18793
+ this.setValue(_value);
18794
+ }
18755
18795
  }
18756
18796
  }
18757
18797
  this.setProgress();
@@ -18773,22 +18813,22 @@ var SliderComponent = /** @class */ (function () {
18773
18813
  */
18774
18814
  SliderComponent.prototype.getPercentageByEvent = function (mouseEvent) {
18775
18815
  var trackRect = this.track.nativeElement.getBoundingClientRect();
18776
- var newLeft = ((mouseEvent.clientX - trackRect.left) / trackRect.width) * 100;
18777
- newLeft = Math.round(newLeft / this.step) * this.step;
18778
- newLeft = Math.max(0, Math.min(newLeft, 100));
18816
+ var newLeft = Math.round(((mouseEvent.clientX - trackRect.left) / trackRect.width) * this.MAX_RANGE_VALUE);
18817
+ newLeft = Math.max(0, Math.min(newLeft, this.MAX_RANGE_VALUE));
18779
18818
  return newLeft;
18780
18819
  };
18781
- SliderComponent.prototype.setValue = function (value) {
18820
+ SliderComponent.prototype.setValue = function (value, parse) {
18782
18821
  var _this = this;
18822
+ if (parse === void 0) { parse = true; }
18783
18823
  if (this.disabled) {
18784
18824
  return;
18785
18825
  }
18786
- if (this.needParseValues) {
18826
+ if (this.needParseValues && parse) {
18787
18827
  if (Array.isArray(value)) {
18788
- value = value.map(function (x) { return _this.getUserValueFromSliderValueByMap(x); });
18828
+ value = value.map(function (x) { return _this.getValueFromMapByValue(x); });
18789
18829
  }
18790
18830
  else {
18791
- value = this.getUserValueFromSliderValueByMap(value);
18831
+ value = this.getValueFromMapByValue(value);
18792
18832
  }
18793
18833
  }
18794
18834
  this.value = value;
@@ -18801,54 +18841,84 @@ var SliderComponent = /** @class */ (function () {
18801
18841
  var _this = this;
18802
18842
  var start = this.min;
18803
18843
  var end = this.max;
18804
- var forStart = 0;
18805
- var forEnd = 100;
18806
- this.mapRangeValuesForSlider.clear();
18807
- var mappedValues = [];
18808
- for (var i = start; i <= end; i++) {
18809
- var valuesWithMap = [];
18810
- for (var j = forStart; j <= forEnd; j++) {
18811
- var sliderToUserRangeValue = this.mapSliderToUserRange(j);
18812
- if (sliderToUserRangeValue !== i) {
18813
- forStart = j;
18814
- break;
18815
- }
18816
- else {
18817
- valuesWithMap.push(j);
18818
- }
18819
- }
18820
- var left = valuesWithMap[0];
18821
- var right = valuesWithMap[valuesWithMap.length - 1];
18822
- mappedValues.push({ value: i, left: left, right: right });
18844
+ if (start > end) {
18845
+ throw new Error('Max value must be greater than min value');
18823
18846
  }
18824
- adjustLastItem(mappedValues);
18825
- mappedValues.forEach(function (mappedValue) {
18826
- _this.mapRangeValuesForSlider.set(mappedValue.value, __assign({}, mappedValue));
18847
+ this.mapRangeValuesForSlider.clear();
18848
+ var range = end - start;
18849
+ var decimalPlaces = 2;
18850
+ var stepCount = Math.floor(range / this.step);
18851
+ var values = [];
18852
+ for (var value = start; value <= end; value += this.step) {
18853
+ values.push(value);
18854
+ }
18855
+ if (values[values.length - 1] !== end) {
18856
+ values.push(end);
18857
+ }
18858
+ var mappedValues = values.map(function (value) {
18859
+ var mapped = ((value - start) / range) * _this.MAX_RANGE_VALUE;
18860
+ return parseFloat(mapped.toFixed(decimalPlaces));
18861
+ });
18862
+ mappedValues[0] = 0;
18863
+ mappedValues[mappedValues.length - 1] = this.MAX_RANGE_VALUE;
18864
+ var error = this.MAX_RANGE_VALUE - mappedValues[mappedValues.length - 1];
18865
+ var errorPerStep = error / stepCount;
18866
+ for (var i = 1; i < mappedValues.length - 1; i++) {
18867
+ mappedValues[i] += errorPerStep;
18868
+ mappedValues[i] = parseFloat(mappedValues[i].toFixed(decimalPlaces));
18869
+ }
18870
+ values.forEach(function (value, index) {
18871
+ _this.mapRangeValuesForSlider.set(value, mappedValues[index]);
18827
18872
  });
18828
18873
  };
18829
18874
  /**
18830
- * Maps a slider value to a user value in the range [min, max].
18875
+ * Returns the user value from the given slider value by using the map of range values.
18831
18876
  * @example
18832
- * If min = 0 and max = 10, mapSliderToUserRange(25) returns 2.5
18877
+ * If the map is 0: { 0 }, 1: { 10 }, 2: { 30 }, 3: { 40 }, 4: { 50 }
18878
+ * and the sliderValue is 37, the function returns 3
18879
+ * or the slider value is 40, the function returns 4
18880
+ * @param sliderValue the value of the slider (values only between range MIN and MAX)
18881
+ * @returns the user value from the given slider value
18833
18882
  */
18834
- SliderComponent.prototype.mapSliderToUserRange = function (sliderValue) {
18835
- return Math.floor(this.min + (sliderValue / 100) * (this.max - this.min));
18883
+ SliderComponent.prototype.getValueFromMapByValue = function (sliderValue) {
18884
+ var mapToArray = Array.from(this.mapRangeValuesForSlider).map(function (_a) {
18885
+ var _b = __read(_a, 2), value = _b[0], mapped = _b[1];
18886
+ return ({ value: value, mapped: mapped });
18887
+ });
18888
+ var exactValue = mapToArray.find(function (x) { return x.mapped == sliderValue; });
18889
+ var closest = mapToArray.reduce(function (prev, curr) { return Math.abs(curr.mapped - sliderValue) < Math.abs(prev.mapped - sliderValue) ? curr : prev; });
18890
+ return exactValue ? exactValue.value : closest.value;
18836
18891
  };
18837
18892
  /**
18838
- * Returns the user value from the given slider value by using the map of range values.
18839
- * @example
18840
- * If the map is [{value: 0, left: 0, right: 25}, {value: 1, left: 25, right: 50}, {value: 2, left: 50, right: 75}, {value: 3, left: 75, right: 100}]
18841
- * and the sliderValue is 37, the function returns 1
18842
- * @param sliderValue the value of the slider
18843
- * @returns the user value from the given slider value
18893
+ * Retrieves the key from the map that is closest to the given slider value.
18894
+ * @param userValue - The value to find the closest key for. (values only between 0 - 100)
18895
+ * @returns The key that corresponds to the closest mapped value.
18844
18896
  */
18845
- SliderComponent.prototype.getUserValueFromSliderValueByMap = function (sliderValue) {
18846
- var _a;
18847
- var mapToArray = Array.from(this.mapRangeValuesForSlider).map(function (x) {
18848
- return __assign({ value: x[0] }, x[1]);
18897
+ SliderComponent.prototype.getClosestValueFromMapSlider = function (userValue) {
18898
+ var mapToArray = Array.from(this.mapRangeValuesForSlider).map(function (_a) {
18899
+ var _b = __read(_a, 2), value = _b[0], mapped = _b[1];
18900
+ return ({ value: value, mapped: mapped });
18849
18901
  });
18850
- var mappedValue = mapToArray.find(function (x) { return isInRange(sliderValue, x.left, x.right); });
18851
- return (_a = mappedValue === null || mappedValue === void 0 ? void 0 : mappedValue.value) !== null && _a !== void 0 ? _a : sliderValue;
18902
+ if (userValue >= this.max) {
18903
+ return mapToArray[mapToArray.length - 1].mapped;
18904
+ }
18905
+ else if (userValue <= this.min) {
18906
+ return mapToArray[0].mapped;
18907
+ }
18908
+ var exactValue = mapToArray.find(function (x) { return x.value == userValue; });
18909
+ var closestValue = mapToArray.reduce(function (prev, curr) { return Math.abs(curr.value - userValue) < Math.abs(prev.value - userValue) ? curr : prev; });
18910
+ var item = exactValue || closestValue;
18911
+ var isFirstItem = mapToArray[0] === item;
18912
+ var isLastItem = mapToArray[mapToArray.length - 1] === item;
18913
+ if (isFirstItem && userValue > this.min) {
18914
+ return getMidpoint(item.mapped, mapToArray[1].mapped);
18915
+ }
18916
+ else if (isLastItem && userValue < this.max) {
18917
+ return getMidpoint(item.mapped, mapToArray[mapToArray.length - 2].mapped);
18918
+ }
18919
+ else {
18920
+ return item.mapped;
18921
+ }
18852
18922
  };
18853
18923
  SliderComponent.prototype.handleArrowKeyLeft = function () {
18854
18924
  if (this.multiple) {
@@ -18870,6 +18940,7 @@ var SliderComponent = /** @class */ (function () {
18870
18940
  };
18871
18941
  SliderComponent.prototype._incrementOrDecrementStartAndEndValue = function (increment) {
18872
18942
  var _a = __read(this.value, 2), start = _a[0], end = _a[1];
18943
+ var difference = getDifference(end, start);
18873
18944
  if (increment) {
18874
18945
  start += this.step;
18875
18946
  end += this.step;
@@ -18878,31 +18949,28 @@ var SliderComponent = /** @class */ (function () {
18878
18949
  start -= this.step;
18879
18950
  end -= this.step;
18880
18951
  }
18881
- if (this.needParseValues) {
18882
- if (!this.mapRangeValuesForSlider.has(start) || !this.mapRangeValuesForSlider.has(end)) {
18883
- return;
18952
+ var startLessThanMin = start < this.min;
18953
+ var endGreaterThanMax = end > this.max;
18954
+ if (startLessThanMin || endGreaterThanMax) {
18955
+ if (startLessThanMin) {
18956
+ start = this.min;
18957
+ end = start + difference;
18884
18958
  }
18885
- var isEqual = start === end;
18886
- if (isEqual && end === this.max) {
18887
- start = this.mapRangeValuesForSlider.get(this.max).right;
18888
- end = start;
18889
- }
18890
- else {
18891
- start = this.mapRangeValuesForSlider.get(start).left;
18892
- if (isEqual) {
18893
- end = start;
18894
- }
18895
- else {
18896
- end = this.mapRangeValuesForSlider.get(end).right;
18897
- }
18959
+ else if (endGreaterThanMax) {
18960
+ end = this.max;
18961
+ start = end - difference;
18898
18962
  }
18899
18963
  }
18900
- if (start < 0 || end > 100) {
18964
+ if (start < this.min || end > this.max) {
18901
18965
  return;
18902
18966
  }
18967
+ this.setValue([start, end], false);
18968
+ if (this.needParseValues) {
18969
+ start = this.getClosestValueFromMapSlider(start);
18970
+ end = this.getClosestValueFromMapSlider(end);
18971
+ }
18903
18972
  this.startValue = start;
18904
18973
  this.endValue = end;
18905
- this.setValue([start, end]);
18906
18974
  };
18907
18975
  SliderComponent.prototype._incrementOrDecrementEndValue = function (increment) {
18908
18976
  var value = this.value;
@@ -18914,28 +18982,18 @@ var SliderComponent = /** @class */ (function () {
18914
18982
  }
18915
18983
  var _newEndValue = value;
18916
18984
  if (this.needParseValues) {
18917
- var valueParsedInSlider = this.mapRangeValuesForSlider.get(value);
18918
- if (!valueParsedInSlider) {
18919
- return;
18920
- }
18921
- var pickLeft = valueParsedInSlider.right <= 50;
18922
- if (pickLeft) {
18923
- _newEndValue = this.mapRangeValuesForSlider.get(value).left;
18924
- }
18925
- else {
18926
- _newEndValue = this.mapRangeValuesForSlider.get(value).right;
18927
- }
18985
+ _newEndValue = this.getClosestValueFromMapSlider(_newEndValue);
18928
18986
  }
18929
- if (_newEndValue < 0 || _newEndValue > 100) {
18987
+ if (_newEndValue < this.MIN_RANGE_VALUE || _newEndValue > this.MAX_RANGE_VALUE) {
18930
18988
  return;
18931
18989
  }
18932
18990
  this.endValue = _newEndValue;
18933
18991
  this.startValue = this.endValue;
18934
- this.setValue(this.endValue);
18992
+ this.setValue(_newEndValue);
18935
18993
  };
18936
18994
  Object.defineProperty(SliderComponent.prototype, "needParseValues", {
18937
18995
  get: function () {
18938
- return this.max !== 100 || this.min !== 0;
18996
+ return this.max !== this.MAX_RANGE_VALUE || this.min !== this.MIN_RANGE_VALUE;
18939
18997
  },
18940
18998
  enumerable: true,
18941
18999
  configurable: true
@@ -19017,72 +19075,15 @@ var isInRange = function (value, rangeStart, rangeEnd) {
19017
19075
  return value >= min && value <= max;
19018
19076
  };
19019
19077
  var ɵ1$1 = isInRange;
19020
- /**
19021
- * Adjust the last item of a mapped range to fill the gap between it and the penultimate item.
19022
- * The gap is calculated by subtracting the difference between the last item's right and left
19023
- * from the average difference between all the previous items.
19024
- *
19025
- * @param mappedValues - The mapped range to be adjusted.
19026
- *
19027
- * The function works by finding the gap between the last item and the penultimate item and
19028
- * then distributing this gap among the previous items. The distribution is done by finding
19029
- * the items that need to be fixed and then fixing them by shifting their left and right
19030
- * positions.
19031
- *
19032
- * The function returns nothing, but it modifies the mappedValues array in place.
19033
- */
19034
- var adjustLastItem = function (mappedValues) {
19035
- var lastItem = mappedValues[mappedValues.length - 1];
19036
- var lastDifference = lastItem.right - lastItem.left;
19037
- var withoutLastItem = mappedValues.slice(0, mappedValues.length - 1);
19038
- var differences = withoutLastItem.map(function (_a) {
19039
- var left = _a.left, right = _a.right;
19040
- return right - left;
19041
- });
19042
- var averageDifference = Math.floor(differences.reduce(function (sum, diff) { return sum + diff; }, 0) / differences.length);
19043
- var _getRandomIndexFromArray = function (array, storedChanges) {
19044
- if (storedChanges.length === array.length) {
19045
- storedChanges = [];
19046
- }
19047
- var randomIndex = Math.floor(Math.random() * array.length);
19048
- var randomIndexAlreadyStored = storedChanges.includes(randomIndex);
19049
- while (randomIndexAlreadyStored) {
19050
- randomIndex = Math.floor(Math.random() * withoutLastItem.length);
19051
- randomIndexAlreadyStored = storedChanges.includes(randomIndex);
19052
- }
19053
- storedChanges.push(randomIndex);
19054
- return { randomIndex: randomIndex, storedChanges: storedChanges };
19055
- };
19056
- var needFixLastItem = lastDifference < averageDifference;
19057
- var arr = [];
19058
- if (needFixLastItem) {
19059
- var captureItensCount = averageDifference - lastDifference;
19060
- var randomIndexStored = [];
19061
- for (var i = 0; i <= captureItensCount; i++) {
19062
- var _a = _getRandomIndexFromArray(withoutLastItem, randomIndexStored), randomIndex = _a.randomIndex, storedChanges = _a.storedChanges;
19063
- randomIndexStored = storedChanges;
19064
- arr.push(randomIndex);
19065
- var randomItem = withoutLastItem[randomIndex];
19066
- --lastItem.left;
19067
- --randomItem.right;
19068
- }
19069
- mappedValues.forEach(function (mappedValue, index) {
19070
- var _next = mappedValues[index + 1];
19071
- if (!_next) {
19072
- return;
19073
- }
19074
- var nextLeft = _next.left;
19075
- var currentRight = mappedValue.right;
19076
- if (currentRight !== currentRight + 1) {
19077
- var _nextDiff = _next.right - nextLeft;
19078
- var _nextLeft = currentRight + 1;
19079
- _next.left = _nextLeft;
19080
- _next.right = _nextLeft + _nextDiff;
19081
- }
19082
- });
19083
- }
19078
+ var getMidpoint = function (start, end) {
19079
+ var midpoint = (start + end) / 2;
19080
+ return parseFloat(midpoint.toFixed(2));
19081
+ };
19082
+ var ɵ2 = getMidpoint;
19083
+ var getDifference = function (end, start) {
19084
+ return Math.abs(end - start);
19084
19085
  };
19085
- var ɵ2 = adjustLastItem;
19086
+ var ɵ3 = getDifference;
19086
19087
 
19087
19088
  var SliderModule = /** @class */ (function () {
19088
19089
  function SliderModule() {
@@ -20456,7 +20457,7 @@ var filterEnabled = function (list) {
20456
20457
  var _list = list instanceof Set ? Array.from(list) : list;
20457
20458
  return _list.filter(function (x) { return !x.disabled; });
20458
20459
  };
20459
- var ɵ3 = filterEnabled;
20460
+ var ɵ3$1 = filterEnabled;
20460
20461
  var mapData = function (list) {
20461
20462
  return list.map(function (x) { return x.data; });
20462
20463
  };
@@ -20816,5 +20817,5 @@ var fallback = {
20816
20817
  * Generated bundle index. Do not edit.
20817
20818
  */
20818
20819
 
20819
- export { AccordionComponent, AccordionModule, AccordionPanelComponent, AlertComponent, AlertModule, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, CardComponent, CardModule, CardTemplateTypes, CheckboxComponent, CheckboxModule, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CurrencyService, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, EnumSeverity, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileUploadPermissions, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, IAInsightComponent, IAInsightModule, IAInsightTemplateTypes, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, InlineEditCalendarField, InlineEditComponent, InlineEditField, InlineEditLookupField, InlineEditModule, InlineEditNumberField, InlineEditTextAreaField, InlineEditTextAreaIAField, InlineEditTextField, KanbanComponent, KanbanModule, KanbanTemplateTypes, LabelValueComponent, LabelValueModule, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationButtonComponent, NavigationButtonModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, NumericService, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, PicklistComponent, PicklistModule, PicklistTemplateTypes, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SliderComponent, SliderModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TemplateDirective, TemplateModule, TextAreaField, TextAreaIAComponent, TextAreaIAModule, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, convertToMomentDateFormat, countries, fallback, isNullOrUndefined, parseItensPickList, ɵ0$3 as ɵ0, ɵ1$2 as ɵ1, ɵ2$1 as ɵ2, ɵ3, ɵ4, TooltipComponent as ɵa, TooltipDirective as ɵb, TablePagingComponent as ɵba, PasswordFieldModule as ɵbb, FieldLabelModule as ɵbc, InfoSignModule as ɵbd, FieldLabelComponent as ɵbe, PasswordFieldComponent as ɵbf, TextFieldModule as ɵbg, TextFieldComponent as ɵbh, NumberFieldModule as ɵbi, LocalizedNumberInputModule as ɵbj, NumberInputModule as ɵbk, NumberFieldComponent as ɵbl, CurrencyFieldModule as ɵbm, CurrencyFieldComponent as ɵbn, BignumberFieldModule as ɵbo, BignumberInputModule as ɵbp, BignumberFieldComponent as ɵbq, CheckboxFieldModule as ɵbr, CheckboxFieldComponent as ɵbs, ProfilePictureModule as ɵbt, ThumbnailService as ɵbu, StructureModule as ɵbv, HeaderComponent as ɵbw, FooterComponent as ɵbx, ProfilePictureFieldComponent as ɵby, EditorFieldModule as ɵbz, TieredMenuEventService as ɵc, EditorFieldComponent as ɵca, AutocompleteFieldComponent as ɵcb, BooleanFieldComponent as ɵcc, BooleanSwitchFieldComponent as ɵcd, CalendarFieldComponent as ɵce, ChipsFieldComponent as ɵcf, CountryPhonePickerFieldComponent as ɵcg, DynamicFieldComponent as ɵch, DynamicFormDirective as ɵci, FieldsetComponent as ɵcj, FileUploadComponent$1 as ɵck, LookupFieldComponent as ɵcl, RadioButtonComponent as ɵcm, RowComponent as ɵcn, SectionComponent as ɵco, SelectFieldComponent as ɵcp, SliderFieldComponent as ɵcq, TextAreaFieldComponent as ɵcr, TextAreaIAFieldComponent as ɵcs, IAssistService as ɵct, DecimalField as ɵcv, SideTableComponent as ɵcw, InfiniteScrollModule as ɵcx, InfiniteScrollDirective as ɵcy, IAInsightSidebarComponent as ɵcz, TieredMenuService as ɵd, IAInsightCardComponent as ɵda, IAInsightCardLoaderComponent as ɵdb, InlineEditItemComponent as ɵdc, LocaleService as ɵdd, InlineEditCalendarComponent as ɵde, InlineEditLookupComponent as ɵdf, InlineEditNumberComponent as ɵdg, InlineEditTextComponent as ɵdh, InlineEditTextAreaComponent as ɵdi, InlineEditTextAreaIAComponent as ɵdj, KanbanEventService as ɵdk, KanbanItemComponent as ɵdl, KanbanColumnComponent as ɵdm, KanbanItemDraggingComponent as ɵdn, NumberLocaleOptions as ɵdo, BorderButtonModule as ɵdp, BorderButtonComponent as ɵdq, ProgressBarDeterminateComponent as ɵdr, ProgressBarIndeterminateComponent as ɵds, SelectButtonItemComponent as ɵdt, SlidePanelService as ɵdu, TimelineItemModule as ɵdv, TimelineIconItemComponent as ɵdw, HorizontalTimelineModule as ɵdx, HorizontalTimelineComponent as ɵdy, VerticalTimelineModule as ɵdz, TieredMenuGlobalService as ɵe, VerticalTimelineComponent as ɵea, RangeLineComponent as ɵeb, CollapseOptionComponent as ɵec, CollapsedItemsComponent as ɵed, VerticalItemsComponent as ɵee, ButtonModule as ɵef, TieredMenuComponent as ɵf, TieredMenuNestedComponent as ɵg, TieredMenuItemComponent as ɵh, TieredMenuDividerComponent as ɵi, CustomTranslationsModule as ɵj, CodeEditorComponent as ɵk, CoreFacade as ɵl, CodeMirror6Core as ɵm, CountryPhonePickerService as ɵn, LocalizedCurrencyImpurePipe as ɵo, LocalizedBignumberPipe as ɵp, LocalizedBignumberImpurePipe as ɵq, NumericPipe as ɵr, EmptyStateGoBackComponent as ɵs, IAssistIconComponent as ɵt, SeniorIconComponent as ɵu, DotsIndicatorComponent as ɵv, LoadingIndicatorComponent as ɵw, FileUploadService as ɵx, InfoSignComponent as ɵy, TableColumnsComponent as ɵz };
20820
+ export { AccordionComponent, AccordionModule, AccordionPanelComponent, AlertComponent, AlertModule, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, CardComponent, CardModule, CardTemplateTypes, CheckboxComponent, CheckboxModule, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CurrencyService, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, EnumSeverity, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileUploadPermissions, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, IAInsightComponent, IAInsightModule, IAInsightTemplateTypes, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, InlineEditCalendarField, InlineEditComponent, InlineEditField, InlineEditLookupField, InlineEditModule, InlineEditNumberField, InlineEditTextAreaField, InlineEditTextAreaIAField, InlineEditTextField, KanbanComponent, KanbanModule, KanbanTemplateTypes, LabelValueComponent, LabelValueModule, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationButtonComponent, NavigationButtonModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, NumericService, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, PicklistComponent, PicklistModule, PicklistTemplateTypes, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SliderComponent, SliderModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TemplateDirective, TemplateModule, TextAreaField, TextAreaIAComponent, TextAreaIAModule, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, convertToMomentDateFormat, countries, fallback, isNullOrUndefined, parseItensPickList, ɵ0$3 as ɵ0, ɵ1$2 as ɵ1, ɵ2$1 as ɵ2, ɵ3$1 as ɵ3, ɵ4, TooltipComponent as ɵa, TooltipDirective as ɵb, TablePagingComponent as ɵba, PasswordFieldModule as ɵbb, FieldLabelModule as ɵbc, InfoSignModule as ɵbd, FieldLabelComponent as ɵbe, PasswordFieldComponent as ɵbf, TextFieldModule as ɵbg, TextFieldComponent as ɵbh, NumberFieldModule as ɵbi, LocalizedNumberInputModule as ɵbj, NumberInputModule as ɵbk, NumberFieldComponent as ɵbl, CurrencyFieldModule as ɵbm, CurrencyFieldComponent as ɵbn, BignumberFieldModule as ɵbo, BignumberInputModule as ɵbp, BignumberFieldComponent as ɵbq, CheckboxFieldModule as ɵbr, CheckboxFieldComponent as ɵbs, ProfilePictureModule as ɵbt, ThumbnailService as ɵbu, StructureModule as ɵbv, HeaderComponent as ɵbw, FooterComponent as ɵbx, ProfilePictureFieldComponent as ɵby, EditorFieldModule as ɵbz, TieredMenuEventService as ɵc, EditorFieldComponent as ɵca, AutocompleteFieldComponent as ɵcb, BooleanFieldComponent as ɵcc, BooleanSwitchFieldComponent as ɵcd, CalendarFieldComponent as ɵce, ChipsFieldComponent as ɵcf, CountryPhonePickerFieldComponent as ɵcg, DynamicFieldComponent as ɵch, DynamicFormDirective as ɵci, FieldsetComponent as ɵcj, FileUploadComponent$1 as ɵck, LookupFieldComponent as ɵcl, RadioButtonComponent as ɵcm, RowComponent as ɵcn, SectionComponent as ɵco, SelectFieldComponent as ɵcp, SliderFieldComponent as ɵcq, TextAreaFieldComponent as ɵcr, TextAreaIAFieldComponent as ɵcs, IAssistService as ɵct, DecimalField as ɵcv, SideTableComponent as ɵcw, InfiniteScrollModule as ɵcx, InfiniteScrollDirective as ɵcy, IAInsightSidebarComponent as ɵcz, TieredMenuService as ɵd, IAInsightCardComponent as ɵda, IAInsightCardLoaderComponent as ɵdb, InlineEditItemComponent as ɵdc, LocaleService as ɵdd, InlineEditCalendarComponent as ɵde, InlineEditLookupComponent as ɵdf, InlineEditNumberComponent as ɵdg, InlineEditTextComponent as ɵdh, InlineEditTextAreaComponent as ɵdi, InlineEditTextAreaIAComponent as ɵdj, KanbanEventService as ɵdk, KanbanItemComponent as ɵdl, KanbanColumnComponent as ɵdm, KanbanItemDraggingComponent as ɵdn, NumberLocaleOptions as ɵdo, BorderButtonModule as ɵdp, BorderButtonComponent as ɵdq, ProgressBarDeterminateComponent as ɵdr, ProgressBarIndeterminateComponent as ɵds, SelectButtonItemComponent as ɵdt, SlidePanelService as ɵdu, TimelineItemModule as ɵdv, TimelineIconItemComponent as ɵdw, HorizontalTimelineModule as ɵdx, HorizontalTimelineComponent as ɵdy, VerticalTimelineModule as ɵdz, TieredMenuGlobalService as ɵe, VerticalTimelineComponent as ɵea, RangeLineComponent as ɵeb, CollapseOptionComponent as ɵec, CollapsedItemsComponent as ɵed, VerticalItemsComponent as ɵee, ButtonModule as ɵef, TieredMenuComponent as ɵf, TieredMenuNestedComponent as ɵg, TieredMenuItemComponent as ɵh, TieredMenuDividerComponent as ɵi, CustomTranslationsModule as ɵj, CodeEditorComponent as ɵk, CoreFacade as ɵl, CodeMirror6Core as ɵm, CountryPhonePickerService as ɵn, LocalizedCurrencyImpurePipe as ɵo, LocalizedBignumberPipe as ɵp, LocalizedBignumberImpurePipe as ɵq, NumericPipe as ɵr, EmptyStateGoBackComponent as ɵs, IAssistIconComponent as ɵt, SeniorIconComponent as ɵu, DotsIndicatorComponent as ɵv, LoadingIndicatorComponent as ɵw, FileUploadService as ɵx, InfoSignComponent as ɵy, TableColumnsComponent as ɵz };
20820
20821
  //# sourceMappingURL=seniorsistemas-angular-components.js.map