@eqproject/eqp-dynamic-module 0.0.10 → 0.0.12
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.
- package/bundles/eqproject-eqp-dynamic-module.umd.js +27 -22
- package/bundles/eqproject-eqp-dynamic-module.umd.js.map +1 -1
- package/bundles/eqproject-eqp-dynamic-module.umd.min.js +2 -2
- package/bundles/eqproject-eqp-dynamic-module.umd.min.js.map +1 -1
- package/eqproject-eqp-dynamic-module.metadata.json +1 -1
- package/esm2015/lib/components/exported/eqp-dynamic-module/eqp-dynamic-module.component.js +5 -2
- package/esm2015/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.js +20 -17
- package/esm2015/lib/components/private/add-form-field/add-form-field.component.js +1 -1
- package/esm2015/lib/components/private/field-templates/textarea-field-template/textarea-field-template.component.js +1 -1
- package/esm2015/lib/eqp-dynamic-module.module.js +1 -3
- package/esm2015/lib/models/fields/{testareaField.model.js → textareaField.model.js} +1 -1
- package/esm2015/lib/models/form.model.js +1 -1
- package/esm2015/lib/services/utilityHelper.services.js +1 -1
- package/esm2015/public-api.js +2 -2
- package/esm5/lib/components/exported/eqp-dynamic-module/eqp-dynamic-module.component.js +5 -2
- package/esm5/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.js +20 -17
- package/esm5/lib/components/private/add-form-field/add-form-field.component.js +1 -1
- package/esm5/lib/components/private/field-templates/textarea-field-template/textarea-field-template.component.js +1 -1
- package/esm5/lib/eqp-dynamic-module.module.js +1 -3
- package/esm5/lib/models/fields/{testareaField.model.js → textareaField.model.js} +1 -1
- package/esm5/lib/models/form.model.js +1 -1
- package/esm5/lib/services/utilityHelper.services.js +1 -1
- package/esm5/public-api.js +2 -2
- package/fesm2015/eqproject-eqp-dynamic-module.js +23 -19
- package/fesm2015/eqproject-eqp-dynamic-module.js.map +1 -1
- package/fesm5/eqproject-eqp-dynamic-module.js +23 -19
- package/fesm5/eqproject-eqp-dynamic-module.js.map +1 -1
- package/lib/components/exported/eqp-dynamic-module/eqp-dynamic-module.component.d.ts +1 -1
- package/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.d.ts +1 -2
- package/lib/components/private/field-templates/textarea-field-template/textarea-field-template.component.d.ts +1 -1
- package/lib/models/fields/{testareaField.model.d.ts → textareaField.model.d.ts} +0 -0
- package/lib/models/form.model.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
|
@@ -11,6 +11,7 @@ export declare class EqpDynamicModuleComponent implements OnInit {
|
|
|
11
11
|
values: Array<Record>;
|
|
12
12
|
showButtons: boolean;
|
|
13
13
|
showTitle: boolean;
|
|
14
|
+
viewMode: FormTypeEnum;
|
|
14
15
|
/**
|
|
15
16
|
* Url del server da chiamare per recuperare, salvare o eliminare i record.
|
|
16
17
|
* Usato per creare la configurazione di default degli endpoint da chiamare.
|
|
@@ -43,7 +44,6 @@ export declare class EqpDynamicModuleComponent implements OnInit {
|
|
|
43
44
|
afterDeleteRecord: EventEmitter<Record>;
|
|
44
45
|
afterDuplicateRecord: EventEmitter<Record>;
|
|
45
46
|
form: Form;
|
|
46
|
-
viewMode: FormTypeEnum;
|
|
47
47
|
FormTypeEnum: typeof FormTypeEnum;
|
|
48
48
|
selectedRecord: Record;
|
|
49
49
|
onlyView: boolean;
|
|
@@ -15,6 +15,7 @@ export declare class EqpDynamicModuleConfiguratorComponent implements OnInit {
|
|
|
15
15
|
form: Form;
|
|
16
16
|
formID: string;
|
|
17
17
|
innerFormManagment: boolean;
|
|
18
|
+
orgaID: string;
|
|
18
19
|
/**
|
|
19
20
|
* Url del server da chiamare per recuerare, salvare o eliminare i record.
|
|
20
21
|
* Usato per creare la configurazione di default degli endpoint da chiamare.
|
|
@@ -163,8 +164,6 @@ export declare class EqpDynamicModuleConfiguratorComponent implements OnInit {
|
|
|
163
164
|
* Metodo per salvare la form creata alla fine del wizard.
|
|
164
165
|
* Se è stato configurato un endPoint per il salvataggio viene effettuata una chiamata al server passando l'oggeto da salvare
|
|
165
166
|
* nel body della chiamata, altrimenti scatena l'evento "saveFormEvent".
|
|
166
|
-
* NOTA: Per comunicare correttamente con la parte server del modulo dinamico bisogna modificare l'array dei Fields.
|
|
167
|
-
* Al posto di passare un array di BaseField bisogna passare un array di oggetti del tipo { FieldType: FieldTypeEnum, Value: BaseField }.
|
|
168
167
|
*/
|
|
169
168
|
saveForm(): void;
|
|
170
169
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { IBaseFieldComponent } from '../../../../interfaces/iBaseFieldComponent.interface';
|
|
3
3
|
import { Record } from '../../../../models/record.model';
|
|
4
|
-
import { TextareaField } from '../../../../models/fields/
|
|
4
|
+
import { TextareaField } from '../../../../models/fields/textareaField.model';
|
|
5
5
|
export declare class TextareaFieldTemplateComponent implements OnInit, OnChanges, IBaseFieldComponent {
|
|
6
6
|
field: TextareaField;
|
|
7
7
|
record: Record;
|
|
File without changes
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ export * from './lib/models/fields/imageField.model';
|
|
|
29
29
|
export * from './lib/models/fields/listValueField.model';
|
|
30
30
|
export * from './lib/models/fields/lookupField.model';
|
|
31
31
|
export * from './lib/models/fields/numericField.model';
|
|
32
|
-
export * from './lib/models/fields/
|
|
32
|
+
export * from './lib/models/fields/textareaField.model';
|
|
33
33
|
export * from './lib/models/fields/textField.model';
|
|
34
34
|
export * from './lib/services/custom-form-validators.service';
|
|
35
35
|
export * from './lib/services/eqp-dynamic-module-dialog.service';
|