@seniorsistemas/angular-components 17.25.11 → 17.26.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 (46) hide show
  1. package/bundles/seniorsistemas-angular-components.umd.js +582 -62
  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/dynamic-form/configurations/fields/text-area-field.d.ts +2 -0
  6. package/components/index.d.ts +1 -0
  7. package/components/speech-recognition/speech-recognition/speech-recognition.component.d.ts +50 -0
  8. package/components/speech-recognition/speech-recognition.module.d.ts +2 -0
  9. package/components/speech-recognition/speech-recognition.service.d.ts +18 -0
  10. package/components/speech-recognition/text-to-speech.service.d.ts +22 -0
  11. package/components/text-area/index.d.ts +2 -0
  12. package/components/text-area/text-area/text-area.component.d.ts +24 -0
  13. package/components/text-area/text-area.module.d.ts +2 -0
  14. package/esm2015/components/dynamic-form/components/fields/text-area/text-area-field.component.js +2 -2
  15. package/esm2015/components/dynamic-form/configurations/fields/text-area-field.js +3 -1
  16. package/esm2015/components/dynamic-form/dynamic-form.module.js +3 -1
  17. package/esm2015/components/index.js +2 -1
  18. package/esm2015/components/speech-recognition/speech-recognition/speech-recognition.component.js +202 -0
  19. package/esm2015/components/speech-recognition/speech-recognition.module.js +19 -0
  20. package/esm2015/components/speech-recognition/speech-recognition.service.js +102 -0
  21. package/esm2015/components/speech-recognition/text-to-speech.service.js +75 -0
  22. package/esm2015/components/text-area/index.js +3 -0
  23. package/esm2015/components/text-area/text-area/text-area.component.js +87 -0
  24. package/esm2015/components/text-area/text-area.module.js +24 -0
  25. package/esm2015/locale/fallback.js +6 -2
  26. package/esm2015/seniorsistemas-angular-components.js +65 -61
  27. package/esm5/components/dynamic-form/components/fields/text-area/text-area-field.component.js +2 -2
  28. package/esm5/components/dynamic-form/configurations/fields/text-area-field.js +3 -1
  29. package/esm5/components/dynamic-form/dynamic-form.module.js +3 -1
  30. package/esm5/components/index.js +2 -1
  31. package/esm5/components/speech-recognition/speech-recognition/speech-recognition.component.js +216 -0
  32. package/esm5/components/speech-recognition/speech-recognition.module.js +22 -0
  33. package/esm5/components/speech-recognition/speech-recognition.service.js +104 -0
  34. package/esm5/components/speech-recognition/text-to-speech.service.js +83 -0
  35. package/esm5/components/text-area/index.js +3 -0
  36. package/esm5/components/text-area/text-area/text-area.component.js +94 -0
  37. package/esm5/components/text-area/text-area.module.js +27 -0
  38. package/esm5/locale/fallback.js +6 -2
  39. package/esm5/seniorsistemas-angular-components.js +65 -61
  40. package/fesm2015/seniorsistemas-angular-components.js +481 -4
  41. package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
  42. package/fesm5/seniorsistemas-angular-components.js +518 -4
  43. package/fesm5/seniorsistemas-angular-components.js.map +1 -1
  44. package/package.json +1 -1
  45. package/seniorsistemas-angular-components.d.ts +64 -60
  46. package/seniorsistemas-angular-components.metadata.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __assign, __extends, __spread, __awaiter, __generator, __param, __values, __rest, __read } from 'tslib';
2
- import { EventEmitter, Input, Output, Component, ContentChildren, ViewChild, HostListener, forwardRef, NgModule, ɵɵdefineInjectable, Injectable, ElementRef, ApplicationRef, ComponentFactoryResolver, Injector, Renderer2, Directive, TemplateRef, ViewContainerRef, KeyValueDiffers, HostBinding, ChangeDetectorRef, ViewChildren, Pipe, ɵɵinject, InjectionToken, Inject, PLATFORM_ID, ViewEncapsulation, INJECTOR, ContentChild, Optional } from '@angular/core';
2
+ import { EventEmitter, Input, Output, Component, ContentChildren, ViewChild, HostListener, forwardRef, NgModule, ɵɵdefineInjectable, Injectable, ElementRef, ApplicationRef, ComponentFactoryResolver, Injector, Renderer2, Directive, TemplateRef, ViewContainerRef, KeyValueDiffers, HostBinding, ChangeDetectorRef, ViewChildren, Pipe, ɵɵinject, InjectionToken, Inject, PLATFORM_ID, ViewEncapsulation, INJECTOR, ContentChild, NgZone, Optional } 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, pipe } from 'rxjs';
5
5
  import { takeUntil, tap, map, switchMap, catchError, first, filter, take, delay, debounceTime, repeat, finalize } from 'rxjs/operators';
@@ -7024,12 +7024,14 @@ var SliderField = /** @class */ (function (_super) {
7024
7024
  var TextAreaField = /** @class */ (function (_super) {
7025
7025
  __extends(TextAreaField, _super);
7026
7026
  function TextAreaField(config) {
7027
+ var _a;
7027
7028
  var _this = _super.call(this, config) || this;
7028
7029
  _this.cols = config.cols;
7029
7030
  _this.rows = config.rows;
7030
7031
  _this.keyFilter = config.keyFilter;
7031
7032
  _this.style = config.style;
7032
7033
  _this.readonly = config.readonly;
7034
+ _this.speechRecognition = (_a = config.speechRecognition) !== null && _a !== void 0 ? _a : false;
7033
7035
  return _this;
7034
7036
  }
7035
7037
  return TextAreaField;
@@ -11374,7 +11376,7 @@ var TextAreaFieldComponent = /** @class */ (function () {
11374
11376
  ], TextAreaFieldComponent.prototype, "inputRef", void 0);
11375
11377
  TextAreaFieldComponent = __decorate([
11376
11378
  Component({
11377
- template: "<s-field-label *ngIf=\"inputRef\" [field]=\"field\"\n [fieldContainerRef]=\"inputRef?.nativeElement\"></s-field-label>\n\n<textarea #inputRef\n [id]=\"(field.id || field.name)\"\n *ngIf=\"!field.keyFilter\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [ngStyle]=\"field.style\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n></textarea>\n<textarea #inputRef\n [id]=\"(field.id || field.name)\"\n *ngIf=\"field.keyFilter\"\n pInputTextarea\n [rows]=\"field.rows\"\n [cols]=\"field.cols\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [pKeyFilter]=\"field.keyFilter\"\n [ngStyle]=\"field.style\"\n [readonly]=\"field.readonly ? field.readonly() : false\"\n></textarea>\n"
11379
+ template: "<s-field-label *ngIf=\"textArea\" [field]=\"field\"\n [fieldContainerRef]=\"textArea.textAreaElement?.nativeElement\"></s-field-label>\n\n<s-textarea\n #textArea\n [inputId]=\"(field.id || field.name)\"\n [rows]=\"field.rows\"\n [formControl]=\"formControl\"\n style=\"resize: vertical;\"\n [inputStyle]=\"field.style\"\n [readOnly]=\"field.readonly ? field.readonly() : false\"\n [keyFilter]=\"field.keyFilter\"\n [speechRecognition]=\"field.speechRecognition\">\n</s-textarea>\n"
11378
11380
  })
11379
11381
  ], TextAreaFieldComponent);
11380
11382
  return TextAreaFieldComponent;
@@ -13238,6 +13240,513 @@ var TextFieldModule = /** @class */ (function () {
13238
13240
  return TextFieldModule;
13239
13241
  }());
13240
13242
 
13243
+ var TextAreaComponent = /** @class */ (function () {
13244
+ function TextAreaComponent() {
13245
+ this.onChange = function () { };
13246
+ this.onTouched = function () { };
13247
+ this.disabled = false;
13248
+ this.value = '';
13249
+ this.inputId = "textarea-" + Math.random();
13250
+ this.rows = 5;
13251
+ this.speechRecognition = false;
13252
+ this.readOnly = false;
13253
+ this.renderTextArea = false;
13254
+ }
13255
+ TextAreaComponent_1 = TextAreaComponent;
13256
+ Object.defineProperty(TextAreaComponent.prototype, "textAreaElement", {
13257
+ get: function () {
13258
+ return this._textAreaElement;
13259
+ },
13260
+ set: function (value) {
13261
+ var _this = this;
13262
+ this._textAreaElement = value;
13263
+ setTimeout(function () {
13264
+ _this.renderTextArea = true;
13265
+ });
13266
+ },
13267
+ enumerable: true,
13268
+ configurable: true
13269
+ });
13270
+ TextAreaComponent.prototype.writeValue = function (obj) {
13271
+ this.value = obj;
13272
+ };
13273
+ TextAreaComponent.prototype.registerOnChange = function (fn) {
13274
+ this.onChange = fn;
13275
+ };
13276
+ TextAreaComponent.prototype.registerOnTouched = function (fn) {
13277
+ this.onTouched = fn;
13278
+ };
13279
+ TextAreaComponent.prototype.setDisabledState = function (isDisabled) {
13280
+ this.disabled = isDisabled;
13281
+ };
13282
+ TextAreaComponent.prototype.setValue = function (value) {
13283
+ if (this.disabled) {
13284
+ return;
13285
+ }
13286
+ this.value = value;
13287
+ this.writeValue(this.value);
13288
+ this.onChange(this.value);
13289
+ this.onTouched(this.value);
13290
+ };
13291
+ TextAreaComponent.prototype.handleRecognizedText = function (recognizedText) {
13292
+ this.setValue(recognizedText);
13293
+ };
13294
+ var TextAreaComponent_1;
13295
+ __decorate([
13296
+ ViewChild('textArea', { read: ElementRef })
13297
+ ], TextAreaComponent.prototype, "textAreaElement", null);
13298
+ __decorate([
13299
+ Input()
13300
+ ], TextAreaComponent.prototype, "inputId", void 0);
13301
+ __decorate([
13302
+ Input()
13303
+ ], TextAreaComponent.prototype, "rows", void 0);
13304
+ __decorate([
13305
+ Input()
13306
+ ], TextAreaComponent.prototype, "speechRecognition", void 0);
13307
+ __decorate([
13308
+ Input()
13309
+ ], TextAreaComponent.prototype, "keyFilter", void 0);
13310
+ __decorate([
13311
+ Input()
13312
+ ], TextAreaComponent.prototype, "inputStyle", void 0);
13313
+ __decorate([
13314
+ Input()
13315
+ ], TextAreaComponent.prototype, "readOnly", void 0);
13316
+ TextAreaComponent = TextAreaComponent_1 = __decorate([
13317
+ Component({
13318
+ selector: 's-textarea',
13319
+ template: "<textarea\n *ngIf=\"keyFilter\"\n #textArea\n class=\"textarea\"\n [pKeyFilter]=\"keyFilter\"\n [id]=\"inputId\"\n [rows]=\"rows\"\n [(ngModel)]=\"value\"\n [disabled]=\"disabled\"\n [ngStyle]=\"inputStyle\"\n [readOnly]=\"readOnly\"\n (ngModelChange)=\"setValue($event)\">\n</textarea>\n\n<textarea\n *ngIf=\"!keyFilter\"\n #textArea\n class=\"textarea\"\n [id]=\"inputId\"\n [rows]=\"rows\"\n [(ngModel)]=\"value\"\n [disabled]=\"disabled\"\n [ngStyle]=\"inputStyle\"\n [readOnly]=\"readOnly\"\n (ngModelChange)=\"setValue($event)\">\n</textarea>\n\n<s-speech-recognition\n *ngIf=\"speechRecognition && renderTextArea\"\n [textAreaElement]=\"textAreaElement.nativeElement\"\n (recognizedText)=\"handleRecognizedText($event)\">\n</s-speech-recognition>\n",
13320
+ providers: [
13321
+ {
13322
+ provide: NG_VALUE_ACCESSOR,
13323
+ useExisting: forwardRef(function () { return TextAreaComponent_1; }),
13324
+ multi: true,
13325
+ },
13326
+ ],
13327
+ styles: [".textarea{border-radius:3px;border:1px solid #c1c1cc;background:#fff;width:100%;max-width:100%;min-height:4em;min-width:10em;outline:0;padding:8px;display:block}.textarea:disabled{opacity:.5}"]
13328
+ })
13329
+ ], TextAreaComponent);
13330
+ return TextAreaComponent;
13331
+ }());
13332
+
13333
+ var SpeechRecognitionService = /** @class */ (function () {
13334
+ function SpeechRecognitionService(localeService, ngZone) {
13335
+ this.localeService = localeService;
13336
+ this.ngZone = ngZone;
13337
+ this.isListening = false;
13338
+ this.TIMEOUT_NO_MESSAGE = 3000;
13339
+ this.setRecognition();
13340
+ }
13341
+ SpeechRecognitionService.prototype.listen = function () {
13342
+ var _this = this;
13343
+ if (this.isListening) {
13344
+ return;
13345
+ }
13346
+ var speechSubject = new Subject();
13347
+ this.isListening = true;
13348
+ this.recognition.continuous = true;
13349
+ this.recognition.interimResults = true;
13350
+ this.recognition.maxAlternatives = 1;
13351
+ var silenceTimer;
13352
+ var restartSilenceTimer = function () {
13353
+ if (silenceTimer !== undefined) {
13354
+ clearTimeout(silenceTimer);
13355
+ }
13356
+ silenceTimer = setTimeout(function () {
13357
+ _this.recognition.stop();
13358
+ }, _this.TIMEOUT_NO_MESSAGE);
13359
+ };
13360
+ var fullTranscript = '';
13361
+ var interimTranscript = '';
13362
+ this.recognition.onresult = function (event) {
13363
+ _this.ngZone.run(function () {
13364
+ restartSilenceTimer();
13365
+ var interimTranscript = '';
13366
+ for (var i = event.resultIndex; i < event.results.length; ++i) {
13367
+ var transcript = event.results[i][0].transcript;
13368
+ if (event.results[i].isFinal) {
13369
+ fullTranscript += transcript + '\n';
13370
+ }
13371
+ else {
13372
+ interimTranscript += transcript;
13373
+ }
13374
+ }
13375
+ interimTranscript = interimTranscript;
13376
+ speechSubject.next({ text: fullTranscript + interimTranscript, isFinal: false });
13377
+ });
13378
+ };
13379
+ this.recognition.onerror = function () {
13380
+ _this.ngZone.run(function () {
13381
+ if (silenceTimer !== undefined) {
13382
+ clearTimeout(silenceTimer);
13383
+ }
13384
+ _this.isListening = false;
13385
+ speechSubject.next({
13386
+ isFinal: true,
13387
+ text: ''
13388
+ });
13389
+ });
13390
+ };
13391
+ this.recognition.onend = function () {
13392
+ _this.ngZone.run(function () {
13393
+ if (silenceTimer !== undefined) {
13394
+ clearTimeout(silenceTimer);
13395
+ }
13396
+ speechSubject.next({ text: fullTranscript + interimTranscript, isFinal: true });
13397
+ _this.isListening = false;
13398
+ speechSubject.complete();
13399
+ });
13400
+ };
13401
+ this.recognition.start();
13402
+ return speechSubject;
13403
+ };
13404
+ SpeechRecognitionService.prototype.stop = function () {
13405
+ this.recognition.stop();
13406
+ };
13407
+ SpeechRecognitionService.prototype.setRecognition = function () {
13408
+ var SpeechRecognitionConstructor = window.SpeechRecognition || window.webkitSpeechRecognition;
13409
+ if (!SpeechRecognitionConstructor) {
13410
+ throw new Error('Speech recognition is not supported in this browser.');
13411
+ }
13412
+ this.recognition = new SpeechRecognitionConstructor();
13413
+ this.recognition.lang = this.localeService.getLocaleOptions().locale || 'pt-BR';
13414
+ this.recognition.interimResults = false;
13415
+ this.recognition.maxAlternatives = 1;
13416
+ };
13417
+ SpeechRecognitionService.ctorParameters = function () { return [
13418
+ { type: LocaleService },
13419
+ { type: NgZone }
13420
+ ]; };
13421
+ SpeechRecognitionService.ɵprov = ɵɵdefineInjectable({ factory: function SpeechRecognitionService_Factory() { return new SpeechRecognitionService(ɵɵinject(LocaleService), ɵɵinject(NgZone)); }, token: SpeechRecognitionService, providedIn: "root" });
13422
+ SpeechRecognitionService = __decorate([
13423
+ Injectable({
13424
+ providedIn: 'root'
13425
+ })
13426
+ ], SpeechRecognitionService);
13427
+ return SpeechRecognitionService;
13428
+ }());
13429
+
13430
+ var TextToSpeechService = /** @class */ (function () {
13431
+ function TextToSpeechService(locale, ngZone) {
13432
+ this.locale = locale;
13433
+ this.ngZone = ngZone;
13434
+ this.utterance = new SpeechSynthesisUtterance();
13435
+ this.voices = [];
13436
+ this.setVoices();
13437
+ }
13438
+ TextToSpeechService.prototype.setVoices = function () {
13439
+ var _this = this;
13440
+ var _voices = speechSynthesis.getVoices();
13441
+ if (!_voices.length) {
13442
+ speechSynthesis.onvoiceschanged = function () {
13443
+ _this.ngZone.run(function () {
13444
+ _voices = speechSynthesis.getVoices();
13445
+ var currentLang = _this.locale.getLocaleOptions().locale || 'pt-BR';
13446
+ _this.voices = _voices.filter(function (voice) { return voice.lang === currentLang; });
13447
+ _this.activeVoice = _this.voices[0];
13448
+ });
13449
+ };
13450
+ }
13451
+ };
13452
+ /**
13453
+ * Updates the active voice
13454
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/SpeechSynthesisVoice/voiceURI)
13455
+ * @param voiceUri
13456
+ */
13457
+ TextToSpeechService.prototype.updateVoice = function (voiceUri) {
13458
+ this.activeVoice = this.voices.find(function (voice) { return voice.voiceURI === voiceUri; });
13459
+ };
13460
+ TextToSpeechService.prototype.speak = function (text, speed) {
13461
+ var _this = this;
13462
+ if (speed === void 0) { speed = 1; }
13463
+ if (!this.activeVoice) {
13464
+ return;
13465
+ }
13466
+ return new Promise(function (resolve) {
13467
+ _this.utterance.text = text;
13468
+ _this.utterance.voice = _this.activeVoice;
13469
+ _this.utterance.rate = speed;
13470
+ speechSynthesis.speak(_this.utterance);
13471
+ _this.utterance.onend = function () {
13472
+ _this.ngZone.run(function () {
13473
+ resolve(true);
13474
+ });
13475
+ };
13476
+ });
13477
+ };
13478
+ TextToSpeechService.prototype.pause = function () {
13479
+ speechSynthesis.pause();
13480
+ };
13481
+ TextToSpeechService.prototype.resume = function () {
13482
+ speechSynthesis.resume();
13483
+ };
13484
+ TextToSpeechService.prototype.cancel = function () {
13485
+ speechSynthesis.cancel();
13486
+ };
13487
+ Object.defineProperty(TextToSpeechService.prototype, "hasVoice", {
13488
+ get: function () {
13489
+ return !!this.activeVoice;
13490
+ },
13491
+ enumerable: true,
13492
+ configurable: true
13493
+ });
13494
+ TextToSpeechService.ctorParameters = function () { return [
13495
+ { type: LocaleService },
13496
+ { type: NgZone }
13497
+ ]; };
13498
+ TextToSpeechService.ɵprov = ɵɵdefineInjectable({ factory: function TextToSpeechService_Factory() { return new TextToSpeechService(ɵɵinject(LocaleService), ɵɵinject(NgZone)); }, token: TextToSpeechService, providedIn: "root" });
13499
+ TextToSpeechService = __decorate([
13500
+ Injectable({
13501
+ providedIn: 'root'
13502
+ })
13503
+ ], TextToSpeechService);
13504
+ return TextToSpeechService;
13505
+ }());
13506
+
13507
+ var SpeechRecognitionComponent = /** @class */ (function () {
13508
+ function SpeechRecognitionComponent(speechRecognitionService, textToSpeechService, translateService) {
13509
+ var _this = this;
13510
+ this.speechRecognitionService = speechRecognitionService;
13511
+ this.textToSpeechService = textToSpeechService;
13512
+ this.translateService = translateService;
13513
+ this._recognizedText = '';
13514
+ this.originalTextAreaElementText = '';
13515
+ this.isDoneSpeaking = false;
13516
+ this.onDestroy$ = new Subject();
13517
+ this.VOICE_SPEEDS = [0.5, 1, 1.5, 2];
13518
+ this.SPEECH_RECOGNITION_MARGIN_OFFSET = 13;
13519
+ this.keydownEventListener = function (event) {
13520
+ if (_this.disabled) {
13521
+ event.preventDefault();
13522
+ }
13523
+ };
13524
+ this.TEXT_AREA_ELEMENT_MUTATION_OBSERVER = new MutationObserver(function () {
13525
+ _this.SPEECH_CONTAINER_WIDTH_CALLBACK();
13526
+ });
13527
+ this.SPEECH_CONTAINER_WIDTH_CALLBACK = function () {
13528
+ _this.setSpeechContainerWidth();
13529
+ };
13530
+ this.speechRecognitionContainerWidth = 0;
13531
+ this.disabled = false;
13532
+ this.isSpeaking = false;
13533
+ this.voiceSpeed = 1;
13534
+ this.isDisabledMicrophone = false;
13535
+ this.canRenderMicrophone = true;
13536
+ this.canRenderTextToSpeech = true;
13537
+ this.canRenderListeningText = false;
13538
+ this.canRenderDiscard = false;
13539
+ this.canRenderAprove = false;
13540
+ this.canRenderTextToSpeechToolbar = false;
13541
+ this.isPlayingTextToSpeech = false;
13542
+ this.recognizedText = new EventEmitter();
13543
+ }
13544
+ SpeechRecognitionComponent.prototype.ngOnInit = function () {
13545
+ if (!this.textAreaElement) {
13546
+ throw new Error('textAreaElement is required');
13547
+ }
13548
+ this.textAreaElement.placeholder = this.translateService.instant("platform.angular_components.text_area_speech_recognition_placeholder");
13549
+ this.textAreaElement.addEventListener('keydown', this.keydownEventListener);
13550
+ var config = { attributes: true, childList: true, subtree: true };
13551
+ this.TEXT_AREA_ELEMENT_MUTATION_OBSERVER.observe(this.textAreaElement, config);
13552
+ window.addEventListener('resize', this.SPEECH_CONTAINER_WIDTH_CALLBACK);
13553
+ };
13554
+ SpeechRecognitionComponent.prototype.ngAfterViewInit = function () {
13555
+ var _this = this;
13556
+ setTimeout(function () {
13557
+ _this.setSpeechContainerWidth();
13558
+ });
13559
+ };
13560
+ SpeechRecognitionComponent.prototype.onListen = function () {
13561
+ var _this = this;
13562
+ if (this.isDisabledMicrophone || this.isListening) {
13563
+ return;
13564
+ }
13565
+ this.disabled = true;
13566
+ this.canRenderMicrophone = false;
13567
+ this.canRenderListeningText = true;
13568
+ if (this.textAreaElement.value && !this.originalTextAreaElementText) {
13569
+ this.originalTextAreaElementText = this.textAreaElement.value;
13570
+ }
13571
+ this.textAreaElement.value = '';
13572
+ this.isSpeaking = true;
13573
+ this.speechRecognitionService.listen()
13574
+ .pipe(takeUntil(this.onDestroy$))
13575
+ .subscribe(function (_a) {
13576
+ var text = _a.text, isFinal = _a.isFinal;
13577
+ _this._recognizedText = text;
13578
+ _this.setTextAreaValue(text);
13579
+ setTimeout(function () {
13580
+ _this.textAreaElement.scrollTop = _this.textAreaElement.scrollHeight;
13581
+ }, 120);
13582
+ if (isFinal) {
13583
+ _this.canRenderAprove = true;
13584
+ _this.canRenderDiscard = true;
13585
+ _this.canRenderListeningText = false;
13586
+ _this.isSpeaking = false;
13587
+ }
13588
+ });
13589
+ };
13590
+ SpeechRecognitionComponent.prototype.onOpenToolbar = function () {
13591
+ if (this.isDisabledTextToSpeech) {
13592
+ return;
13593
+ }
13594
+ this.canRenderTextToSpeechToolbar = true;
13595
+ this.canRenderTextToSpeech = false;
13596
+ this.isPlayingTextToSpeech = true;
13597
+ this.speak();
13598
+ };
13599
+ SpeechRecognitionComponent.prototype.onCloseToolbar = function () {
13600
+ this.canRenderTextToSpeechToolbar = false;
13601
+ this.canRenderTextToSpeech = true;
13602
+ this.isPlayingTextToSpeech = false;
13603
+ this.textToSpeechService.cancel();
13604
+ this.voiceSpeed = 1;
13605
+ };
13606
+ SpeechRecognitionComponent.prototype.onDiscard = function () {
13607
+ this.canRenderAprove = false;
13608
+ this.canRenderDiscard = false;
13609
+ this.canRenderMicrophone = true;
13610
+ this.canRenderTextToSpeechToolbar = false;
13611
+ this.canRenderTextToSpeech = true;
13612
+ this._recognizedText = '';
13613
+ this.setTextAreaValue(this.originalTextAreaElementText);
13614
+ this.disabled = false;
13615
+ this.textToSpeechService.cancel();
13616
+ };
13617
+ SpeechRecognitionComponent.prototype.onAprove = function () {
13618
+ this.canRenderAprove = false;
13619
+ this.canRenderDiscard = false;
13620
+ this.canRenderMicrophone = true;
13621
+ this.canRenderTextToSpeechToolbar = false;
13622
+ this.canRenderTextToSpeech = true;
13623
+ this.originalTextAreaElementText = this._recognizedText;
13624
+ this.recognizedText.emit(this._recognizedText);
13625
+ this._recognizedText = '';
13626
+ this.disabled = false;
13627
+ this.textToSpeechService.cancel();
13628
+ };
13629
+ SpeechRecognitionComponent.prototype.ngOnDestroy = function () {
13630
+ this.onDestroy$.next();
13631
+ this.onDestroy$.complete();
13632
+ this.textAreaElement.removeEventListener('keydown', this.keydownEventListener);
13633
+ window.removeEventListener('resize', this.SPEECH_CONTAINER_WIDTH_CALLBACK);
13634
+ this.TEXT_AREA_ELEMENT_MUTATION_OBSERVER.disconnect();
13635
+ };
13636
+ SpeechRecognitionComponent.prototype.toggleTextToSpeech = function () {
13637
+ if (this.isPlayingTextToSpeech) {
13638
+ this.textToSpeechService.pause();
13639
+ }
13640
+ else {
13641
+ if (this.isDoneSpeaking) {
13642
+ this.speak();
13643
+ }
13644
+ else {
13645
+ this.textToSpeechService.resume();
13646
+ }
13647
+ }
13648
+ this.isPlayingTextToSpeech = !this.isPlayingTextToSpeech;
13649
+ };
13650
+ SpeechRecognitionComponent.prototype.restartTextToSpeech = function () {
13651
+ this.isPlayingTextToSpeech = true;
13652
+ this.textToSpeechService.cancel();
13653
+ this.speak();
13654
+ };
13655
+ SpeechRecognitionComponent.prototype.updateVoiceSpeed = function () {
13656
+ var voiceSpeedIndex = this.VOICE_SPEEDS.indexOf(this.voiceSpeed);
13657
+ var nextVoiceSpeedIndex = this.VOICE_SPEEDS[voiceSpeedIndex + 1] ? voiceSpeedIndex + 1 : 0;
13658
+ this.voiceSpeed = this.VOICE_SPEEDS[nextVoiceSpeedIndex];
13659
+ this.textToSpeechService.cancel();
13660
+ this.speak();
13661
+ };
13662
+ SpeechRecognitionComponent.prototype.stopListening = function () {
13663
+ this.speechRecognitionService.stop();
13664
+ };
13665
+ Object.defineProperty(SpeechRecognitionComponent.prototype, "isListening", {
13666
+ get: function () {
13667
+ return this.speechRecognitionService.isListening;
13668
+ },
13669
+ enumerable: true,
13670
+ configurable: true
13671
+ });
13672
+ Object.defineProperty(SpeechRecognitionComponent.prototype, "isDisabledTextToSpeech", {
13673
+ get: function () {
13674
+ var hasTextToSpeechVoice = this.textToSpeechService.hasVoice;
13675
+ return !this._recognizedText || !hasTextToSpeechVoice || this.isListening;
13676
+ },
13677
+ enumerable: true,
13678
+ configurable: true
13679
+ });
13680
+ SpeechRecognitionComponent.prototype.setTextAreaValue = function (value) {
13681
+ this.textAreaElement.value = value;
13682
+ };
13683
+ SpeechRecognitionComponent.prototype.speak = function () {
13684
+ var _this = this;
13685
+ this.isDoneSpeaking = false;
13686
+ this.textToSpeechService.speak(this._recognizedText, this.voiceSpeed).then(function () {
13687
+ _this.isPlayingTextToSpeech = false;
13688
+ _this.isDoneSpeaking = true;
13689
+ });
13690
+ };
13691
+ SpeechRecognitionComponent.prototype.setSpeechContainerWidth = function () {
13692
+ this.speechRecognitionContainerWidth = this.textAreaElement.getBoundingClientRect().width - this.SPEECH_RECOGNITION_MARGIN_OFFSET;
13693
+ };
13694
+ SpeechRecognitionComponent.ctorParameters = function () { return [
13695
+ { type: SpeechRecognitionService },
13696
+ { type: TextToSpeechService },
13697
+ { type: TranslateService }
13698
+ ]; };
13699
+ __decorate([
13700
+ Input()
13701
+ ], SpeechRecognitionComponent.prototype, "textAreaElement", void 0);
13702
+ __decorate([
13703
+ Output()
13704
+ ], SpeechRecognitionComponent.prototype, "recognizedText", void 0);
13705
+ SpeechRecognitionComponent = __decorate([
13706
+ Component({
13707
+ selector: 's-speech-recognition',
13708
+ template: "<section class=\"speech-recognition\" [style.width.px]=\"speechRecognitionContainerWidth\" *ngIf=\"speechRecognitionContainerWidth\">\n <div class=\"speech-recognition-text\">\n <ng-container *ngIf=\"canRenderMicrophone\">\n {{ 'platform.angular_components.text_area_before_speech' | translate }}\n </ng-container>\n\n <ng-container *ngIf=\"isSpeaking\">\n {{ 'platform.angular_components.text_area_while_speech' | translate }}\n </ng-container>\n\n <ng-container *ngIf=\"canRenderAprove && canRenderDiscard\">\n {{ 'platform.angular_components.text_area_end_speech' | translate }}\n </ng-container>\n </div>\n <div class=\"speech-recognition-buttons\">\n <span\n *ngIf=\"canRenderListeningText\"\n (click)=\"stopListening()\"\n class=\"speech-recognition-item speech-recognition-item-regular\">\n <i class=\"far fa-ellipsis-h\"></i>\n </span>\n\n <span\n *ngIf=\"canRenderMicrophone\"\n (click)=\"onListen()\"\n class=\"speech-recognition-item speech-recognition-item-microphone\"\n [class.speech-recognition-item-disabled]=\"isDisabledMicrophone || isListening || disabled\">\n <i class=\"fas fa-microphone\"></i>\n </span>\n\n <span\n *ngIf=\"canRenderAprove\"\n (click)=\"onAprove()\"\n class=\"speech-recognition-item speech-recognition-item-aprove\">\n <i class=\"fas fa-check\"></i>\n </span>\n\n <span *ngIf=\"canRenderDiscard\"\n (click)=\"onDiscard()\"\n class=\"speech-recognition-item speech-recognition-item-discard\">\n <i class=\"fas fa-times\"></i>\n </span>\n\n <span\n *ngIf=\"canRenderTextToSpeech\"\n (click)=\"onOpenToolbar()\"\n class=\"speech-recognition-item speech-recognition-item-regular\"\n [class.speech-recognition-item-disabled]=\"isDisabledTextToSpeech\">\n <i class=\"fas fa-volume-down\"></i>\n </span>\n\n <span\n *ngIf=\"canRenderTextToSpeechToolbar\"\n class=\"speech-recognition-item-toolbar\">\n <i class=\"fas\" [class.fa-pause]=\"isPlayingTextToSpeech\" [class.fa-play]=\"!isPlayingTextToSpeech\"\n (click)=\"toggleTextToSpeech()\"></i>\n <i class=\"fas fa-backward\" (click)=\"restartTextToSpeech()\"></i>\n <span (click)=\"updateVoiceSpeed()\">\n {{ voiceSpeed }}x\n </span>\n <i class=\"fas fa-times\" (click)=\"onCloseToolbar()\"></i>\n </span>\n </div>\n</section>\n",
13709
+ styles: [".speech-recognition{display:-ms-flexbox;display:flex;gap:10px;-ms-flex-pack:justify;justify-content:space-between}.speech-recognition-buttons{display:-ms-flexbox;display:flex;gap:10px;position:relative;bottom:15px}.speech-recognition-item{display:-ms-inline-flexbox;display:inline-flex;height:25px;padding:4px 12px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;gap:8px;border-radius:15px;cursor:pointer;transition:background .1s ease-in}.speech-recognition-item i,.speech-recognition-item span{color:#fff}.speech-recognition-item-disabled{cursor:default!important}.speech-recognition-item-disabled *{opacity:.5}.speech-recognition-item-microphone{background:#428bca}.speech-recognition-item-microphone:not(.speech-recognition-item-disabled):hover{background:#063951}.speech-recognition-item-regular{background:#7892a1}.speech-recognition-item-regular:not(.speech-recognition-item-disabled):hover{background:#697882}.speech-recognition-item-aprove{background:#0c9348}.speech-recognition-item-aprove:not(.speech-recognition-item-disabled):hover{background:#063951}.speech-recognition-item-discard{background:#c13018}.speech-recognition-item-discard:not(.speech-recognition-item-disabled):hover{background:#063951}.speech-recognition-item-toolbar{background:#7892a1;display:-ms-flexbox;display:flex;border-radius:15px;-ms-flex-align:center;align-items:center;color:#fff}.speech-recognition-item-toolbar i,.speech-recognition-item-toolbar span{cursor:pointer}.speech-recognition-item-toolbar i:not(:first-child),.speech-recognition-item-toolbar i:not(:last-child){padding:6px}.speech-recognition-item-toolbar i:first-child{padding-left:10px}.speech-recognition-item-toolbar i:last-child{padding-right:10px}.speech-recognition-item-toolbar span{height:25px}.speech-recognition-text{color:#212533;font-size:12px;font-style:normal;font-weight:400;word-break:break-word}"]
13710
+ })
13711
+ ], SpeechRecognitionComponent);
13712
+ return SpeechRecognitionComponent;
13713
+ }());
13714
+
13715
+ var SpeechRecognitionModule = /** @class */ (function () {
13716
+ function SpeechRecognitionModule() {
13717
+ }
13718
+ SpeechRecognitionModule = __decorate([
13719
+ NgModule({
13720
+ declarations: [SpeechRecognitionComponent],
13721
+ imports: [
13722
+ CommonModule,
13723
+ TranslateModule
13724
+ ],
13725
+ exports: [SpeechRecognitionComponent]
13726
+ })
13727
+ ], SpeechRecognitionModule);
13728
+ return SpeechRecognitionModule;
13729
+ }());
13730
+
13731
+ var TextAreaModule = /** @class */ (function () {
13732
+ function TextAreaModule() {
13733
+ }
13734
+ TextAreaModule = __decorate([
13735
+ NgModule({
13736
+ declarations: [TextAreaComponent],
13737
+ imports: [
13738
+ CommonModule,
13739
+ FormsModule,
13740
+ ReactiveFormsModule,
13741
+ SpeechRecognitionModule,
13742
+ KeyFilterModule
13743
+ ],
13744
+ exports: [TextAreaComponent]
13745
+ })
13746
+ ], TextAreaModule);
13747
+ return TextAreaModule;
13748
+ }());
13749
+
13241
13750
  var DynamicFormModule = /** @class */ (function () {
13242
13751
  function DynamicFormModule() {
13243
13752
  }
@@ -13296,6 +13805,7 @@ var DynamicFormModule = /** @class */ (function () {
13296
13805
  ProfilePictureModule,
13297
13806
  EditorFieldModule,
13298
13807
  FieldLabelModule,
13808
+ TextAreaModule
13299
13809
  ],
13300
13810
  declarations: [
13301
13811
  AutocompleteFieldComponent,
@@ -22491,12 +23001,16 @@ var fallback = {
22491
23001
  "platform.angular_components.add_all": "Adicionar todos",
22492
23002
  "platform.angular_components.remove_all": "Remover todos",
22493
23003
  "platform.angular_components.country_name_gb": "Reino Unido",
22494
- "platform.angular_components.insight_footer": "Conteúdo gerado por inteligência artificial. Sujeito a imprecisões."
23004
+ "platform.angular_components.insight_footer": "Conteúdo gerado por inteligência artificial. Sujeito a imprecisões.",
23005
+ "platform.angular_components.text_area_speech_recognition_placeholder": "Preencha o campo, com pelo menos, uma frase",
23006
+ "platform.angular_components.text_area_before_speech": "Grave ou ouça o texto clicando nos Ícones",
23007
+ "platform.angular_components.text_area_while_speech": "Clique novamente no Ícone para finalizar",
23008
+ "platform.angular_components.text_area_end_speech": "Gravação finalizada"
22495
23009
  };
22496
23010
 
22497
23011
  /**
22498
23012
  * Generated bundle index. Do not edit.
22499
23013
  */
22500
23014
 
22501
- export { AccordionComponent, AccordionModule, AccordionPanelComponent, AlertComponent, AlertModule, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonAnimation, ButtonComponent, ButtonField, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, CardComponent, CardModule, CardTemplateTypes, ChatComponent, ChatModule, CheckDisabled, CheckboxComponent, CheckboxModule, ChipsComponent, ChipsField, ChipsModule, 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, Grid, GridMenuComponent, GridMenuModule, GridType, HelpPopoverComponent, HelpPopoverDirective, HelpPopoverModule, HostProjectConfigsInjectionToken, IAInsightComponent, IAInsightModule, IAInsightTemplateTypes, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, InlineEditCalendarField, InlineEditComponent, InlineEditField, InlineEditLookupField, InlineEditModule, InlineEditNumberField, InlineEditTextAreaField, InlineEditTextAreaIAField, InlineEditTextField, KanbanComponent, KanbanModule, KanbanTemplateTypes, LabelValueComponent, LabelValueModule, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationButtonComponent, NavigationButtonModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, NumericService, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, PicklistComponent, PicklistModule, PicklistTemplateTypes, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, Row, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SliderComponent, SliderModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, StructureType, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TemplateDirective, TemplateModule, TextAreaField, TextAreaIAComponent, TextAreaIAModule, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, ThumbnailsComponent, ThumbnailsModule, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, ToastComponent, ToastModule, ToastService, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, convertToMomentDateFormat, countries, fallback, getElementLeftoverContentAvailable, getElementPositionInfo, isMousePositionOutsideOfElement, isNullOrUndefined, parseItensPickList, ɵ0$3 as ɵ0, ɵ1$2 as ɵ1, ɵ2$1 as ɵ2, ɵ3$1 as ɵ3, ɵ4, TooltipComponent as ɵa, TooltipDirective as ɵb, TableColumnsComponent as ɵba, TablePagingComponent as ɵbb, PasswordFieldModule as ɵbc, FieldLabelModule as ɵbd, FieldLabelComponent as ɵbe, PasswordFieldComponent as ɵbf, TextFieldModule as ɵbg, TextFieldComponent as ɵbh, NumberFieldModule as ɵbi, NumberFieldComponent as ɵbj, CurrencyFieldModule as ɵbk, CurrencyFieldComponent as ɵbl, BignumberFieldModule as ɵbm, BignumberFieldComponent as ɵbn, CheckboxFieldModule as ɵbo, CheckboxFieldComponent as ɵbp, ProfilePictureModule as ɵbq, ThumbnailService as ɵbr, StructureModule as ɵbs, HeaderComponent as ɵbt, FooterComponent as ɵbu, ProfilePictureFieldComponent as ɵbv, EditorFieldModule as ɵbw, EditorFieldComponent as ɵbx, AutocompleteFieldComponent as ɵby, BooleanFieldComponent as ɵbz, InfoSignComponent as ɵc, BooleanSwitchFieldComponent as ɵca, CalendarFieldComponent as ɵcb, ChipsFieldComponent as ɵcc, CountryPhonePickerFieldComponent as ɵcd, DynamicFieldComponent as ɵce, DynamicFormDirective as ɵcf, FieldsetComponent as ɵcg, FileUploadComponent$1 as ɵch, LookupFieldComponent as ɵci, RadioButtonComponent as ɵcj, RowComponent as ɵck, SectionComponent as ɵcl, SelectFieldComponent as ɵcm, SliderFieldComponent as ɵcn, TextAreaFieldComponent as ɵco, TextAreaIAFieldComponent as ɵcp, IAssistService as ɵcq, ButtonFieldComponent as ɵcr, DecimalField as ɵct, SideTableComponent as ɵcu, InfiniteScrollModule as ɵcv, InfiniteScrollDirective as ɵcw, IAInsightSidebarComponent as ɵcx, IAInsightCardComponent as ɵcy, IAInsightCardLoaderComponent as ɵcz, TieredMenuEventService as ɵd, GridMenuItemComponent as ɵda, InlineEditItemComponent as ɵdb, InlineEditCalendarComponent as ɵdc, InlineEditLookupComponent as ɵdd, InlineEditNumberComponent as ɵde, InlineEditTextComponent as ɵdf, InlineEditTextAreaComponent as ɵdg, InlineEditTextAreaIAComponent as ɵdh, KanbanEventService as ɵdi, KanbanItemComponent as ɵdj, KanbanColumnComponent as ɵdk, KanbanItemDraggingComponent as ɵdl, NumberLocaleOptions as ɵdm, BorderButtonModule as ɵdn, BorderButtonComponent as ɵdo, ProgressBarDeterminateComponent as ɵdp, ProgressBarIndeterminateComponent as ɵdq, SelectButtonItemComponent as ɵdr, SlidePanelService as ɵds, ThumbnailItemComponent as ɵdt, ThumbnailItemVideoComponent as ɵdu, ThumbnailItemImageComponent as ɵdv, TimelineItemModule as ɵdw, TimelineIconItemComponent as ɵdx, HorizontalTimelineModule as ɵdy, HorizontalTimelineComponent as ɵdz, TieredMenuService as ɵe, VerticalTimelineModule as ɵea, VerticalTimelineComponent as ɵeb, RangeLineComponent as ɵec, CollapseOptionComponent as ɵed, CollapsedItemsComponent as ɵee, VerticalItemsComponent as ɵef, ChipItemComponent as ɵeg, TieredMenuGlobalService as ɵf, TieredMenuComponent as ɵg, TieredMenuNestedComponent as ɵh, TieredMenuItemComponent as ɵi, TieredMenuDividerComponent as ɵj, LocalizedCurrencyImpurePipe as ɵk, LocalizedBignumberPipe as ɵl, LocalizedBignumberImpurePipe as ɵm, NumericPipe as ɵn, ChatMessageComponent as ɵo, CustomTranslationsModule as ɵp, CodeEditorComponent as ɵq, CoreFacade as ɵr, CodeMirror6Core as ɵs, CountryPhonePickerService as ɵt, EmptyStateGoBackComponent as ɵu, IAssistIconComponent as ɵv, SeniorIconComponent as ɵw, DotsIndicatorComponent as ɵx, LoadingIndicatorComponent as ɵy, FileUploadService as ɵz };
23015
+ export { AccordionComponent, AccordionModule, AccordionPanelComponent, AlertComponent, AlertModule, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonAnimation, ButtonComponent, ButtonField, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, CardComponent, CardModule, CardTemplateTypes, ChatComponent, ChatModule, CheckDisabled, CheckboxComponent, CheckboxModule, ChipsComponent, ChipsField, ChipsModule, 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, Grid, GridMenuComponent, GridMenuModule, GridType, HelpPopoverComponent, HelpPopoverDirective, HelpPopoverModule, HostProjectConfigsInjectionToken, IAInsightComponent, IAInsightModule, IAInsightTemplateTypes, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, InlineEditCalendarField, InlineEditComponent, InlineEditField, InlineEditLookupField, InlineEditModule, InlineEditNumberField, InlineEditTextAreaField, InlineEditTextAreaIAField, InlineEditTextField, KanbanComponent, KanbanModule, KanbanTemplateTypes, LabelValueComponent, LabelValueModule, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationButtonComponent, NavigationButtonModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, NumericService, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, PicklistComponent, PicklistModule, PicklistTemplateTypes, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, Row, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SliderComponent, SliderModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, StructureType, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TemplateDirective, TemplateModule, TextAreaComponent, TextAreaField, TextAreaIAComponent, TextAreaIAModule, TextAreaModule, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, ThumbnailsComponent, ThumbnailsModule, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, ToastComponent, ToastModule, ToastService, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, convertToMomentDateFormat, countries, fallback, getElementLeftoverContentAvailable, getElementPositionInfo, isMousePositionOutsideOfElement, isNullOrUndefined, parseItensPickList, ɵ0$3 as ɵ0, ɵ1$2 as ɵ1, ɵ2$1 as ɵ2, ɵ3$1 as ɵ3, ɵ4, TooltipComponent as ɵa, TooltipDirective as ɵb, TableColumnsComponent as ɵba, TablePagingComponent as ɵbb, PasswordFieldModule as ɵbc, FieldLabelModule as ɵbd, FieldLabelComponent as ɵbe, PasswordFieldComponent as ɵbf, TextFieldModule as ɵbg, TextFieldComponent as ɵbh, NumberFieldModule as ɵbi, NumberFieldComponent as ɵbj, CurrencyFieldModule as ɵbk, CurrencyFieldComponent as ɵbl, BignumberFieldModule as ɵbm, BignumberFieldComponent as ɵbn, CheckboxFieldModule as ɵbo, CheckboxFieldComponent as ɵbp, ProfilePictureModule as ɵbq, ThumbnailService as ɵbr, StructureModule as ɵbs, HeaderComponent as ɵbt, FooterComponent as ɵbu, ProfilePictureFieldComponent as ɵbv, EditorFieldModule as ɵbw, EditorFieldComponent as ɵbx, SpeechRecognitionModule as ɵby, SpeechRecognitionComponent as ɵbz, InfoSignComponent as ɵc, SpeechRecognitionService as ɵca, TextToSpeechService as ɵcb, AutocompleteFieldComponent as ɵcc, BooleanFieldComponent as ɵcd, BooleanSwitchFieldComponent as ɵce, CalendarFieldComponent as ɵcf, ChipsFieldComponent as ɵcg, CountryPhonePickerFieldComponent as ɵch, DynamicFieldComponent as ɵci, DynamicFormDirective as ɵcj, FieldsetComponent as ɵck, FileUploadComponent$1 as ɵcl, LookupFieldComponent as ɵcm, RadioButtonComponent as ɵcn, RowComponent as ɵco, SectionComponent as ɵcp, SelectFieldComponent as ɵcq, SliderFieldComponent as ɵcr, TextAreaFieldComponent as ɵcs, TextAreaIAFieldComponent as ɵct, IAssistService as ɵcu, ButtonFieldComponent as ɵcv, DecimalField as ɵcx, SideTableComponent as ɵcy, InfiniteScrollModule as ɵcz, TieredMenuEventService as ɵd, InfiniteScrollDirective as ɵda, IAInsightSidebarComponent as ɵdb, IAInsightCardComponent as ɵdc, IAInsightCardLoaderComponent as ɵdd, GridMenuItemComponent as ɵde, InlineEditItemComponent as ɵdf, InlineEditCalendarComponent as ɵdg, InlineEditLookupComponent as ɵdh, InlineEditNumberComponent as ɵdi, InlineEditTextComponent as ɵdj, InlineEditTextAreaComponent as ɵdk, InlineEditTextAreaIAComponent as ɵdl, KanbanEventService as ɵdm, KanbanItemComponent as ɵdn, KanbanColumnComponent as ɵdo, KanbanItemDraggingComponent as ɵdp, NumberLocaleOptions as ɵdq, BorderButtonModule as ɵdr, BorderButtonComponent as ɵds, ProgressBarDeterminateComponent as ɵdt, ProgressBarIndeterminateComponent as ɵdu, SelectButtonItemComponent as ɵdv, SlidePanelService as ɵdw, ThumbnailItemComponent as ɵdx, ThumbnailItemVideoComponent as ɵdy, ThumbnailItemImageComponent as ɵdz, TieredMenuService as ɵe, TimelineItemModule as ɵea, TimelineIconItemComponent as ɵeb, HorizontalTimelineModule as ɵec, HorizontalTimelineComponent as ɵed, VerticalTimelineModule as ɵee, VerticalTimelineComponent as ɵef, RangeLineComponent as ɵeg, CollapseOptionComponent as ɵeh, CollapsedItemsComponent as ɵei, VerticalItemsComponent as ɵej, ChipItemComponent as ɵek, TieredMenuGlobalService as ɵf, TieredMenuComponent as ɵg, TieredMenuNestedComponent as ɵh, TieredMenuItemComponent as ɵi, TieredMenuDividerComponent as ɵj, LocalizedCurrencyImpurePipe as ɵk, LocalizedBignumberPipe as ɵl, LocalizedBignumberImpurePipe as ɵm, NumericPipe as ɵn, ChatMessageComponent as ɵo, CustomTranslationsModule as ɵp, CodeEditorComponent as ɵq, CoreFacade as ɵr, CodeMirror6Core as ɵs, CountryPhonePickerService as ɵt, EmptyStateGoBackComponent as ɵu, IAssistIconComponent as ɵv, SeniorIconComponent as ɵw, DotsIndicatorComponent as ɵx, LoadingIndicatorComponent as ɵy, FileUploadService as ɵz };
22502
23016
  //# sourceMappingURL=seniorsistemas-angular-components.js.map