@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.
@@ -16479,7 +16479,7 @@ ObjectCardModule = __decorate([
16479
16479
 
16480
16480
  let PanelComponent = class PanelComponent {
16481
16481
  constructor() {
16482
- this.collapsable = false;
16482
+ this.toggleable = false;
16483
16483
  this.collapsed = false;
16484
16484
  this.severity = EnumSeverity.Default;
16485
16485
  this.collapsedChange = new EventEmitter();
@@ -16511,15 +16511,12 @@ let PanelComponent = class PanelComponent {
16511
16511
  this.footerTemplate = this.getFooterTemplate();
16512
16512
  }
16513
16513
  };
16514
- __decorate([
16515
- ContentChildren(TemplateDirective)
16516
- ], PanelComponent.prototype, "templates", void 0);
16517
16514
  __decorate([
16518
16515
  Input()
16519
16516
  ], PanelComponent.prototype, "header", void 0);
16520
16517
  __decorate([
16521
16518
  Input()
16522
- ], PanelComponent.prototype, "collapsable", void 0);
16519
+ ], PanelComponent.prototype, "toggleable", void 0);
16523
16520
  __decorate([
16524
16521
  Input()
16525
16522
  ], PanelComponent.prototype, "collapsed", void 0);
@@ -16535,10 +16532,13 @@ __decorate([
16535
16532
  __decorate([
16536
16533
  Output()
16537
16534
  ], PanelComponent.prototype, "collapsedChange", void 0);
16535
+ __decorate([
16536
+ ContentChildren(TemplateDirective)
16537
+ ], PanelComponent.prototype, "templates", void 0);
16538
16538
  PanelComponent = __decorate([
16539
16539
  Component({
16540
16540
  selector: "s-panel",
16541
- 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>",
16541
+ 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",
16542
16542
  animations: [
16543
16543
  trigger("BorderButtonAnimation", [
16544
16544
  transition(":enter", [
@@ -17233,14 +17233,16 @@ SlidePanelModule = __decorate([
17233
17233
  var SliderComponent_1;
17234
17234
  let SliderComponent = SliderComponent_1 = class SliderComponent {
17235
17235
  constructor() {
17236
+ this.MAX_RANGE_VALUE = 100;
17237
+ this.MIN_RANGE_VALUE = 0;
17236
17238
  this.multiple = false;
17237
17239
  this.value = 0;
17238
17240
  this.valueChange = new EventEmitter();
17239
17241
  this.step = 1;
17240
17242
  this.hiddenThumb = false;
17241
17243
  this.disabled = false;
17242
- this.min = 0;
17243
- this.max = 100;
17244
+ this.min = this.MIN_RANGE_VALUE;
17245
+ this.max = this.MAX_RANGE_VALUE;
17244
17246
  this.tabindex = 0;
17245
17247
  this.startValue = 0;
17246
17248
  this.endValue = 0;
@@ -17259,13 +17261,11 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17259
17261
  * @example
17260
17262
  * with min = -10 and max = 10 will have this map.
17261
17263
  * {
17262
- * -10: { left: 0, right: 10 },
17263
- * -9: { left: 11, right: 19 },
17264
+ * -10: { 0 },
17265
+ * -9: { 10 },
17264
17266
  * ...
17265
- * 10: { left: 90, right: 100 }
17267
+ * 10: { 10 }
17266
17268
  * }
17267
- * the left value represent value for startValue, the right value represent value for endValue
17268
- * left and right values ​​are used when applying percentages in the slider
17269
17269
  */
17270
17270
  this.mapRangeValuesForSlider = new Map();
17271
17271
  this.activeMouseDown = false;
@@ -17278,16 +17278,16 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17278
17278
  (this.multiple && this.draggingThumb === "end" && newPosition < this.startValue)) {
17279
17279
  return;
17280
17280
  }
17281
- const positionInUserRange = this.getUserValueFromSliderValueByMap(newPosition);
17281
+ const positionInUserRange = this.getValueFromMapByValue(newPosition);
17282
17282
  if (this.multiple) {
17283
17283
  if (this.draggingThumb === "start") {
17284
17284
  this.startValue = this.needParseValues
17285
- ? this.mapRangeValuesForSlider.get(positionInUserRange).left
17285
+ ? this.mapRangeValuesForSlider.get(positionInUserRange)
17286
17286
  : newPosition;
17287
17287
  }
17288
17288
  else if (this.draggingThumb === "end") {
17289
17289
  this.endValue = this.needParseValues
17290
- ? this.mapRangeValuesForSlider.get(positionInUserRange).right
17290
+ ? this.mapRangeValuesForSlider.get(positionInUserRange)
17291
17291
  : newPosition;
17292
17292
  }
17293
17293
  this.setValue([this.startValue, this.endValue]);
@@ -17300,18 +17300,15 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17300
17300
  }
17301
17301
  }
17302
17302
  else {
17303
- const pickLeftValue = newPosition <= 50;
17304
- const pickRightValue = newPosition > 50;
17305
- if (pickLeftValue) {
17306
- this.endValue = this.needParseValues
17307
- ? this.mapRangeValuesForSlider.get(positionInUserRange).left
17308
- : newPosition;
17309
- }
17310
- else if (pickRightValue) {
17311
- this.endValue = this.needParseValues
17312
- ? this.mapRangeValuesForSlider.get(positionInUserRange).right
17313
- : newPosition;
17303
+ const currentValue = this.value;
17304
+ const _value = this.needParseValues ? positionInUserRange : newPosition;
17305
+ const isAtSameValue = this.needParseValues ? positionInUserRange === this.value : false;
17306
+ const hasStep = this.step !== 0;
17307
+ const newValueIsValidByStep = hasStep ? currentValue + this.step === _value || currentValue - this.step === _value : false;
17308
+ if (isAtSameValue && !newValueIsValidByStep) {
17309
+ return;
17314
17310
  }
17311
+ this.endValue = this.needParseValues ? this.mapRangeValuesForSlider.get(positionInUserRange) : newPosition;
17315
17312
  this.startValue = this.endValue;
17316
17313
  this.setValue(this.endValue);
17317
17314
  }
@@ -17332,20 +17329,20 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17332
17329
  const startValueBeforeEvent = this.startValueBeforeProgressBarEvent;
17333
17330
  const range = this.rangeBetweenElementsBeforeProgressBarEvent;
17334
17331
  let { newStart, newEnd } = calculateNewRange(startValueBeforeEvent, startValueBeforeEvent + range, startPositionBeforeEvent, newCenter);
17335
- if (newStart < 0 || newEnd > 100) {
17332
+ if (newStart < this.MIN_RANGE_VALUE || newEnd > this.MAX_RANGE_VALUE) {
17336
17333
  return;
17337
17334
  }
17338
17335
  if (this.needParseValues) {
17339
- const startValueBeforeEventUserRange = this.getUserValueFromSliderValueByMap(startValueBeforeEvent);
17340
- const startPositionBeforeEventUserRange = this.getUserValueFromSliderValueByMap(startPositionBeforeEvent);
17341
- const centerUserRange = this.getUserValueFromSliderValueByMap(newCenter);
17336
+ const startValueBeforeEventUserRange = this.getValueFromMapByValue(startValueBeforeEvent);
17337
+ const startPositionBeforeEventUserRange = this.getValueFromMapByValue(startPositionBeforeEvent);
17338
+ const centerUserRange = this.getValueFromMapByValue(newCenter);
17342
17339
  const valueRange = this.totalRangeBeforeProgressBarEvent;
17343
17340
  let { newStart, newEnd } = calculateNewRange(startValueBeforeEventUserRange, startValueBeforeEventUserRange + valueRange, startPositionBeforeEventUserRange, centerUserRange);
17344
17341
  if (newStart < this.min || newEnd > this.max) {
17345
17342
  return;
17346
17343
  }
17347
- this.startValue = this.mapRangeValuesForSlider.get(newStart).left;
17348
- this.endValue = this.mapRangeValuesForSlider.get(newEnd).right;
17344
+ this.startValue = this.mapRangeValuesForSlider.get(newStart);
17345
+ this.endValue = this.mapRangeValuesForSlider.get(newEnd);
17349
17346
  }
17350
17347
  else {
17351
17348
  this.startValue = newStart;
@@ -17367,8 +17364,15 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17367
17364
  };
17368
17365
  }
17369
17366
  ngOnInit() {
17370
- if (this.needParseValues) {
17367
+ this.setUserRangeMapValues();
17368
+ }
17369
+ ngOnChanges(changes) {
17370
+ const hasChangesOnMin = changes.min && !changes.min.firstChange;
17371
+ const hasChangesOnMax = changes.max && !changes.max.firstChange;
17372
+ const hasChanges = hasChangesOnMin || hasChangesOnMax;
17373
+ if (hasChanges) {
17371
17374
  this.setUserRangeMapValues();
17375
+ this.setRangeValues();
17372
17376
  }
17373
17377
  }
17374
17378
  ngAfterViewInit() {
@@ -17389,10 +17393,12 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17389
17393
  }
17390
17394
  }
17391
17395
  get tooltipStartText() {
17392
- return (this.needParseValues ? this.getUserValueFromSliderValueByMap(this.startValue) : this.startValue).toString();
17396
+ var _a, _b;
17397
+ 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();
17393
17398
  }
17394
17399
  get tooltipEndText() {
17395
- return (this.needParseValues ? this.getUserValueFromSliderValueByMap(this.endValue) : this.endValue).toString();
17400
+ var _a, _b;
17401
+ 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();
17396
17402
  }
17397
17403
  writeValue(obj) {
17398
17404
  this.value = obj;
@@ -17417,11 +17423,11 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17417
17423
  return;
17418
17424
  }
17419
17425
  const trackClickPercentage = this.getPercentageByEvent(evt);
17420
- const trackClickToUserRange = this.getUserValueFromSliderValueByMap(trackClickPercentage);
17426
+ const trackClickToUserRange = this.getValueFromMapByValue(trackClickPercentage);
17421
17427
  const _trackClickValid = this.needParseValues ? trackClickToUserRange : trackClickPercentage;
17422
17428
  const _setEndValue = () => {
17423
- const _endValueUserValue = this.getUserValueFromSliderValueByMap(this.endValue);
17424
- const _endValue = this.needParseValues ? this.mapRangeValuesForSlider.get(trackClickToUserRange).right : trackClickPercentage;
17429
+ const _endValueUserValue = this.getValueFromMapByValue(this.endValue);
17430
+ const _endValue = this.needParseValues ? this.mapRangeValuesForSlider.get(trackClickToUserRange) : trackClickPercentage;
17425
17431
  if (this.needParseValues && _endValueUserValue !== trackClickToUserRange) {
17426
17432
  this.endValue = _endValue;
17427
17433
  }
@@ -17430,10 +17436,10 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17430
17436
  }
17431
17437
  };
17432
17438
  const _setStartValue = () => {
17433
- const _startValueUserValue = this.getUserValueFromSliderValueByMap(this.startValue);
17439
+ const _startValueUserValue = this.getValueFromMapByValue(this.startValue);
17434
17440
  if (this.needParseValues && _startValueUserValue !== trackClickToUserRange) {
17435
17441
  const _startValue = this.needParseValues
17436
- ? this.mapRangeValuesForSlider.get(trackClickToUserRange).left
17442
+ ? this.mapRangeValuesForSlider.get(trackClickToUserRange)
17437
17443
  : trackClickPercentage;
17438
17444
  this.startValue = _startValue;
17439
17445
  }
@@ -17443,8 +17449,8 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17443
17449
  };
17444
17450
  if (this.multiple) {
17445
17451
  const [start, end] = this.value;
17446
- const validStart = this.needParseValues ? this.mapRangeValuesForSlider.get(start).left : start;
17447
- const validEnd = this.needParseValues ? this.mapRangeValuesForSlider.get(end).right : end;
17452
+ const validStart = this.needParseValues ? this.mapRangeValuesForSlider.get(start) : start;
17453
+ const validEnd = this.needParseValues ? this.mapRangeValuesForSlider.get(end) : end;
17448
17454
  const _updateStart = () => {
17449
17455
  _setStartValue();
17450
17456
  this.setValue([trackClickPercentage, validEnd]);
@@ -17507,11 +17513,14 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17507
17513
  document.addEventListener("mouseup", this.onMouseUp);
17508
17514
  }
17509
17515
  setRangeValues() {
17516
+ const _setStartAndEndValue = (startValue, endValue) => {
17517
+ this.startValue = this.getClosestValueFromMapSlider(startValue);
17518
+ this.endValue = this.getClosestValueFromMapSlider(endValue);
17519
+ };
17510
17520
  if (Array.isArray(this.value) && !this.multiple) {
17511
17521
  throw new Error('You must use "multiple" with value as array');
17512
17522
  }
17513
- const hasRangeValues = !!(this.startValue && this.endValue);
17514
- if (this.multiple && Array.isArray(this.value) && !hasRangeValues) {
17523
+ if (this.multiple && Array.isArray(this.value)) {
17515
17524
  this.startValue = this.value[0];
17516
17525
  this.endValue = this.value[1];
17517
17526
  }
@@ -17523,13 +17532,40 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17523
17532
  this.endValue = this.value;
17524
17533
  }
17525
17534
  if (this.needParseValues) {
17526
- const isEqualAndMultiple = this.multiple && this.startValue === this.endValue;
17527
- this.startValue = this.mapRangeValuesForSlider.get(this.startValue).left;
17528
- if (isEqualAndMultiple) {
17529
- this.endValue = this.startValue;
17535
+ _setStartAndEndValue(this.startValue, this.endValue);
17536
+ if (this.multiple) {
17537
+ let [_startValue, _endValue] = this.value;
17538
+ const difference = getDifference(_endValue, _startValue);
17539
+ const endValueIsGreatherThanMax = _endValue > this.max;
17540
+ const startValueIsLessThanMin = _startValue < this.min;
17541
+ const needUpdateValues = endValueIsGreatherThanMax || startValueIsLessThanMin;
17542
+ if (endValueIsGreatherThanMax) {
17543
+ _endValue = this.max;
17544
+ _startValue = _endValue - difference;
17545
+ }
17546
+ else if (startValueIsLessThanMin) {
17547
+ _startValue = this.min;
17548
+ _endValue = _startValue + difference;
17549
+ }
17550
+ if (needUpdateValues) {
17551
+ _setStartAndEndValue(_startValue, _endValue);
17552
+ this.setValue([this.startValue, this.endValue]);
17553
+ }
17530
17554
  }
17531
17555
  else {
17532
- this.endValue = this.mapRangeValuesForSlider.get(this.endValue).right;
17556
+ let _value = this.value;
17557
+ const valueGreatherThanMax = _value > this.max;
17558
+ const valueLessThanMin = _value < this.min;
17559
+ const needUpdateValue = valueGreatherThanMax || valueLessThanMin;
17560
+ if (valueGreatherThanMax) {
17561
+ _value = this.max;
17562
+ }
17563
+ else if (valueLessThanMin) {
17564
+ _value = this.min;
17565
+ }
17566
+ if (needUpdateValue) {
17567
+ this.setValue(_value);
17568
+ }
17533
17569
  }
17534
17570
  }
17535
17571
  this.setProgress();
@@ -17551,21 +17587,20 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17551
17587
  */
17552
17588
  getPercentageByEvent(mouseEvent) {
17553
17589
  const trackRect = this.track.nativeElement.getBoundingClientRect();
17554
- let newLeft = ((mouseEvent.clientX - trackRect.left) / trackRect.width) * 100;
17555
- newLeft = Math.round(newLeft / this.step) * this.step;
17556
- newLeft = Math.max(0, Math.min(newLeft, 100));
17590
+ let newLeft = Math.round(((mouseEvent.clientX - trackRect.left) / trackRect.width) * this.MAX_RANGE_VALUE);
17591
+ newLeft = Math.max(0, Math.min(newLeft, this.MAX_RANGE_VALUE));
17557
17592
  return newLeft;
17558
17593
  }
17559
- setValue(value) {
17594
+ setValue(value, parse = true) {
17560
17595
  if (this.disabled) {
17561
17596
  return;
17562
17597
  }
17563
- if (this.needParseValues) {
17598
+ if (this.needParseValues && parse) {
17564
17599
  if (Array.isArray(value)) {
17565
- value = value.map((x) => this.getUserValueFromSliderValueByMap(x));
17600
+ value = value.map((x) => this.getValueFromMapByValue(x));
17566
17601
  }
17567
17602
  else {
17568
- value = this.getUserValueFromSliderValueByMap(value);
17603
+ value = this.getValueFromMapByValue(value);
17569
17604
  }
17570
17605
  }
17571
17606
  this.value = value;
@@ -17577,54 +17612,78 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17577
17612
  setUserRangeMapValues() {
17578
17613
  const start = this.min;
17579
17614
  const end = this.max;
17580
- let forStart = 0;
17581
- let forEnd = 100;
17582
- this.mapRangeValuesForSlider.clear();
17583
- const mappedValues = [];
17584
- for (let i = start; i <= end; i++) {
17585
- const valuesWithMap = [];
17586
- for (let j = forStart; j <= forEnd; j++) {
17587
- const sliderToUserRangeValue = this.mapSliderToUserRange(j);
17588
- if (sliderToUserRangeValue !== i) {
17589
- forStart = j;
17590
- break;
17591
- }
17592
- else {
17593
- valuesWithMap.push(j);
17594
- }
17595
- }
17596
- const left = valuesWithMap[0];
17597
- const right = valuesWithMap[valuesWithMap.length - 1];
17598
- mappedValues.push({ value: i, left, right });
17615
+ if (start > end) {
17616
+ throw new Error('Max value must be greater than min value');
17599
17617
  }
17600
- adjustLastItem(mappedValues);
17601
- mappedValues.forEach((mappedValue) => {
17602
- this.mapRangeValuesForSlider.set(mappedValue.value, Object.assign({}, mappedValue));
17618
+ this.mapRangeValuesForSlider.clear();
17619
+ const range = end - start;
17620
+ const decimalPlaces = 2;
17621
+ const stepCount = Math.floor(range / this.step);
17622
+ const values = [];
17623
+ for (let value = start; value <= end; value += this.step) {
17624
+ values.push(value);
17625
+ }
17626
+ if (values[values.length - 1] !== end) {
17627
+ values.push(end);
17628
+ }
17629
+ const mappedValues = values.map((value) => {
17630
+ let mapped = ((value - start) / range) * this.MAX_RANGE_VALUE;
17631
+ return parseFloat(mapped.toFixed(decimalPlaces));
17632
+ });
17633
+ mappedValues[0] = 0;
17634
+ mappedValues[mappedValues.length - 1] = this.MAX_RANGE_VALUE;
17635
+ const error = this.MAX_RANGE_VALUE - mappedValues[mappedValues.length - 1];
17636
+ const errorPerStep = error / stepCount;
17637
+ for (let i = 1; i < mappedValues.length - 1; i++) {
17638
+ mappedValues[i] += errorPerStep;
17639
+ mappedValues[i] = parseFloat(mappedValues[i].toFixed(decimalPlaces));
17640
+ }
17641
+ values.forEach((value, index) => {
17642
+ this.mapRangeValuesForSlider.set(value, mappedValues[index]);
17603
17643
  });
17604
17644
  }
17605
17645
  /**
17606
- * Maps a slider value to a user value in the range [min, max].
17646
+ * Returns the user value from the given slider value by using the map of range values.
17607
17647
  * @example
17608
- * If min = 0 and max = 10, mapSliderToUserRange(25) returns 2.5
17648
+ * If the map is 0: { 0 }, 1: { 10 }, 2: { 30 }, 3: { 40 }, 4: { 50 }
17649
+ * and the sliderValue is 37, the function returns 3
17650
+ * or the slider value is 40, the function returns 4
17651
+ * @param sliderValue the value of the slider (values only between range MIN and MAX)
17652
+ * @returns the user value from the given slider value
17609
17653
  */
17610
- mapSliderToUserRange(sliderValue) {
17611
- return Math.floor(this.min + (sliderValue / 100) * (this.max - this.min));
17654
+ getValueFromMapByValue(sliderValue) {
17655
+ const mapToArray = Array.from(this.mapRangeValuesForSlider).map(([value, mapped]) => ({ value, mapped }));
17656
+ const exactValue = mapToArray.find((x) => x.mapped == sliderValue);
17657
+ const closest = mapToArray.reduce((prev, curr) => Math.abs(curr.mapped - sliderValue) < Math.abs(prev.mapped - sliderValue) ? curr : prev);
17658
+ return exactValue ? exactValue.value : closest.value;
17612
17659
  }
17613
17660
  /**
17614
- * Returns the user value from the given slider value by using the map of range values.
17615
- * @example
17616
- * 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}]
17617
- * and the sliderValue is 37, the function returns 1
17618
- * @param sliderValue the value of the slider
17619
- * @returns the user value from the given slider value
17661
+ * Retrieves the key from the map that is closest to the given slider value.
17662
+ * @param userValue - The value to find the closest key for. (values only between 0 - 100)
17663
+ * @returns The key that corresponds to the closest mapped value.
17620
17664
  */
17621
- getUserValueFromSliderValueByMap(sliderValue) {
17622
- var _a;
17623
- const mapToArray = Array.from(this.mapRangeValuesForSlider).map((x) => {
17624
- return Object.assign({ value: x[0] }, x[1]);
17625
- });
17626
- const mappedValue = mapToArray.find((x) => isInRange(sliderValue, x.left, x.right));
17627
- return (_a = mappedValue === null || mappedValue === void 0 ? void 0 : mappedValue.value) !== null && _a !== void 0 ? _a : sliderValue;
17665
+ getClosestValueFromMapSlider(userValue) {
17666
+ const mapToArray = Array.from(this.mapRangeValuesForSlider).map(([value, mapped]) => ({ value, mapped }));
17667
+ if (userValue >= this.max) {
17668
+ return mapToArray[mapToArray.length - 1].mapped;
17669
+ }
17670
+ else if (userValue <= this.min) {
17671
+ return mapToArray[0].mapped;
17672
+ }
17673
+ const exactValue = mapToArray.find((x) => x.value == userValue);
17674
+ const closestValue = mapToArray.reduce((prev, curr) => Math.abs(curr.value - userValue) < Math.abs(prev.value - userValue) ? curr : prev);
17675
+ const item = exactValue || closestValue;
17676
+ const isFirstItem = mapToArray[0] === item;
17677
+ const isLastItem = mapToArray[mapToArray.length - 1] === item;
17678
+ if (isFirstItem && userValue > this.min) {
17679
+ return getMidpoint(item.mapped, mapToArray[1].mapped);
17680
+ }
17681
+ else if (isLastItem && userValue < this.max) {
17682
+ return getMidpoint(item.mapped, mapToArray[mapToArray.length - 2].mapped);
17683
+ }
17684
+ else {
17685
+ return item.mapped;
17686
+ }
17628
17687
  }
17629
17688
  handleArrowKeyLeft() {
17630
17689
  if (this.multiple) {
@@ -17646,6 +17705,7 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17646
17705
  }
17647
17706
  _incrementOrDecrementStartAndEndValue(increment) {
17648
17707
  let [start, end] = this.value;
17708
+ const difference = getDifference(end, start);
17649
17709
  if (increment) {
17650
17710
  start += this.step;
17651
17711
  end += this.step;
@@ -17654,31 +17714,28 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17654
17714
  start -= this.step;
17655
17715
  end -= this.step;
17656
17716
  }
17657
- if (this.needParseValues) {
17658
- if (!this.mapRangeValuesForSlider.has(start) || !this.mapRangeValuesForSlider.has(end)) {
17659
- return;
17717
+ const startLessThanMin = start < this.min;
17718
+ const endGreaterThanMax = end > this.max;
17719
+ if (startLessThanMin || endGreaterThanMax) {
17720
+ if (startLessThanMin) {
17721
+ start = this.min;
17722
+ end = start + difference;
17660
17723
  }
17661
- const isEqual = start === end;
17662
- if (isEqual && end === this.max) {
17663
- start = this.mapRangeValuesForSlider.get(this.max).right;
17664
- end = start;
17665
- }
17666
- else {
17667
- start = this.mapRangeValuesForSlider.get(start).left;
17668
- if (isEqual) {
17669
- end = start;
17670
- }
17671
- else {
17672
- end = this.mapRangeValuesForSlider.get(end).right;
17673
- }
17724
+ else if (endGreaterThanMax) {
17725
+ end = this.max;
17726
+ start = end - difference;
17674
17727
  }
17675
17728
  }
17676
- if (start < 0 || end > 100) {
17729
+ if (start < this.min || end > this.max) {
17677
17730
  return;
17678
17731
  }
17732
+ this.setValue([start, end], false);
17733
+ if (this.needParseValues) {
17734
+ start = this.getClosestValueFromMapSlider(start);
17735
+ end = this.getClosestValueFromMapSlider(end);
17736
+ }
17679
17737
  this.startValue = start;
17680
17738
  this.endValue = end;
17681
- this.setValue([start, end]);
17682
17739
  }
17683
17740
  _incrementOrDecrementEndValue(increment) {
17684
17741
  let value = this.value;
@@ -17690,27 +17747,17 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17690
17747
  }
17691
17748
  let _newEndValue = value;
17692
17749
  if (this.needParseValues) {
17693
- const valueParsedInSlider = this.mapRangeValuesForSlider.get(value);
17694
- if (!valueParsedInSlider) {
17695
- return;
17696
- }
17697
- const pickLeft = valueParsedInSlider.right <= 50;
17698
- if (pickLeft) {
17699
- _newEndValue = this.mapRangeValuesForSlider.get(value).left;
17700
- }
17701
- else {
17702
- _newEndValue = this.mapRangeValuesForSlider.get(value).right;
17703
- }
17750
+ _newEndValue = this.getClosestValueFromMapSlider(_newEndValue);
17704
17751
  }
17705
- if (_newEndValue < 0 || _newEndValue > 100) {
17752
+ if (_newEndValue < this.MIN_RANGE_VALUE || _newEndValue > this.MAX_RANGE_VALUE) {
17706
17753
  return;
17707
17754
  }
17708
17755
  this.endValue = _newEndValue;
17709
17756
  this.startValue = this.endValue;
17710
- this.setValue(this.endValue);
17757
+ this.setValue(_newEndValue);
17711
17758
  }
17712
17759
  get needParseValues() {
17713
- return this.max !== 100 || this.min !== 0;
17760
+ return this.max !== this.MAX_RANGE_VALUE || this.min !== this.MIN_RANGE_VALUE;
17714
17761
  }
17715
17762
  };
17716
17763
  __decorate([
@@ -17787,69 +17834,15 @@ const isInRange = (value, rangeStart, rangeEnd) => {
17787
17834
  return value >= min && value <= max;
17788
17835
  };
17789
17836
  const ɵ1$1 = isInRange;
17790
- /**
17791
- * Adjust the last item of a mapped range to fill the gap between it and the penultimate item.
17792
- * The gap is calculated by subtracting the difference between the last item's right and left
17793
- * from the average difference between all the previous items.
17794
- *
17795
- * @param mappedValues - The mapped range to be adjusted.
17796
- *
17797
- * The function works by finding the gap between the last item and the penultimate item and
17798
- * then distributing this gap among the previous items. The distribution is done by finding
17799
- * the items that need to be fixed and then fixing them by shifting their left and right
17800
- * positions.
17801
- *
17802
- * The function returns nothing, but it modifies the mappedValues array in place.
17803
- */
17804
- const adjustLastItem = (mappedValues) => {
17805
- const lastItem = mappedValues[mappedValues.length - 1];
17806
- const lastDifference = lastItem.right - lastItem.left;
17807
- const withoutLastItem = mappedValues.slice(0, mappedValues.length - 1);
17808
- const differences = withoutLastItem.map(({ left, right }) => right - left);
17809
- const averageDifference = Math.floor(differences.reduce((sum, diff) => sum + diff, 0) / differences.length);
17810
- const _getRandomIndexFromArray = (array, storedChanges) => {
17811
- if (storedChanges.length === array.length) {
17812
- storedChanges = [];
17813
- }
17814
- let randomIndex = Math.floor(Math.random() * array.length);
17815
- let randomIndexAlreadyStored = storedChanges.includes(randomIndex);
17816
- while (randomIndexAlreadyStored) {
17817
- randomIndex = Math.floor(Math.random() * withoutLastItem.length);
17818
- randomIndexAlreadyStored = storedChanges.includes(randomIndex);
17819
- }
17820
- storedChanges.push(randomIndex);
17821
- return { randomIndex, storedChanges };
17822
- };
17823
- const needFixLastItem = lastDifference < averageDifference;
17824
- let arr = [];
17825
- if (needFixLastItem) {
17826
- const captureItensCount = averageDifference - lastDifference;
17827
- let randomIndexStored = [];
17828
- for (let i = 0; i <= captureItensCount; i++) {
17829
- const { randomIndex, storedChanges } = _getRandomIndexFromArray(withoutLastItem, randomIndexStored);
17830
- randomIndexStored = storedChanges;
17831
- arr.push(randomIndex);
17832
- const randomItem = withoutLastItem[randomIndex];
17833
- --lastItem.left;
17834
- --randomItem.right;
17835
- }
17836
- mappedValues.forEach((mappedValue, index) => {
17837
- const _next = mappedValues[index + 1];
17838
- if (!_next) {
17839
- return;
17840
- }
17841
- const nextLeft = _next.left;
17842
- const currentRight = mappedValue.right;
17843
- if (currentRight !== currentRight + 1) {
17844
- const _nextDiff = _next.right - nextLeft;
17845
- const _nextLeft = currentRight + 1;
17846
- _next.left = _nextLeft;
17847
- _next.right = _nextLeft + _nextDiff;
17848
- }
17849
- });
17850
- }
17837
+ const getMidpoint = (start, end) => {
17838
+ const midpoint = (start + end) / 2;
17839
+ return parseFloat(midpoint.toFixed(2));
17840
+ };
17841
+ const ɵ2 = getMidpoint;
17842
+ const getDifference = (end, start) => {
17843
+ return Math.abs(end - start);
17851
17844
  };
17852
- const ɵ2 = adjustLastItem;
17845
+ const ɵ3 = getDifference;
17853
17846
 
17854
17847
  let SliderModule = class SliderModule {
17855
17848
  };
@@ -19101,7 +19094,7 @@ const filterEnabled = (list) => {
19101
19094
  const _list = list instanceof Set ? Array.from(list) : list;
19102
19095
  return _list.filter((x) => !x.disabled);
19103
19096
  };
19104
- const ɵ3 = filterEnabled;
19097
+ const ɵ3$1 = filterEnabled;
19105
19098
  const mapData = (list) => {
19106
19099
  return list.map((x) => x.data);
19107
19100
  };
@@ -19458,5 +19451,5 @@ const fallback = {
19458
19451
  * Generated bundle index. Do not edit.
19459
19452
  */
19460
19453
 
19461
- 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 };
19454
+ 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 };
19462
19455
  //# sourceMappingURL=seniorsistemas-angular-components.js.map