@eqproject/eqp-dynamic-module 2.0.2 → 2.0.3
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/README.md +4 -4
- package/esm2020/lib/components/exported/eqp-dynamic-module/eqp-dynamic-module.component.mjs +17 -12
- package/esm2020/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.mjs +3 -3
- package/esm2020/lib/components/private/dynamic-module-field/dynamic-module-field.component.mjs +3 -3
- package/esm2020/lib/components/private/dynamic-module-field-fix/dynamic-module-field.component.mjs +3 -3
- package/esm2020/lib/components/private/form-records/add-form-record/add-form-record.component.mjs +1 -1
- package/esm2020/lib/components/private/form-records/list-form-record/list-form-record.component.mjs +1 -1
- package/esm2020/lib/components/private/form-records/repair-form-fields/repair-form-fields.component.mjs +1 -1
- package/esm2020/lib/models/dynamicModuleCompileConfig.model.mjs +2 -2
- package/esm2020/lib/models/dynamicModuleConfig.model.mjs +1 -1
- package/esm2020/lib/models/dynamicModuleConfiguratorConfig.model.mjs +3 -3
- package/esm2020/lib/models/dynamicModuleGeneralConfig.model.mjs +2 -2
- package/esm2020/lib/models/dynamicModuleListConfig.model.mjs +2 -2
- package/esm2020/lib/models/dynamicModuleRepairConfig.model.mjs +2 -2
- package/esm2020/public-api.mjs +2 -1
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +38 -26
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +38 -26
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/components/exported/eqp-dynamic-module/eqp-dynamic-module.component.d.ts +8 -8
- package/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.d.ts +2 -2
- package/lib/components/private/dynamic-module-field/dynamic-module-field.component.d.ts +2 -2
- package/lib/components/private/dynamic-module-field-fix/dynamic-module-field.component.d.ts +2 -2
- package/lib/components/private/form-records/add-form-record/add-form-record.component.d.ts +2 -2
- package/lib/components/private/form-records/list-form-record/list-form-record.component.d.ts +2 -2
- package/lib/components/private/form-records/repair-form-fields/repair-form-fields.component.d.ts +2 -2
- package/lib/models/dynamicModuleCompileConfig.model.d.ts +1 -1
- package/lib/models/dynamicModuleConfig.model.d.ts +9 -9
- package/lib/models/dynamicModuleConfiguratorConfig.model.d.ts +3 -3
- package/lib/models/dynamicModuleGeneralConfig.model.d.ts +1 -1
- package/lib/models/dynamicModuleListConfig.model.d.ts +1 -1
- package/lib/models/dynamicModuleRepairConfig.model.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { AfterViewInit, EventEmitter, OnInit } from "@angular/core";
|
|
2
2
|
import { Context } from "../../../models/context.model";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { DynamicModuleCompileConfig } from "../../../models/dynamicModuleCompileConfig.model";
|
|
4
|
+
import { DynamicModuleGeneralConfig } from "../../../models/dynamicModuleGeneralConfig.model";
|
|
5
|
+
import { DynamicModuleListConfig } from "../../../models/dynamicModuleListConfig.model";
|
|
6
|
+
import { DynamicModuleRepairConfig } from "../../../models/dynamicModuleRepairConfig.model";
|
|
7
7
|
import { DynamicMoDuleViewModeEnum } from "../../../models/DynamicMoDuleViewModeEnum";
|
|
8
8
|
import { EndPointConfiguration } from "../../../models/endPointConfiguration.model";
|
|
9
9
|
import { Form, FormTypeEnum } from "../../../models/form.model";
|
|
@@ -12,7 +12,7 @@ import { UtilityHelperService } from "../../../services/utilityHelper.services";
|
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
export declare class EqpDynamicModuleComponent implements OnInit, AfterViewInit {
|
|
14
14
|
private utilityHelperService;
|
|
15
|
-
configurations:
|
|
15
|
+
configurations: DynamicModuleGeneralConfig;
|
|
16
16
|
formID: string;
|
|
17
17
|
starterViewMode: DynamicMoDuleViewModeEnum;
|
|
18
18
|
userID: string;
|
|
@@ -61,9 +61,9 @@ export declare class EqpDynamicModuleComponent implements OnInit, AfterViewInit
|
|
|
61
61
|
selectedRecord: Record;
|
|
62
62
|
onlyView: boolean;
|
|
63
63
|
viewMode: DynamicMoDuleViewModeEnum;
|
|
64
|
-
dynamicModuleCompileConfig:
|
|
65
|
-
dynamicModuleListConfig:
|
|
66
|
-
dynamicModuleRepairConfig:
|
|
64
|
+
dynamicModuleCompileConfig: DynamicModuleCompileConfig;
|
|
65
|
+
dynamicModuleListConfig: DynamicModuleListConfig;
|
|
66
|
+
dynamicModuleRepairConfig: DynamicModuleRepairConfig;
|
|
67
67
|
loader: boolean;
|
|
68
68
|
constructor(utilityHelperService: UtilityHelperService);
|
|
69
69
|
ngOnInit(): Promise<void>;
|
|
@@ -7,7 +7,7 @@ import { Context } from '../../../models/context.model';
|
|
|
7
7
|
import { EndPointConfiguration } from '../../../models/endPointConfiguration.model';
|
|
8
8
|
import { ActionOnRecord, Form, FormScalarTypeEnum, FormTypeEnum } from '../../../models/form.model';
|
|
9
9
|
import { UtilityHelperService } from '../../../services/utilityHelper.services';
|
|
10
|
-
import {
|
|
10
|
+
import { DynamicModuleCompileConfig } from '../../../models/dynamicModuleCompileConfig.model';
|
|
11
11
|
import { DynamicModuleConfiguratorConfig } from '../../../models/dynamicModuleConfiguratorConfig.model';
|
|
12
12
|
import * as i0 from "@angular/core";
|
|
13
13
|
export declare class EqpDynamicModuleConfiguratorComponent implements OnInit {
|
|
@@ -40,7 +40,7 @@ export declare class EqpDynamicModuleConfiguratorComponent implements OnInit {
|
|
|
40
40
|
UserID: number;
|
|
41
41
|
innerFormManagment: boolean;
|
|
42
42
|
innerFormRef: MatDialogRef<TemplateRef<any>>;
|
|
43
|
-
viewConfig:
|
|
43
|
+
viewConfig: DynamicModuleCompileConfig;
|
|
44
44
|
formFormGroup: UntypedFormGroup;
|
|
45
45
|
formCompleted: boolean;
|
|
46
46
|
previewForm: Form;
|
|
@@ -2,7 +2,7 @@ import { EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
|
2
2
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
3
3
|
import { IBaseFieldComponent } from '../../../interfaces/iBaseFieldComponent.interface';
|
|
4
4
|
import { BaseField, FieldTypeEnum } from '../../../models/baseField.model';
|
|
5
|
-
import {
|
|
5
|
+
import { DynamicModuleListConfig } from '../../../models/dynamicModuleListConfig.model';
|
|
6
6
|
import { Form } from '../../../models/form.model';
|
|
7
7
|
import { Record } from '../../../models/record.model';
|
|
8
8
|
import { ListFormRecordComponent } from '../form-records/list-form-record/list-form-record.component';
|
|
@@ -13,7 +13,7 @@ export declare class DynamicModuleFieldComponent implements OnInit, IBaseFieldCo
|
|
|
13
13
|
form: Form;
|
|
14
14
|
record: Record;
|
|
15
15
|
recordChange: EventEmitter<Record>;
|
|
16
|
-
configList:
|
|
16
|
+
configList: DynamicModuleListConfig;
|
|
17
17
|
FieldTypeEnum: typeof FieldTypeEnum;
|
|
18
18
|
selectedInnerForm: Form;
|
|
19
19
|
selectedInnerFormRecord: Record;
|
|
@@ -2,7 +2,7 @@ import { EventEmitter, OnInit, QueryList, TemplateRef } from '@angular/core';
|
|
|
2
2
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
3
3
|
import { IBaseFieldComponent } from '../../../interfaces/iBaseFieldComponent.interface';
|
|
4
4
|
import { BaseField, FieldTypeEnum } from '../../../models/baseField.model';
|
|
5
|
-
import {
|
|
5
|
+
import { DynamicModuleListConfig } from '../../../models/dynamicModuleListConfig.model';
|
|
6
6
|
import { Form } from '../../../models/form.model';
|
|
7
7
|
import { Record } from '../../../models/record.model';
|
|
8
8
|
import { ListFormRecordComponent } from '../form-records/list-form-record/list-form-record.component';
|
|
@@ -13,7 +13,7 @@ export declare class DynamicModuleFieldFixComponent implements OnInit, IBaseFiel
|
|
|
13
13
|
form: Form;
|
|
14
14
|
record: Record;
|
|
15
15
|
recordChange: EventEmitter<Record>;
|
|
16
|
-
configList:
|
|
16
|
+
configList: DynamicModuleListConfig;
|
|
17
17
|
FieldTypeEnum: typeof FieldTypeEnum;
|
|
18
18
|
selectedInnerForm: Form;
|
|
19
19
|
selectedInnerFormRecord: Record;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, OnInit, QueryList } from '@angular/core';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import {
|
|
3
|
+
import { DynamicModuleCompileConfig } from '../../../../models/dynamicModuleCompileConfig.model';
|
|
4
4
|
import { BaseField, FieldTypeEnum } from '../../../../models/baseField.model';
|
|
5
5
|
import { Form, FormScalarTypeEnum } from '../../../../models/form.model';
|
|
6
6
|
import { Record } from '../../../../models/record.model';
|
|
@@ -10,7 +10,7 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
export declare class AddFormRecordComponent implements OnInit {
|
|
11
11
|
private cdr;
|
|
12
12
|
utilityService: UtilityHelperService;
|
|
13
|
-
configurations:
|
|
13
|
+
configurations: DynamicModuleCompileConfig;
|
|
14
14
|
form: Form;
|
|
15
15
|
record: Record;
|
|
16
16
|
onlyView: boolean;
|
package/lib/components/private/form-records/list-form-record/list-form-record.component.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ import { ConfigColumn, EqpTableComponent } from '@eqproject/eqp-table';
|
|
|
3
3
|
import { Form } from '../../../../models/form.model';
|
|
4
4
|
import { Record } from '../../../../models/record.model';
|
|
5
5
|
import { listFormRecordActionsDefault } from '../../../../models/listFormRecordActionsDefault';
|
|
6
|
-
import {
|
|
6
|
+
import { DynamicModuleListConfig } from '../../../../models/dynamicModuleListConfig.model';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class ListFormRecordComponent implements OnInit, OnChanges {
|
|
9
|
-
configurations:
|
|
9
|
+
configurations: DynamicModuleListConfig;
|
|
10
10
|
form: Form;
|
|
11
11
|
defaultListActions: listFormRecordActionsDefault;
|
|
12
12
|
showTitle: boolean;
|
package/lib/components/private/form-records/repair-form-fields/repair-form-fields.component.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { OnInit, EventEmitter, ElementRef } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { DynamicModuleRepairConfig } from '../../../../models/dynamicModuleRepairConfig.model';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class RepairFormFieldsComponent implements OnInit {
|
|
5
|
-
configurations:
|
|
5
|
+
configurations: DynamicModuleRepairConfig;
|
|
6
6
|
onSaveJson: EventEmitter<string>;
|
|
7
7
|
formulaTextArea: ElementRef<HTMLTextAreaElement>;
|
|
8
8
|
constructor();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { DynamicModuleCompileConfig } from "./dynamicModuleCompileConfig.model";
|
|
2
|
+
import { DynamicModuleGeneralConfig } from "./dynamicModuleGeneralConfig.model";
|
|
3
|
+
import { DynamicModuleListConfig } from "./dynamicModuleListConfig.model";
|
|
4
|
+
import { DynamicModuleRepairConfig } from "./dynamicModuleRepairConfig.model";
|
|
5
5
|
export declare class DynamicModuleConfig {
|
|
6
|
-
dynamicModuleGeneralConfig:
|
|
7
|
-
dynamicModuleCompileConfig:
|
|
8
|
-
dynamicModuleListConfig:
|
|
9
|
-
dynamicModuleRepairConfig:
|
|
10
|
-
constructor(general:
|
|
6
|
+
dynamicModuleGeneralConfig: DynamicModuleGeneralConfig;
|
|
7
|
+
dynamicModuleCompileConfig: DynamicModuleCompileConfig;
|
|
8
|
+
dynamicModuleListConfig: DynamicModuleListConfig;
|
|
9
|
+
dynamicModuleRepairConfig: DynamicModuleRepairConfig;
|
|
10
|
+
constructor(general: DynamicModuleGeneralConfig, compile: DynamicModuleCompileConfig, list: DynamicModuleListConfig, repair: DynamicModuleRepairConfig);
|
|
11
11
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DynamicModuleConfiguratorSpecificConfig } from "./dynamicModuleConfiguratorSpecificConfig.model";
|
|
2
|
-
import {
|
|
2
|
+
import { DynamicModuleGeneralConfig } from "./dynamicModuleGeneralConfig.model";
|
|
3
3
|
export declare class DynamicModuleConfiguratorConfig {
|
|
4
|
-
dynamicModuleGeneralConfig:
|
|
4
|
+
dynamicModuleGeneralConfig: DynamicModuleGeneralConfig;
|
|
5
5
|
dynamicModuleConfiguratorSpecificConfig: DynamicModuleConfiguratorSpecificConfig;
|
|
6
|
-
constructor(general?:
|
|
6
|
+
constructor(general?: DynamicModuleGeneralConfig, specific?: DynamicModuleConfiguratorSpecificConfig);
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Context } from "./context.model";
|
|
2
2
|
import { EndPointConfiguration } from "./endPointConfiguration.model";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class DynamicModuleGeneralConfig {
|
|
4
4
|
/**
|
|
5
5
|
* Url del server da chiamare per recuperare, salvare o eliminare i record.
|
|
6
6
|
* Usato per creare la configurazione di default degli endpoint da chiamare.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { listFormRecordActionsDefault } from "./listFormRecordActionsDefault";
|
|
2
2
|
import { Record } from "./record.model";
|
|
3
|
-
export declare class
|
|
3
|
+
export declare class DynamicModuleListConfig {
|
|
4
4
|
/**
|
|
5
5
|
* Show/Hide module name in COMPILE/LIST
|
|
6
6
|
*/
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export * from './lib/models/dynamicModuleGeneralConfig.model';
|
|
|
26
26
|
export * from './lib/models/dynamicModuleCompileConfig.model';
|
|
27
27
|
export * from './lib/models/dynamicModuleListConfig.model';
|
|
28
28
|
export * from './lib/models/dynamicModuleRepairConfig.model';
|
|
29
|
+
export * from './lib/models/dynamicModuleViewModeEnum';
|
|
29
30
|
export * from './lib/models/endPointConfiguration.model';
|
|
30
31
|
export * from './lib/models/entity.model';
|
|
31
32
|
export * from './lib/models/form.model';
|