@seniorsistemas/angular-components 17.16.4 → 17.16.6

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.
@@ -17638,7 +17638,7 @@ var ObjectCardModule = /** @class */ (function () {
17638
17638
 
17639
17639
  var PanelComponent = /** @class */ (function () {
17640
17640
  function PanelComponent() {
17641
- this.collapsable = false;
17641
+ this.toggleable = false;
17642
17642
  this.collapsed = false;
17643
17643
  this.severity = EnumSeverity.Default;
17644
17644
  this.collapsedChange = new EventEmitter();
@@ -17669,15 +17669,12 @@ var PanelComponent = /** @class */ (function () {
17669
17669
  this.bodyTemplate = this.getBodyTemplate();
17670
17670
  this.footerTemplate = this.getFooterTemplate();
17671
17671
  };
17672
- __decorate([
17673
- ContentChildren(TemplateDirective)
17674
- ], PanelComponent.prototype, "templates", void 0);
17675
17672
  __decorate([
17676
17673
  Input()
17677
17674
  ], PanelComponent.prototype, "header", void 0);
17678
17675
  __decorate([
17679
17676
  Input()
17680
- ], PanelComponent.prototype, "collapsable", void 0);
17677
+ ], PanelComponent.prototype, "toggleable", void 0);
17681
17678
  __decorate([
17682
17679
  Input()
17683
17680
  ], PanelComponent.prototype, "collapsed", void 0);
@@ -17693,10 +17690,13 @@ var PanelComponent = /** @class */ (function () {
17693
17690
  __decorate([
17694
17691
  Output()
17695
17692
  ], PanelComponent.prototype, "collapsedChange", void 0);
17693
+ __decorate([
17694
+ ContentChildren(TemplateDirective)
17695
+ ], PanelComponent.prototype, "templates", void 0);
17696
17696
  PanelComponent = __decorate([
17697
17697
  Component({
17698
17698
  selector: "s-panel",
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>",
17699
+ template: "<div\n [class]=\"class\"\n [ngClass]=\"{\n 'panel': true,\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 >\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=\"toggleable\"\n class=\"collapse-button fas\"\n [ngClass]=\"{\n 'fa-plus': collapsed,\n 'fa-minus': !collapsed\n }\"\n (click)=\"toggleCollapsed()\"\n ></button>\n </div>\n\n <div *ngIf=\"!toggleable || !collapsed\" class=\"panel-content\">\n <div class=\"body\">\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"bodyTemplate\"></ng-container>\n </div>\n\n <div *ngIf=\"footerTemplate\" class=\"footer\">\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\n </div>\n </div>\n</div>\n",
17700
17700
  animations: [
17701
17701
  trigger("BorderButtonAnimation", [
17702
17702
  transition(":enter", [
@@ -18447,14 +18447,16 @@ var SlidePanelModule = /** @class */ (function () {
18447
18447
  var SliderComponent = /** @class */ (function () {
18448
18448
  function SliderComponent() {
18449
18449
  var _this = this;
18450
+ this.MAX_RANGE_VALUE = 100;
18451
+ this.MIN_RANGE_VALUE = 0;
18450
18452
  this.multiple = false;
18451
18453
  this.value = 0;
18452
18454
  this.valueChange = new EventEmitter();
18453
18455
  this.step = 1;
18454
18456
  this.hiddenThumb = false;
18455
18457
  this.disabled = false;
18456
- this.min = 0;
18457
- this.max = 100;
18458
+ this.min = this.MIN_RANGE_VALUE;
18459
+ this.max = this.MAX_RANGE_VALUE;
18458
18460
  this.tabindex = 0;
18459
18461
  this.startValue = 0;
18460
18462
  this.endValue = 0;
@@ -18473,13 +18475,11 @@ var SliderComponent = /** @class */ (function () {
18473
18475
  * @example
18474
18476
  * with min = -10 and max = 10 will have this map.
18475
18477
  * {
18476
- * -10: { left: 0, right: 10 },
18477
- * -9: { left: 11, right: 19 },
18478
+ * -10: { 0 },
18479
+ * -9: { 10 },
18478
18480
  * ...
18479
- * 10: { left: 90, right: 100 }
18481
+ * 10: { 10 }
18480
18482
  * }
18481
- * the left value represent value for startValue, the right value represent value for endValue
18482
- * left and right values ​​are used when applying percentages in the slider
18483
18483
  */
18484
18484
  this.mapRangeValuesForSlider = new Map();
18485
18485
  this.activeMouseDown = false;
@@ -18492,16 +18492,16 @@ var SliderComponent = /** @class */ (function () {
18492
18492
  (_this.multiple && _this.draggingThumb === "end" && newPosition < _this.startValue)) {
18493
18493
  return;
18494
18494
  }
18495
- var positionInUserRange = _this.getUserValueFromSliderValueByMap(newPosition);
18495
+ var positionInUserRange = _this.getValueFromMapByValue(newPosition);
18496
18496
  if (_this.multiple) {
18497
18497
  if (_this.draggingThumb === "start") {
18498
18498
  _this.startValue = _this.needParseValues
18499
- ? _this.mapRangeValuesForSlider.get(positionInUserRange).left
18499
+ ? _this.mapRangeValuesForSlider.get(positionInUserRange)
18500
18500
  : newPosition;
18501
18501
  }
18502
18502
  else if (_this.draggingThumb === "end") {
18503
18503
  _this.endValue = _this.needParseValues
18504
- ? _this.mapRangeValuesForSlider.get(positionInUserRange).right
18504
+ ? _this.mapRangeValuesForSlider.get(positionInUserRange)
18505
18505
  : newPosition;
18506
18506
  }
18507
18507
  _this.setValue([_this.startValue, _this.endValue]);
@@ -18514,18 +18514,15 @@ var SliderComponent = /** @class */ (function () {
18514
18514
  }
18515
18515
  }
18516
18516
  else {
18517
- var pickLeftValue = newPosition <= 50;
18518
- var pickRightValue = newPosition > 50;
18519
- if (pickLeftValue) {
18520
- _this.endValue = _this.needParseValues
18521
- ? _this.mapRangeValuesForSlider.get(positionInUserRange).left
18522
- : newPosition;
18523
- }
18524
- else if (pickRightValue) {
18525
- _this.endValue = _this.needParseValues
18526
- ? _this.mapRangeValuesForSlider.get(positionInUserRange).right
18527
- : 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;
18528
18524
  }
18525
+ _this.endValue = _this.needParseValues ? _this.mapRangeValuesForSlider.get(positionInUserRange) : newPosition;
18529
18526
  _this.startValue = _this.endValue;
18530
18527
  _this.setValue(_this.endValue);
18531
18528
  }
@@ -18546,20 +18543,20 @@ var SliderComponent = /** @class */ (function () {
18546
18543
  var startValueBeforeEvent = _this.startValueBeforeProgressBarEvent;
18547
18544
  var range = _this.rangeBetweenElementsBeforeProgressBarEvent;
18548
18545
  var _a = calculateNewRange(startValueBeforeEvent, startValueBeforeEvent + range, startPositionBeforeEvent, newCenter), newStart = _a.newStart, newEnd = _a.newEnd;
18549
- if (newStart < 0 || newEnd > 100) {
18546
+ if (newStart < _this.MIN_RANGE_VALUE || newEnd > _this.MAX_RANGE_VALUE) {
18550
18547
  return;
18551
18548
  }
18552
18549
  if (_this.needParseValues) {
18553
- var startValueBeforeEventUserRange = _this.getUserValueFromSliderValueByMap(startValueBeforeEvent);
18554
- var startPositionBeforeEventUserRange = _this.getUserValueFromSliderValueByMap(startPositionBeforeEvent);
18555
- var centerUserRange = _this.getUserValueFromSliderValueByMap(newCenter);
18550
+ var startValueBeforeEventUserRange = _this.getValueFromMapByValue(startValueBeforeEvent);
18551
+ var startPositionBeforeEventUserRange = _this.getValueFromMapByValue(startPositionBeforeEvent);
18552
+ var centerUserRange = _this.getValueFromMapByValue(newCenter);
18556
18553
  var valueRange = _this.totalRangeBeforeProgressBarEvent;
18557
18554
  var _b = calculateNewRange(startValueBeforeEventUserRange, startValueBeforeEventUserRange + valueRange, startPositionBeforeEventUserRange, centerUserRange), newStart_1 = _b.newStart, newEnd_1 = _b.newEnd;
18558
18555
  if (newStart_1 < _this.min || newEnd_1 > _this.max) {
18559
18556
  return;
18560
18557
  }
18561
- _this.startValue = _this.mapRangeValuesForSlider.get(newStart_1).left;
18562
- _this.endValue = _this.mapRangeValuesForSlider.get(newEnd_1).right;
18558
+ _this.startValue = _this.mapRangeValuesForSlider.get(newStart_1);
18559
+ _this.endValue = _this.mapRangeValuesForSlider.get(newEnd_1);
18563
18560
  }
18564
18561
  else {
18565
18562
  _this.startValue = newStart;
@@ -18582,8 +18579,15 @@ var SliderComponent = /** @class */ (function () {
18582
18579
  }
18583
18580
  SliderComponent_1 = SliderComponent;
18584
18581
  SliderComponent.prototype.ngOnInit = function () {
18585
- 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) {
18586
18589
  this.setUserRangeMapValues();
18590
+ this.setRangeValues();
18587
18591
  }
18588
18592
  };
18589
18593
  SliderComponent.prototype.ngAfterViewInit = function () {
@@ -18606,14 +18610,16 @@ var SliderComponent = /** @class */ (function () {
18606
18610
  };
18607
18611
  Object.defineProperty(SliderComponent.prototype, "tooltipStartText", {
18608
18612
  get: function () {
18609
- 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();
18610
18615
  },
18611
18616
  enumerable: true,
18612
18617
  configurable: true
18613
18618
  });
18614
18619
  Object.defineProperty(SliderComponent.prototype, "tooltipEndText", {
18615
18620
  get: function () {
18616
- 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();
18617
18623
  },
18618
18624
  enumerable: true,
18619
18625
  configurable: true
@@ -18642,11 +18648,11 @@ var SliderComponent = /** @class */ (function () {
18642
18648
  return;
18643
18649
  }
18644
18650
  var trackClickPercentage = this.getPercentageByEvent(evt);
18645
- var trackClickToUserRange = this.getUserValueFromSliderValueByMap(trackClickPercentage);
18651
+ var trackClickToUserRange = this.getValueFromMapByValue(trackClickPercentage);
18646
18652
  var _trackClickValid = this.needParseValues ? trackClickToUserRange : trackClickPercentage;
18647
18653
  var _setEndValue = function () {
18648
- var _endValueUserValue = _this.getUserValueFromSliderValueByMap(_this.endValue);
18649
- 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;
18650
18656
  if (_this.needParseValues && _endValueUserValue !== trackClickToUserRange) {
18651
18657
  _this.endValue = _endValue;
18652
18658
  }
@@ -18655,10 +18661,10 @@ var SliderComponent = /** @class */ (function () {
18655
18661
  }
18656
18662
  };
18657
18663
  var _setStartValue = function () {
18658
- var _startValueUserValue = _this.getUserValueFromSliderValueByMap(_this.startValue);
18664
+ var _startValueUserValue = _this.getValueFromMapByValue(_this.startValue);
18659
18665
  if (_this.needParseValues && _startValueUserValue !== trackClickToUserRange) {
18660
18666
  var _startValue = _this.needParseValues
18661
- ? _this.mapRangeValuesForSlider.get(trackClickToUserRange).left
18667
+ ? _this.mapRangeValuesForSlider.get(trackClickToUserRange)
18662
18668
  : trackClickPercentage;
18663
18669
  _this.startValue = _startValue;
18664
18670
  }
@@ -18668,8 +18674,8 @@ var SliderComponent = /** @class */ (function () {
18668
18674
  };
18669
18675
  if (this.multiple) {
18670
18676
  var _a = __read(this.value, 2), start = _a[0], end = _a[1];
18671
- var validStart_1 = this.needParseValues ? this.mapRangeValuesForSlider.get(start).left : start;
18672
- 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;
18673
18679
  var _updateStart = function () {
18674
18680
  _setStartValue();
18675
18681
  _this.setValue([trackClickPercentage, validEnd_1]);
@@ -18732,11 +18738,15 @@ var SliderComponent = /** @class */ (function () {
18732
18738
  document.addEventListener("mouseup", this.onMouseUp);
18733
18739
  };
18734
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
+ };
18735
18746
  if (Array.isArray(this.value) && !this.multiple) {
18736
18747
  throw new Error('You must use "multiple" with value as array');
18737
18748
  }
18738
- var hasRangeValues = !!(this.startValue && this.endValue);
18739
- if (this.multiple && Array.isArray(this.value) && !hasRangeValues) {
18749
+ if (this.multiple && Array.isArray(this.value)) {
18740
18750
  this.startValue = this.value[0];
18741
18751
  this.endValue = this.value[1];
18742
18752
  }
@@ -18748,13 +18758,40 @@ var SliderComponent = /** @class */ (function () {
18748
18758
  this.endValue = this.value;
18749
18759
  }
18750
18760
  if (this.needParseValues) {
18751
- var isEqualAndMultiple = this.multiple && this.startValue === this.endValue;
18752
- this.startValue = this.mapRangeValuesForSlider.get(this.startValue).left;
18753
- if (isEqualAndMultiple) {
18754
- 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
+ }
18755
18780
  }
18756
18781
  else {
18757
- 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
+ }
18758
18795
  }
18759
18796
  }
18760
18797
  this.setProgress();
@@ -18776,22 +18813,22 @@ var SliderComponent = /** @class */ (function () {
18776
18813
  */
18777
18814
  SliderComponent.prototype.getPercentageByEvent = function (mouseEvent) {
18778
18815
  var trackRect = this.track.nativeElement.getBoundingClientRect();
18779
- var newLeft = ((mouseEvent.clientX - trackRect.left) / trackRect.width) * 100;
18780
- newLeft = Math.round(newLeft / this.step) * this.step;
18781
- 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));
18782
18818
  return newLeft;
18783
18819
  };
18784
- SliderComponent.prototype.setValue = function (value) {
18820
+ SliderComponent.prototype.setValue = function (value, parse) {
18785
18821
  var _this = this;
18822
+ if (parse === void 0) { parse = true; }
18786
18823
  if (this.disabled) {
18787
18824
  return;
18788
18825
  }
18789
- if (this.needParseValues) {
18826
+ if (this.needParseValues && parse) {
18790
18827
  if (Array.isArray(value)) {
18791
- value = value.map(function (x) { return _this.getUserValueFromSliderValueByMap(x); });
18828
+ value = value.map(function (x) { return _this.getValueFromMapByValue(x); });
18792
18829
  }
18793
18830
  else {
18794
- value = this.getUserValueFromSliderValueByMap(value);
18831
+ value = this.getValueFromMapByValue(value);
18795
18832
  }
18796
18833
  }
18797
18834
  this.value = value;
@@ -18804,54 +18841,84 @@ var SliderComponent = /** @class */ (function () {
18804
18841
  var _this = this;
18805
18842
  var start = this.min;
18806
18843
  var end = this.max;
18807
- var forStart = 0;
18808
- var forEnd = 100;
18809
- this.mapRangeValuesForSlider.clear();
18810
- var mappedValues = [];
18811
- for (var i = start; i <= end; i++) {
18812
- var valuesWithMap = [];
18813
- for (var j = forStart; j <= forEnd; j++) {
18814
- var sliderToUserRangeValue = this.mapSliderToUserRange(j);
18815
- if (sliderToUserRangeValue !== i) {
18816
- forStart = j;
18817
- break;
18818
- }
18819
- else {
18820
- valuesWithMap.push(j);
18821
- }
18822
- }
18823
- var left = valuesWithMap[0];
18824
- var right = valuesWithMap[valuesWithMap.length - 1];
18825
- mappedValues.push({ value: i, left: left, right: right });
18844
+ if (start > end) {
18845
+ throw new Error('Max value must be greater than min value');
18826
18846
  }
18827
- adjustLastItem(mappedValues);
18828
- mappedValues.forEach(function (mappedValue) {
18829
- _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]);
18830
18872
  });
18831
18873
  };
18832
18874
  /**
18833
- * 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.
18834
18876
  * @example
18835
- * 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
18836
18882
  */
18837
- SliderComponent.prototype.mapSliderToUserRange = function (sliderValue) {
18838
- 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;
18839
18891
  };
18840
18892
  /**
18841
- * Returns the user value from the given slider value by using the map of range values.
18842
- * @example
18843
- * 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}]
18844
- * and the sliderValue is 37, the function returns 1
18845
- * @param sliderValue the value of the slider
18846
- * @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.
18847
18896
  */
18848
- SliderComponent.prototype.getUserValueFromSliderValueByMap = function (sliderValue) {
18849
- var _a;
18850
- var mapToArray = Array.from(this.mapRangeValuesForSlider).map(function (x) {
18851
- 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 });
18852
18901
  });
18853
- var mappedValue = mapToArray.find(function (x) { return isInRange(sliderValue, x.left, x.right); });
18854
- 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
+ }
18855
18922
  };
18856
18923
  SliderComponent.prototype.handleArrowKeyLeft = function () {
18857
18924
  if (this.multiple) {
@@ -18873,6 +18940,7 @@ var SliderComponent = /** @class */ (function () {
18873
18940
  };
18874
18941
  SliderComponent.prototype._incrementOrDecrementStartAndEndValue = function (increment) {
18875
18942
  var _a = __read(this.value, 2), start = _a[0], end = _a[1];
18943
+ var difference = getDifference(end, start);
18876
18944
  if (increment) {
18877
18945
  start += this.step;
18878
18946
  end += this.step;
@@ -18881,31 +18949,28 @@ var SliderComponent = /** @class */ (function () {
18881
18949
  start -= this.step;
18882
18950
  end -= this.step;
18883
18951
  }
18884
- if (this.needParseValues) {
18885
- if (!this.mapRangeValuesForSlider.has(start) || !this.mapRangeValuesForSlider.has(end)) {
18886
- 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;
18887
18958
  }
18888
- var isEqual = start === end;
18889
- if (isEqual && end === this.max) {
18890
- start = this.mapRangeValuesForSlider.get(this.max).right;
18891
- end = start;
18892
- }
18893
- else {
18894
- start = this.mapRangeValuesForSlider.get(start).left;
18895
- if (isEqual) {
18896
- end = start;
18897
- }
18898
- else {
18899
- end = this.mapRangeValuesForSlider.get(end).right;
18900
- }
18959
+ else if (endGreaterThanMax) {
18960
+ end = this.max;
18961
+ start = end - difference;
18901
18962
  }
18902
18963
  }
18903
- if (start < 0 || end > 100) {
18964
+ if (start < this.min || end > this.max) {
18904
18965
  return;
18905
18966
  }
18967
+ this.setValue([start, end], false);
18968
+ if (this.needParseValues) {
18969
+ start = this.getClosestValueFromMapSlider(start);
18970
+ end = this.getClosestValueFromMapSlider(end);
18971
+ }
18906
18972
  this.startValue = start;
18907
18973
  this.endValue = end;
18908
- this.setValue([start, end]);
18909
18974
  };
18910
18975
  SliderComponent.prototype._incrementOrDecrementEndValue = function (increment) {
18911
18976
  var value = this.value;
@@ -18917,28 +18982,18 @@ var SliderComponent = /** @class */ (function () {
18917
18982
  }
18918
18983
  var _newEndValue = value;
18919
18984
  if (this.needParseValues) {
18920
- var valueParsedInSlider = this.mapRangeValuesForSlider.get(value);
18921
- if (!valueParsedInSlider) {
18922
- return;
18923
- }
18924
- var pickLeft = valueParsedInSlider.right <= 50;
18925
- if (pickLeft) {
18926
- _newEndValue = this.mapRangeValuesForSlider.get(value).left;
18927
- }
18928
- else {
18929
- _newEndValue = this.mapRangeValuesForSlider.get(value).right;
18930
- }
18985
+ _newEndValue = this.getClosestValueFromMapSlider(_newEndValue);
18931
18986
  }
18932
- if (_newEndValue < 0 || _newEndValue > 100) {
18987
+ if (_newEndValue < this.MIN_RANGE_VALUE || _newEndValue > this.MAX_RANGE_VALUE) {
18933
18988
  return;
18934
18989
  }
18935
18990
  this.endValue = _newEndValue;
18936
18991
  this.startValue = this.endValue;
18937
- this.setValue(this.endValue);
18992
+ this.setValue(_newEndValue);
18938
18993
  };
18939
18994
  Object.defineProperty(SliderComponent.prototype, "needParseValues", {
18940
18995
  get: function () {
18941
- return this.max !== 100 || this.min !== 0;
18996
+ return this.max !== this.MAX_RANGE_VALUE || this.min !== this.MIN_RANGE_VALUE;
18942
18997
  },
18943
18998
  enumerable: true,
18944
18999
  configurable: true
@@ -19020,72 +19075,15 @@ var isInRange = function (value, rangeStart, rangeEnd) {
19020
19075
  return value >= min && value <= max;
19021
19076
  };
19022
19077
  var ɵ1$1 = isInRange;
19023
- /**
19024
- * Adjust the last item of a mapped range to fill the gap between it and the penultimate item.
19025
- * The gap is calculated by subtracting the difference between the last item's right and left
19026
- * from the average difference between all the previous items.
19027
- *
19028
- * @param mappedValues - The mapped range to be adjusted.
19029
- *
19030
- * The function works by finding the gap between the last item and the penultimate item and
19031
- * then distributing this gap among the previous items. The distribution is done by finding
19032
- * the items that need to be fixed and then fixing them by shifting their left and right
19033
- * positions.
19034
- *
19035
- * The function returns nothing, but it modifies the mappedValues array in place.
19036
- */
19037
- var adjustLastItem = function (mappedValues) {
19038
- var lastItem = mappedValues[mappedValues.length - 1];
19039
- var lastDifference = lastItem.right - lastItem.left;
19040
- var withoutLastItem = mappedValues.slice(0, mappedValues.length - 1);
19041
- var differences = withoutLastItem.map(function (_a) {
19042
- var left = _a.left, right = _a.right;
19043
- return right - left;
19044
- });
19045
- var averageDifference = Math.floor(differences.reduce(function (sum, diff) { return sum + diff; }, 0) / differences.length);
19046
- var _getRandomIndexFromArray = function (array, storedChanges) {
19047
- if (storedChanges.length === array.length) {
19048
- storedChanges = [];
19049
- }
19050
- var randomIndex = Math.floor(Math.random() * array.length);
19051
- var randomIndexAlreadyStored = storedChanges.includes(randomIndex);
19052
- while (randomIndexAlreadyStored) {
19053
- randomIndex = Math.floor(Math.random() * withoutLastItem.length);
19054
- randomIndexAlreadyStored = storedChanges.includes(randomIndex);
19055
- }
19056
- storedChanges.push(randomIndex);
19057
- return { randomIndex: randomIndex, storedChanges: storedChanges };
19058
- };
19059
- var needFixLastItem = lastDifference < averageDifference;
19060
- var arr = [];
19061
- if (needFixLastItem) {
19062
- var captureItensCount = averageDifference - lastDifference;
19063
- var randomIndexStored = [];
19064
- for (var i = 0; i <= captureItensCount; i++) {
19065
- var _a = _getRandomIndexFromArray(withoutLastItem, randomIndexStored), randomIndex = _a.randomIndex, storedChanges = _a.storedChanges;
19066
- randomIndexStored = storedChanges;
19067
- arr.push(randomIndex);
19068
- var randomItem = withoutLastItem[randomIndex];
19069
- --lastItem.left;
19070
- --randomItem.right;
19071
- }
19072
- mappedValues.forEach(function (mappedValue, index) {
19073
- var _next = mappedValues[index + 1];
19074
- if (!_next) {
19075
- return;
19076
- }
19077
- var nextLeft = _next.left;
19078
- var currentRight = mappedValue.right;
19079
- if (currentRight !== currentRight + 1) {
19080
- var _nextDiff = _next.right - nextLeft;
19081
- var _nextLeft = currentRight + 1;
19082
- _next.left = _nextLeft;
19083
- _next.right = _nextLeft + _nextDiff;
19084
- }
19085
- });
19086
- }
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);
19087
19085
  };
19088
- var ɵ2 = adjustLastItem;
19086
+ var ɵ3 = getDifference;
19089
19087
 
19090
19088
  var SliderModule = /** @class */ (function () {
19091
19089
  function SliderModule() {
@@ -20459,7 +20457,7 @@ var filterEnabled = function (list) {
20459
20457
  var _list = list instanceof Set ? Array.from(list) : list;
20460
20458
  return _list.filter(function (x) { return !x.disabled; });
20461
20459
  };
20462
- var ɵ3 = filterEnabled;
20460
+ var ɵ3$1 = filterEnabled;
20463
20461
  var mapData = function (list) {
20464
20462
  return list.map(function (x) { return x.data; });
20465
20463
  };
@@ -20819,5 +20817,5 @@ var fallback = {
20819
20817
  * Generated bundle index. Do not edit.
20820
20818
  */
20821
20819
 
20822
- 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 };
20823
20821
  //# sourceMappingURL=seniorsistemas-angular-components.js.map