@seniorsistemas/angular-components 17.16.3 → 17.16.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16529,13 +16529,16 @@ __decorate([
16529
16529
  __decorate([
16530
16530
  Input()
16531
16531
  ], PanelComponent.prototype, "borderButtonOptions", void 0);
16532
+ __decorate([
16533
+ Input()
16534
+ ], PanelComponent.prototype, "class", void 0);
16532
16535
  __decorate([
16533
16536
  Output()
16534
16537
  ], PanelComponent.prototype, "collapsedChange", void 0);
16535
16538
  PanelComponent = __decorate([
16536
16539
  Component({
16537
16540
  selector: "s-panel",
16538
- template: "<div\n class=\"panel\"\n [ngClass]=\"{\n 'panel--success': severity === EnumSeverity.Success,\n 'panel--info': severity === EnumSeverity.Info,\n 'panel--warn': severity === EnumSeverity.Warn,\n 'panel--error': severity === EnumSeverity.Error,\n 'panel--collapsed': collapsed\n }\">\n <s-border-button\n *ngIf=\"\n borderButtonOptions?.visible\n ? borderButtonOptions?.visible(severity)\n : false\n \"\n [severity]=\"severity\"\n [options]=\"borderButtonOptions\"\n class=\"border-button\"\n [@BorderButtonAnimation]\n ></s-border-button>\n\n <div class=\"header\">\n <ng-container *ngIf=\"headerTemplate; then customHeaderTemplate; else simpleHeaderTemplate\"></ng-container>\n <ng-template #customHeaderTemplate>\n <ng-container *ngTemplateOutlet=\"headerTemplate\"></ng-container>\n </ng-template>\n <ng-template #simpleHeaderTemplate>\n <span>{{ header }}</span>\n </ng-template>\n\n <button\n *ngIf=\"collapsable\"\n class=\"collapse-button fas\"\n [ngClass]=\"{\n 'fa-plus': collapsed,\n 'fa-minus': !collapsed\n }\"\n (click)=\"toggleCollapsed()\">\n </button>\n </div>\n <div *ngIf=\"!collapsable || !collapsed\" class=\"panel-content\">\n <div class=\"body\">\n <ng-content></ng-content>\n <ng-container *ngTemplateOutlet=\"bodyTemplate\"></ng-container>\n </div>\n <div *ngIf=\"footerTemplate\" class=\"footer\">\n <ng-container *ngTemplateOutlet=\"footerTemplate\"></ng-container>\n </div>\n </div>\n</div>",
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>",
16539
16542
  animations: [
16540
16543
  trigger("BorderButtonAnimation", [
16541
16544
  transition(":enter", [
@@ -17230,14 +17233,16 @@ SlidePanelModule = __decorate([
17230
17233
  var SliderComponent_1;
17231
17234
  let SliderComponent = SliderComponent_1 = class SliderComponent {
17232
17235
  constructor() {
17236
+ this.MAX_RANGE_VALUE = 100;
17237
+ this.MIN_RANGE_VALUE = 0;
17233
17238
  this.multiple = false;
17234
17239
  this.value = 0;
17235
17240
  this.valueChange = new EventEmitter();
17236
17241
  this.step = 1;
17237
17242
  this.hiddenThumb = false;
17238
17243
  this.disabled = false;
17239
- this.min = 0;
17240
- this.max = 100;
17244
+ this.min = this.MIN_RANGE_VALUE;
17245
+ this.max = this.MAX_RANGE_VALUE;
17241
17246
  this.tabindex = 0;
17242
17247
  this.startValue = 0;
17243
17248
  this.endValue = 0;
@@ -17256,13 +17261,11 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17256
17261
  * @example
17257
17262
  * with min = -10 and max = 10 will have this map.
17258
17263
  * {
17259
- * -10: { left: 0, right: 10 },
17260
- * -9: { left: 11, right: 19 },
17264
+ * -10: { 0 },
17265
+ * -9: { 10 },
17261
17266
  * ...
17262
- * 10: { left: 90, right: 100 }
17267
+ * 10: { 10 }
17263
17268
  * }
17264
- * the left value represent value for startValue, the right value represent value for endValue
17265
- * left and right values ​​are used when applying percentages in the slider
17266
17269
  */
17267
17270
  this.mapRangeValuesForSlider = new Map();
17268
17271
  this.activeMouseDown = false;
@@ -17275,16 +17278,16 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17275
17278
  (this.multiple && this.draggingThumb === "end" && newPosition < this.startValue)) {
17276
17279
  return;
17277
17280
  }
17278
- const positionInUserRange = this.getUserValueFromSliderValueByMap(newPosition);
17281
+ const positionInUserRange = this.getValueFromMapByValue(newPosition);
17279
17282
  if (this.multiple) {
17280
17283
  if (this.draggingThumb === "start") {
17281
17284
  this.startValue = this.needParseValues
17282
- ? this.mapRangeValuesForSlider.get(positionInUserRange).left
17285
+ ? this.mapRangeValuesForSlider.get(positionInUserRange)
17283
17286
  : newPosition;
17284
17287
  }
17285
17288
  else if (this.draggingThumb === "end") {
17286
17289
  this.endValue = this.needParseValues
17287
- ? this.mapRangeValuesForSlider.get(positionInUserRange).right
17290
+ ? this.mapRangeValuesForSlider.get(positionInUserRange)
17288
17291
  : newPosition;
17289
17292
  }
17290
17293
  this.setValue([this.startValue, this.endValue]);
@@ -17297,18 +17300,15 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17297
17300
  }
17298
17301
  }
17299
17302
  else {
17300
- const pickLeftValue = newPosition <= 50;
17301
- const pickRightValue = newPosition > 50;
17302
- if (pickLeftValue) {
17303
- this.endValue = this.needParseValues
17304
- ? this.mapRangeValuesForSlider.get(positionInUserRange).left
17305
- : newPosition;
17306
- }
17307
- else if (pickRightValue) {
17308
- this.endValue = this.needParseValues
17309
- ? this.mapRangeValuesForSlider.get(positionInUserRange).right
17310
- : 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;
17311
17310
  }
17311
+ this.endValue = this.needParseValues ? this.mapRangeValuesForSlider.get(positionInUserRange) : newPosition;
17312
17312
  this.startValue = this.endValue;
17313
17313
  this.setValue(this.endValue);
17314
17314
  }
@@ -17329,20 +17329,20 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17329
17329
  const startValueBeforeEvent = this.startValueBeforeProgressBarEvent;
17330
17330
  const range = this.rangeBetweenElementsBeforeProgressBarEvent;
17331
17331
  let { newStart, newEnd } = calculateNewRange(startValueBeforeEvent, startValueBeforeEvent + range, startPositionBeforeEvent, newCenter);
17332
- if (newStart < 0 || newEnd > 100) {
17332
+ if (newStart < this.MIN_RANGE_VALUE || newEnd > this.MAX_RANGE_VALUE) {
17333
17333
  return;
17334
17334
  }
17335
17335
  if (this.needParseValues) {
17336
- const startValueBeforeEventUserRange = this.getUserValueFromSliderValueByMap(startValueBeforeEvent);
17337
- const startPositionBeforeEventUserRange = this.getUserValueFromSliderValueByMap(startPositionBeforeEvent);
17338
- const centerUserRange = this.getUserValueFromSliderValueByMap(newCenter);
17336
+ const startValueBeforeEventUserRange = this.getValueFromMapByValue(startValueBeforeEvent);
17337
+ const startPositionBeforeEventUserRange = this.getValueFromMapByValue(startPositionBeforeEvent);
17338
+ const centerUserRange = this.getValueFromMapByValue(newCenter);
17339
17339
  const valueRange = this.totalRangeBeforeProgressBarEvent;
17340
17340
  let { newStart, newEnd } = calculateNewRange(startValueBeforeEventUserRange, startValueBeforeEventUserRange + valueRange, startPositionBeforeEventUserRange, centerUserRange);
17341
17341
  if (newStart < this.min || newEnd > this.max) {
17342
17342
  return;
17343
17343
  }
17344
- this.startValue = this.mapRangeValuesForSlider.get(newStart).left;
17345
- this.endValue = this.mapRangeValuesForSlider.get(newEnd).right;
17344
+ this.startValue = this.mapRangeValuesForSlider.get(newStart);
17345
+ this.endValue = this.mapRangeValuesForSlider.get(newEnd);
17346
17346
  }
17347
17347
  else {
17348
17348
  this.startValue = newStart;
@@ -17364,8 +17364,15 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17364
17364
  };
17365
17365
  }
17366
17366
  ngOnInit() {
17367
- 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) {
17368
17374
  this.setUserRangeMapValues();
17375
+ this.setRangeValues();
17369
17376
  }
17370
17377
  }
17371
17378
  ngAfterViewInit() {
@@ -17386,10 +17393,12 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17386
17393
  }
17387
17394
  }
17388
17395
  get tooltipStartText() {
17389
- 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();
17390
17398
  }
17391
17399
  get tooltipEndText() {
17392
- 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();
17393
17402
  }
17394
17403
  writeValue(obj) {
17395
17404
  this.value = obj;
@@ -17414,11 +17423,11 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17414
17423
  return;
17415
17424
  }
17416
17425
  const trackClickPercentage = this.getPercentageByEvent(evt);
17417
- const trackClickToUserRange = this.getUserValueFromSliderValueByMap(trackClickPercentage);
17426
+ const trackClickToUserRange = this.getValueFromMapByValue(trackClickPercentage);
17418
17427
  const _trackClickValid = this.needParseValues ? trackClickToUserRange : trackClickPercentage;
17419
17428
  const _setEndValue = () => {
17420
- const _endValueUserValue = this.getUserValueFromSliderValueByMap(this.endValue);
17421
- 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;
17422
17431
  if (this.needParseValues && _endValueUserValue !== trackClickToUserRange) {
17423
17432
  this.endValue = _endValue;
17424
17433
  }
@@ -17427,10 +17436,10 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17427
17436
  }
17428
17437
  };
17429
17438
  const _setStartValue = () => {
17430
- const _startValueUserValue = this.getUserValueFromSliderValueByMap(this.startValue);
17439
+ const _startValueUserValue = this.getValueFromMapByValue(this.startValue);
17431
17440
  if (this.needParseValues && _startValueUserValue !== trackClickToUserRange) {
17432
17441
  const _startValue = this.needParseValues
17433
- ? this.mapRangeValuesForSlider.get(trackClickToUserRange).left
17442
+ ? this.mapRangeValuesForSlider.get(trackClickToUserRange)
17434
17443
  : trackClickPercentage;
17435
17444
  this.startValue = _startValue;
17436
17445
  }
@@ -17440,8 +17449,8 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17440
17449
  };
17441
17450
  if (this.multiple) {
17442
17451
  const [start, end] = this.value;
17443
- const validStart = this.needParseValues ? this.mapRangeValuesForSlider.get(start).left : start;
17444
- 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;
17445
17454
  const _updateStart = () => {
17446
17455
  _setStartValue();
17447
17456
  this.setValue([trackClickPercentage, validEnd]);
@@ -17504,11 +17513,14 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17504
17513
  document.addEventListener("mouseup", this.onMouseUp);
17505
17514
  }
17506
17515
  setRangeValues() {
17516
+ const _setStartAndEndValue = (startValue, endValue) => {
17517
+ this.startValue = this.getClosestValueFromMapSlider(startValue);
17518
+ this.endValue = this.getClosestValueFromMapSlider(endValue);
17519
+ };
17507
17520
  if (Array.isArray(this.value) && !this.multiple) {
17508
17521
  throw new Error('You must use "multiple" with value as array');
17509
17522
  }
17510
- const hasRangeValues = !!(this.startValue && this.endValue);
17511
- if (this.multiple && Array.isArray(this.value) && !hasRangeValues) {
17523
+ if (this.multiple && Array.isArray(this.value)) {
17512
17524
  this.startValue = this.value[0];
17513
17525
  this.endValue = this.value[1];
17514
17526
  }
@@ -17520,13 +17532,40 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17520
17532
  this.endValue = this.value;
17521
17533
  }
17522
17534
  if (this.needParseValues) {
17523
- const isEqualAndMultiple = this.multiple && this.startValue === this.endValue;
17524
- this.startValue = this.mapRangeValuesForSlider.get(this.startValue).left;
17525
- if (isEqualAndMultiple) {
17526
- 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
+ }
17527
17554
  }
17528
17555
  else {
17529
- 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
+ }
17530
17569
  }
17531
17570
  }
17532
17571
  this.setProgress();
@@ -17548,21 +17587,20 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17548
17587
  */
17549
17588
  getPercentageByEvent(mouseEvent) {
17550
17589
  const trackRect = this.track.nativeElement.getBoundingClientRect();
17551
- let newLeft = ((mouseEvent.clientX - trackRect.left) / trackRect.width) * 100;
17552
- newLeft = Math.round(newLeft / this.step) * this.step;
17553
- 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));
17554
17592
  return newLeft;
17555
17593
  }
17556
- setValue(value) {
17594
+ setValue(value, parse = true) {
17557
17595
  if (this.disabled) {
17558
17596
  return;
17559
17597
  }
17560
- if (this.needParseValues) {
17598
+ if (this.needParseValues && parse) {
17561
17599
  if (Array.isArray(value)) {
17562
- value = value.map((x) => this.getUserValueFromSliderValueByMap(x));
17600
+ value = value.map((x) => this.getValueFromMapByValue(x));
17563
17601
  }
17564
17602
  else {
17565
- value = this.getUserValueFromSliderValueByMap(value);
17603
+ value = this.getValueFromMapByValue(value);
17566
17604
  }
17567
17605
  }
17568
17606
  this.value = value;
@@ -17574,54 +17612,78 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17574
17612
  setUserRangeMapValues() {
17575
17613
  const start = this.min;
17576
17614
  const end = this.max;
17577
- let forStart = 0;
17578
- let forEnd = 100;
17579
- this.mapRangeValuesForSlider.clear();
17580
- const mappedValues = [];
17581
- for (let i = start; i <= end; i++) {
17582
- const valuesWithMap = [];
17583
- for (let j = forStart; j <= forEnd; j++) {
17584
- const sliderToUserRangeValue = this.mapSliderToUserRange(j);
17585
- if (sliderToUserRangeValue !== i) {
17586
- forStart = j;
17587
- break;
17588
- }
17589
- else {
17590
- valuesWithMap.push(j);
17591
- }
17592
- }
17593
- const left = valuesWithMap[0];
17594
- const right = valuesWithMap[valuesWithMap.length - 1];
17595
- mappedValues.push({ value: i, left, right });
17615
+ if (start > end) {
17616
+ throw new Error('Max value must be greater than min value');
17596
17617
  }
17597
- adjustLastItem(mappedValues);
17598
- mappedValues.forEach((mappedValue) => {
17599
- 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]);
17600
17643
  });
17601
17644
  }
17602
17645
  /**
17603
- * 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.
17604
17647
  * @example
17605
- * 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
17606
17653
  */
17607
- mapSliderToUserRange(sliderValue) {
17608
- 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;
17609
17659
  }
17610
17660
  /**
17611
- * Returns the user value from the given slider value by using the map of range values.
17612
- * @example
17613
- * 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}]
17614
- * and the sliderValue is 37, the function returns 1
17615
- * @param sliderValue the value of the slider
17616
- * @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.
17617
17664
  */
17618
- getUserValueFromSliderValueByMap(sliderValue) {
17619
- var _a;
17620
- const mapToArray = Array.from(this.mapRangeValuesForSlider).map((x) => {
17621
- return Object.assign({ value: x[0] }, x[1]);
17622
- });
17623
- const mappedValue = mapToArray.find((x) => isInRange(sliderValue, x.left, x.right));
17624
- 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
+ }
17625
17687
  }
17626
17688
  handleArrowKeyLeft() {
17627
17689
  if (this.multiple) {
@@ -17643,6 +17705,7 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17643
17705
  }
17644
17706
  _incrementOrDecrementStartAndEndValue(increment) {
17645
17707
  let [start, end] = this.value;
17708
+ const difference = getDifference(end, start);
17646
17709
  if (increment) {
17647
17710
  start += this.step;
17648
17711
  end += this.step;
@@ -17651,31 +17714,28 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17651
17714
  start -= this.step;
17652
17715
  end -= this.step;
17653
17716
  }
17654
- if (this.needParseValues) {
17655
- if (!this.mapRangeValuesForSlider.has(start) || !this.mapRangeValuesForSlider.has(end)) {
17656
- 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;
17657
17723
  }
17658
- const isEqual = start === end;
17659
- if (isEqual && end === this.max) {
17660
- start = this.mapRangeValuesForSlider.get(this.max).right;
17661
- end = start;
17662
- }
17663
- else {
17664
- start = this.mapRangeValuesForSlider.get(start).left;
17665
- if (isEqual) {
17666
- end = start;
17667
- }
17668
- else {
17669
- end = this.mapRangeValuesForSlider.get(end).right;
17670
- }
17724
+ else if (endGreaterThanMax) {
17725
+ end = this.max;
17726
+ start = end - difference;
17671
17727
  }
17672
17728
  }
17673
- if (start < 0 || end > 100) {
17729
+ if (start < this.min || end > this.max) {
17674
17730
  return;
17675
17731
  }
17732
+ this.setValue([start, end], false);
17733
+ if (this.needParseValues) {
17734
+ start = this.getClosestValueFromMapSlider(start);
17735
+ end = this.getClosestValueFromMapSlider(end);
17736
+ }
17676
17737
  this.startValue = start;
17677
17738
  this.endValue = end;
17678
- this.setValue([start, end]);
17679
17739
  }
17680
17740
  _incrementOrDecrementEndValue(increment) {
17681
17741
  let value = this.value;
@@ -17687,27 +17747,17 @@ let SliderComponent = SliderComponent_1 = class SliderComponent {
17687
17747
  }
17688
17748
  let _newEndValue = value;
17689
17749
  if (this.needParseValues) {
17690
- const valueParsedInSlider = this.mapRangeValuesForSlider.get(value);
17691
- if (!valueParsedInSlider) {
17692
- return;
17693
- }
17694
- const pickLeft = valueParsedInSlider.right <= 50;
17695
- if (pickLeft) {
17696
- _newEndValue = this.mapRangeValuesForSlider.get(value).left;
17697
- }
17698
- else {
17699
- _newEndValue = this.mapRangeValuesForSlider.get(value).right;
17700
- }
17750
+ _newEndValue = this.getClosestValueFromMapSlider(_newEndValue);
17701
17751
  }
17702
- if (_newEndValue < 0 || _newEndValue > 100) {
17752
+ if (_newEndValue < this.MIN_RANGE_VALUE || _newEndValue > this.MAX_RANGE_VALUE) {
17703
17753
  return;
17704
17754
  }
17705
17755
  this.endValue = _newEndValue;
17706
17756
  this.startValue = this.endValue;
17707
- this.setValue(this.endValue);
17757
+ this.setValue(_newEndValue);
17708
17758
  }
17709
17759
  get needParseValues() {
17710
- return this.max !== 100 || this.min !== 0;
17760
+ return this.max !== this.MAX_RANGE_VALUE || this.min !== this.MIN_RANGE_VALUE;
17711
17761
  }
17712
17762
  };
17713
17763
  __decorate([
@@ -17784,69 +17834,15 @@ const isInRange = (value, rangeStart, rangeEnd) => {
17784
17834
  return value >= min && value <= max;
17785
17835
  };
17786
17836
  const ɵ1$1 = isInRange;
17787
- /**
17788
- * Adjust the last item of a mapped range to fill the gap between it and the penultimate item.
17789
- * The gap is calculated by subtracting the difference between the last item's right and left
17790
- * from the average difference between all the previous items.
17791
- *
17792
- * @param mappedValues - The mapped range to be adjusted.
17793
- *
17794
- * The function works by finding the gap between the last item and the penultimate item and
17795
- * then distributing this gap among the previous items. The distribution is done by finding
17796
- * the items that need to be fixed and then fixing them by shifting their left and right
17797
- * positions.
17798
- *
17799
- * The function returns nothing, but it modifies the mappedValues array in place.
17800
- */
17801
- const adjustLastItem = (mappedValues) => {
17802
- const lastItem = mappedValues[mappedValues.length - 1];
17803
- const lastDifference = lastItem.right - lastItem.left;
17804
- const withoutLastItem = mappedValues.slice(0, mappedValues.length - 1);
17805
- const differences = withoutLastItem.map(({ left, right }) => right - left);
17806
- const averageDifference = Math.floor(differences.reduce((sum, diff) => sum + diff, 0) / differences.length);
17807
- const _getRandomIndexFromArray = (array, storedChanges) => {
17808
- if (storedChanges.length === array.length) {
17809
- storedChanges = [];
17810
- }
17811
- let randomIndex = Math.floor(Math.random() * array.length);
17812
- let randomIndexAlreadyStored = storedChanges.includes(randomIndex);
17813
- while (randomIndexAlreadyStored) {
17814
- randomIndex = Math.floor(Math.random() * withoutLastItem.length);
17815
- randomIndexAlreadyStored = storedChanges.includes(randomIndex);
17816
- }
17817
- storedChanges.push(randomIndex);
17818
- return { randomIndex, storedChanges };
17819
- };
17820
- const needFixLastItem = lastDifference < averageDifference;
17821
- let arr = [];
17822
- if (needFixLastItem) {
17823
- const captureItensCount = averageDifference - lastDifference;
17824
- let randomIndexStored = [];
17825
- for (let i = 0; i <= captureItensCount; i++) {
17826
- const { randomIndex, storedChanges } = _getRandomIndexFromArray(withoutLastItem, randomIndexStored);
17827
- randomIndexStored = storedChanges;
17828
- arr.push(randomIndex);
17829
- const randomItem = withoutLastItem[randomIndex];
17830
- --lastItem.left;
17831
- --randomItem.right;
17832
- }
17833
- mappedValues.forEach((mappedValue, index) => {
17834
- const _next = mappedValues[index + 1];
17835
- if (!_next) {
17836
- return;
17837
- }
17838
- const nextLeft = _next.left;
17839
- const currentRight = mappedValue.right;
17840
- if (currentRight !== currentRight + 1) {
17841
- const _nextDiff = _next.right - nextLeft;
17842
- const _nextLeft = currentRight + 1;
17843
- _next.left = _nextLeft;
17844
- _next.right = _nextLeft + _nextDiff;
17845
- }
17846
- });
17847
- }
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);
17848
17844
  };
17849
- const ɵ2 = adjustLastItem;
17845
+ const ɵ3 = getDifference;
17850
17846
 
17851
17847
  let SliderModule = class SliderModule {
17852
17848
  };
@@ -19098,7 +19094,7 @@ const filterEnabled = (list) => {
19098
19094
  const _list = list instanceof Set ? Array.from(list) : list;
19099
19095
  return _list.filter((x) => !x.disabled);
19100
19096
  };
19101
- const ɵ3 = filterEnabled;
19097
+ const ɵ3$1 = filterEnabled;
19102
19098
  const mapData = (list) => {
19103
19099
  return list.map((x) => x.data);
19104
19100
  };
@@ -19455,5 +19451,5 @@ const fallback = {
19455
19451
  * Generated bundle index. Do not edit.
19456
19452
  */
19457
19453
 
19458
- 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 };
19459
19455
  //# sourceMappingURL=seniorsistemas-angular-components.js.map