@eqproject/eqp-dynamic-module 2.8.5 → 2.8.7

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 (37) hide show
  1. package/esm2020/lib/components/private/dynamic-module-field-fix/dynamic-module-field.component.mjs +5 -4
  2. package/esm2020/lib/components/private/field-templates/date-field-template/date-field-template.component.mjs +6 -4
  3. package/esm2020/lib/components/private/field-templates/label-field-template/label-field-template.component.mjs +6 -14
  4. package/esm2020/lib/components/private/field-templates/text-field-template/text-field-template.component.mjs +12 -49
  5. package/esm2020/lib/components/private/field-templates/textarea-field-template/textarea-field-template.component.mjs +12 -49
  6. package/esm2020/lib/components/private/form-records/add-form-record/add-form-record.component.mjs +40 -12
  7. package/esm2020/lib/components/private/form-statistics/filter-templates/text-filter-template/text-filter-template.component.mjs +13 -45
  8. package/esm2020/lib/components/private/form-statistics/filter-templates/textarea-filter-template/textarea-filter-template.component.mjs +13 -45
  9. package/esm2020/lib/components/private/trigger-creator/trigger-templates/text-trigger-template/text-trigger-template.component.mjs +13 -45
  10. package/esm2020/lib/components/private/trigger-creator/trigger-templates/textarea-trigger-template/textarea-trigger-template.component.mjs +13 -45
  11. package/esm2020/lib/directives/speech-to-text/speech-to-text.directive.mjs +186 -0
  12. package/esm2020/lib/eqp-dynamic-module.module.mjs +6 -6
  13. package/esm2020/lib/models/fields/dateField.model.mjs +5 -1
  14. package/esm2020/lib/services/global.service.mjs +4 -1
  15. package/esm2020/public-api.mjs +3 -2
  16. package/fesm2015/eqproject-eqp-dynamic-module.mjs +311 -491
  17. package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
  18. package/fesm2020/eqproject-eqp-dynamic-module.mjs +311 -491
  19. package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
  20. package/lib/components/private/field-templates/date-field-template/date-field-template.component.d.ts +1 -1
  21. package/lib/components/private/field-templates/label-field-template/label-field-template.component.d.ts +1 -3
  22. package/lib/components/private/field-templates/text-field-template/text-field-template.component.d.ts +1 -6
  23. package/lib/components/private/field-templates/textarea-field-template/textarea-field-template.component.d.ts +1 -6
  24. package/lib/components/private/form-records/add-form-record/add-form-record.component.d.ts +4 -1
  25. package/lib/components/private/form-statistics/filter-templates/text-filter-template/text-filter-template.component.d.ts +1 -6
  26. package/lib/components/private/form-statistics/filter-templates/textarea-filter-template/textarea-filter-template.component.d.ts +1 -6
  27. package/lib/components/private/trigger-creator/trigger-templates/text-trigger-template/text-trigger-template.component.d.ts +1 -6
  28. package/lib/components/private/trigger-creator/trigger-templates/textarea-trigger-template/textarea-trigger-template.component.d.ts +1 -6
  29. package/lib/directives/speech-to-text/speech-to-text.directive.d.ts +31 -0
  30. package/lib/eqp-dynamic-module.module.d.ts +37 -37
  31. package/lib/services/global.service.d.ts +3 -0
  32. package/package.json +1 -1
  33. package/public-api.d.ts +2 -1
  34. package/esm2020/lib/components/private/dynamic-module-field/dynamic-module-field.component.mjs +0 -136
  35. package/esm2020/lib/services/voice-recognition.service.mjs +0 -75
  36. package/lib/components/private/dynamic-module-field/dynamic-module-field.component.d.ts +0 -60
  37. package/lib/services/voice-recognition.service.d.ts +0 -18
@@ -1,75 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class VoiceRecognitionService {
4
- constructor() {
5
- this.isStoppedSpeechRecog = false;
6
- this.text = '';
7
- this.transcript_arr = [];
8
- this.confidence_arr = [];
9
- this.isStarted = false; //<< this Flag to check if the user stop the service
10
- this.isStoppedAutomatically = true; //<< this Flag to check if the service stopped automaticically.
11
- }
12
- init() {
13
- try {
14
- this.recognition = new webkitSpeechRecognition();
15
- this.recognition.continuous = true;
16
- this.recognition.interimResults = true;
17
- this.recognition.lang = 'it-IT';
18
- this.recognition.addEventListener('result', (e) => {
19
- const transcript = Array.from(e.results)
20
- .map((result) => result[0])
21
- .map((result) => result.transcript)
22
- .join('');
23
- this.transcript_arr.push(transcript);
24
- this.tempWords = transcript;
25
- const confidence = Array.from(e.results)
26
- .map((result) => result[0])
27
- .map((result) => result.confidence)
28
- .join('');
29
- this.confidence_arr.push(confidence);
30
- });
31
- this.recognition.addEventListener('end', (condition) => {
32
- this.wordConcat();
33
- if (this.isStoppedAutomatically) {
34
- this.recognition.stop();
35
- this.recognition.start();
36
- this.isStoppedAutomatically = true;
37
- }
38
- });
39
- }
40
- catch (error) {
41
- //console.log(error);
42
- //this.domElement.style.display = "none";
43
- }
44
- }
45
- start() {
46
- if (!this.isStarted) {
47
- this.recognition.start();
48
- this.isStarted = true;
49
- }
50
- return true;
51
- }
52
- stop() {
53
- if (this.isStarted) {
54
- this.isStoppedAutomatically = false;
55
- this.wordConcat();
56
- this.recognition.stop();
57
- this.isStarted = false;
58
- this.transcript_arr = [];
59
- }
60
- return false;
61
- }
62
- wordConcat() {
63
- this.text = this.text + ' ' + this.tempWords + '.';
64
- this.tempWords = '';
65
- }
66
- }
67
- VoiceRecognitionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: VoiceRecognitionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
68
- VoiceRecognitionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: VoiceRecognitionService, providedIn: 'root' });
69
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: VoiceRecognitionService, decorators: [{
70
- type: Injectable,
71
- args: [{
72
- providedIn: 'root',
73
- }]
74
- }], ctorParameters: function () { return []; } });
75
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidm9pY2UtcmVjb2duaXRpb24uc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2VxcC1keW5hbWljLW1vZHVsZS9zcmMvbGliL3NlcnZpY2VzL3ZvaWNlLXJlY29nb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nbml0aW9uLnN0YXJ0KCk7XHJcbiAgICAgIHRoaXMuaXNTdGFydGVkID0gdHJ1ZTtcclxuICAgIH1cclxuICAgIHJldHVybiB0cnVlO1xyXG4gIH1cclxuICBzdG9wKCkge1xyXG4gICAgaWYgKHRoaXMuaXNTdGFydGVkKSB7XHJcbiAgICAgIHRoaXMuaXNTdG9wcGVkQXV0b21hdGljYWxseSA9IGZhbHNlO1xyXG4gICAgICB0aGlzLndvcmRDb25jYXQoKTtcclxuICAgICAgdGhpcy5yZWNvZ25pdGlvbi5zdG9wKCk7XHJcbiAgICAgIHRoaXMuaXNTdGFydGVkID0gZmFsc2U7XHJcbiAgICAgIHRoaXMudHJhbnNjcmlwdF9hcnIgPSBbXTtcclxuICAgIH1cclxuICAgIHJldHVybiBmYWxzZTtcclxuICB9XHJcblxyXG4gIHdvcmRDb25jYXQoKSB7XHJcbiAgICB0aGlzLnRleHQgPSB0aGlzLnRleHQgKyAnICcgKyB0aGlzLnRlbXBXb3JkcyArICcuJztcclxuICAgIHRoaXMudGVtcFdvcmRzID0gJyc7XHJcbiAgfVxyXG59XHJcbiJdfQ==
@@ -1,60 +0,0 @@
1
- import { EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
2
- import { MatDialog, MatDialogRef } from '@angular/material/dialog';
3
- import { IBaseFieldComponent } from '../../../interfaces/iBaseFieldComponent.interface';
4
- import { BaseField, FieldTypeEnum } from '../../../models/baseField.model';
5
- import { DynamicModuleListConfig } from '../../../models/dynamicModuleListConfig.model';
6
- import { Form } from '../../../models/form.model';
7
- import { Record } from '../../../models/record.model';
8
- import { ListFormRecordComponent } from '../form-records/list-form-record/list-form-record.component';
9
- import * as i0 from "@angular/core";
10
- export declare class DynamicModuleFieldComponent implements OnInit, IBaseFieldComponent {
11
- private dialog;
12
- field: BaseField;
13
- form: Form;
14
- record: Record;
15
- recordChange: EventEmitter<Record>;
16
- configList: DynamicModuleListConfig;
17
- FieldTypeEnum: typeof FieldTypeEnum;
18
- selectedInnerForm: Form;
19
- selectedInnerFormRecord: Record;
20
- indexInnerFormRecord: number;
21
- onlyViewInnerFormRecord: boolean;
22
- dialogInnerFormRecordRef: MatDialogRef<TemplateRef<any>>;
23
- dialogInnerFormRecord: TemplateRef<any>;
24
- fieldTemplate: QueryList<DynamicModuleFieldComponent>;
25
- listInnerFormRecords: QueryList<ListFormRecordComponent>;
26
- constructor(dialog: MatDialog);
27
- updateField(): void;
28
- ngOnInit(): void;
29
- /**
30
- * Metodo invocato al cambio del valore di ogni proprietà dell'oggetto record.
31
- * Serve ad aggiornare il valore di tutti i campi che hanno una formula.
32
- */
33
- onRecordChange(): void;
34
- /**
35
- * Metodo per recuperare una InnerForm a partire dal Field che la rappresenta.
36
- * @param field Campo a partire dal quale si vuole recuperare la InnerForm.
37
- * @returns Restituisce un oggetto di tipo Form.
38
- */
39
- getInnerFormFromField(field: BaseField): Form;
40
- /**
41
- * Metodo per aprire un dialog in cui aggiungere/modificare/visualizzare un record appartenente
42
- * a una form di dettaglio.
43
- * @param record Evento di output del componente list-form-record, contiene il record selezionato e un booleno che indica
44
- * se l'utente vuole modificare o visualizzare l'elemento selezionato.
45
- * @param innerForm Contiene la Form di dettaglio dalla quale è stato richiesto il record.
46
- */
47
- onAddViewEditInnerFormRecord(record: {
48
- record: Record;
49
- onlyView: boolean;
50
- }, field: BaseField): void;
51
- /**
52
- * Metodo invocato al salvataggio o alla chiusura del dialog di aggiunta/modifica/visualizzazione
53
- * di un record di una form di dettaglio.
54
- * @param record Oggetto restituito dal componente add-form-field (questo qui) contenente il Record
55
- * aggiornato dall'utente. Se null allora l'utente non ha modificato nulla e ha chiuso il dialog.
56
- */
57
- onSaveInnerFormRecord(record: Record): void;
58
- static ɵfac: i0.ɵɵFactoryDeclaration<DynamicModuleFieldComponent, never>;
59
- static ɵcmp: i0.ɵɵComponentDeclaration<DynamicModuleFieldComponent, "dynamic-module-field", never, { "field": "field"; "form": "form"; "record": "record"; }, { "recordChange": "recordChange"; }, never, never, false, never>;
60
- }
@@ -1,18 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class VoiceRecognitionService {
3
- recognition: any;
4
- isStoppedSpeechRecog: boolean;
5
- text: string;
6
- tempWords: any;
7
- transcript_arr: any[];
8
- confidence_arr: any[];
9
- isStarted: boolean;
10
- isStoppedAutomatically: boolean;
11
- constructor();
12
- init(): void;
13
- start(): boolean;
14
- stop(): boolean;
15
- wordConcat(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<VoiceRecognitionService, never>;
17
- static ɵprov: i0.ɵɵInjectableDeclaration<VoiceRecognitionService>;
18
- }