@eqproject/eqp-dynamic-module 2.6.58 → 2.7.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.
- package/esm2020/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.mjs +3 -3
- package/esm2020/lib/components/private/add-form-field/add-form-field.component.mjs +9 -3
- package/esm2020/lib/components/private/dynamic-module-field-fix/dynamic-module-field.component.mjs +30 -7
- package/esm2020/lib/components/private/form-records/add-form-record/add-form-record.component.mjs +3 -3
- package/esm2020/lib/models/baseField.model.mjs +1 -1
- package/esm2020/lib/models/getter.model.mjs +1 -1
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +41 -12
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +41 -12
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/components/private/add-form-field/add-form-field.component.d.ts +4 -1
- package/lib/components/private/dynamic-module-field-fix/dynamic-module-field.component.d.ts +3 -1
- package/lib/models/baseField.model.d.ts +2 -0
- package/lib/models/getter.model.d.ts +1 -0
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ import { HttpClient } from "@angular/common/http";
|
|
|
17
17
|
import { DataGetterTypeEnum } from '../../../models/baseField.model';
|
|
18
18
|
import { ModeEnum, TimeTypeEnum } from "tmw-picker";
|
|
19
19
|
import { EndPointConfiguration } from "../../../models/endPointConfiguration.model";
|
|
20
|
+
import { Contestualization } from "../../../models/getter.model";
|
|
20
21
|
import * as i0 from "@angular/core";
|
|
21
22
|
export declare class AddFormFieldComponent implements OnInit {
|
|
22
23
|
private formBuilder;
|
|
@@ -34,6 +35,7 @@ export declare class AddFormFieldComponent implements OnInit {
|
|
|
34
35
|
availableFields: Array<BaseField>;
|
|
35
36
|
fieldTypesToExclude: Array<FieldTypeEnum>;
|
|
36
37
|
QueryEditorComponent: DynamicLoaderDirectiveData;
|
|
38
|
+
contestualization: Array<Contestualization>;
|
|
37
39
|
out: EventEmitter<eventOut>;
|
|
38
40
|
saveFieldEvent: EventEmitter<BaseField | any>;
|
|
39
41
|
resizedImagesHeightPx: number;
|
|
@@ -254,6 +256,7 @@ export declare class AddFormFieldComponent implements OnInit {
|
|
|
254
256
|
getAllModules(): void;
|
|
255
257
|
onChangeDMModule(): void;
|
|
256
258
|
onChangeDMField(): void;
|
|
259
|
+
onChangeDMContestualization(): void;
|
|
257
260
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddFormFieldComponent, never>;
|
|
258
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AddFormFieldComponent, "eqp-dynamic-module-add-form-field", never, { "form": "form"; "endPointConfiguration": "endPointConfiguration"; "field": "field"; "indexField": "indexField"; "formFieldsGroups": "formFieldsGroups"; "availableFields": "availableFields"; "fieldTypesToExclude": "fieldTypesToExclude"; "QueryEditorComponent": "QueryEditorComponent"; }, { "out": "out"; "saveFieldEvent": "saveFieldEvent"; }, never, never, false, never>;
|
|
261
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddFormFieldComponent, "eqp-dynamic-module-add-form-field", never, { "form": "form"; "endPointConfiguration": "endPointConfiguration"; "field": "field"; "indexField": "indexField"; "formFieldsGroups": "formFieldsGroups"; "availableFields": "availableFields"; "fieldTypesToExclude": "fieldTypesToExclude"; "QueryEditorComponent": "QueryEditorComponent"; "contestualization": "contestualization"; }, { "out": "out"; "saveFieldEvent": "saveFieldEvent"; }, never, never, false, never>;
|
|
259
262
|
}
|
|
@@ -10,10 +10,12 @@ import { EndPointConfiguration } from '../../../models/endPointConfiguration.mod
|
|
|
10
10
|
import { DynAttachment } from '../../../models/dynAttachment';
|
|
11
11
|
import { DynamicLoaderDirectiveData, eventOut } from '../../../directives/dynamic-loader/dynamic-loader.directive';
|
|
12
12
|
import { UtilityHelperService } from '../../../services/utilityHelper.services';
|
|
13
|
+
import { DynamicModuleCompileConfig } from '../../../models/dynamicModuleCompileConfig.model';
|
|
13
14
|
import * as i0 from "@angular/core";
|
|
14
15
|
export declare class DynamicModuleFieldFixComponent implements OnInit, IBaseFieldComponent {
|
|
15
16
|
private dialog;
|
|
16
17
|
private utilityHelperService;
|
|
18
|
+
configurations: DynamicModuleCompileConfig;
|
|
17
19
|
endPointConfiguration: EndPointConfiguration;
|
|
18
20
|
field: BaseField;
|
|
19
21
|
form: Form;
|
|
@@ -78,5 +80,5 @@ export declare class DynamicModuleFieldFixComponent implements OnInit, IBaseFiel
|
|
|
78
80
|
onSelectedValue(value: any): void;
|
|
79
81
|
manageDMGetter(): void;
|
|
80
82
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicModuleFieldFixComponent, never>;
|
|
81
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicModuleFieldFixComponent, "dynamic-module-field-fix", never, { "endPointConfiguration": "endPointConfiguration"; "field": "field"; "form": "form"; "record": "record"; "inConfig": "inConfig"; "userID": "userID"; "QueryEditorComponent": "QueryEditorComponent"; }, { "recordChange": "recordChange"; "out": "out"; }, never, never, false, never>;
|
|
83
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicModuleFieldFixComponent, "dynamic-module-field-fix", never, { "configurations": "configurations"; "endPointConfiguration": "endPointConfiguration"; "field": "field"; "form": "form"; "record": "record"; "inConfig": "inConfig"; "userID": "userID"; "QueryEditorComponent": "QueryEditorComponent"; }, { "recordChange": "recordChange"; "out": "out"; }, never, never, false, never>;
|
|
82
84
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { UntypedFormGroup } from '@angular/forms';
|
|
2
2
|
import { BaseObj } from './baseObj.model';
|
|
3
|
+
import { Contestualization } from './getter.model';
|
|
3
4
|
/**
|
|
4
5
|
* Contiene le informazioni di base del campo, indipendentemente dal tipo.
|
|
5
6
|
* Questa classe è volutamente astratta perché il tipo di campo è dettato dal tipo
|
|
@@ -51,6 +52,7 @@ export declare class DataGetter {
|
|
|
51
52
|
DataGetterValue: any;
|
|
52
53
|
DataGetterColumnForce: any;
|
|
53
54
|
DataGetterCardinality: DataGetterCardinalityEnum;
|
|
55
|
+
DataGetterContestualization: Contestualization;
|
|
54
56
|
}
|
|
55
57
|
export declare enum FieldTypeEnum {
|
|
56
58
|
'Campo di testo' = 1,
|