@seniorsistemas/angular-components 17.7.4 → 17.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50,6 +50,7 @@ import { MessageService, ConfirmationService } from 'primeng/api';
50
50
  import { ProgressBarModule as ProgressBarModule$1 } from 'primeng/progressbar';
51
51
  import { DomSanitizer } from '@angular/platform-browser';
52
52
  import { Clipboard } from '@angular/cdk/clipboard';
53
+ import marked from 'marked';
53
54
  import Cropper from 'cropperjs';
54
55
  import { moveItemInArray, transferArrayItem, DragDropModule } from '@angular/cdk/drag-drop';
55
56
  import * as elementResizeDetectorMaker_ from 'element-resize-detector';
@@ -13337,7 +13338,7 @@ var IAInsightCardComponent = /** @class */ (function () {
13337
13338
  this.insight.request$
13338
13339
  .pipe(first(), finalize(function () { return (_this.isLoading = false); }))
13339
13340
  .subscribe(function (content) {
13340
- _this.content = content;
13341
+ _this.content = marked.marked(content);
13341
13342
  });
13342
13343
  };
13343
13344
  IAInsightCardComponent.ctorParameters = function () { return [
@@ -13412,8 +13413,8 @@ var IAInsightCardLoaderComponent = /** @class */ (function () {
13412
13413
  IAInsightCardLoaderComponent = __decorate([
13413
13414
  Component({
13414
13415
  selector: "s-ia-insight-card-loader",
13415
- template: "<div class=\"ia-insight-card-loader\">\n <div class=\"loader\">\n <div class=\"loader-icon\">\n <div sSVGFactory></div>\n </div>\n </div>\n \n <span class=\"loader-label\">{{ \"platform.angular_components.loading_insight\" | translate }}</span>\n</div>\n",
13416
- styles: [".ia-insight-card-loader{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:24px}.ia-insight-card-loader .loader{-ms-flex-align:center;align-items:center;animation:2s linear infinite spin;border:2px solid #f1f7f8;border-top:2px solid #0fa389;border-radius:50%;display:-ms-flexbox;display:flex;height:48px;-ms-flex-pack:center;justify-content:center;width:48px}.ia-insight-card-loader .loader .loader-icon{animation:2s linear infinite reverse spin;height:64px;transform:translate(-50%,-50%);width:64px}.ia-insight-card-loader .loader-label{color:#888b99;font-family:\"Open Sans\",sans-serif;font-size:16px}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}"]
13416
+ template: "<div class=\"ia-insight-card-loader\">\n <div class=\"loader\">\n <div class=\"loader-icon\">\n <div *sSVGFactory=\"'iassist'\"></div>\n </div>\n </div>\n \n <span class=\"loader-label\">{{ \"platform.angular_components.loading_insight\" | translate }}</span>\n</div>\n",
13417
+ styles: [".ia-insight-card-loader{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:24px}.ia-insight-card-loader .loader{-ms-flex-align:center;align-items:center;animation:2s linear infinite spin;border:2px solid #f1f7f8;border-top:2px solid #0fa389;border-radius:50%;display:-ms-flexbox;display:flex;height:48px;-ms-flex-pack:center;justify-content:center;width:48px}.ia-insight-card-loader .loader .loader-icon{animation:2s linear infinite reverse spin;height:32px;transform:translate(-50%,-50%)}.ia-insight-card-loader .loader-label{color:#888b99;font-family:\"Open Sans\",sans-serif;font-size:16px}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}"]
13417
13418
  })
13418
13419
  ], IAInsightCardLoaderComponent);
13419
13420
  return IAInsightCardLoaderComponent;