@seniorsistemas/angular-components 17.9.7 → 17.10.1

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.
Files changed (99) hide show
  1. package/bundles/seniorsistemas-angular-components.umd.js +893 -169
  2. package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
  3. package/bundles/seniorsistemas-angular-components.umd.min.js +2 -2
  4. package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
  5. package/components/button/button.component.d.ts +1 -0
  6. package/components/dynamic-form/services/IAssist/models/index.d.ts +2 -0
  7. package/components/index.d.ts +2 -0
  8. package/components/inline-edit/components/fields/inline-edit-calendar/inline-edit-calendar.component.d.ts +17 -0
  9. package/components/inline-edit/components/fields/inline-edit-lookup/inline-edit-lookup.component.d.ts +10 -0
  10. package/components/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.d.ts +18 -0
  11. package/components/inline-edit/components/fields/inline-edit-text/inline-edit-text.component.d.ts +9 -0
  12. package/components/inline-edit/components/fields/inline-edit-text-area/inline-edit-text-area.component.d.ts +10 -0
  13. package/components/inline-edit/components/fields/inline-edit-text-area-ia/inline-edit-text-area-ia.component.d.ts +9 -0
  14. package/components/inline-edit/components/index.d.ts +7 -0
  15. package/components/inline-edit/components/inline-edit-item/inline-edit-item.component.d.ts +27 -0
  16. package/components/inline-edit/fields/index.d.ts +7 -0
  17. package/components/inline-edit/fields/inline-edit-calendar-field.d.ts +44 -0
  18. package/components/inline-edit/fields/inline-edit-field.d.ts +13 -0
  19. package/components/inline-edit/fields/inline-edit-lookup-field.d.ts +79 -0
  20. package/components/inline-edit/fields/inline-edit-number-field.d.ts +38 -0
  21. package/components/inline-edit/fields/inline-edit-text-area-field.d.ts +14 -0
  22. package/components/inline-edit/fields/inline-edit-text-area-ia-field.d.ts +6 -0
  23. package/components/inline-edit/fields/inline-edit-text-field.d.ts +6 -0
  24. package/components/inline-edit/index.d.ts +3 -0
  25. package/components/inline-edit/inline-edit.component.d.ts +14 -0
  26. package/components/inline-edit/inline-edit.module.d.ts +2 -0
  27. package/components/text-area-ia/index.d.ts +2 -0
  28. package/components/text-area-ia/text-area-ia.component.d.ts +39 -0
  29. package/components/text-area-ia/text-area-ia.module.d.ts +2 -0
  30. package/components/tooltip/tooltip.directive.d.ts +1 -1
  31. package/esm2015/components/button/button.component.js +5 -2
  32. package/esm2015/components/dynamic-form/components/fields/lookup/lookup-field.component.js +2 -2
  33. package/esm2015/components/dynamic-form/components/lookup/lookup.component.js +1 -1
  34. package/esm2015/components/dynamic-form/services/IAssist/models/index.js +1 -0
  35. package/esm2015/components/index.js +3 -1
  36. package/esm2015/components/inline-edit/components/fields/inline-edit-calendar/inline-edit-calendar.component.js +51 -0
  37. package/esm2015/components/inline-edit/components/fields/inline-edit-lookup/inline-edit-lookup.component.js +30 -0
  38. package/esm2015/components/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.js +75 -0
  39. package/esm2015/components/inline-edit/components/fields/inline-edit-text/inline-edit-text.component.js +30 -0
  40. package/esm2015/components/inline-edit/components/fields/inline-edit-text-area/inline-edit-text-area.component.js +30 -0
  41. package/esm2015/components/inline-edit/components/fields/inline-edit-text-area-ia/inline-edit-text-area-ia.component.js +30 -0
  42. package/esm2015/components/inline-edit/components/index.js +8 -0
  43. package/esm2015/components/inline-edit/components/inline-edit-item/inline-edit-item.component.js +98 -0
  44. package/esm2015/components/inline-edit/fields/index.js +8 -0
  45. package/esm2015/components/inline-edit/fields/inline-edit-calendar-field.js +26 -0
  46. package/esm2015/components/inline-edit/fields/inline-edit-field.js +9 -0
  47. package/esm2015/components/inline-edit/fields/inline-edit-lookup-field.js +32 -0
  48. package/esm2015/components/inline-edit/fields/inline-edit-number-field.js +24 -0
  49. package/esm2015/components/inline-edit/fields/inline-edit-text-area-field.js +11 -0
  50. package/esm2015/components/inline-edit/fields/inline-edit-text-area-ia-field.js +7 -0
  51. package/esm2015/components/inline-edit/fields/inline-edit-text-field.js +7 -0
  52. package/esm2015/components/inline-edit/index.js +4 -0
  53. package/esm2015/components/inline-edit/inline-edit.component.js +70 -0
  54. package/esm2015/components/inline-edit/inline-edit.module.js +62 -0
  55. package/esm2015/components/text-area-ia/index.js +3 -0
  56. package/esm2015/components/text-area-ia/text-area-ia.component.js +128 -0
  57. package/esm2015/components/text-area-ia/text-area-ia.module.js +32 -0
  58. package/esm2015/components/tooltip/tooltip.component.js +3 -3
  59. package/esm2015/components/tooltip/tooltip.directive.js +59 -138
  60. package/esm2015/locale/fallback.js +3 -1
  61. package/esm2015/seniorsistemas-angular-components.js +37 -29
  62. package/esm5/components/button/button.component.js +5 -2
  63. package/esm5/components/dynamic-form/components/fields/lookup/lookup-field.component.js +2 -2
  64. package/esm5/components/dynamic-form/components/lookup/lookup.component.js +1 -1
  65. package/esm5/components/dynamic-form/services/IAssist/models/index.js +1 -0
  66. package/esm5/components/index.js +3 -1
  67. package/esm5/components/inline-edit/components/fields/inline-edit-calendar/inline-edit-calendar.component.js +53 -0
  68. package/esm5/components/inline-edit/components/fields/inline-edit-lookup/inline-edit-lookup.component.js +33 -0
  69. package/esm5/components/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.js +99 -0
  70. package/esm5/components/inline-edit/components/fields/inline-edit-text/inline-edit-text.component.js +33 -0
  71. package/esm5/components/inline-edit/components/fields/inline-edit-text-area/inline-edit-text-area.component.js +33 -0
  72. package/esm5/components/inline-edit/components/fields/inline-edit-text-area-ia/inline-edit-text-area-ia.component.js +33 -0
  73. package/esm5/components/inline-edit/components/index.js +8 -0
  74. package/esm5/components/inline-edit/components/inline-edit-item/inline-edit-item.component.js +112 -0
  75. package/esm5/components/inline-edit/fields/index.js +8 -0
  76. package/esm5/components/inline-edit/fields/inline-edit-calendar-field.js +31 -0
  77. package/esm5/components/inline-edit/fields/inline-edit-field.js +11 -0
  78. package/esm5/components/inline-edit/fields/inline-edit-lookup-field.js +50 -0
  79. package/esm5/components/inline-edit/fields/inline-edit-number-field.js +29 -0
  80. package/esm5/components/inline-edit/fields/inline-edit-text-area-field.js +16 -0
  81. package/esm5/components/inline-edit/fields/inline-edit-text-area-ia-field.js +11 -0
  82. package/esm5/components/inline-edit/fields/inline-edit-text-field.js +11 -0
  83. package/esm5/components/inline-edit/index.js +4 -0
  84. package/esm5/components/inline-edit/inline-edit.component.js +84 -0
  85. package/esm5/components/inline-edit/inline-edit.module.js +65 -0
  86. package/esm5/components/text-area-ia/index.js +3 -0
  87. package/esm5/components/text-area-ia/text-area-ia.component.js +131 -0
  88. package/esm5/components/text-area-ia/text-area-ia.module.js +35 -0
  89. package/esm5/components/tooltip/tooltip.component.js +3 -3
  90. package/esm5/components/tooltip/tooltip.directive.js +71 -139
  91. package/esm5/locale/fallback.js +3 -1
  92. package/esm5/seniorsistemas-angular-components.js +37 -29
  93. package/fesm2015/seniorsistemas-angular-components.js +731 -142
  94. package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
  95. package/fesm5/seniorsistemas-angular-components.js +848 -143
  96. package/fesm5/seniorsistemas-angular-components.js.map +1 -1
  97. package/package.json +1 -1
  98. package/seniorsistemas-angular-components.d.ts +36 -28
  99. package/seniorsistemas-angular-components.metadata.json +1 -1
@@ -1,4 +1,4 @@
1
- import { __decorate, __assign, __extends, __spread, __awaiter, __generator, __param, __values, __rest, __read } from 'tslib';
1
+ import { __decorate, __values, __assign, __extends, __spread, __awaiter, __generator, __param, __rest, __read } from 'tslib';
2
2
  import { EventEmitter, Input, Output, Component, ContentChildren, ViewChild, HostListener, forwardRef, NgModule, ɵɵdefineInjectable, Injectable, ElementRef, ApplicationRef, ComponentFactoryResolver, Injector, Renderer2, Directive, KeyValueDiffers, HostBinding, TemplateRef, InjectionToken, Inject, ViewEncapsulation, ViewContainerRef, ChangeDetectorRef, Pipe, ɵɵinject, ContentChild, Optional, ViewChildren } from '@angular/core';
3
3
  import { trigger, transition, style as style$7, animate, state, group, query, animateChild } from '@angular/animations';
4
4
  import { Subject, of, from, ReplaySubject, throwError, fromEvent, forkJoin } from 'rxjs';
@@ -379,8 +379,8 @@ var TooltipComponent = /** @class */ (function () {
379
379
  }
380
380
  TooltipComponent = __decorate([
381
381
  Component({
382
- template: "<div\n class=\"tooltip\"\n [ngClass]=\"['tooltip--' + position]\"\n [class.tooltip--visible]=\"visible\"\n [ngStyle]=\"{\n 'left': left + 'px',\n 'top': top + 'px'\n }\">\n <ng-template\n *ngIf=\"escape;\n then escapeTemplate;\n else noEscapeTemplate\">\n </ng-template> \n</div>\n\n<ng-template #noEscapeTemplate>\n <span\n class=\"tooltip__content\"\n [innerHTML]=\"tooltip\">\n </span>\n</ng-template>\n\n<ng-template #escapeTemplate>\n <span class=\"tooltip__content\">\n {{ tooltip }}\n </span>\n</ng-template>",
383
- styles: [".tooltip{background-color:#000;border-radius:2px;color:#fff;font-family:\"Open Sans\",sans-serif;font-size:14px;font-weight:400;line-height:21px;margin-top:5px;opacity:0;padding:8px;position:fixed;transform:translateX(-50%);text-align:center;max-width:150px;word-wrap:break-word;z-index:99999}.tooltip--visible{opacity:1;transition:opacity .3s}.tooltip::before{content:\"\";height:0;position:absolute;width:0}.tooltip--bottom{margin-top:8px;transform:translateX(-50%)}.tooltip--bottom::before{border:5px solid transparent;border-bottom:5px solid #000;left:calc(50% - 5px);top:-10px}.tooltip--top{margin-bottom:8px;transform:translate(-50%,-100%)}.tooltip--top::before{border:5px solid transparent;border-top:5px solid #000;left:calc(50% - 5px);bottom:-10px}.tooltip--left{margin-right:28px;transform:translate(calc(-100% - 7px),-50%)}.tooltip--left::before{border:5px solid transparent;border-left:5px solid #000;right:-10px;bottom:calc(50% - 5px)}.tooltip--right{margin-left:7px;transform:translateY(-50%)}.tooltip--right::before{border:5px solid transparent;border-right:5px solid #000;left:-10px;bottom:calc(50% - 5px)}"]
382
+ template: "<div\n id=\"tooltip\"\n class=\"tooltip\"\n [ngClass]=\"['tooltip--' + position]\"\n [class.tooltip--visible]=\"visible\"\n [ngStyle]=\"{\n 'left': left + 'px',\n 'top': top + 'px'\n }\">\n <ng-template\n *ngIf=\"escape;\n then escapeTemplate;\n else noEscapeTemplate\">\n </ng-template> \n</div>\n\n<ng-template #noEscapeTemplate>\n <span\n class=\"tooltip__content\"\n [innerHTML]=\"tooltip\">\n </span>\n</ng-template>\n\n<ng-template #escapeTemplate>\n <span class=\"tooltip__content\">\n {{ tooltip }}\n </span>\n</ng-template>",
383
+ styles: [".tooltip{background-color:#000;border-radius:2px;color:#fff;font-family:\"Open Sans\",sans-serif;font-size:14px;font-weight:400;line-height:21px;margin-top:5px;opacity:0;padding:8px;position:fixed;transform:translateX(-50%);text-align:center;max-width:220px;word-wrap:break-word;z-index:99999}.tooltip--visible{opacity:1;transition:opacity .3s}.tooltip::before{content:\"\";height:0;position:absolute;width:0}.tooltip--bottom{margin-top:8px;transform:translateX(-50%)}.tooltip--bottom::before{border:5px solid transparent;border-bottom:5px solid #000;left:calc(50% - 5px);top:-10px}.tooltip--top{margin-bottom:8px;transform:translate(-50%,-100%)}.tooltip--top::before{border:5px solid transparent;border-top:5px solid #000;left:calc(50% - 5px);bottom:-10px}.tooltip--left{margin-right:28px;transform:translate(calc(-100% - 7px),-50%)}.tooltip--left::before{border:5px solid transparent;border-left:5px solid #000;right:-10px;bottom:calc(50% - 5px)}.tooltip--right{margin-left:7px;transform:translateY(-50%)}.tooltip--right::before{border:5px solid transparent;border-right:5px solid #000;left:-10px;bottom:calc(50% - 5px)}"]
384
384
  })
385
385
  ], TooltipComponent);
386
386
  return TooltipComponent;
@@ -480,7 +480,7 @@ var TooltipDirective = /** @class */ (function () {
480
480
  top: Math.min(elementRect.top, toolTipRect.top),
481
481
  right: Math.max(elementRect.right, toolTipRect.right),
482
482
  left: Math.min(elementRect.left, toolTipRect.left),
483
- bottom: Math.max(elementRect.bottom, toolTipRect.bottom)
483
+ bottom: Math.max(elementRect.bottom, toolTipRect.bottom),
484
484
  };
485
485
  if (this.isMousePositionOutsideOfElement(event.clientX, event.clientY, totalElementArea)) {
486
486
  this.destroy();
@@ -497,12 +497,12 @@ var TooltipDirective = /** @class */ (function () {
497
497
  if (this.focusedInputRef) {
498
498
  var inputFocus = this.focusedInputRef;
499
499
  var icon_1 = this.getIconFromFocusedInput();
500
- this.renderer.listen(this.focusedInputRef, 'focus', function () {
500
+ this.renderer.listen(this.focusedInputRef, "focus", function () {
501
501
  if (icon_1 && _this.isMatchingTooltip(icon_1)) {
502
502
  _this.createTootipByFocus(icon_1);
503
503
  }
504
504
  });
505
- this.renderer.listen(inputFocus, 'blur', function () {
505
+ this.renderer.listen(inputFocus, "blur", function () {
506
506
  if (icon_1 && _this.isMatchingTooltip(icon_1)) {
507
507
  _this.removeTooltip(icon_1);
508
508
  _this.destroy();
@@ -523,7 +523,7 @@ var TooltipDirective = /** @class */ (function () {
523
523
  * @returns true se o tooltip corresponde; caso contrário, false.
524
524
  */
525
525
  TooltipDirective.prototype.isMatchingTooltip = function (icon) {
526
- var tooltipText = icon.getAttribute('ng-reflect-tooltip');
526
+ var tooltipText = icon.getAttribute("ng-reflect-tooltip");
527
527
  return this.tooltip === tooltipText;
528
528
  };
529
529
  /**
@@ -531,7 +531,7 @@ var TooltipDirective = /** @class */ (function () {
531
531
  * @param icon O ícone do input em focus.
532
532
  */
533
533
  TooltipDirective.prototype.removeTooltip = function (icon) {
534
- var tooltip = icon.querySelector('.tooltip');
534
+ var tooltip = icon.querySelector(".tooltip");
535
535
  if (tooltip) {
536
536
  tooltip.remove();
537
537
  }
@@ -539,9 +539,7 @@ var TooltipDirective = /** @class */ (function () {
539
539
  // whenever the component with the tooltip is clicked I destroy the tooltip.
540
540
  // whenever a key is pressed on the component with the tooltip I destroy the tooltip.
541
541
  TooltipDirective.prototype.onClick = function () {
542
- if (this.tooltipEvent === TooltipEvent.Hover &&
543
- !navigator.userAgent.match(/Android/i) &&
544
- !navigator.userAgent.match(/iPhone/i)) {
542
+ if (this.tooltipEvent === TooltipEvent.Hover && !navigator.userAgent.match(/Android/i) && !navigator.userAgent.match(/iPhone/i)) {
545
543
  this.destroy();
546
544
  }
547
545
  };
@@ -586,12 +584,7 @@ var TooltipDirective = /** @class */ (function () {
586
584
  }
587
585
  };
588
586
  TooltipDirective.prototype.validatePosition = function () {
589
- var containsPosition = [
590
- TooltipPosition.Top,
591
- TooltipPosition.Right,
592
- TooltipPosition.Bottom,
593
- TooltipPosition.Left,
594
- ].includes(this.position);
587
+ var containsPosition = [TooltipPosition.Top, TooltipPosition.Right, TooltipPosition.Bottom, TooltipPosition.Left].includes(this.position);
595
588
  if (!containsPosition) {
596
589
  this.position = TooltipPosition.Top;
597
590
  throw new Error("Tooltip " + this.position + " position is unexpected");
@@ -604,7 +597,7 @@ var TooltipDirective = /** @class */ (function () {
604
597
  document.body.appendChild(domElem);
605
598
  this.setTooltipComponentProperties();
606
599
  this.showTimeout = window.setTimeout(this.showTooltip.bind(this), this.showDelay);
607
- this.tooltipDivElement = domElem.querySelector('.tooltip');
600
+ this.tooltipDivElement = domElem.querySelector(".tooltip");
608
601
  if (this.displayTime) {
609
602
  window.setTimeout(this.destroy.bind(this), this.displayTime);
610
603
  }
@@ -626,142 +619,81 @@ var TooltipDirective = /** @class */ (function () {
626
619
  var _a;
627
620
  if (this.componentRef === null && ((_a = this.tooltip) === null || _a === void 0 ? void 0 : _a.length)) {
628
621
  var domElem = this.getDomElement();
629
- var tooltip_1 = domElem.querySelector('.tooltip');
622
+ var tooltip_1 = domElem.querySelector(".tooltip");
630
623
  icon.appendChild(tooltip_1);
631
624
  this.setTooltipComponentProperties();
632
625
  setTimeout(function () { return tooltip_1.classList.add("tooltip--visible"); }, 0);
633
- this.renderer.listen(window, 'scroll', function () {
634
- _this.updateTooltipPosition();
626
+ this.renderer.listen(window, "scroll", function () {
627
+ _this.setTooltipPositionProperty();
635
628
  });
636
629
  }
637
630
  };
638
- TooltipDirective.prototype.updateTooltipPosition = function () {
639
- if (this.componentRef) {
640
- var _a = this.elementRef.nativeElement.getBoundingClientRect(), left = _a.left, right = _a.right, top_1 = _a.top, bottom = _a.bottom;
641
- var tooltipWidth = right - left;
642
- var tooltipHeight = bottom - top_1;
643
- switch (this.position) {
644
- case TooltipPosition.Top:
645
- this.componentRef.instance.left = Math.round(tooltipWidth / 2 + left);
646
- this.componentRef.instance.top = Math.round(top_1 - 20 - 5);
647
- break;
648
- case TooltipPosition.Bottom:
649
- this.componentRef.instance.left = Math.round(tooltipWidth / 2 + left);
650
- this.componentRef.instance.top = Math.round(bottom + 20);
651
- break;
652
- case TooltipPosition.Left:
653
- this.componentRef.instance.left = Math.round(left - 20);
654
- this.componentRef.instance.top = Math.round(top_1 + tooltipHeight / 2 - 5);
655
- break;
656
- case TooltipPosition.Right:
657
- this.componentRef.instance.left = Math.round(right + 20);
658
- this.componentRef.instance.top = Math.round(top_1 + tooltipHeight / 2 - 5);
659
- break;
660
- default:
661
- break;
662
- }
663
- }
664
- };
665
631
  TooltipDirective.prototype.showTooltip = function () {
666
632
  if (this.componentRef !== null) {
667
633
  this.componentRef.instance.visible = this.visible;
668
- window.addEventListener('mousemove', this.boundOnWindowMouseMoveFunction);
634
+ this.setTooltipPositionProperty();
635
+ window.addEventListener("mousemove", this.boundOnWindowMouseMoveFunction);
669
636
  }
670
637
  };
671
- TooltipDirective.prototype.setTooltipComponentProperties = function () {
638
+ TooltipDirective.prototype.setTooltipPositionProperty = function () {
639
+ var e_1, _a;
672
640
  var margin = 20;
673
641
  var anchorSize = 5;
642
+ var domElem = this.componentRef.hostView.rootNodes[0].querySelector("#tooltip");
643
+ var _b = domElem.getBoundingClientRect(), height = _b.height, width = _b.width;
644
+ var _c = this.elementRef.nativeElement.getBoundingClientRect(), left = _c.left, right = _c.right, top = _c.top, bottom = _c.bottom;
645
+ var positions = [
646
+ {
647
+ pos: TooltipPosition.Top,
648
+ check: function () { return top > height; },
649
+ set: function () { return ({ left: left + (right - left) / 2, top: top - margin - anchorSize }); },
650
+ },
651
+ {
652
+ pos: TooltipPosition.Bottom,
653
+ check: function () { return document.body.clientHeight - bottom > height; },
654
+ set: function () { return ({ left: left + (right - left) / 2, top: bottom + margin }); },
655
+ },
656
+ {
657
+ pos: TooltipPosition.Left,
658
+ check: function () { return left > width; },
659
+ set: function () { return ({ left: left - margin, top: top + height / 2 - anchorSize }); },
660
+ },
661
+ {
662
+ pos: TooltipPosition.Right,
663
+ check: function () { return document.body.clientWidth - right > width; },
664
+ set: function () { return ({ left: right + margin, top: top + height / 2 - anchorSize }); },
665
+ },
666
+ ];
667
+ try {
668
+ for (var positions_1 = __values(positions), positions_1_1 = positions_1.next(); !positions_1_1.done; positions_1_1 = positions_1.next()) {
669
+ var _d = positions_1_1.value, pos = _d.pos, check = _d.check, set = _d.set;
670
+ if (check()) {
671
+ this.position = pos;
672
+ var _e = set(), left_1 = _e.left, top_1 = _e.top;
673
+ this.componentRef.instance.left = Math.round(left_1);
674
+ this.componentRef.instance.top = Math.round(top_1);
675
+ this.componentRef.instance.position = this.position;
676
+ return;
677
+ }
678
+ }
679
+ }
680
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
681
+ finally {
682
+ try {
683
+ if (positions_1_1 && !positions_1_1.done && (_a = positions_1.return)) _a.call(positions_1);
684
+ }
685
+ finally { if (e_1) throw e_1.error; }
686
+ }
687
+ // Se não conseguir posicionar, mostrar abaixo
688
+ this.position = TooltipPosition.Bottom;
689
+ this.componentRef.instance.left = Math.round(left + (right - left) / 2);
690
+ this.componentRef.instance.top = Math.round(bottom + margin);
691
+ this.componentRef.instance.position = this.position;
692
+ };
693
+ TooltipDirective.prototype.setTooltipComponentProperties = function () {
674
694
  if (this.componentRef !== null) {
675
695
  this.componentRef.instance.tooltip = this.tooltip;
676
696
  this.componentRef.instance.escape = this.escape;
677
- var _a = this.elementRef.nativeElement.getBoundingClientRect(), left = _a.left, right = _a.right, top_2 = _a.top, bottom = _a.bottom;
678
- var tooltipHeight = bottom - top_2;
679
- var tooltipWidth = right - left;
680
- var safeSpace = 150;
681
- var positioned = false;
682
- var invalidOptions = [];
683
- while (!positioned) {
684
- if (invalidOptions.includes(TooltipPosition.Top)
685
- && invalidOptions.includes(TooltipPosition.Bottom)
686
- && invalidOptions.includes(TooltipPosition.Left)
687
- && invalidOptions.includes(TooltipPosition.Right)) {
688
- this.destroy();
689
- throw new Error("No space to show tooltip");
690
- }
691
- switch (this.position) {
692
- case TooltipPosition.Top: {
693
- if (invalidOptions.includes(TooltipPosition.Top)) {
694
- this.position = TooltipPosition.Left;
695
- break;
696
- }
697
- var topShift = top_2;
698
- if (topShift <= tooltipHeight + safeSpace) {
699
- this.position = TooltipPosition.Bottom;
700
- invalidOptions.push(TooltipPosition.Top);
701
- positioned = false;
702
- break;
703
- }
704
- this.componentRef.instance.left = Math.round(tooltipWidth / 2 + left);
705
- this.componentRef.instance.top = Math.round(top_2 - margin - anchorSize);
706
- positioned = true;
707
- break;
708
- }
709
- case TooltipPosition.Bottom: {
710
- if (invalidOptions.includes(TooltipPosition.Bottom)) {
711
- this.position = TooltipPosition.Left;
712
- break;
713
- }
714
- var bottomShift = document.body.clientHeight - bottom;
715
- if (bottomShift <= tooltipHeight + safeSpace) {
716
- this.position = TooltipPosition.Top;
717
- invalidOptions.push(TooltipPosition.Bottom);
718
- break;
719
- }
720
- this.componentRef.instance.left = Math.round(tooltipWidth / 2 + left);
721
- this.componentRef.instance.top = Math.round(bottom + margin);
722
- positioned = true;
723
- break;
724
- }
725
- case TooltipPosition.Left: {
726
- if (invalidOptions.includes(TooltipPosition.Left)) {
727
- this.position = TooltipPosition.Top;
728
- break;
729
- }
730
- var leftShift = left;
731
- if (leftShift <= tooltipWidth + safeSpace) {
732
- this.position = TooltipPosition.Right;
733
- invalidOptions.push(TooltipPosition.Left);
734
- positioned = false;
735
- break;
736
- }
737
- this.componentRef.instance.left = Math.round(left - margin);
738
- this.componentRef.instance.top = Math.round(top_2 + tooltipHeight / 2 - anchorSize);
739
- positioned = true;
740
- break;
741
- }
742
- case TooltipPosition.Right: {
743
- if (invalidOptions.includes(TooltipPosition.Right)) {
744
- this.position = TooltipPosition.Top;
745
- break;
746
- }
747
- var rightShift = document.body.clientWidth - right;
748
- if (rightShift <= tooltipWidth + safeSpace) {
749
- this.position = TooltipPosition.Left;
750
- invalidOptions.push(TooltipPosition.Right);
751
- positioned = false;
752
- break;
753
- }
754
- this.componentRef.instance.left = Math.round(right + margin);
755
- this.componentRef.instance.top = Math.round(top_2 + tooltipHeight / 2 - anchorSize);
756
- positioned = true;
757
- break;
758
- }
759
- default: {
760
- break;
761
- }
762
- }
763
- this.componentRef.instance.position = this.position;
764
- }
765
697
  }
766
698
  };
767
699
  TooltipDirective.prototype.destroy = function () {
@@ -772,7 +704,7 @@ var TooltipDirective = /** @class */ (function () {
772
704
  this.componentRef = null;
773
705
  this.tooltipDivElement = null;
774
706
  }
775
- window.removeEventListener('mousemove', this.boundOnWindowMouseMoveFunction);
707
+ window.removeEventListener("mousemove", this.boundOnWindowMouseMoveFunction);
776
708
  };
777
709
  TooltipDirective.ctorParameters = function () { return [
778
710
  { type: ElementRef },
@@ -1549,6 +1481,9 @@ var ButtonComponent = /** @class */ (function () {
1549
1481
  __decorate([
1550
1482
  Input()
1551
1483
  ], ButtonComponent.prototype, "badge", void 0);
1484
+ __decorate([
1485
+ Input()
1486
+ ], ButtonComponent.prototype, "iconColor", void 0);
1552
1487
  __decorate([
1553
1488
  Output()
1554
1489
  ], ButtonComponent.prototype, "onClick", void 0);
@@ -1558,7 +1493,7 @@ var ButtonComponent = /** @class */ (function () {
1558
1493
  ButtonComponent = ButtonComponent_1 = __decorate([
1559
1494
  Component({
1560
1495
  selector: "s-button",
1561
- template: "<p-tieredMenu\n [id]=\"id + '-menu'\"\n [popup]=\"true\"\n appendTo=\"body\"\n [baseZIndex]=\"baseZIndex\">\n</p-tieredMenu>\n\n<button\n [id]=\"id\"\n [type]=\"type\"\n [class]=\"styleClass\"\n [ngClass]=\"{\n 's-button-auxiliary': auxiliary,\n 's-button-with-icon': iconClass,\n 's-button-with-text': label,\n 's-button-empty': !iconClass && !label,\n 's-button-size-default': size === 'default',\n 's-button-size-small': size === 'small',\n 's-button-priority-default': priority === 'default',\n 's-button-priority-primary': priority === 'primary',\n 's-button-priority-secondary': priority === 'secondary',\n 's-button-priority-link': priority === 'link',\n 's-button-priority-danger': priority === 'danger',\n 's-button-multiple': (caret && (model && model.length)) || rightIconClass,\n 's-button-active': isOpen(),\n 's-button--slide': validateSlideButton(),\n 's-button--rotate-animation': isRotateAnimation()\n }\"\n [disabled]=\"disabled\"\n [pTooltip]=\"tooltip\"\n [tooltipPosition]=\"tooltipPosition\"\n showDelay=\"500\"\n [tooltipZIndex]=\"tooltipZIndex\"\n (click)=\"onClick.emit($event)\"\n (mouseenter)=\"updateTooltipZIndex()\">\n <div *ngIf=\"badge\" class=\"badge\">\n <s-badge\n [color]=\"badge.color\"\n [text]=\"badge.text\"\n [iconClass]=\"badge.iconClass\">\n </s-badge>\n </div>\n <span \n *ngIf=\"iconClass\" \n [class]=\"iconClass\" \n [ngClass]=\"{ \n 's-button-icon': true,\n 's-button-icon-margin-right': !label && model && model.length\n }\" \n aria-hidden=\"true\">\n </span>\n <span \n *ngIf=\"label\" \n class=\"s-button-text\"\n [ngClass]=\"{\n 's-button-icon-margin-right': !!rightIconClass || (model && model.length),\n 's-button-icon-margin-left': !!iconClass\n }\">\n {{ label }}\n </span>\n <ng-content></ng-content>\n <span \n *ngIf=\"rightIconClass\" \n [class]=\"rightIconClass\" \n [ngClass]=\"{ 's-button-right-icon': true }\" \n aria-hidden=\"true\">\n </span>\n <span\n *ngIf=\"caret && (model && model.length)\" \n class=\"fa fa-fw fa-caret-down\"\n aria-hidden=\"true\">\n </span>\n</button>\n",
1496
+ template: "<p-tieredMenu\n [id]=\"id + '-menu'\"\n [popup]=\"true\"\n appendTo=\"body\"\n [baseZIndex]=\"baseZIndex\">\n</p-tieredMenu>\n\n<button\n [id]=\"id\"\n [type]=\"type\"\n [class]=\"styleClass\"\n [ngClass]=\"{\n 's-button-auxiliary': auxiliary,\n 's-button-with-icon': iconClass,\n 's-button-with-text': label,\n 's-button-empty': !iconClass && !label,\n 's-button-size-default': size === 'default',\n 's-button-size-small': size === 'small',\n 's-button-priority-default': priority === 'default',\n 's-button-priority-primary': priority === 'primary',\n 's-button-priority-secondary': priority === 'secondary',\n 's-button-priority-link': priority === 'link',\n 's-button-priority-danger': priority === 'danger',\n 's-button-multiple': (caret && (model && model.length)) || rightIconClass,\n 's-button-active': isOpen(),\n 's-button--slide': validateSlideButton(),\n 's-button--rotate-animation': isRotateAnimation()\n }\"\n [disabled]=\"disabled\"\n [pTooltip]=\"tooltip\"\n [tooltipPosition]=\"tooltipPosition\"\n showDelay=\"500\"\n [tooltipZIndex]=\"tooltipZIndex\"\n (click)=\"onClick.emit($event)\"\n (mouseenter)=\"updateTooltipZIndex()\">\n <div *ngIf=\"badge\" class=\"badge\">\n <s-badge\n [color]=\"badge.color\"\n [text]=\"badge.text\"\n [iconClass]=\"badge.iconClass\">\n </s-badge>\n </div>\n <span \n *ngIf=\"iconClass\" \n [class]=\"iconClass\" \n [ngClass]=\"{ \n 's-button-icon': true,\n 's-button-icon-margin-right': !label && model && model.length\n }\"\n [ngStyle]=\"{ color: iconColor }\"\n aria-hidden=\"true\">\n </span>\n <span \n *ngIf=\"label\" \n class=\"s-button-text\"\n [ngClass]=\"{\n 's-button-icon-margin-right': !!rightIconClass || (model && model.length),\n 's-button-icon-margin-left': !!iconClass\n }\">\n {{ label }}\n </span>\n <ng-content></ng-content>\n <span \n *ngIf=\"rightIconClass\" \n [class]=\"rightIconClass\" \n [ngClass]=\"{ 's-button-right-icon': true }\"\n [ngStyle]=\"{ color: iconColor }\"\n aria-hidden=\"true\">\n </span>\n <span\n *ngIf=\"caret && (model && model.length)\" \n class=\"fa fa-fw fa-caret-down\"\n aria-hidden=\"true\">\n </span>\n</button>\n",
1562
1497
  styles: ["button{-ms-flex-align:center;align-items:center;border:1px solid;border-radius:4px;cursor:pointer;display:-ms-inline-flexbox;display:inline-flex;font-family:\"Open Sans\",sans-serif;font-size:14px;height:34px;-ms-flex-pack:center;justify-content:center;max-width:100%;min-width:40px;outline:0;overflow:visible;padding:5px 10px;position:relative;text-decoration:none;text-transform:none;transition:background-color .2s ease-out,color .2s ease-out,border-color .2s ease-out;vertical-align:bottom}button:disabled{opacity:.5;filter:Alpha(Opacity=50);background-image:none}button:disabled,button:disabled *{cursor:text!important}button.s-button-auxiliary{border-radius:20px}button.s-button-size-small{height:25px;padding:0 20px}button.s-button-with-icon.s-button-multiple,button.s-button-with-text{min-width:80px}button.s-button-with-icon.s-button-with-text.s-button-multiple{min-width:100px}button .s-button-icon,button .s-button-menu-icon,button .s-button-right-icon,button.s-button-with-icon.s-button-multiple:not(.s-button-with-text) .s-button-icon{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center}button.s-button-multiple .s-button-text{-ms-flex-align:left;align-items:left;display:-ms-flexbox;display:flex;-ms-flex-pack:left;justify-content:left}button.s-button-with-icon .s-button-text{-ms-flex-align:right;align-items:right;display:-ms-flexbox;display:flex;-ms-flex-pack:right;justify-content:right}.s-button-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.s-button-menu-icon{right:10px;transition:transform .2s ease-out}.s-button-icon-margin-left{margin-left:10px}.s-button-icon-margin-right{margin-right:10px}.s-button-active .s-button-menu-icon{transform:rotateX(180deg)}button,button.s-button-priority-primary{background-color:#428bca;border-color:#428bca}button .s-button-icon,button .s-button-menu-icon,button .s-button-right-icon,button .s-button-text,button.s-button-priority-primary .s-button-icon,button.s-button-priority-primary .s-button-menu-icon,button.s-button-priority-primary .s-button-right-icon,button.s-button-priority-primary .s-button-text{color:#fff}button.s-button-priority-primary:hover,button:hover{background-color:#2a6496}button.s-button-priority-primary:focus,button:focus{background-color:#2a6496;border-color:#22dce6}button.s-button-active:not(:disabled),button.s-button-priority-primary.s-button-active:not(:disabled),button.s-button-priority-primary:active:not(:disabled),button:active:not(:disabled){background-color:#245682;border-color:#245682}button.s-button-priority-secondary{background-color:#7892a1;border-color:#7892a1}button.s-button-priority-secondary .s-button-icon,button.s-button-priority-secondary .s-button-menu-icon,button.s-button-priority-secondary .s-button-right-icon,button.s-button-priority-secondary .s-button-text{color:#fff}button.s-button-priority-secondary:hover{background-color:#546b79}button.s-button-priority-secondary:focus{background-color:#546b79;border-color:#22dce6}button.s-button-priority-secondary.s-button-active:not(:disabled),button.s-button-priority-secondary:active:not(:disabled){background-color:#495e6a;border-color:#495e6a}button.s-button-priority-default{background-color:#fff;border-color:#ccc}button.s-button-priority-default .s-button-icon,button.s-button-priority-default .s-button-menu-icon,button.s-button-priority-default .s-button-right-icon,button.s-button-priority-default .s-button-text{color:#333}button.s-button-priority-default:hover{background-color:#d9d9d9}button.s-button-priority-default:focus{background-color:#d9d9d9;border-color:#22dce6}button.s-button-priority-default.s-button-active:not(:disabled),button.s-button-priority-default:active:not(:disabled){background-color:#ccc;border-color:#ccc}.s-button-priority-danger{background-color:#9c3a3a;border-color:#9c3a3a}.s-button-priority-danger .s-button-icon,.s-button-priority-danger .s-button-menu-icon,.s-button-priority-danger .s-button-right-icon,.s-button-priority-danger .s-button-text{color:#fff}.s-button-priority-danger:hover{background-color:#642525}.s-button-priority-danger:focus{background-color:#642525;border-color:#22dce6}.s-button-priority-danger.s-button-active:not(:disabled),.s-button-priority-danger:active:not(:disabled){background-color:#521e1e;border-color:#521e1e}button.s-button-priority-link{background-color:transparent;border-color:transparent}button.s-button-priority-link .s-button-icon,button.s-button-priority-link .s-button-menu-icon,button.s-button-priority-link .s-button-right-icon,button.s-button-priority-link .s-button-text{color:#428bca}button.s-button-priority-link:hover{background-color:transparent}button.s-button-priority-link:hover .s-button-icon,button.s-button-priority-link:hover .s-button-menu-icon,button.s-button-priority-link:hover .s-button-right-icon,button.s-button-priority-link:hover .s-button-text{color:#2a6496}button.s-button-priority-link:focus{border-color:#22dce6;background-color:transparent}button.s-button-priority-link:focus .s-button-icon,button.s-button-priority-link:focus .s-button-menu-icon,button.s-button-priority-link:focus .s-button-right-icon,button.s-button-priority-link:focus .s-button-text{color:#2a6496}button.s-button-priority-link.s-button-active:not(:disabled),button.s-button-priority-link:active:not(:disabled){background-color:transparent;border-color:transparent}button.s-button-priority-link.s-button-active:not(:disabled) .s-button-icon,button.s-button-priority-link.s-button-active:not(:disabled) .s-button-menu-icon,button.s-button-priority-link.s-button-active:not(:disabled) .s-button-right-icon,button.s-button-priority-link.s-button-active:not(:disabled) .s-button-text,button.s-button-priority-link:active:not(:disabled) .s-button-icon,button.s-button-priority-link:active:not(:disabled) .s-button-menu-icon,button.s-button-priority-link:active:not(:disabled) .s-button-right-icon,button.s-button-priority-link:active:not(:disabled) .s-button-text{color:#245682}.s-button--slide.s-button-with-icon.s-button-multiple,.s-button--slide.s-button-with-text{min-width:40px}.s-button--slide .s-button-text{position:absolute;opacity:0;width:0}.s-button--slide:hover .s-button-text{opacity:1;position:relative;transition:1s;width:auto}.s-button--slide:hover.s-button--rotate-animation .s-button-icon,.s-button--slide:hover.s-button--rotate-animation .s-button-right-icon{transform:rotate(360deg);transition:1.5s}.badge{position:absolute;top:-10px;right:-10px;z-index:99}"]
1563
1498
  })
1564
1499
  ], ButtonComponent);
@@ -5771,7 +5706,7 @@ var LookupComponent = /** @class */ (function () {
5771
5706
  transition("* <=> *", animate("{{transitionParams}}")),
5772
5707
  ]),
5773
5708
  ],
5774
- styles: ["s-lookup.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-lookup .ui-inputtext{border-top-right-radius:0;border-bottom-right-radius:0}s-lookup .inputgroup p-autocomplete+button,s-lookup p-autocomplete .ui-autocomplete-dropdown.ui-button{background-color:#fff;border-color:#ccc;border-width:1px 1px 1px 0;color:#333;min-height:34px;height:auto!important;min-width:auto;width:34px!important;overflow:hidden;border-top-left-radius:0;border-bottom-left-radius:0}.ui-fluid s-lookup .inputgroup,s-lookup p-autocomplete span.ui-autocomplete-multiple{display:-ms-flexbox;display:flex}.ui-fluid s-lookup .inputgroup p-autocomplete{display:inline-block}.ui-fluid s-lookup .inputgroup p-autocomplete,.ui-fluid s-lookup p-autocomplete .ui-autocomplete-input{width:calc(100% - 34px)}.ui-fluid s-lookup .inputgroup p-autocomplete .ui-autocomplete-input{width:100%}s-lookup .inputgroup p-autocomplete+button:enabled:hover,s-lookup .inputgroup p-autocomplete+button:focus{background-color:#e6e6e6;border-color:#ccc}s-lookup .inputgroup p-autocomplete .ui-widget .ui-inputtext{border-right-width:1px;border-right-style:solid}s-lookup .ui-autocomplete-input-token,s-lookup .ui-autocomplete-input-token input{width:100%}s-lookup .ui-autocomplete .ui-autocomplete-token{max-width:100%}s-lookup .ui-autocomplete .ui-autocomplete-token-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .s-lookup-modal.ui-dialog .ui-dialog-content{padding:0;margin-bottom:0;max-height:none}s-lookup .ui-table-scrollable-body{min-width:100%}.s-lookup-modal{height:80%!important;max-width:100%!important;max-height:inherit!important;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:column;flex-direction:column}.s-lookup-modal .ui-dialog-content{height:auto!important;-ms-flex:1;flex:1;overflow:auto}.s-lookup-modal .ui-dialog-footer,.s-lookup-modal .ui-dialog-header{-ms-flex-negative:0;flex-shrink:0;border-radius:0 0 4px 4px}.s-lookup-modal .s-lookup-modal-container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%}.s-lookup-modal .s-lookup-modal-container .filter{position:relative;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;width:85%;background-color:rgba(229,234,234,.5);height:100%;padding:.571rem}.s-lookup-modal .s-lookup-modal-container .filter form{width:100%;height:100%}.s-lookup-modal .s-lookup-modal-container .filter form .form-content{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.s-lookup-modal .s-lookup-modal-container .filter form .form-content .filter-title{padding-left:.5rem}.s-lookup-modal .s-lookup-modal-container .filter form .form-content .form-fields{overflow-y:auto}.s-lookup-modal .s-lookup-modal-container .filter-toggle{-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;width:34px;border-radius:0 4px 4px 0}.s-lookup-modal .s-lookup-modal-container .filter-toggle button{-ms-flex-align:center;align-items:center;position:relative;background-color:rgba(229,234,234,.5);height:34px;width:100%;border:1px solid #e5eaea;outline:0;border-left:none;border-radius:0 4px 4px 0;cursor:pointer;text-decoration:none;text-transform:none;padding:7px;transition:background-color .2s ease-out,color .2s ease-out,border-color .2s ease-out}.s-lookup-modal .s-lookup-modal-container .filter-toggle button:focus,.s-lookup-modal .s-lookup-modal-container .filter-toggle button:hover{background-color:rgba(201,211,211,.5);border-color:#c9d3d3}.s-lookup-modal .s-lookup-modal-container .filter-toggle--start-border-mask{height:15px;border-left:1px solid #e5eaea}.s-lookup-modal .s-lookup-modal-container .filter-toggle--end-border-mask{height:calc(100% - 49px);border-left:1px solid #e5eaea}.s-lookup-modal .s-lookup-modal-container .content{-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:auto;flex-basis:auto;overflow-x:auto;padding:.5rem}.s-lookup-modal .s-lookup-modal-container .content.empty-content{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center}.s-lookup-modal .s-lookup-modal-container .content .s-loading-state-container,.s-lookup-modal .s-lookup-modal-container .content .s-loading-state-container .contents{height:100%}.s-lookup-modal .s-lookup-modal-container .content p-table{position:relative;height:100%}.s-lookup-modal .s-lookup-modal-container .content p-table .ui-table{height:100%}.s-lookup-modal .s-lookup-modal-container .content p-table .ui-table .ui-table-scrollable-wrapper{height:calc(100% - 60px)}.s-lookup-modal .s-lookup-modal-container .content p-table .ui-table .ui-table-scrollable-wrapper .ui-table-scrollable-view{height:100%}.s-lookup-modal .s-lookup-modal-container .content p-table .ui-table .ui-table-scrollable-wrapper .ui-table-scrollable-view .ui-table-scrollable-body{position:relative;height:calc(100% - 60px)}@media (max-width:767px){.s-lookup-modal{border:none!important;top:0!important;left:0!important;width:100%!important;height:100%!important}}@media (min-width:768px){.s-lookup-modal{width:80%!important}.s-lookup-modal .s-lookup-modal-container .filter{width:40%}}@media (min-width:1200px){.s-lookup-modal{width:60%!important}.s-lookup-modal .s-lookup-modal-container .filter{width:30%}}"]
5709
+ styles: ["s-lookup.ng-dirty.ng-invalid .ui-inputtext{border-color:#c13018}s-lookup .ui-inputtext{border-top-right-radius:0;border-bottom-right-radius:0}s-lookup .inputgroup p-autocomplete+button,s-lookup p-autocomplete .ui-autocomplete-dropdown.ui-button{background-color:#fff;border-color:#ccc;border-width:1px 1px 1px 0;color:#333;min-height:34px;height:auto!important;min-width:auto;width:34px!important;overflow:hidden;border-top-left-radius:0;border-bottom-left-radius:0}s-lookup .inputgroup,s-lookup p-autocomplete span.ui-autocomplete-multiple{display:-ms-flexbox;display:flex}s-lookup .inputgroup p-autocomplete{display:inline-block}s-lookup .inputgroup p-autocomplete,s-lookup p-autocomplete .ui-autocomplete-input{width:calc(100% - 34px)}s-lookup .inputgroup p-autocomplete .ui-autocomplete-input{width:100%}s-lookup .inputgroup p-autocomplete+button:enabled:hover,s-lookup .inputgroup p-autocomplete+button:focus{background-color:#e6e6e6;border-color:#ccc}s-lookup .inputgroup p-autocomplete .ui-widget .ui-inputtext{border-right-width:1px;border-right-style:solid}s-lookup .ui-autocomplete-input-token,s-lookup .ui-autocomplete-input-token input{width:100%}s-lookup .ui-autocomplete .ui-autocomplete-token{max-width:100%}s-lookup .ui-autocomplete .ui-autocomplete-token-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .s-lookup-modal.ui-dialog .ui-dialog-content{padding:0;margin-bottom:0;max-height:none}s-lookup .ui-table-scrollable-body{min-width:100%}.s-lookup-modal{height:80%!important;max-width:100%!important;max-height:inherit!important;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-direction:column;flex-direction:column}.s-lookup-modal .ui-dialog-content{height:auto!important;-ms-flex:1;flex:1;overflow:auto}.s-lookup-modal .ui-dialog-footer,.s-lookup-modal .ui-dialog-header{-ms-flex-negative:0;flex-shrink:0;border-radius:0 0 4px 4px}.s-lookup-modal .s-lookup-modal-container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:100%;width:100%}.s-lookup-modal .s-lookup-modal-container .filter{position:relative;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;width:85%;background-color:rgba(229,234,234,.5);height:100%;padding:.571rem}.s-lookup-modal .s-lookup-modal-container .filter form{width:100%;height:100%}.s-lookup-modal .s-lookup-modal-container .filter form .form-content{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.s-lookup-modal .s-lookup-modal-container .filter form .form-content .filter-title{padding-left:.5rem}.s-lookup-modal .s-lookup-modal-container .filter form .form-content .form-fields{overflow-y:auto}.s-lookup-modal .s-lookup-modal-container .filter-toggle{-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;width:34px;border-radius:0 4px 4px 0}.s-lookup-modal .s-lookup-modal-container .filter-toggle button{-ms-flex-align:center;align-items:center;position:relative;background-color:rgba(229,234,234,.5);height:34px;width:100%;border:1px solid #e5eaea;outline:0;border-left:none;border-radius:0 4px 4px 0;cursor:pointer;text-decoration:none;text-transform:none;padding:7px;transition:background-color .2s ease-out,color .2s ease-out,border-color .2s ease-out}.s-lookup-modal .s-lookup-modal-container .filter-toggle button:focus,.s-lookup-modal .s-lookup-modal-container .filter-toggle button:hover{background-color:rgba(201,211,211,.5);border-color:#c9d3d3}.s-lookup-modal .s-lookup-modal-container .filter-toggle--start-border-mask{height:15px;border-left:1px solid #e5eaea}.s-lookup-modal .s-lookup-modal-container .filter-toggle--end-border-mask{height:calc(100% - 49px);border-left:1px solid #e5eaea}.s-lookup-modal .s-lookup-modal-container .content{-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:auto;flex-basis:auto;overflow-x:auto;padding:.5rem}.s-lookup-modal .s-lookup-modal-container .content.empty-content{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center}.s-lookup-modal .s-lookup-modal-container .content .s-loading-state-container,.s-lookup-modal .s-lookup-modal-container .content .s-loading-state-container .contents{height:100%}.s-lookup-modal .s-lookup-modal-container .content p-table{position:relative;height:100%}.s-lookup-modal .s-lookup-modal-container .content p-table .ui-table{height:100%}.s-lookup-modal .s-lookup-modal-container .content p-table .ui-table .ui-table-scrollable-wrapper{height:calc(100% - 60px)}.s-lookup-modal .s-lookup-modal-container .content p-table .ui-table .ui-table-scrollable-wrapper .ui-table-scrollable-view{height:100%}.s-lookup-modal .s-lookup-modal-container .content p-table .ui-table .ui-table-scrollable-wrapper .ui-table-scrollable-view .ui-table-scrollable-body{position:relative;height:calc(100% - 60px)}@media (max-width:767px){.s-lookup-modal{border:none!important;top:0!important;left:0!important;width:100%!important;height:100%!important}}@media (min-width:768px){.s-lookup-modal{width:80%!important}.s-lookup-modal .s-lookup-modal-container .filter{width:40%}}@media (min-width:1200px){.s-lookup-modal{width:60%!important}.s-lookup-modal .s-lookup-modal-container .filter{width:30%}}"]
5775
5710
  })
5776
5711
  ], LookupComponent);
5777
5712
  return LookupComponent;
@@ -9423,7 +9358,7 @@ var LookupFieldComponent = /** @class */ (function () {
9423
9358
  ], LookupFieldComponent.prototype, "formControl", void 0);
9424
9359
  LookupFieldComponent = __decorate([
9425
9360
  Component({
9426
- template: "<s-field-label [field]=\"field\">\n\n<div [sTooltip]=\"field.tooltip\" tooltipPosition=\"top\" [showDelay]=\"500\">\n <s-lookup\n [id]=\"field.id || field.name\"\n [multiple]=\"field.multiple\"\n [formControl]=\"formControl\"\n [lookupSuggestions]=\"field.lookupSuggestions\"\n [dataKey]=\"field.dataKey\"\n [placeholder]=\"field.placeholder\"\n [showSearch]=\"field.showSearch\"\n [searchFields]=\"field.searchFields\"\n [searchGridFields]=\"field.searchGridFields\"\n [searchGridData]=\"field.gridData\"\n (onLookupRequest)=\"field.onLookupRequest($event)\"\n (onSearchRequest)=\"field.onSearchRequest($event)\"\n [lookupDisplayField]=\"field.lookupDisplayField\"\n [searchTotalRecords]=\"field.searchTotalRecords\"\n [searchTotalRecordsLabel]=\"field.searchTotalRecordsLabel\"\n [searchTitle]=\"field.searchTitle\"\n [selectLabel]=\"field.selectLabel\"\n [searchEmptyTitle]=\"field.searchEmptyTitle\"\n [filterLabel]=\"field.filterLabel\"\n [filterTitle]=\"field.filterTitle\"\n [clearLabel]=\"field.clearLabel\"\n [cancelLabel]=\"field.cancelLabel\"\n [emptyFieldLabel]=\"field.emptyFieldLabel\"\n (onSelect)=\"field.onSelect($event)\"\n (onUnselect)=\"field.onUnselect($event)\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupAppendTo]=\"field.appendTo\"\n [lookupEmptyMessage]=\"field.emptyMessage\"\n [recordLabel]=\"field.recordLabel\"\n [recordsLabel]=\"field.recordsLabel\"\n [defaultFilter]=\"field.defaultFilter\"\n [autocompleteForceSelection]=\"field.autocompleteForceSelection\"\n [showAddOption]=\"field.showAddOption\"\n [showEditOption]=\"field.showEditOption\"\n [showRemoveOption]=\"field.showRemoveOption\"\n (onAdd)=\"field.onAdd()\"\n (onEdit)=\"field.onEdit($event)\"\n (onRemove)=\"field.onRemove($event)\"\n >\n </s-lookup>\n</div>\n"
9361
+ template: "<s-field-label [field]=\"field\"></s-field-label>\n\n<div [sTooltip]=\"field.tooltip\" tooltipPosition=\"top\" [showDelay]=\"500\">\n <s-lookup\n [id]=\"field.id || field.name\"\n [multiple]=\"field.multiple\"\n [formControl]=\"formControl\"\n [lookupSuggestions]=\"field.lookupSuggestions\"\n [dataKey]=\"field.dataKey\"\n [placeholder]=\"field.placeholder\"\n [showSearch]=\"field.showSearch\"\n [searchFields]=\"field.searchFields\"\n [searchGridFields]=\"field.searchGridFields\"\n [searchGridData]=\"field.gridData\"\n (onLookupRequest)=\"field.onLookupRequest($event)\"\n (onSearchRequest)=\"field.onSearchRequest($event)\"\n [lookupDisplayField]=\"field.lookupDisplayField\"\n [searchTotalRecords]=\"field.searchTotalRecords\"\n [searchTotalRecordsLabel]=\"field.searchTotalRecordsLabel\"\n [searchTitle]=\"field.searchTitle\"\n [selectLabel]=\"field.selectLabel\"\n [searchEmptyTitle]=\"field.searchEmptyTitle\"\n [filterLabel]=\"field.filterLabel\"\n [filterTitle]=\"field.filterTitle\"\n [clearLabel]=\"field.clearLabel\"\n [cancelLabel]=\"field.cancelLabel\"\n [emptyFieldLabel]=\"field.emptyFieldLabel\"\n (onSelect)=\"field.onSelect($event)\"\n (onUnselect)=\"field.onUnselect($event)\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupAppendTo]=\"field.appendTo\"\n [lookupEmptyMessage]=\"field.emptyMessage\"\n [recordLabel]=\"field.recordLabel\"\n [recordsLabel]=\"field.recordsLabel\"\n [defaultFilter]=\"field.defaultFilter\"\n [autocompleteForceSelection]=\"field.autocompleteForceSelection\"\n [showAddOption]=\"field.showAddOption\"\n [showEditOption]=\"field.showEditOption\"\n [showRemoveOption]=\"field.showRemoveOption\"\n (onAdd)=\"field.onAdd()\"\n (onEdit)=\"field.onEdit($event)\"\n (onRemove)=\"field.onRemove($event)\"\n >\n </s-lookup>\n</div>\n"
9427
9362
  })
9428
9363
  ], LookupFieldComponent);
9429
9364
  return LookupFieldComponent;
@@ -14848,6 +14783,774 @@ var IAInsightModule = /** @class */ (function () {
14848
14783
  return IAInsightModule;
14849
14784
  }());
14850
14785
 
14786
+ var InlineEditField = /** @class */ (function () {
14787
+ function InlineEditField(options) {
14788
+ this.label = options.label;
14789
+ this.name = options.name;
14790
+ this.tooltip = options.tooltip;
14791
+ this.errorMessages = options.errorMessages;
14792
+ }
14793
+ return InlineEditField;
14794
+ }());
14795
+
14796
+ var InlineEditCalendarField = /** @class */ (function (_super) {
14797
+ __extends(InlineEditCalendarField, _super);
14798
+ function InlineEditCalendarField(options) {
14799
+ var _this = _super.call(this, options) || this;
14800
+ _this.view = options.view || "date";
14801
+ _this.minDate = options.minDate;
14802
+ _this.maxDate = options.maxDate;
14803
+ _this.defaultDate = options.defaultDate;
14804
+ _this.appendTo = options.appendTo;
14805
+ _this.showOnFocus = typeof options.showOnFocus === "boolean" ? options.showOnFocus : true;
14806
+ _this.onBlur = options.onBlur;
14807
+ _this.onFocus = options.onFocus;
14808
+ _this.onSelect = options.onSelect;
14809
+ _this.onInput = options.onInput;
14810
+ _this.onClose = options.onClose;
14811
+ _this.onTodayClick = options.onTodayClick;
14812
+ _this.onClearClick = options.onClearClick;
14813
+ _this.onMonthChange = options.onMonthChange;
14814
+ _this.onYearChange = options.onYearChange;
14815
+ _this.selectionMode = options.selectionMode || "single";
14816
+ _this.rangeSeparator = options.rangeSeparator || "-";
14817
+ _this.showSeconds = options.showSeconds;
14818
+ _this.placeholder = options.placeholder;
14819
+ return _this;
14820
+ }
14821
+ return InlineEditCalendarField;
14822
+ }(InlineEditField));
14823
+
14824
+ var InlineEditLookupField = /** @class */ (function (_super) {
14825
+ __extends(InlineEditLookupField, _super);
14826
+ function InlineEditLookupField(options) {
14827
+ var _this = _super.call(this, options) || this;
14828
+ _this.multiple = false;
14829
+ _this.showSearch = true;
14830
+ _this.autocompleteForceSelection = true;
14831
+ _this.showAddOption = false;
14832
+ _this.showEditOption = false;
14833
+ _this.showRemoveOption = false;
14834
+ _this.onSelect = function (event) { };
14835
+ _this.onUnselect = function (event) { };
14836
+ Object.assign(_this, options);
14837
+ _this.suggestionsObservable.subscribe(function (suggestions) { return (_this.lookupSuggestions = suggestions); });
14838
+ _this.searchObservable.pipe(delay(0)).subscribe(function (_a) {
14839
+ var totalRecords = _a.totalRecords, gridData = _a.gridData, searchTotalRecordsLabel = _a.searchTotalRecordsLabel;
14840
+ _this._gridData = gridData;
14841
+ _this._searchTotalRecords = totalRecords;
14842
+ _this._searchTotalRecordsLabel = searchTotalRecordsLabel;
14843
+ });
14844
+ return _this;
14845
+ }
14846
+ Object.defineProperty(InlineEditLookupField.prototype, "gridData", {
14847
+ get: function () {
14848
+ return this._gridData;
14849
+ },
14850
+ enumerable: true,
14851
+ configurable: true
14852
+ });
14853
+ Object.defineProperty(InlineEditLookupField.prototype, "searchTotalRecords", {
14854
+ get: function () {
14855
+ return this._searchTotalRecords;
14856
+ },
14857
+ enumerable: true,
14858
+ configurable: true
14859
+ });
14860
+ Object.defineProperty(InlineEditLookupField.prototype, "searchTotalRecordsLabel", {
14861
+ get: function () {
14862
+ return this._searchTotalRecordsLabel;
14863
+ },
14864
+ enumerable: true,
14865
+ configurable: true
14866
+ });
14867
+ return InlineEditLookupField;
14868
+ }(InlineEditField));
14869
+
14870
+ var InlineEditNumberField = /** @class */ (function (_super) {
14871
+ __extends(InlineEditNumberField, _super);
14872
+ function InlineEditNumberField(options) {
14873
+ var _a, _b, _c, _d;
14874
+ var _this = _super.call(this, options) || this;
14875
+ _this.allowNegative = (_a = options.allowNegative) !== null && _a !== void 0 ? _a : true;
14876
+ _this.numberLocaleOptions = options.numberLocaleOptions;
14877
+ _this.browserAutocomplete = options.browserAutocomplete;
14878
+ _this.precision = options.precision;
14879
+ _this.scale = (_b = options.scale) !== null && _b !== void 0 ? _b : 2;
14880
+ _this.alignTo = _this.scale ? AlignmentOptions.RIGHT : AlignmentOptions.LEFT;
14881
+ _this.mask = options.mask;
14882
+ _this.leftAddon = options.leftAddon;
14883
+ _this.rightAddon = options.rightAddon;
14884
+ _this.onBlur = options.onBlur;
14885
+ _this.onFocus = options.onFocus;
14886
+ _this.onComplete = options.onComplete;
14887
+ _this.onInput = options.onInput;
14888
+ _this.autoClear = (_c = options.autoClear) !== null && _c !== void 0 ? _c : true;
14889
+ _this.placeholder = (_d = options.placeholder) !== null && _d !== void 0 ? _d : "";
14890
+ return _this;
14891
+ }
14892
+ return InlineEditNumberField;
14893
+ }(InlineEditField));
14894
+
14895
+ var InlineEditTextAreaField = /** @class */ (function (_super) {
14896
+ __extends(InlineEditTextAreaField, _super);
14897
+ function InlineEditTextAreaField(options) {
14898
+ var _this = _super.call(this, options) || this;
14899
+ _this.cols = options.cols;
14900
+ _this.rows = options.rows;
14901
+ _this.keyFilter = options.keyFilter;
14902
+ _this.readonly = options.readonly;
14903
+ return _this;
14904
+ }
14905
+ return InlineEditTextAreaField;
14906
+ }(InlineEditField));
14907
+
14908
+ var InlineEditTextField = /** @class */ (function (_super) {
14909
+ __extends(InlineEditTextField, _super);
14910
+ function InlineEditTextField(options) {
14911
+ return _super.call(this, options) || this;
14912
+ }
14913
+ return InlineEditTextField;
14914
+ }(InlineEditField));
14915
+
14916
+ var InlineEditTextAreaIAField = /** @class */ (function (_super) {
14917
+ __extends(InlineEditTextAreaIAField, _super);
14918
+ function InlineEditTextAreaIAField(options) {
14919
+ return _super.call(this, options) || this;
14920
+ }
14921
+ return InlineEditTextAreaIAField;
14922
+ }(InlineEditField));
14923
+
14924
+ var InlineEditItemComponent = /** @class */ (function () {
14925
+ function InlineEditItemComponent(localeService) {
14926
+ this.localeService = localeService;
14927
+ this.isEditing = false;
14928
+ }
14929
+ InlineEditItemComponent.prototype.ngOnInit = function () {
14930
+ this._getCalendarLocaleOptions();
14931
+ };
14932
+ Object.defineProperty(InlineEditItemComponent.prototype, "showEmptyValueButton", {
14933
+ get: function () {
14934
+ var _a;
14935
+ return !this.isEditing && !((_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.value);
14936
+ },
14937
+ enumerable: true,
14938
+ configurable: true
14939
+ });
14940
+ Object.defineProperty(InlineEditItemComponent.prototype, "showEditButton", {
14941
+ get: function () {
14942
+ var _a;
14943
+ return !this.isEditing && ((_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.value);
14944
+ },
14945
+ enumerable: true,
14946
+ configurable: true
14947
+ });
14948
+ Object.defineProperty(InlineEditItemComponent.prototype, "showValue", {
14949
+ get: function () {
14950
+ var _a;
14951
+ return !this.isEditing && ((_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.value);
14952
+ },
14953
+ enumerable: true,
14954
+ configurable: true
14955
+ });
14956
+ InlineEditItemComponent.prototype.onEdit = function () {
14957
+ this.isEditing = !this.isEditing;
14958
+ };
14959
+ InlineEditItemComponent.prototype.onCancel = function () {
14960
+ this.isEditing = !this.isEditing;
14961
+ };
14962
+ InlineEditItemComponent.prototype.onSave = function () {
14963
+ if (this.dynamicComponentRef && this.dynamicComponentRef.instance.saveValue) {
14964
+ var control = this.formGroup.get(this.field.name);
14965
+ control.markAsDirty({ onlySelf: true });
14966
+ this.dynamicComponentRef.instance.saveValue();
14967
+ }
14968
+ if (this.formGroup.get(this.field.name).valid) {
14969
+ this.isEditing = !this.isEditing;
14970
+ }
14971
+ };
14972
+ InlineEditItemComponent.prototype.setDynamicComponentRef = function (ref) {
14973
+ this.dynamicComponentRef = ref;
14974
+ };
14975
+ InlineEditItemComponent.prototype.getErrorMessages = function (errorMessages) {
14976
+ if (errorMessages)
14977
+ return errorMessages instanceof Function
14978
+ ? __assign(__assign({}, this.errorMessages), errorMessages()) : __assign(__assign({}, this.errorMessages), errorMessages);
14979
+ return this.errorMessages;
14980
+ };
14981
+ InlineEditItemComponent.prototype.getFormattedValue = function (value) {
14982
+ if (this.field instanceof InlineEditCalendarField) {
14983
+ return this.dynamicComponentRef.instance.getValueAsText();
14984
+ }
14985
+ if (this.field instanceof InlineEditLookupField) {
14986
+ var lookupField_1 = this.field;
14987
+ return this.field.multiple
14988
+ ? value.map(function (val) { return val[lookupField_1.lookupDisplayField]; }).join(" - ")
14989
+ : value[lookupField_1.lookupDisplayField];
14990
+ }
14991
+ return value;
14992
+ };
14993
+ InlineEditItemComponent.prototype._getCalendarLocaleOptions = function () {
14994
+ var _this = this;
14995
+ this.localeService
14996
+ .get()
14997
+ .pipe(first())
14998
+ .subscribe(function (localeOptions) {
14999
+ _this._locale = localeOptions.locale;
15000
+ });
15001
+ };
15002
+ InlineEditItemComponent.ctorParameters = function () { return [
15003
+ { type: LocaleService }
15004
+ ]; };
15005
+ __decorate([
15006
+ ViewChild("formContainer", { read: ViewContainerRef, static: true })
15007
+ ], InlineEditItemComponent.prototype, "viewContainerRef", void 0);
15008
+ __decorate([
15009
+ Input()
15010
+ ], InlineEditItemComponent.prototype, "label", void 0);
15011
+ __decorate([
15012
+ Input()
15013
+ ], InlineEditItemComponent.prototype, "formGroup", void 0);
15014
+ __decorate([
15015
+ Input()
15016
+ ], InlineEditItemComponent.prototype, "field", void 0);
15017
+ __decorate([
15018
+ Input()
15019
+ ], InlineEditItemComponent.prototype, "errorMessages", void 0);
15020
+ InlineEditItemComponent = __decorate([
15021
+ Component({
15022
+ selector: "s-inline-edit-item",
15023
+ template: "<div class=\"inline-edit-item\">\n <label\n class=\"label\"\n *sInfoSign=\"field.tooltip\">\n {{ label }}:\n </label>\n\n <div class=\"content\">\n <span *ngIf=\"showValue\" class=\"value\">\n {{ getFormattedValue(formGroup.get(field.name)?.value) }}\n </span>\n\n <s-button\n *ngIf=\"showEmptyValueButton\"\n style=\"margin-left: -8px\"\n priority=\"link\"\n [label]=\"'platform.angular_components.add_information' | translate\"\n (onClick)=\"onEdit()\">\n </s-button>\n\n <div [hidden]=\"!isEditing\" class=\"form-container\">\n <ng-container #formContainer></ng-container>\n </div>\n\n <div class=\"options\">\n <s-button\n *ngIf=\"showEditButton\"\n [tooltip]=\"'platform.angular_components.edit' | translate\"\n (onClick)=\"onEdit()\"\n priority=\"link\"\n [auxiliary]=\"true\"\n iconClass=\"fas fa-edit\">\n </s-button>\n <s-button\n *ngIf=\"isEditing\"\n [tooltip]=\"'platform.angular_components.save' | translate\"\n (onClick)=\"onSave()\"\n priority=\"default\"\n [auxiliary]=\"true\"\n iconClass=\"fas fa-check\"\n styleClass=\"save-option\"\n iconColor=\"#428bca\">\n </s-button>\n <s-button\n *ngIf=\"isEditing\"\n [tooltip]=\"'platform.angular_components.cancel' | translate\"\n (onClick)=\"onCancel()\"\n priority=\"default\"\n [auxiliary]=\"true\"\n iconClass=\"fas fa-times\"\n iconColor=\"#c13018\">\n </s-button>\n </div>\n </div>\n <s-control-errors\n [form]=\"formGroup\"\n [control]=\"formGroup.controls[field.name]\"\n [errorMessages]=\"getErrorMessages(field.errorMessages)\">\n </s-control-errors>\n</div>\n",
15024
+ styles: [".inline-edit-item{-ms-flex-align:start;align-items:flex-start;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.inline-edit-item .label{color:#333;font-family:\"Open Sans\" sans-serif;font-size:14px;font-weight:700;margin-bottom:0}.inline-edit-item .content{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;gap:16px}.inline-edit-item .content .value{color:#999;font-family:\"Open Sans\" sans-serif;font-size:14px}.inline-edit-item .content .options{display:-ms-flexbox;display:flex}"]
15025
+ })
15026
+ ], InlineEditItemComponent);
15027
+ return InlineEditItemComponent;
15028
+ }());
15029
+
15030
+ var InlineEditCalendarComponent = /** @class */ (function () {
15031
+ function InlineEditCalendarComponent(localeService) {
15032
+ this.localeService = localeService;
15033
+ }
15034
+ InlineEditCalendarComponent.prototype.ngOnInit = function () {
15035
+ var _a;
15036
+ this._getLocaleOptions();
15037
+ if (this.formGroup && this.field) {
15038
+ this.tempValue = ((_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.value) || '';
15039
+ }
15040
+ };
15041
+ InlineEditCalendarComponent.prototype.saveValue = function () {
15042
+ var _a;
15043
+ if (this.formGroup && this.field) {
15044
+ (_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.setValue(this.tempValue);
15045
+ }
15046
+ };
15047
+ InlineEditCalendarComponent.prototype.getValueAsText = function () {
15048
+ return this.calendar.el.nativeElement.querySelector('input').value;
15049
+ };
15050
+ InlineEditCalendarComponent.prototype._getLocaleOptions = function () {
15051
+ var _this = this;
15052
+ this.localeService.get().pipe(first()).subscribe(function (locale) {
15053
+ _this.calendarLocaleOptions = locale.calendar;
15054
+ });
15055
+ };
15056
+ InlineEditCalendarComponent.ctorParameters = function () { return [
15057
+ { type: LocaleService }
15058
+ ]; };
15059
+ __decorate([
15060
+ Input()
15061
+ ], InlineEditCalendarComponent.prototype, "field", void 0);
15062
+ __decorate([
15063
+ Input()
15064
+ ], InlineEditCalendarComponent.prototype, "formGroup", void 0);
15065
+ __decorate([
15066
+ ViewChild(Calendar)
15067
+ ], InlineEditCalendarComponent.prototype, "calendar", void 0);
15068
+ InlineEditCalendarComponent = __decorate([
15069
+ Component({
15070
+ template: "<p-calendar\n #calendar\n sCalendarMask\n [inputId]=\"field.name\"\n [name]=\"field.name\"\n [showIcon]=\"true\"\n [selectionMode]=\"field.selectionMode\"\n [rangeSeparator]=\"field.rangeSeparator\"\n [showSeconds]=\"field.showSeconds\"\n [showOnFocus]=\"field.showOnFocus\"\n icon=\"fa fa-calendar\"\n [minDate]=\"field.minDate\"\n [maxDate]=\"field.maxDate\"\n [dateFormat]=\"calendarLocaleOptions.dateFormat\"\n [hourFormat]=\"calendarLocaleOptions.hourFormat\"\n [defaultDate]=\"field.defaultDate\"\n [view]=\"field.view\"\n [placeholder]=\"field.placeholder\"\n inputStyleClass=\"mousetrap\"\n [appendTo]=\"field.appendTo\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onSelect)=\"field.onSelect ? field.onSelect($event) : null\"\n (onClose)=\"field.onClose ? field.onClose($event) : null\"\n (onTodayClick)=\"field.onTodayClick ? field.onTodayClick($event) : null\"\n (onClearClick)=\"field.onClearClick ? field.onClearClick($event) : null\"\n (onMonthChange)=\"field.onMonthChange ? field.onMonthChange($event) : null\"\n (onYearChange)=\"field.onYearChange ? field.onYearChange($event) : null\"\n [showTransitionOptions]=\"'0ms'\"\n [hideTransitionOptions]=\"'0ms'\"\n [(ngModel)]=\"tempValue\">\n</p-calendar>\n",
15071
+ styles: [""]
15072
+ })
15073
+ ], InlineEditCalendarComponent);
15074
+ return InlineEditCalendarComponent;
15075
+ }());
15076
+
15077
+ var InlineEditLookupComponent = /** @class */ (function () {
15078
+ function InlineEditLookupComponent() {
15079
+ }
15080
+ InlineEditLookupComponent.prototype.ngOnInit = function () {
15081
+ var _a;
15082
+ if (this.formGroup && this.field) {
15083
+ this.tempValue = ((_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.value) || "";
15084
+ }
15085
+ };
15086
+ InlineEditLookupComponent.prototype.saveValue = function () {
15087
+ var _a;
15088
+ if (this.formGroup && this.field) {
15089
+ (_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.setValue(this.tempValue);
15090
+ }
15091
+ };
15092
+ __decorate([
15093
+ Input()
15094
+ ], InlineEditLookupComponent.prototype, "field", void 0);
15095
+ __decorate([
15096
+ Input()
15097
+ ], InlineEditLookupComponent.prototype, "formGroup", void 0);
15098
+ InlineEditLookupComponent = __decorate([
15099
+ Component({
15100
+ template: "<s-lookup\n [id]=\"field.name\"\n [multiple]=\"field.multiple\"\n [lookupSuggestions]=\"field.lookupSuggestions\"\n [dataKey]=\"field.dataKey\"\n [placeholder]=\"field.placeholder\"\n [showSearch]=\"field.showSearch\"\n [searchFields]=\"field.searchFields\"\n [searchGridFields]=\"field.searchGridFields\"\n [searchGridData]=\"field.gridData\"\n (onLookupRequest)=\"field.onLookupRequest($event)\"\n (onSearchRequest)=\"field.onSearchRequest($event)\"\n [lookupDisplayField]=\"field.lookupDisplayField\"\n [searchTotalRecords]=\"field.searchTotalRecords\"\n [searchTotalRecordsLabel]=\"field.searchTotalRecordsLabel\"\n [searchTitle]=\"field.searchTitle\"\n [searchEmptyTitle]=\"field.searchEmptyTitle\"\n [filterTitle]=\"field.filterTitle\"\n (onSelect)=\"field.onSelect($event)\"\n (onUnselect)=\"field.onUnselect($event)\"\n (onClear)=\"field.onClear ? field.onClear($event) : null\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n [lookupAppendTo]=\"field.appendTo\"\n [lookupEmptyMessage]=\"field.emptyMessage\"\n [defaultFilter]=\"field.defaultFilter\"\n [autocompleteForceSelection]=\"field.autocompleteForceSelection\"\n [showAddOption]=\"field.showAddOption\"\n [showEditOption]=\"field.showEditOption\"\n [showRemoveOption]=\"field.showRemoveOption\"\n (onAdd)=\"field.onAdd()\"\n (onEdit)=\"field.onEdit($event)\"\n (onRemove)=\"field.onRemove($event)\"\n [(ngModel)]=\"tempValue\">\n</s-lookup>\n",
15101
+ styles: [""]
15102
+ })
15103
+ ], InlineEditLookupComponent);
15104
+ return InlineEditLookupComponent;
15105
+ }());
15106
+
15107
+ var InlineEditNumberComponent = /** @class */ (function () {
15108
+ function InlineEditNumberComponent(localeService) {
15109
+ this.localeService = localeService;
15110
+ }
15111
+ InlineEditNumberComponent.prototype.ngOnInit = function () {
15112
+ var _a;
15113
+ this._onLocaleService();
15114
+ if (this.formGroup && this.field) {
15115
+ this.tempValue = ((_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.value) || '';
15116
+ }
15117
+ };
15118
+ InlineEditNumberComponent.prototype.saveValue = function () {
15119
+ var _a;
15120
+ if (this.formGroup && this.field) {
15121
+ (_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.setValue(this.tempValue);
15122
+ }
15123
+ };
15124
+ Object.defineProperty(InlineEditNumberComponent.prototype, "mask", {
15125
+ get: function () {
15126
+ return typeof this.field.mask === 'function' ? this.field.mask() : this.field.mask;
15127
+ },
15128
+ enumerable: true,
15129
+ configurable: true
15130
+ });
15131
+ Object.defineProperty(InlineEditNumberComponent.prototype, "leftAddonDisabled", {
15132
+ get: function () {
15133
+ return typeof this.field.leftAddon.disabled === 'function' ? this.field.leftAddon.disabled() : this.field.leftAddon.disabled;
15134
+ },
15135
+ enumerable: true,
15136
+ configurable: true
15137
+ });
15138
+ Object.defineProperty(InlineEditNumberComponent.prototype, "rightAddonDisabled", {
15139
+ get: function () {
15140
+ return typeof this.field.rightAddon.disabled === 'function' ? this.field.rightAddon.disabled() : this.field.rightAddon.disabled;
15141
+ },
15142
+ enumerable: true,
15143
+ configurable: true
15144
+ });
15145
+ Object.defineProperty(InlineEditNumberComponent.prototype, "precision", {
15146
+ get: function () {
15147
+ return typeof this.field.precision === 'function' ? this.field.precision() : this.field.precision;
15148
+ },
15149
+ enumerable: true,
15150
+ configurable: true
15151
+ });
15152
+ Object.defineProperty(InlineEditNumberComponent.prototype, "scale", {
15153
+ get: function () {
15154
+ return typeof this.field.scale === 'function' ? this.field.scale() : this.field.scale;
15155
+ },
15156
+ enumerable: true,
15157
+ configurable: true
15158
+ });
15159
+ InlineEditNumberComponent.prototype._onLocaleService = function () {
15160
+ var _this = this;
15161
+ this.localeService
15162
+ .getLocale()
15163
+ .pipe(first())
15164
+ .subscribe({
15165
+ next: function () {
15166
+ var _a, _b;
15167
+ if (!((_a = _this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
15168
+ _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { decimalSeparator: _this.localeService.getDecimalSeparator() });
15169
+ }
15170
+ if (!((_b = _this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
15171
+ _this.field.numberLocaleOptions = __assign(__assign({}, _this.field.numberLocaleOptions), { thousandsSeparator: _this.localeService.getGroupingSeparator() });
15172
+ }
15173
+ },
15174
+ error: function () {
15175
+ return (_this.field.numberLocaleOptions = {
15176
+ thousandsSeparator: ".",
15177
+ decimalSeparator: ",",
15178
+ currencySymbol: "",
15179
+ });
15180
+ },
15181
+ });
15182
+ };
15183
+ InlineEditNumberComponent.ctorParameters = function () { return [
15184
+ { type: LocaleService }
15185
+ ]; };
15186
+ __decorate([
15187
+ Input()
15188
+ ], InlineEditNumberComponent.prototype, "field", void 0);
15189
+ __decorate([
15190
+ Input()
15191
+ ], InlineEditNumberComponent.prototype, "formGroup", void 0);
15192
+ InlineEditNumberComponent = __decorate([
15193
+ Component({
15194
+ template: "<p-inputMask\n *ngIf=\"field.mask; else noMask\"\n type=\"text\"\n [inputId]=\"field.name\"\n [name]=\"field.name\"\n [mask]=\"mask\"\n [placeholder]=\"field.placeholder\"\n slotChar=\"_\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [showDelay]=\"500\"\n styleClass=\"mousetrap\"\n (onBlur)=\"field.onBlur ? field.onBlur($event) : null\"\n (onFocus)=\"field.onFocus ? field.onFocus($event) : null\"\n (onComplete)=\"field.onComplete ? field.onComplete($event) : null\"\n (onInput)=\"field.onInput ? field.onInput($event) : null\"\n [autoClear]=\"field.autoClear\"\n [(ngModel)]=\"tempValue\">\n</p-inputMask>\n\n<ng-template #noMask>\n <ng-container>\n <div class=\"ui-inputgroup\">\n <ng-container *ngIf=\"field.leftAddon\">\n <span *ngIf=\"field.leftAddon.callback\" class=\"addon-button addon-button--left\">\n <s-button\n [label]=\"field.leftAddon.label\"\n [iconClass]=\"field.leftAddon.icon\"\n [priority]=\"field.leftAddon.priority\"\n [disabled]=\"leftAddonDisabled\"\n (onClick)=\"field.leftAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.leftAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.leftAddon.label\">{{ field.leftAddon.label }}</span>\n <span *ngIf=\"!field.leftAddon.label\" [ngClass]=\"field.leftAddon.icon\"></span>\n </span>\n </ng-container>\n\n <input\n [id]=\"field.name\"\n type=\"text\"\n [name]=\"field.name\"\n sBignumberInput\n [allowNegative]=\"field.allowNegative\"\n [precision]=\"precision\"\n [scale]=\"scale\"\n [alignTo]=\"field.alignTo\"\n [sTooltip]=\"field.tooltip\"\n tooltipPosition=\"top\"\n [placeholder]=\"field.placeholder\"\n [showDelay]=\"500\"\n pInputText\n [autocomplete]=\"field.browserAutocomplete ? 'on' : 'off'\"\n [ngClass]=\"'mousetrap'\"\n (blur)=\"field.onBlur ? field.onBlur($event) : null\"\n (focus)=\"field.onFocus ? field.onFocus($event) : null\"\n [(ngModel)]=\"tempValue\"/>\n <ng-container *ngIf=\"field.rightAddon\">\n <span *ngIf=\"field.rightAddon.callback\" class=\"addon-button addon-button--right\">\n <s-button\n [label]=\"field.rightAddon.label\"\n [iconClass]=\"field.rightAddon.icon\"\n [priority]=\"field.rightAddon.priority\"\n [disabled]=\"rightAddonDisabled\"\n (onClick)=\"field.rightAddon.callback()\">\n </s-button>\n </span>\n <span *ngIf=\"!field.rightAddon.callback\" class=\"ui-inputgroup-addon\">\n <span *ngIf=\"field.rightAddon.label\">{{ field.rightAddon.label }}</span>\n <span *ngIf=\"!field.rightAddon.label\" [ngClass]=\"field.rightAddon.icon\"></span>\n </span>\n </ng-container>\n </div>\n </ng-container>\n</ng-template>\n",
15195
+ styles: [""]
15196
+ })
15197
+ ], InlineEditNumberComponent);
15198
+ return InlineEditNumberComponent;
15199
+ }());
15200
+
15201
+ var InlineEditTextAreaComponent = /** @class */ (function () {
15202
+ function InlineEditTextAreaComponent() {
15203
+ }
15204
+ InlineEditTextAreaComponent.prototype.ngOnInit = function () {
15205
+ var _a;
15206
+ if (this.formGroup && this.field) {
15207
+ this.tempValue = ((_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.value) || '';
15208
+ }
15209
+ };
15210
+ InlineEditTextAreaComponent.prototype.saveValue = function () {
15211
+ var _a;
15212
+ if (this.formGroup && this.field) {
15213
+ (_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.setValue(this.tempValue);
15214
+ }
15215
+ };
15216
+ __decorate([
15217
+ Input()
15218
+ ], InlineEditTextAreaComponent.prototype, "field", void 0);
15219
+ __decorate([
15220
+ Input()
15221
+ ], InlineEditTextAreaComponent.prototype, "formGroup", void 0);
15222
+ InlineEditTextAreaComponent = __decorate([
15223
+ Component({
15224
+ template: "<ng-container *ngIf=\"field.keyFilter; else noKeyFilter\">\n <textarea\n [id]=\"field.name\"\n pInputTextarea\n class=\"textarea-input\"\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [pKeyFilter]=\"field.keyFilter\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n [(ngModel)]=\"tempValue\">\n </textarea>\n</ng-container>\n<ng-template #noKeyFilter>\n <textarea\n [id]=\"field.name\"\n pInputTextarea\n class=\"textarea-input\"\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n [(ngModel)]=\"tempValue\">\n </textarea>\n</ng-template>\n",
15225
+ styles: [".textarea-input{resize:vertical}"]
15226
+ })
15227
+ ], InlineEditTextAreaComponent);
15228
+ return InlineEditTextAreaComponent;
15229
+ }());
15230
+
15231
+ var InlineEditTextComponent = /** @class */ (function () {
15232
+ function InlineEditTextComponent() {
15233
+ }
15234
+ InlineEditTextComponent.prototype.ngOnInit = function () {
15235
+ var _a;
15236
+ if (this.formGroup && this.field) {
15237
+ this.tempValue = ((_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.value) || '';
15238
+ }
15239
+ };
15240
+ InlineEditTextComponent.prototype.saveValue = function () {
15241
+ var _a;
15242
+ if (this.formGroup && this.field) {
15243
+ (_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.setValue(this.tempValue);
15244
+ }
15245
+ };
15246
+ __decorate([
15247
+ Input()
15248
+ ], InlineEditTextComponent.prototype, "field", void 0);
15249
+ __decorate([
15250
+ Input()
15251
+ ], InlineEditTextComponent.prototype, "formGroup", void 0);
15252
+ InlineEditTextComponent = __decorate([
15253
+ Component({
15254
+ template: "<input\n type=\"text\"\n pInputText\n [(ngModel)]=\"tempValue\" />",
15255
+ styles: [""]
15256
+ })
15257
+ ], InlineEditTextComponent);
15258
+ return InlineEditTextComponent;
15259
+ }());
15260
+
15261
+ var InlineEditTextAreaIAComponent = /** @class */ (function () {
15262
+ function InlineEditTextAreaIAComponent() {
15263
+ }
15264
+ InlineEditTextAreaIAComponent.prototype.ngOnInit = function () {
15265
+ var _a;
15266
+ if (this.formGroup && this.field) {
15267
+ this.tempValue = ((_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.value) || '';
15268
+ }
15269
+ };
15270
+ InlineEditTextAreaIAComponent.prototype.saveValue = function () {
15271
+ var _a;
15272
+ if (this.formGroup && this.field) {
15273
+ (_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.setValue(this.tempValue);
15274
+ }
15275
+ };
15276
+ __decorate([
15277
+ Input()
15278
+ ], InlineEditTextAreaIAComponent.prototype, "field", void 0);
15279
+ __decorate([
15280
+ Input()
15281
+ ], InlineEditTextAreaIAComponent.prototype, "formGroup", void 0);
15282
+ InlineEditTextAreaIAComponent = __decorate([
15283
+ Component({
15284
+ template: "<s-text-area-ia [(ngModel)]=\"tempValue\"></s-text-area-ia>",
15285
+ styles: [""]
15286
+ })
15287
+ ], InlineEditTextAreaIAComponent);
15288
+ return InlineEditTextAreaIAComponent;
15289
+ }());
15290
+
15291
+ var InlineEditComponent = /** @class */ (function () {
15292
+ function InlineEditComponent(resolver) {
15293
+ var _a;
15294
+ this.resolver = resolver;
15295
+ this.fields = [];
15296
+ this._componentMap = (_a = {},
15297
+ _a[InlineEditCalendarField.name] = InlineEditCalendarComponent,
15298
+ _a[InlineEditLookupField.name] = InlineEditLookupComponent,
15299
+ _a[InlineEditTextField.name] = InlineEditTextComponent,
15300
+ _a[InlineEditNumberField.name] = InlineEditNumberComponent,
15301
+ _a[InlineEditTextAreaField.name] = InlineEditTextAreaComponent,
15302
+ _a[InlineEditTextAreaIAField.name] = InlineEditTextAreaIAComponent,
15303
+ _a);
15304
+ }
15305
+ InlineEditComponent.prototype.ngOnInit = function () {
15306
+ this._createFields();
15307
+ };
15308
+ InlineEditComponent.prototype._createFields = function () {
15309
+ var e_1, _a;
15310
+ var _this = this;
15311
+ this.container.clear();
15312
+ var createComponent = function (componentClass, field) {
15313
+ var componentFactory = _this.resolver.resolveComponentFactory(componentClass);
15314
+ var componentRef = _this.container.createComponent(componentFactory);
15315
+ componentRef.instance.field = field;
15316
+ componentRef.instance.formGroup = _this.formGroup;
15317
+ return componentRef;
15318
+ };
15319
+ try {
15320
+ for (var _b = __values(this.fields), _c = _b.next(); !_c.done; _c = _b.next()) {
15321
+ var field = _c.value;
15322
+ var componentClass = this._componentMap[field.constructor.name];
15323
+ if (componentClass) {
15324
+ var inlineEditItemFactory = this.resolver.resolveComponentFactory(InlineEditItemComponent);
15325
+ var inlineEditItemRef = this.container.createComponent(inlineEditItemFactory);
15326
+ inlineEditItemRef.instance.label = field.label;
15327
+ inlineEditItemRef.instance.formGroup = this.formGroup;
15328
+ inlineEditItemRef.instance.field = field;
15329
+ inlineEditItemRef.instance.errorMessages = this.errorMessages;
15330
+ var dynamicComponentRef = createComponent(componentClass, field);
15331
+ var inlineEditItemInstance = inlineEditItemRef.instance;
15332
+ inlineEditItemInstance.viewContainerRef.insert(dynamicComponentRef.hostView);
15333
+ inlineEditItemInstance.setDynamicComponentRef(dynamicComponentRef);
15334
+ }
15335
+ }
15336
+ }
15337
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
15338
+ finally {
15339
+ try {
15340
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
15341
+ }
15342
+ finally { if (e_1) throw e_1.error; }
15343
+ }
15344
+ };
15345
+ InlineEditComponent.ctorParameters = function () { return [
15346
+ { type: ComponentFactoryResolver }
15347
+ ]; };
15348
+ __decorate([
15349
+ Input()
15350
+ ], InlineEditComponent.prototype, "formGroup", void 0);
15351
+ __decorate([
15352
+ Input()
15353
+ ], InlineEditComponent.prototype, "fields", void 0);
15354
+ __decorate([
15355
+ Input()
15356
+ ], InlineEditComponent.prototype, "errorMessages", void 0);
15357
+ __decorate([
15358
+ ViewChild("formContainer", { read: ViewContainerRef, static: true })
15359
+ ], InlineEditComponent.prototype, "container", void 0);
15360
+ InlineEditComponent = __decorate([
15361
+ Component({
15362
+ selector: "s-inline-edit",
15363
+ template: "<div class=\"inline-edit\">\n <ng-template #formContainer></ng-template>\n</div>\n",
15364
+ styles: [".inline-edit{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px}"]
15365
+ })
15366
+ ], InlineEditComponent);
15367
+ return InlineEditComponent;
15368
+ }());
15369
+
15370
+ var TextAreaIAComponent = /** @class */ (function () {
15371
+ function TextAreaIAComponent(_iassistService, // Mover pra uma pasta global
15372
+ _formBuilder, _translateService) {
15373
+ this._iassistService = _iassistService;
15374
+ this._formBuilder = _formBuilder;
15375
+ this._translateService = _translateService;
15376
+ this.isVisible = false;
15377
+ this.isLoading = false;
15378
+ }
15379
+ TextAreaIAComponent_1 = TextAreaIAComponent;
15380
+ TextAreaIAComponent.prototype.ngOnInit = function () {
15381
+ this._createDialogFields();
15382
+ this._createDialogFormGroup();
15383
+ };
15384
+ TextAreaIAComponent.prototype.writeValue = function (value) {
15385
+ this.value = value;
15386
+ };
15387
+ TextAreaIAComponent.prototype.registerOnChange = function (onChange) {
15388
+ this._onChange = onChange;
15389
+ };
15390
+ TextAreaIAComponent.prototype.registerOnTouched = function (onTouched) {
15391
+ this._onTouched = onTouched;
15392
+ };
15393
+ TextAreaIAComponent.prototype.setDisabledState = function (isDisabled) {
15394
+ this._isDisabled = isDisabled;
15395
+ };
15396
+ TextAreaIAComponent.prototype.onValueChange = function (value) {
15397
+ var _a;
15398
+ this.value = value;
15399
+ (_a = this._onChange) === null || _a === void 0 ? void 0 : _a.call(this, value);
15400
+ };
15401
+ TextAreaIAComponent.prototype.showDialog = function () {
15402
+ this.isVisible = true;
15403
+ this._onTouched();
15404
+ };
15405
+ TextAreaIAComponent.prototype.hideDialog = function () {
15406
+ this.isVisible = false;
15407
+ };
15408
+ TextAreaIAComponent.prototype.onHideDialog = function () {
15409
+ this.formGroup.get("context").setValue("");
15410
+ };
15411
+ TextAreaIAComponent.prototype.submitContext = function () {
15412
+ var _this = this;
15413
+ var context = this.formGroup.get("context");
15414
+ this.isLoading = true;
15415
+ this._iassistService
15416
+ .askIA(context.value, {
15417
+ id: this.id,
15418
+ label: this.label,
15419
+ placeholder: this.placeholder,
15420
+ prompt: this.prompt,
15421
+ })
15422
+ .pipe(catchError(function (err) {
15423
+ _this.isLoading = false;
15424
+ return throwError(err);
15425
+ }))
15426
+ .subscribe(function (res) {
15427
+ _this.value = res.text;
15428
+ _this._onChange(_this.value);
15429
+ _this.isLoading = false;
15430
+ });
15431
+ this.hideDialog();
15432
+ };
15433
+ TextAreaIAComponent.prototype._createDialogFields = function () {
15434
+ this.fields = [
15435
+ new FormField({
15436
+ name: "context",
15437
+ type: FieldType.Text,
15438
+ label: this._translateService.instant("platform.angular_components.context"),
15439
+ size: { sm: 12, md: 12, lg: 12, xl: 12 },
15440
+ }),
15441
+ ];
15442
+ };
15443
+ TextAreaIAComponent.prototype._createDialogFormGroup = function () {
15444
+ this.formGroup = this._formBuilder.group({
15445
+ context: [""],
15446
+ });
15447
+ };
15448
+ var TextAreaIAComponent_1;
15449
+ TextAreaIAComponent.ctorParameters = function () { return [
15450
+ { type: IAssistService },
15451
+ { type: FormBuilder },
15452
+ { type: TranslateService }
15453
+ ]; };
15454
+ __decorate([
15455
+ Input()
15456
+ ], TextAreaIAComponent.prototype, "id", void 0);
15457
+ __decorate([
15458
+ Input()
15459
+ ], TextAreaIAComponent.prototype, "label", void 0);
15460
+ __decorate([
15461
+ Input()
15462
+ ], TextAreaIAComponent.prototype, "placeholder", void 0);
15463
+ __decorate([
15464
+ Input()
15465
+ ], TextAreaIAComponent.prototype, "prompt", void 0);
15466
+ __decorate([
15467
+ Input()
15468
+ ], TextAreaIAComponent.prototype, "readonly", void 0);
15469
+ __decorate([
15470
+ Input()
15471
+ ], TextAreaIAComponent.prototype, "rows", void 0);
15472
+ __decorate([
15473
+ Input()
15474
+ ], TextAreaIAComponent.prototype, "cols", void 0);
15475
+ TextAreaIAComponent = TextAreaIAComponent_1 = __decorate([
15476
+ Component({
15477
+ selector: "s-text-area-ia",
15478
+ template: "<s-loading-state\n [loading]=\"isLoading\"\n [blockWindow]=\"true\"> \n</s-loading-state>\n\n<p-dialog\n [(visible)]=\"isVisible\"\n [modal]=\"true\"\n [style]=\"{ width: '50vw' }\"\n [draggable]=\"false\"\n [resizable]=\"false\"\n (onHide)=\"onHideDialog()\">\n <p-header>\n <div class=\"dialog-header\">\n <span class=\"iassist-icon\">\n <ng-container [ngTemplateOutlet]=\"iassistIcon\"></ng-container>\n </span>\n IAssist - Content Generator\n </div>\n </p-header>\n <s-dynamic-form\n [fields]=\"fields\"\n [form]=\"formGroup\">\n </s-dynamic-form>\n <p-footer>\n <div class=\"footer-content\">\n <s-button\n id=\"-submit-button\"\n type=\"button\"\n [label]=\"'platform.angular_components.generate_text' | translate\"\n (onClick)=\"submitContext()\"\n sTooltip=\"(ALT + SHIFT + S)\"\n showDelay=\"500\">\n </s-button>\n <s-button\n id=\"-cancel-button\"\n type=\"button\"\n priority=\"link\"\n [label]=\"'platform.angular_components.cancel' | translate\"\n (onClick)=\"hideDialog()\"\n sTooltip=\"(ALT + SHIFT + C)\"\n showDelay=\"500\">\n </s-button>\n </div>\n </p-footer>\n</p-dialog>\n\n<div class=\"textarea-ia\">\n <textarea\n [id]=\"id\"\n class=\"textarea-input\"\n pInputTextarea\n [(ngModel)]=\"value\"\n (ngModelChange)=\"onValueChange($event)\"\n [rows]=\"rows\"\n [cols]=\"cols\"\n [readOnly]=\"readonly\">\n </textarea>\n <button\n class=\"iassist-button\"\n (click)=\"showDialog()\"\n sTooltip=\"IAssist - Content Generator\">\n <ng-container [ngTemplateOutlet]=\"iassistIcon\"></ng-container>\n </button>\n</div>\n\n<ng-template #iassistIcon>\n <svg style=\"width: 100%; height: 100%;\" viewBox=\"0 0 20 20\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M5.81451 18.1054L5.99593 17.6059L7.52166 13.4099L7.60877 13.1726L7.61277 13.1614L7.94285 12.2543L8.01159 12.0648L8.05394 11.949L5.2998 8.52426L5.02726 8.18379C5.00569 8.15821 4.9881 8.13104 4.97292 8.10226C4.90099 7.9632 4.85063 7.81294 4.82186 7.6531C4.73075 7.1344 4.90418 6.60771 5.28382 6.24326C5.29421 6.23447 5.3038 6.22567 5.31419 6.21688L5.47164 6.0914L9.3439 3.00238L9.5469 2.84094L9.57088 2.82096L10.4101 2.15041L11.8007 1.04188C11.2181 0.925188 10.6163 0.863647 10.0001 0.863647C4.95374 0.863647 0.863281 4.9541 0.863281 9.99963C0.863281 13.5346 2.87254 16.5989 5.80971 18.1182\" fill=\"#0FA389\"/>\n <path d=\"M14.099 1.83472L13.9495 2.24632L11.997 7.61074L11.9427 7.7594L11.9003 7.87369L14.7448 11.4103C14.7463 11.4127 14.7479 11.4143 14.7495 11.4167L14.9414 11.654C14.9541 11.67 14.9661 11.6868 14.9765 11.7044C15.0764 11.8698 15.1444 12.0505 15.1779 12.2431C15.273 12.7826 15.0812 13.3284 14.676 13.6897C14.656 13.7129 14.6345 13.7344 14.6105 13.7536L11.8563 15.9507L11.6789 16.0922L11.6022 16.1537L10.7406 16.8402V16.841L10.3937 17.1176L9.85747 17.5452L9.39951 17.9112L8.11035 18.9398C8.72016 19.0677 9.35155 19.1364 9.99973 19.1364C15.0461 19.1364 19.1365 15.046 19.1365 9.99964C19.1365 6.42789 17.0857 3.33727 14.099 1.83472Z\" fill=\"#0FA389\"/>\n <path d=\"M14.7287 12.3222C14.7047 12.1832 14.6551 12.0545 14.5864 11.941L14.3954 11.7036C14.3954 11.7036 14.3946 11.7028 14.3938 11.7028L11.3839 7.96005L10.5031 6.86511L10.4256 6.7676L9.03255 5.03487L8.83674 4.79191C8.79278 4.71678 8.75681 4.63446 8.73204 4.54814C8.72085 4.51058 8.71286 4.47222 8.70566 4.43465C8.68568 4.32196 8.68408 4.21007 8.69847 4.10217L8.62334 4.16291L8.44511 4.30438L5.75731 6.44871L5.60066 6.57339C5.34011 6.82275 5.20584 7.19279 5.27218 7.57482C5.29296 7.68751 5.32892 7.79541 5.37927 7.89292C5.37927 7.89292 5.37927 7.89292 5.38007 7.89371L5.6566 8.23818L8.57139 11.8627L8.63293 11.9394L9.53047 13.0559L9.59041 13.1303L9.98363 13.6186L11.0178 14.9046C11.0186 14.9054 11.0194 14.9069 11.0202 14.9077L11.1361 15.0516V15.0524C11.2184 15.1755 11.2768 15.317 11.3048 15.4728C11.3239 15.5807 11.3263 15.6878 11.3143 15.7925L11.3175 15.7965L11.3943 15.735L11.5717 15.5935L14.3266 13.3964L14.3218 13.3908C14.6335 13.1438 14.8022 12.7394 14.7287 12.3222Z\" fill=\"#F3F3F5\"/>\n <path d=\"M10.6822 15.0082C10.6814 15.0074 10.6806 15.0058 10.6806 15.005L10.5672 14.8643L10.3809 14.6325L10.3282 14.567L10.2211 14.4335L9.40028 13.4129L9.32835 13.3242L8.77289 12.6345L8.68098 12.5194L8.44121 12.2205L8.37168 12.4099L8.04159 13.317L8.0376 13.329L7.95128 13.5664L6.42475 17.7623L6.24333 18.2618L5.90605 19.1881L5.73262 19.6645C5.73182 19.6661 5.73102 19.6677 5.73102 19.6685C5.72863 19.6749 5.72703 19.6821 5.72543 19.6885C5.71584 19.7228 5.71424 19.758 5.72063 19.7948C5.74461 19.929 5.87329 20.0193 6.00836 19.9962C6.04112 19.9898 6.07229 19.9778 6.09867 19.9602C6.09867 19.9602 6.09947 19.9602 6.10027 19.9594L6.14103 19.9266L7.39422 18.9268L9.11496 17.5537L9.57292 17.1877L10.1092 16.7601L10.4561 16.4827L10.4537 16.4811C10.7582 16.2382 10.9236 15.8402 10.8509 15.4294C10.8237 15.2735 10.7654 15.1313 10.6822 15.0082Z\" fill=\"#0C847B\"/>\n <path d=\"M9.17644 4.56325C9.2124 4.68713 9.26915 4.80062 9.34268 4.90053C9.34348 4.90053 9.34428 4.90213 9.34428 4.90213L9.40342 4.97645C9.40502 4.97805 9.40582 4.97885 9.40662 4.98045L9.56806 5.17946L9.64878 5.28096L9.67915 5.31932L9.8414 5.51993L10.5559 6.40947L10.7054 6.59569L11.2169 7.23188L11.5142 7.60192L11.5693 7.45247L13.5202 2.08964L14.1596 0.332135C14.1596 0.330536 14.1604 0.328139 14.1612 0.32654C14.174 0.288177 14.1772 0.246617 14.17 0.205058C14.1468 0.0699879 14.0182 -0.0195258 13.8823 0.00365186C13.8407 0.0116442 13.8024 0.028428 13.7712 0.0540033L12.578 1.00589L12.498 1.06982L10.6958 2.50844L9.85658 3.17819L9.8326 3.19737L9.6296 3.35961L9.45297 3.50028C9.2116 3.73925 9.08692 4.08931 9.15006 4.44976C9.15726 4.48813 9.16525 4.52649 9.17644 4.56325Z\" fill=\"#0C847B\"/>\n </svg>\n</ng-template>",
15479
+ providers: [
15480
+ {
15481
+ provide: NG_VALUE_ACCESSOR,
15482
+ useExisting: forwardRef(function () { return TextAreaIAComponent_1; }),
15483
+ multi: true,
15484
+ },
15485
+ ],
15486
+ styles: [".footer-content{display:-ms-flexbox;display:flex;-ms-flex-positive:0;flex-grow:0}.textarea-ia{display:-ms-flexbox;display:flex;-ms-flex-align:end;align-items:flex-end;gap:8px}.textarea-ia .textarea-input{resize:vertical;width:100%}.iassist-button{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border:none;border-radius:50%;box-shadow:none;cursor:pointer;height:32px;width:32px}.dialog-header{display:-ms-flexbox;display:flex;gap:12px}.dialog-header .iassist-icon{display:block;height:24px;width:24px}"]
15487
+ })
15488
+ ], TextAreaIAComponent);
15489
+ return TextAreaIAComponent;
15490
+ }());
15491
+
15492
+ var TextAreaIAModule = /** @class */ (function () {
15493
+ function TextAreaIAModule() {
15494
+ }
15495
+ TextAreaIAModule = __decorate([
15496
+ NgModule({
15497
+ imports: [
15498
+ CommonModule,
15499
+ FormsModule,
15500
+ ReactiveFormsModule,
15501
+ TranslateModule,
15502
+ DialogModule,
15503
+ InputTextareaModule,
15504
+ ButtonModule,
15505
+ DynamicFormModule,
15506
+ LoadingStateModule,
15507
+ ],
15508
+ declarations: [TextAreaIAComponent],
15509
+ exports: [TextAreaIAComponent],
15510
+ })
15511
+ ], TextAreaIAModule);
15512
+ return TextAreaIAModule;
15513
+ }());
15514
+
15515
+ var InlineEditModule = /** @class */ (function () {
15516
+ function InlineEditModule() {
15517
+ }
15518
+ InlineEditModule = __decorate([
15519
+ NgModule({
15520
+ imports: [
15521
+ CommonModule,
15522
+ FormsModule,
15523
+ ReactiveFormsModule,
15524
+ TranslateModule,
15525
+ BignumberInputModule,
15526
+ ButtonModule,
15527
+ ControlErrorsModule,
15528
+ InfoSignModule,
15529
+ DynamicFormModule,
15530
+ TextAreaIAModule,
15531
+ TooltipModule,
15532
+ CalendarModule,
15533
+ InputMaskModule,
15534
+ InputTextModule,
15535
+ InputTextareaModule,
15536
+ KeyFilterModule,
15537
+ ],
15538
+ declarations: [
15539
+ InlineEditComponent,
15540
+ InlineEditItemComponent,
15541
+ InlineEditCalendarComponent,
15542
+ InlineEditLookupComponent,
15543
+ InlineEditNumberComponent,
15544
+ InlineEditTextComponent,
15545
+ InlineEditTextAreaComponent,
15546
+ InlineEditTextAreaIAComponent,
15547
+ ],
15548
+ exports: [InlineEditComponent],
15549
+ })
15550
+ ], InlineEditModule);
15551
+ return InlineEditModule;
15552
+ }());
15553
+
14851
15554
  var KanbanEventService = /** @class */ (function () {
14852
15555
  function KanbanEventService() {
14853
15556
  this.selectAllColumnItemsEvent = new EventEmitter();
@@ -18468,9 +19171,11 @@ var fallback = {
18468
19171
  "platform.angular_components.date_format": "dd/mm/yy",
18469
19172
  "platform.angular_components.ia_text_generator": "Gerador de texto por IA",
18470
19173
  "platform.angular_components.attach_files": "Anexar arquivos",
19174
+ "platform.angular_components.add_information": "Adicionar informação",
18471
19175
  "platform.angular_components.add": "Adicionar",
18472
19176
  "platform.angular_components.edit": "Editar",
18473
19177
  "platform.angular_components.remove": "Remover",
19178
+ "platform.angular_components.save": "Salvar",
18474
19179
  "platform.angular_components.file_attached_successfully": "Arquivo anexado com sucesso",
18475
19180
  "platform.angular_components.loading_file": "Carregando arquivo",
18476
19181
  "platform.angular_components.iassist_text_generator": "IAssist Gerador de texto",
@@ -18720,5 +19425,5 @@ var fallback = {
18720
19425
  * Generated bundle index. Do not edit.
18721
19426
  */
18722
19427
 
18723
- 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, 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, KanbanComponent, KanbanModule, KanbanTemplateTypes, 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, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TextAreaField, 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, TooltipComponent as ɵa, TooltipDirective as ɵb, PasswordFieldComponent as ɵba, TextFieldModule as ɵbb, TextFieldComponent as ɵbc, NumberFieldModule as ɵbd, LocalizedNumberInputModule as ɵbe, NumberInputModule as ɵbf, NumberFieldComponent as ɵbg, CurrencyFieldModule as ɵbh, CurrencyFieldComponent as ɵbi, BignumberFieldModule as ɵbj, BignumberInputModule as ɵbk, BignumberFieldComponent as ɵbl, ProfilePictureModule as ɵbm, ThumbnailService as ɵbn, StructureModule as ɵbo, HeaderComponent as ɵbp, FooterComponent as ɵbq, ProfilePictureFieldComponent as ɵbr, AutocompleteFieldComponent as ɵbs, BooleanFieldComponent as ɵbt, BooleanSwitchFieldComponent as ɵbu, CalendarFieldComponent as ɵbv, ChipsFieldComponent as ɵbw, CountryPhonePickerFieldComponent as ɵbx, DynamicFieldComponent as ɵby, DynamicFormDirective as ɵbz, TemplateDirective as ɵc, FieldsetComponent as ɵca, FileUploadComponent$1 as ɵcb, LookupFieldComponent as ɵcc, RadioButtonComponent as ɵcd, RowComponent as ɵce, SectionComponent as ɵcf, SelectFieldComponent as ɵcg, SliderFieldComponent as ɵch, TextAreaFieldComponent as ɵci, TextAreaIAFieldComponent as ɵcj, IAssistService as ɵck, DecimalField as ɵcm, SideTableComponent as ɵcn, InfiniteScrollModule as ɵco, InfiniteScrollDirective as ɵcp, IAInsightSidebarComponent as ɵcq, IAInsightCardComponent as ɵcr, IAInsightCardLoaderComponent as ɵcs, KanbanEventService as ɵct, KanbanItemComponent as ɵcu, KanbanColumnComponent as ɵcv, KanbanItemDraggingComponent as ɵcw, NumberLocaleOptions as ɵcx, TieredMenuEventService as ɵcy, TieredMenuService as ɵcz, TemplateModule as ɵd, TieredMenuGlobalService as ɵda, TieredMenuComponent as ɵdb, TieredMenuNestedComponent as ɵdc, TieredMenuItemComponent as ɵdd, TieredMenuDividerComponent as ɵde, BorderButtonModule as ɵdf, BorderButtonComponent as ɵdg, ProgressBarDeterminateComponent as ɵdh, ProgressBarIndeterminateComponent as ɵdi, SelectButtonItemComponent as ɵdj, SlidePanelService as ɵdk, TimelineItemModule as ɵdl, TimelineIconItemComponent as ɵdm, HorizontalTimelineModule as ɵdn, HorizontalTimelineComponent as ɵdo, VerticalTimelineModule as ɵdp, VerticalTimelineComponent as ɵdq, RangeLineComponent as ɵdr, CollapseOptionComponent as ɵds, CollapsedItemsComponent as ɵdt, VerticalItemsComponent as ɵdu, CustomTranslationsModule as ɵe, CodeEditorComponent as ɵf, CoreFacade as ɵg, CodeMirror6Core as ɵh, CountryPhonePickerService as ɵi, LocalizedCurrencyImpurePipe as ɵj, LocalizedBignumberPipe as ɵk, LocalizedBignumberImpurePipe as ɵl, NumericPipe as ɵm, EmptyStateGoBackComponent as ɵn, IAssistIconComponent as ɵo, SeniorIconComponent as ɵp, DotsIndicatorComponent as ɵq, LoadingIndicatorComponent as ɵr, FileUploadService as ɵs, InfoSignComponent as ɵt, TableColumnsComponent as ɵu, TablePagingComponent as ɵv, PasswordFieldModule as ɵw, FieldLabelModule as ɵx, InfoSignModule as ɵy, FieldLabelComponent as ɵz };
19428
+ 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, 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, 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, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, 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, TooltipComponent as ɵa, TooltipDirective as ɵb, PasswordFieldComponent as ɵba, TextFieldModule as ɵbb, TextFieldComponent as ɵbc, NumberFieldModule as ɵbd, LocalizedNumberInputModule as ɵbe, NumberInputModule as ɵbf, NumberFieldComponent as ɵbg, CurrencyFieldModule as ɵbh, CurrencyFieldComponent as ɵbi, BignumberFieldModule as ɵbj, BignumberInputModule as ɵbk, BignumberFieldComponent as ɵbl, ProfilePictureModule as ɵbm, ThumbnailService as ɵbn, StructureModule as ɵbo, HeaderComponent as ɵbp, FooterComponent as ɵbq, ProfilePictureFieldComponent as ɵbr, AutocompleteFieldComponent as ɵbs, BooleanFieldComponent as ɵbt, BooleanSwitchFieldComponent as ɵbu, CalendarFieldComponent as ɵbv, ChipsFieldComponent as ɵbw, CountryPhonePickerFieldComponent as ɵbx, DynamicFieldComponent as ɵby, DynamicFormDirective as ɵbz, TemplateDirective as ɵc, FieldsetComponent as ɵca, FileUploadComponent$1 as ɵcb, LookupFieldComponent as ɵcc, RadioButtonComponent as ɵcd, RowComponent as ɵce, SectionComponent as ɵcf, SelectFieldComponent as ɵcg, SliderFieldComponent as ɵch, TextAreaFieldComponent as ɵci, TextAreaIAFieldComponent as ɵcj, IAssistService as ɵck, DecimalField as ɵcm, SideTableComponent as ɵcn, InfiniteScrollModule as ɵco, InfiniteScrollDirective as ɵcp, IAInsightSidebarComponent as ɵcq, IAInsightCardComponent as ɵcr, IAInsightCardLoaderComponent as ɵcs, InlineEditItemComponent as ɵct, LocaleService as ɵcu, InlineEditCalendarComponent as ɵcv, InlineEditLookupComponent as ɵcw, InlineEditNumberComponent as ɵcx, InlineEditTextComponent as ɵcy, InlineEditTextAreaComponent as ɵcz, TemplateModule as ɵd, InlineEditTextAreaIAComponent as ɵda, KanbanEventService as ɵdb, KanbanItemComponent as ɵdc, KanbanColumnComponent as ɵdd, KanbanItemDraggingComponent as ɵde, NumberLocaleOptions as ɵdf, TieredMenuEventService as ɵdg, TieredMenuService as ɵdh, TieredMenuGlobalService as ɵdi, TieredMenuComponent as ɵdj, TieredMenuNestedComponent as ɵdk, TieredMenuItemComponent as ɵdl, TieredMenuDividerComponent as ɵdm, BorderButtonModule as ɵdn, BorderButtonComponent as ɵdo, ProgressBarDeterminateComponent as ɵdp, ProgressBarIndeterminateComponent as ɵdq, SelectButtonItemComponent as ɵdr, SlidePanelService as ɵds, TimelineItemModule as ɵdt, TimelineIconItemComponent as ɵdu, HorizontalTimelineModule as ɵdv, HorizontalTimelineComponent as ɵdw, VerticalTimelineModule as ɵdx, VerticalTimelineComponent as ɵdy, RangeLineComponent as ɵdz, CustomTranslationsModule as ɵe, CollapseOptionComponent as ɵea, CollapsedItemsComponent as ɵeb, VerticalItemsComponent as ɵec, CodeEditorComponent as ɵf, CoreFacade as ɵg, CodeMirror6Core as ɵh, CountryPhonePickerService as ɵi, LocalizedCurrencyImpurePipe as ɵj, LocalizedBignumberPipe as ɵk, LocalizedBignumberImpurePipe as ɵl, NumericPipe as ɵm, EmptyStateGoBackComponent as ɵn, IAssistIconComponent as ɵo, SeniorIconComponent as ɵp, DotsIndicatorComponent as ɵq, LoadingIndicatorComponent as ɵr, FileUploadService as ɵs, InfoSignComponent as ɵt, TableColumnsComponent as ɵu, TablePagingComponent as ɵv, PasswordFieldModule as ɵw, FieldLabelModule as ɵx, InfoSignModule as ɵy, FieldLabelComponent as ɵz };
18724
19429
  //# sourceMappingURL=seniorsistemas-angular-components.js.map