@seniorsistemas/angular-components 17.9.7 → 17.10.0

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 (92) hide show
  1. package/bundles/seniorsistemas-angular-components.umd.js +822 -30
  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/esm2015/components/button/button.component.js +5 -2
  31. package/esm2015/components/dynamic-form/components/lookup/lookup.component.js +1 -1
  32. package/esm2015/components/dynamic-form/services/IAssist/models/index.js +1 -0
  33. package/esm2015/components/index.js +3 -1
  34. package/esm2015/components/inline-edit/components/fields/inline-edit-calendar/inline-edit-calendar.component.js +51 -0
  35. package/esm2015/components/inline-edit/components/fields/inline-edit-lookup/inline-edit-lookup.component.js +30 -0
  36. package/esm2015/components/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.js +75 -0
  37. package/esm2015/components/inline-edit/components/fields/inline-edit-text/inline-edit-text.component.js +30 -0
  38. package/esm2015/components/inline-edit/components/fields/inline-edit-text-area/inline-edit-text-area.component.js +30 -0
  39. package/esm2015/components/inline-edit/components/fields/inline-edit-text-area-ia/inline-edit-text-area-ia.component.js +30 -0
  40. package/esm2015/components/inline-edit/components/index.js +8 -0
  41. package/esm2015/components/inline-edit/components/inline-edit-item/inline-edit-item.component.js +98 -0
  42. package/esm2015/components/inline-edit/fields/index.js +8 -0
  43. package/esm2015/components/inline-edit/fields/inline-edit-calendar-field.js +26 -0
  44. package/esm2015/components/inline-edit/fields/inline-edit-field.js +9 -0
  45. package/esm2015/components/inline-edit/fields/inline-edit-lookup-field.js +32 -0
  46. package/esm2015/components/inline-edit/fields/inline-edit-number-field.js +24 -0
  47. package/esm2015/components/inline-edit/fields/inline-edit-text-area-field.js +11 -0
  48. package/esm2015/components/inline-edit/fields/inline-edit-text-area-ia-field.js +7 -0
  49. package/esm2015/components/inline-edit/fields/inline-edit-text-field.js +7 -0
  50. package/esm2015/components/inline-edit/index.js +4 -0
  51. package/esm2015/components/inline-edit/inline-edit.component.js +70 -0
  52. package/esm2015/components/inline-edit/inline-edit.module.js +62 -0
  53. package/esm2015/components/text-area-ia/index.js +3 -0
  54. package/esm2015/components/text-area-ia/text-area-ia.component.js +128 -0
  55. package/esm2015/components/text-area-ia/text-area-ia.module.js +32 -0
  56. package/esm2015/locale/fallback.js +3 -1
  57. package/esm2015/seniorsistemas-angular-components.js +37 -29
  58. package/esm5/components/button/button.component.js +5 -2
  59. package/esm5/components/dynamic-form/components/lookup/lookup.component.js +1 -1
  60. package/esm5/components/dynamic-form/services/IAssist/models/index.js +1 -0
  61. package/esm5/components/index.js +3 -1
  62. package/esm5/components/inline-edit/components/fields/inline-edit-calendar/inline-edit-calendar.component.js +53 -0
  63. package/esm5/components/inline-edit/components/fields/inline-edit-lookup/inline-edit-lookup.component.js +33 -0
  64. package/esm5/components/inline-edit/components/fields/inline-edit-number/inline-edit-number.component.js +99 -0
  65. package/esm5/components/inline-edit/components/fields/inline-edit-text/inline-edit-text.component.js +33 -0
  66. package/esm5/components/inline-edit/components/fields/inline-edit-text-area/inline-edit-text-area.component.js +33 -0
  67. package/esm5/components/inline-edit/components/fields/inline-edit-text-area-ia/inline-edit-text-area-ia.component.js +33 -0
  68. package/esm5/components/inline-edit/components/index.js +8 -0
  69. package/esm5/components/inline-edit/components/inline-edit-item/inline-edit-item.component.js +112 -0
  70. package/esm5/components/inline-edit/fields/index.js +8 -0
  71. package/esm5/components/inline-edit/fields/inline-edit-calendar-field.js +31 -0
  72. package/esm5/components/inline-edit/fields/inline-edit-field.js +11 -0
  73. package/esm5/components/inline-edit/fields/inline-edit-lookup-field.js +50 -0
  74. package/esm5/components/inline-edit/fields/inline-edit-number-field.js +29 -0
  75. package/esm5/components/inline-edit/fields/inline-edit-text-area-field.js +16 -0
  76. package/esm5/components/inline-edit/fields/inline-edit-text-area-ia-field.js +11 -0
  77. package/esm5/components/inline-edit/fields/inline-edit-text-field.js +11 -0
  78. package/esm5/components/inline-edit/index.js +4 -0
  79. package/esm5/components/inline-edit/inline-edit.component.js +84 -0
  80. package/esm5/components/inline-edit/inline-edit.module.js +65 -0
  81. package/esm5/components/text-area-ia/index.js +3 -0
  82. package/esm5/components/text-area-ia/text-area-ia.component.js +131 -0
  83. package/esm5/components/text-area-ia/text-area-ia.module.js +35 -0
  84. package/esm5/locale/fallback.js +3 -1
  85. package/esm5/seniorsistemas-angular-components.js +37 -29
  86. package/fesm2015/seniorsistemas-angular-components.js +671 -3
  87. package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
  88. package/fesm5/seniorsistemas-angular-components.js +776 -3
  89. package/fesm5/seniorsistemas-angular-components.js.map +1 -1
  90. package/package.json +1 -1
  91. package/seniorsistemas-angular-components.d.ts +36 -28
  92. package/seniorsistemas-angular-components.metadata.json +1 -1
@@ -1468,6 +1468,9 @@ __decorate([
1468
1468
  __decorate([
1469
1469
  Input()
1470
1470
  ], ButtonComponent.prototype, "badge", void 0);
1471
+ __decorate([
1472
+ Input()
1473
+ ], ButtonComponent.prototype, "iconColor", void 0);
1471
1474
  __decorate([
1472
1475
  Output()
1473
1476
  ], ButtonComponent.prototype, "onClick", void 0);
@@ -1477,7 +1480,7 @@ __decorate([
1477
1480
  ButtonComponent = ButtonComponent_1 = __decorate([
1478
1481
  Component({
1479
1482
  selector: "s-button",
1480
- 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",
1483
+ 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",
1481
1484
  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}"]
1482
1485
  })
1483
1486
  ], ButtonComponent);
@@ -5415,7 +5418,7 @@ LookupComponent = LookupComponent_1 = __decorate([
5415
5418
  transition("* <=> *", animate("{{transitionParams}}")),
5416
5419
  ]),
5417
5420
  ],
5418
- 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%}}"]
5421
+ 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%}}"]
5419
5422
  })
5420
5423
  ], LookupComponent);
5421
5424
 
@@ -13915,6 +13918,669 @@ IAInsightModule = __decorate([
13915
13918
  })
13916
13919
  ], IAInsightModule);
13917
13920
 
13921
+ class InlineEditField {
13922
+ constructor(options) {
13923
+ this.label = options.label;
13924
+ this.name = options.name;
13925
+ this.tooltip = options.tooltip;
13926
+ this.errorMessages = options.errorMessages;
13927
+ }
13928
+ }
13929
+
13930
+ class InlineEditCalendarField extends InlineEditField {
13931
+ constructor(options) {
13932
+ super(options);
13933
+ this.view = options.view || "date";
13934
+ this.minDate = options.minDate;
13935
+ this.maxDate = options.maxDate;
13936
+ this.defaultDate = options.defaultDate;
13937
+ this.appendTo = options.appendTo;
13938
+ this.showOnFocus = typeof options.showOnFocus === "boolean" ? options.showOnFocus : true;
13939
+ this.onBlur = options.onBlur;
13940
+ this.onFocus = options.onFocus;
13941
+ this.onSelect = options.onSelect;
13942
+ this.onInput = options.onInput;
13943
+ this.onClose = options.onClose;
13944
+ this.onTodayClick = options.onTodayClick;
13945
+ this.onClearClick = options.onClearClick;
13946
+ this.onMonthChange = options.onMonthChange;
13947
+ this.onYearChange = options.onYearChange;
13948
+ this.selectionMode = options.selectionMode || "single";
13949
+ this.rangeSeparator = options.rangeSeparator || "-";
13950
+ this.showSeconds = options.showSeconds;
13951
+ this.placeholder = options.placeholder;
13952
+ }
13953
+ }
13954
+
13955
+ class InlineEditLookupField extends InlineEditField {
13956
+ constructor(options) {
13957
+ super(options);
13958
+ this.multiple = false;
13959
+ this.showSearch = true;
13960
+ this.autocompleteForceSelection = true;
13961
+ this.showAddOption = false;
13962
+ this.showEditOption = false;
13963
+ this.showRemoveOption = false;
13964
+ this.onSelect = (event) => { };
13965
+ this.onUnselect = (event) => { };
13966
+ Object.assign(this, options);
13967
+ this.suggestionsObservable.subscribe(suggestions => (this.lookupSuggestions = suggestions));
13968
+ this.searchObservable.pipe(delay(0)).subscribe(({ totalRecords, gridData, searchTotalRecordsLabel }) => {
13969
+ this._gridData = gridData;
13970
+ this._searchTotalRecords = totalRecords;
13971
+ this._searchTotalRecordsLabel = searchTotalRecordsLabel;
13972
+ });
13973
+ }
13974
+ get gridData() {
13975
+ return this._gridData;
13976
+ }
13977
+ get searchTotalRecords() {
13978
+ return this._searchTotalRecords;
13979
+ }
13980
+ get searchTotalRecordsLabel() {
13981
+ return this._searchTotalRecordsLabel;
13982
+ }
13983
+ }
13984
+
13985
+ class InlineEditNumberField extends InlineEditField {
13986
+ constructor(options) {
13987
+ var _a, _b, _c, _d;
13988
+ super(options);
13989
+ this.allowNegative = (_a = options.allowNegative) !== null && _a !== void 0 ? _a : true;
13990
+ this.numberLocaleOptions = options.numberLocaleOptions;
13991
+ this.browserAutocomplete = options.browserAutocomplete;
13992
+ this.precision = options.precision;
13993
+ this.scale = (_b = options.scale) !== null && _b !== void 0 ? _b : 2;
13994
+ this.alignTo = this.scale ? AlignmentOptions.RIGHT : AlignmentOptions.LEFT;
13995
+ this.mask = options.mask;
13996
+ this.leftAddon = options.leftAddon;
13997
+ this.rightAddon = options.rightAddon;
13998
+ this.onBlur = options.onBlur;
13999
+ this.onFocus = options.onFocus;
14000
+ this.onComplete = options.onComplete;
14001
+ this.onInput = options.onInput;
14002
+ this.autoClear = (_c = options.autoClear) !== null && _c !== void 0 ? _c : true;
14003
+ this.placeholder = (_d = options.placeholder) !== null && _d !== void 0 ? _d : "";
14004
+ }
14005
+ }
14006
+
14007
+ class InlineEditTextAreaField extends InlineEditField {
14008
+ constructor(options) {
14009
+ super(options);
14010
+ this.cols = options.cols;
14011
+ this.rows = options.rows;
14012
+ this.keyFilter = options.keyFilter;
14013
+ this.readonly = options.readonly;
14014
+ }
14015
+ }
14016
+
14017
+ class InlineEditTextField extends InlineEditField {
14018
+ constructor(options) {
14019
+ super(options);
14020
+ }
14021
+ }
14022
+
14023
+ class InlineEditTextAreaIAField extends InlineEditField {
14024
+ constructor(options) {
14025
+ super(options);
14026
+ }
14027
+ }
14028
+
14029
+ let InlineEditItemComponent = class InlineEditItemComponent {
14030
+ constructor(localeService) {
14031
+ this.localeService = localeService;
14032
+ this.isEditing = false;
14033
+ }
14034
+ ngOnInit() {
14035
+ this._getCalendarLocaleOptions();
14036
+ }
14037
+ get showEmptyValueButton() {
14038
+ var _a;
14039
+ return !this.isEditing && !((_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.value);
14040
+ }
14041
+ get showEditButton() {
14042
+ var _a;
14043
+ return !this.isEditing && ((_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.value);
14044
+ }
14045
+ get showValue() {
14046
+ var _a;
14047
+ return !this.isEditing && ((_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.value);
14048
+ }
14049
+ onEdit() {
14050
+ this.isEditing = !this.isEditing;
14051
+ }
14052
+ onCancel() {
14053
+ this.isEditing = !this.isEditing;
14054
+ }
14055
+ onSave() {
14056
+ if (this.dynamicComponentRef && this.dynamicComponentRef.instance.saveValue) {
14057
+ const control = this.formGroup.get(this.field.name);
14058
+ control.markAsDirty({ onlySelf: true });
14059
+ this.dynamicComponentRef.instance.saveValue();
14060
+ }
14061
+ if (this.formGroup.get(this.field.name).valid) {
14062
+ this.isEditing = !this.isEditing;
14063
+ }
14064
+ }
14065
+ setDynamicComponentRef(ref) {
14066
+ this.dynamicComponentRef = ref;
14067
+ }
14068
+ getErrorMessages(errorMessages) {
14069
+ if (errorMessages)
14070
+ return errorMessages instanceof Function
14071
+ ? Object.assign(Object.assign({}, this.errorMessages), errorMessages()) : Object.assign(Object.assign({}, this.errorMessages), errorMessages);
14072
+ return this.errorMessages;
14073
+ }
14074
+ getFormattedValue(value) {
14075
+ if (this.field instanceof InlineEditCalendarField) {
14076
+ return this.dynamicComponentRef.instance.getValueAsText();
14077
+ }
14078
+ if (this.field instanceof InlineEditLookupField) {
14079
+ const lookupField = this.field;
14080
+ return this.field.multiple
14081
+ ? value.map((val) => val[lookupField.lookupDisplayField]).join(" - ")
14082
+ : value[lookupField.lookupDisplayField];
14083
+ }
14084
+ return value;
14085
+ }
14086
+ _getCalendarLocaleOptions() {
14087
+ this.localeService
14088
+ .get()
14089
+ .pipe(first())
14090
+ .subscribe((localeOptions) => {
14091
+ this._locale = localeOptions.locale;
14092
+ });
14093
+ }
14094
+ };
14095
+ InlineEditItemComponent.ctorParameters = () => [
14096
+ { type: LocaleService }
14097
+ ];
14098
+ __decorate([
14099
+ ViewChild("formContainer", { read: ViewContainerRef, static: true })
14100
+ ], InlineEditItemComponent.prototype, "viewContainerRef", void 0);
14101
+ __decorate([
14102
+ Input()
14103
+ ], InlineEditItemComponent.prototype, "label", void 0);
14104
+ __decorate([
14105
+ Input()
14106
+ ], InlineEditItemComponent.prototype, "formGroup", void 0);
14107
+ __decorate([
14108
+ Input()
14109
+ ], InlineEditItemComponent.prototype, "field", void 0);
14110
+ __decorate([
14111
+ Input()
14112
+ ], InlineEditItemComponent.prototype, "errorMessages", void 0);
14113
+ InlineEditItemComponent = __decorate([
14114
+ Component({
14115
+ selector: "s-inline-edit-item",
14116
+ 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",
14117
+ 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}"]
14118
+ })
14119
+ ], InlineEditItemComponent);
14120
+
14121
+ let InlineEditCalendarComponent = class InlineEditCalendarComponent {
14122
+ constructor(localeService) {
14123
+ this.localeService = localeService;
14124
+ }
14125
+ ngOnInit() {
14126
+ var _a;
14127
+ this._getLocaleOptions();
14128
+ if (this.formGroup && this.field) {
14129
+ this.tempValue = ((_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.value) || '';
14130
+ }
14131
+ }
14132
+ saveValue() {
14133
+ var _a;
14134
+ if (this.formGroup && this.field) {
14135
+ (_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.setValue(this.tempValue);
14136
+ }
14137
+ }
14138
+ getValueAsText() {
14139
+ return this.calendar.el.nativeElement.querySelector('input').value;
14140
+ }
14141
+ _getLocaleOptions() {
14142
+ this.localeService.get().pipe(first()).subscribe((locale) => {
14143
+ this.calendarLocaleOptions = locale.calendar;
14144
+ });
14145
+ }
14146
+ };
14147
+ InlineEditCalendarComponent.ctorParameters = () => [
14148
+ { type: LocaleService }
14149
+ ];
14150
+ __decorate([
14151
+ Input()
14152
+ ], InlineEditCalendarComponent.prototype, "field", void 0);
14153
+ __decorate([
14154
+ Input()
14155
+ ], InlineEditCalendarComponent.prototype, "formGroup", void 0);
14156
+ __decorate([
14157
+ ViewChild(Calendar)
14158
+ ], InlineEditCalendarComponent.prototype, "calendar", void 0);
14159
+ InlineEditCalendarComponent = __decorate([
14160
+ Component({
14161
+ 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",
14162
+ styles: [""]
14163
+ })
14164
+ ], InlineEditCalendarComponent);
14165
+
14166
+ let InlineEditLookupComponent = class InlineEditLookupComponent {
14167
+ ngOnInit() {
14168
+ var _a;
14169
+ if (this.formGroup && this.field) {
14170
+ this.tempValue = ((_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.value) || "";
14171
+ }
14172
+ }
14173
+ saveValue() {
14174
+ var _a;
14175
+ if (this.formGroup && this.field) {
14176
+ (_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.setValue(this.tempValue);
14177
+ }
14178
+ }
14179
+ };
14180
+ __decorate([
14181
+ Input()
14182
+ ], InlineEditLookupComponent.prototype, "field", void 0);
14183
+ __decorate([
14184
+ Input()
14185
+ ], InlineEditLookupComponent.prototype, "formGroup", void 0);
14186
+ InlineEditLookupComponent = __decorate([
14187
+ Component({
14188
+ 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",
14189
+ styles: [""]
14190
+ })
14191
+ ], InlineEditLookupComponent);
14192
+
14193
+ let InlineEditNumberComponent = class InlineEditNumberComponent {
14194
+ constructor(localeService) {
14195
+ this.localeService = localeService;
14196
+ }
14197
+ ngOnInit() {
14198
+ var _a;
14199
+ this._onLocaleService();
14200
+ if (this.formGroup && this.field) {
14201
+ this.tempValue = ((_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.value) || '';
14202
+ }
14203
+ }
14204
+ saveValue() {
14205
+ var _a;
14206
+ if (this.formGroup && this.field) {
14207
+ (_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.setValue(this.tempValue);
14208
+ }
14209
+ }
14210
+ get mask() {
14211
+ return typeof this.field.mask === 'function' ? this.field.mask() : this.field.mask;
14212
+ }
14213
+ get leftAddonDisabled() {
14214
+ return typeof this.field.leftAddon.disabled === 'function' ? this.field.leftAddon.disabled() : this.field.leftAddon.disabled;
14215
+ }
14216
+ get rightAddonDisabled() {
14217
+ return typeof this.field.rightAddon.disabled === 'function' ? this.field.rightAddon.disabled() : this.field.rightAddon.disabled;
14218
+ }
14219
+ get precision() {
14220
+ return typeof this.field.precision === 'function' ? this.field.precision() : this.field.precision;
14221
+ }
14222
+ get scale() {
14223
+ return typeof this.field.scale === 'function' ? this.field.scale() : this.field.scale;
14224
+ }
14225
+ _onLocaleService() {
14226
+ this.localeService
14227
+ .getLocale()
14228
+ .pipe(first())
14229
+ .subscribe({
14230
+ next: () => {
14231
+ var _a, _b;
14232
+ if (!((_a = this.field.numberLocaleOptions) === null || _a === void 0 ? void 0 : _a.decimalSeparator)) {
14233
+ this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { decimalSeparator: this.localeService.getDecimalSeparator() });
14234
+ }
14235
+ if (!((_b = this.field.numberLocaleOptions) === null || _b === void 0 ? void 0 : _b.thousandsSeparator)) {
14236
+ this.field.numberLocaleOptions = Object.assign(Object.assign({}, this.field.numberLocaleOptions), { thousandsSeparator: this.localeService.getGroupingSeparator() });
14237
+ }
14238
+ },
14239
+ error: () => (this.field.numberLocaleOptions = {
14240
+ thousandsSeparator: ".",
14241
+ decimalSeparator: ",",
14242
+ currencySymbol: "",
14243
+ }),
14244
+ });
14245
+ }
14246
+ };
14247
+ InlineEditNumberComponent.ctorParameters = () => [
14248
+ { type: LocaleService }
14249
+ ];
14250
+ __decorate([
14251
+ Input()
14252
+ ], InlineEditNumberComponent.prototype, "field", void 0);
14253
+ __decorate([
14254
+ Input()
14255
+ ], InlineEditNumberComponent.prototype, "formGroup", void 0);
14256
+ InlineEditNumberComponent = __decorate([
14257
+ Component({
14258
+ 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",
14259
+ styles: [""]
14260
+ })
14261
+ ], InlineEditNumberComponent);
14262
+
14263
+ let InlineEditTextAreaComponent = class InlineEditTextAreaComponent {
14264
+ ngOnInit() {
14265
+ var _a;
14266
+ if (this.formGroup && this.field) {
14267
+ this.tempValue = ((_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.value) || '';
14268
+ }
14269
+ }
14270
+ saveValue() {
14271
+ var _a;
14272
+ if (this.formGroup && this.field) {
14273
+ (_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.setValue(this.tempValue);
14274
+ }
14275
+ }
14276
+ };
14277
+ __decorate([
14278
+ Input()
14279
+ ], InlineEditTextAreaComponent.prototype, "field", void 0);
14280
+ __decorate([
14281
+ Input()
14282
+ ], InlineEditTextAreaComponent.prototype, "formGroup", void 0);
14283
+ InlineEditTextAreaComponent = __decorate([
14284
+ Component({
14285
+ 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",
14286
+ styles: [".textarea-input{resize:vertical}"]
14287
+ })
14288
+ ], InlineEditTextAreaComponent);
14289
+
14290
+ let InlineEditTextComponent = class InlineEditTextComponent {
14291
+ ngOnInit() {
14292
+ var _a;
14293
+ if (this.formGroup && this.field) {
14294
+ this.tempValue = ((_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.value) || '';
14295
+ }
14296
+ }
14297
+ saveValue() {
14298
+ var _a;
14299
+ if (this.formGroup && this.field) {
14300
+ (_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.setValue(this.tempValue);
14301
+ }
14302
+ }
14303
+ };
14304
+ __decorate([
14305
+ Input()
14306
+ ], InlineEditTextComponent.prototype, "field", void 0);
14307
+ __decorate([
14308
+ Input()
14309
+ ], InlineEditTextComponent.prototype, "formGroup", void 0);
14310
+ InlineEditTextComponent = __decorate([
14311
+ Component({
14312
+ template: "<input\n type=\"text\"\n pInputText\n [(ngModel)]=\"tempValue\" />",
14313
+ styles: [""]
14314
+ })
14315
+ ], InlineEditTextComponent);
14316
+
14317
+ let InlineEditTextAreaIAComponent = class InlineEditTextAreaIAComponent {
14318
+ ngOnInit() {
14319
+ var _a;
14320
+ if (this.formGroup && this.field) {
14321
+ this.tempValue = ((_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.value) || '';
14322
+ }
14323
+ }
14324
+ saveValue() {
14325
+ var _a;
14326
+ if (this.formGroup && this.field) {
14327
+ (_a = this.formGroup.get(this.field.name)) === null || _a === void 0 ? void 0 : _a.setValue(this.tempValue);
14328
+ }
14329
+ }
14330
+ };
14331
+ __decorate([
14332
+ Input()
14333
+ ], InlineEditTextAreaIAComponent.prototype, "field", void 0);
14334
+ __decorate([
14335
+ Input()
14336
+ ], InlineEditTextAreaIAComponent.prototype, "formGroup", void 0);
14337
+ InlineEditTextAreaIAComponent = __decorate([
14338
+ Component({
14339
+ template: "<s-text-area-ia [(ngModel)]=\"tempValue\"></s-text-area-ia>",
14340
+ styles: [""]
14341
+ })
14342
+ ], InlineEditTextAreaIAComponent);
14343
+
14344
+ let InlineEditComponent = class InlineEditComponent {
14345
+ constructor(resolver) {
14346
+ this.resolver = resolver;
14347
+ this.fields = [];
14348
+ this._componentMap = {
14349
+ [InlineEditCalendarField.name]: InlineEditCalendarComponent,
14350
+ [InlineEditLookupField.name]: InlineEditLookupComponent,
14351
+ [InlineEditTextField.name]: InlineEditTextComponent,
14352
+ [InlineEditNumberField.name]: InlineEditNumberComponent,
14353
+ [InlineEditTextAreaField.name]: InlineEditTextAreaComponent,
14354
+ [InlineEditTextAreaIAField.name]: InlineEditTextAreaIAComponent,
14355
+ };
14356
+ }
14357
+ ngOnInit() {
14358
+ this._createFields();
14359
+ }
14360
+ _createFields() {
14361
+ this.container.clear();
14362
+ const createComponent = (componentClass, field) => {
14363
+ const componentFactory = this.resolver.resolveComponentFactory(componentClass);
14364
+ const componentRef = this.container.createComponent(componentFactory);
14365
+ componentRef.instance.field = field;
14366
+ componentRef.instance.formGroup = this.formGroup;
14367
+ return componentRef;
14368
+ };
14369
+ for (let field of this.fields) {
14370
+ let componentClass = this._componentMap[field.constructor.name];
14371
+ if (componentClass) {
14372
+ const inlineEditItemFactory = this.resolver.resolveComponentFactory(InlineEditItemComponent);
14373
+ const inlineEditItemRef = this.container.createComponent(inlineEditItemFactory);
14374
+ inlineEditItemRef.instance.label = field.label;
14375
+ inlineEditItemRef.instance.formGroup = this.formGroup;
14376
+ inlineEditItemRef.instance.field = field;
14377
+ inlineEditItemRef.instance.errorMessages = this.errorMessages;
14378
+ const dynamicComponentRef = createComponent(componentClass, field);
14379
+ const inlineEditItemInstance = inlineEditItemRef.instance;
14380
+ inlineEditItemInstance.viewContainerRef.insert(dynamicComponentRef.hostView);
14381
+ inlineEditItemInstance.setDynamicComponentRef(dynamicComponentRef);
14382
+ }
14383
+ }
14384
+ }
14385
+ };
14386
+ InlineEditComponent.ctorParameters = () => [
14387
+ { type: ComponentFactoryResolver }
14388
+ ];
14389
+ __decorate([
14390
+ Input()
14391
+ ], InlineEditComponent.prototype, "formGroup", void 0);
14392
+ __decorate([
14393
+ Input()
14394
+ ], InlineEditComponent.prototype, "fields", void 0);
14395
+ __decorate([
14396
+ Input()
14397
+ ], InlineEditComponent.prototype, "errorMessages", void 0);
14398
+ __decorate([
14399
+ ViewChild("formContainer", { read: ViewContainerRef, static: true })
14400
+ ], InlineEditComponent.prototype, "container", void 0);
14401
+ InlineEditComponent = __decorate([
14402
+ Component({
14403
+ selector: "s-inline-edit",
14404
+ template: "<div class=\"inline-edit\">\n <ng-template #formContainer></ng-template>\n</div>\n",
14405
+ styles: [".inline-edit{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:8px}"]
14406
+ })
14407
+ ], InlineEditComponent);
14408
+
14409
+ var TextAreaIAComponent_1;
14410
+ let TextAreaIAComponent = TextAreaIAComponent_1 = class TextAreaIAComponent {
14411
+ constructor(_iassistService, // Mover pra uma pasta global
14412
+ _formBuilder, _translateService) {
14413
+ this._iassistService = _iassistService;
14414
+ this._formBuilder = _formBuilder;
14415
+ this._translateService = _translateService;
14416
+ this.isVisible = false;
14417
+ this.isLoading = false;
14418
+ }
14419
+ ngOnInit() {
14420
+ this._createDialogFields();
14421
+ this._createDialogFormGroup();
14422
+ }
14423
+ writeValue(value) {
14424
+ this.value = value;
14425
+ }
14426
+ registerOnChange(onChange) {
14427
+ this._onChange = onChange;
14428
+ }
14429
+ registerOnTouched(onTouched) {
14430
+ this._onTouched = onTouched;
14431
+ }
14432
+ setDisabledState(isDisabled) {
14433
+ this._isDisabled = isDisabled;
14434
+ }
14435
+ onValueChange(value) {
14436
+ var _a;
14437
+ this.value = value;
14438
+ (_a = this._onChange) === null || _a === void 0 ? void 0 : _a.call(this, value);
14439
+ }
14440
+ showDialog() {
14441
+ this.isVisible = true;
14442
+ this._onTouched();
14443
+ }
14444
+ hideDialog() {
14445
+ this.isVisible = false;
14446
+ }
14447
+ onHideDialog() {
14448
+ this.formGroup.get("context").setValue("");
14449
+ }
14450
+ submitContext() {
14451
+ const context = this.formGroup.get("context");
14452
+ this.isLoading = true;
14453
+ this._iassistService
14454
+ .askIA(context.value, {
14455
+ id: this.id,
14456
+ label: this.label,
14457
+ placeholder: this.placeholder,
14458
+ prompt: this.prompt,
14459
+ })
14460
+ .pipe(catchError((err) => {
14461
+ this.isLoading = false;
14462
+ return throwError(err);
14463
+ }))
14464
+ .subscribe((res) => {
14465
+ this.value = res.text;
14466
+ this._onChange(this.value);
14467
+ this.isLoading = false;
14468
+ });
14469
+ this.hideDialog();
14470
+ }
14471
+ _createDialogFields() {
14472
+ this.fields = [
14473
+ new FormField({
14474
+ name: "context",
14475
+ type: FieldType.Text,
14476
+ label: this._translateService.instant("platform.angular_components.context"),
14477
+ size: { sm: 12, md: 12, lg: 12, xl: 12 },
14478
+ }),
14479
+ ];
14480
+ }
14481
+ _createDialogFormGroup() {
14482
+ this.formGroup = this._formBuilder.group({
14483
+ context: [""],
14484
+ });
14485
+ }
14486
+ };
14487
+ TextAreaIAComponent.ctorParameters = () => [
14488
+ { type: IAssistService },
14489
+ { type: FormBuilder },
14490
+ { type: TranslateService }
14491
+ ];
14492
+ __decorate([
14493
+ Input()
14494
+ ], TextAreaIAComponent.prototype, "id", void 0);
14495
+ __decorate([
14496
+ Input()
14497
+ ], TextAreaIAComponent.prototype, "label", void 0);
14498
+ __decorate([
14499
+ Input()
14500
+ ], TextAreaIAComponent.prototype, "placeholder", void 0);
14501
+ __decorate([
14502
+ Input()
14503
+ ], TextAreaIAComponent.prototype, "prompt", void 0);
14504
+ __decorate([
14505
+ Input()
14506
+ ], TextAreaIAComponent.prototype, "readonly", void 0);
14507
+ __decorate([
14508
+ Input()
14509
+ ], TextAreaIAComponent.prototype, "rows", void 0);
14510
+ __decorate([
14511
+ Input()
14512
+ ], TextAreaIAComponent.prototype, "cols", void 0);
14513
+ TextAreaIAComponent = TextAreaIAComponent_1 = __decorate([
14514
+ Component({
14515
+ selector: "s-text-area-ia",
14516
+ 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>",
14517
+ providers: [
14518
+ {
14519
+ provide: NG_VALUE_ACCESSOR,
14520
+ useExisting: forwardRef(() => TextAreaIAComponent_1),
14521
+ multi: true,
14522
+ },
14523
+ ],
14524
+ 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}"]
14525
+ })
14526
+ ], TextAreaIAComponent);
14527
+
14528
+ let TextAreaIAModule = class TextAreaIAModule {
14529
+ };
14530
+ TextAreaIAModule = __decorate([
14531
+ NgModule({
14532
+ imports: [
14533
+ CommonModule,
14534
+ FormsModule,
14535
+ ReactiveFormsModule,
14536
+ TranslateModule,
14537
+ DialogModule,
14538
+ InputTextareaModule,
14539
+ ButtonModule,
14540
+ DynamicFormModule,
14541
+ LoadingStateModule,
14542
+ ],
14543
+ declarations: [TextAreaIAComponent],
14544
+ exports: [TextAreaIAComponent],
14545
+ })
14546
+ ], TextAreaIAModule);
14547
+
14548
+ let InlineEditModule = class InlineEditModule {
14549
+ };
14550
+ InlineEditModule = __decorate([
14551
+ NgModule({
14552
+ imports: [
14553
+ CommonModule,
14554
+ FormsModule,
14555
+ ReactiveFormsModule,
14556
+ TranslateModule,
14557
+ BignumberInputModule,
14558
+ ButtonModule,
14559
+ ControlErrorsModule,
14560
+ InfoSignModule,
14561
+ DynamicFormModule,
14562
+ TextAreaIAModule,
14563
+ TooltipModule,
14564
+ CalendarModule,
14565
+ InputMaskModule,
14566
+ InputTextModule,
14567
+ InputTextareaModule,
14568
+ KeyFilterModule,
14569
+ ],
14570
+ declarations: [
14571
+ InlineEditComponent,
14572
+ InlineEditItemComponent,
14573
+ InlineEditCalendarComponent,
14574
+ InlineEditLookupComponent,
14575
+ InlineEditNumberComponent,
14576
+ InlineEditTextComponent,
14577
+ InlineEditTextAreaComponent,
14578
+ InlineEditTextAreaIAComponent,
14579
+ ],
14580
+ exports: [InlineEditComponent],
14581
+ })
14582
+ ], InlineEditModule);
14583
+
13918
14584
  let KanbanEventService = class KanbanEventService {
13919
14585
  constructor() {
13920
14586
  this.selectAllColumnItemsEvent = new EventEmitter();
@@ -17324,9 +17990,11 @@ const fallback = {
17324
17990
  "platform.angular_components.date_format": "dd/mm/yy",
17325
17991
  "platform.angular_components.ia_text_generator": "Gerador de texto por IA",
17326
17992
  "platform.angular_components.attach_files": "Anexar arquivos",
17993
+ "platform.angular_components.add_information": "Adicionar informação",
17327
17994
  "platform.angular_components.add": "Adicionar",
17328
17995
  "platform.angular_components.edit": "Editar",
17329
17996
  "platform.angular_components.remove": "Remover",
17997
+ "platform.angular_components.save": "Salvar",
17330
17998
  "platform.angular_components.file_attached_successfully": "Arquivo anexado com sucesso",
17331
17999
  "platform.angular_components.loading_file": "Carregando arquivo",
17332
18000
  "platform.angular_components.iassist_text_generator": "IAssist Gerador de texto",
@@ -17576,5 +18244,5 @@ const fallback = {
17576
18244
  * Generated bundle index. Do not edit.
17577
18245
  */
17578
18246
 
17579
- 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 };
18247
+ 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 };
17580
18248
  //# sourceMappingURL=seniorsistemas-angular-components.js.map