@eqproject/eqp-dynamic-module 2.10.99 → 2.10.101
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 +887 -876
- package/esm2020/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.mjs +25 -25
- package/esm2020/lib/components/private/action-button-creator/action-button-creator.component.mjs +3 -3
- package/esm2020/lib/components/private/add-form-field/add-form-field.component.mjs +14 -14
- package/esm2020/lib/components/private/add-formula-field/add-formula-field.component.mjs +7 -7
- package/esm2020/lib/components/private/dbg-templates/list-value-dbg-template/list-value-dbg-template.component.mjs +3 -3
- package/esm2020/lib/components/private/dbgetter/dbgetter.component.mjs +5 -5
- package/esm2020/lib/components/private/dynamic-module-field-extra-fix/dynamic-module-field-extra-fix.component.mjs +5 -5
- package/esm2020/lib/components/private/field-templates/action-button-field-template/action-button-field-template.component.mjs +5 -5
- package/esm2020/lib/components/private/field-templates/attachment-field-template/attachment-field-template.component.mjs +10 -10
- package/esm2020/lib/components/private/field-templates/date-field-template/date-field-template.component.mjs +2 -2
- package/esm2020/lib/components/private/field-templates/list-value-field-template/list-value-field-template.component.mjs +3 -3
- package/esm2020/lib/components/private/field-templates/numeric-field-template/numeric-field-template.component.mjs +16 -9
- package/esm2020/lib/components/private/field-templates/text-field-template/text-field-template.component.mjs +6 -6
- package/esm2020/lib/components/private/field-templates/textarea-field-template/textarea-field-template.component.mjs +6 -6
- package/esm2020/lib/components/private/form-records/add-form-record/add-form-record.component.mjs +5 -5
- package/esm2020/lib/components/private/form-records/hlist-form-record/hlist-form-record.component.mjs +5 -5
- package/esm2020/lib/components/private/form-records/list-form-record/list-form-record.component.mjs +10 -10
- package/esm2020/lib/components/private/form-records/list-view-form-record/list-view-form-record.component.mjs +10 -10
- package/esm2020/lib/components/private/form-statistics/filter-form-statistic/filter-form-statistic.component.mjs +32 -9
- package/esm2020/lib/components/private/form-statistics/filter-templates/boolean-filter-template/boolean-filter-template.component.mjs +7 -7
- package/esm2020/lib/components/private/form-statistics/filter-templates/date-filter-template/date-filter-template.component.mjs +8 -8
- package/esm2020/lib/components/private/form-statistics/filter-templates/image-selector-filter-template/image-selector-filter-template.component.mjs +3 -3
- package/esm2020/lib/components/private/form-statistics/filter-templates/list-value-filter-template/list-value-filter-template.component.mjs +6 -6
- package/esm2020/lib/components/private/form-statistics/filter-templates/numeric-filter-template/numeric-filter-template.component.mjs +17 -10
- package/esm2020/lib/components/private/form-statistics/filter-templates/text-filter-template/text-filter-template.component.mjs +7 -7
- package/esm2020/lib/components/private/form-statistics/filter-templates/textarea-filter-template/textarea-filter-template.component.mjs +7 -7
- package/esm2020/lib/components/private/graphs/graphs.component.mjs +3 -3
- package/esm2020/lib/components/private/tmw-image-drawer/tmw-image-drawer.component.mjs +5 -5
- package/esm2020/lib/components/private/tmw-image-marker/tmw-image-marker.component.mjs +6 -6
- package/esm2020/lib/components/private/trigger-creator/trigger-creator.component.mjs +8 -10
- package/esm2020/lib/components/private/trigger-creator/trigger-templates/boolean-trigger-template/boolean-trigger-template.component.mjs +3 -3
- package/esm2020/lib/components/private/trigger-creator/trigger-templates/date-trigger-template/date-trigger-template.component.mjs +4 -4
- package/esm2020/lib/components/private/trigger-creator/trigger-templates/list-value-trigger-template/list-value-trigger-template.component.mjs +3 -3
- package/esm2020/lib/components/private/trigger-creator/trigger-templates/numeric-trigger-template/numeric-trigger-template.component.mjs +13 -6
- package/esm2020/lib/components/private/trigger-creator/trigger-templates/text-trigger-template/text-trigger-template.component.mjs +7 -7
- package/esm2020/lib/components/private/trigger-creator/trigger-templates/textarea-trigger-template/textarea-trigger-template.component.mjs +7 -7
- package/esm2020/lib/eqp-dynamic-module.module.mjs +18 -40
- package/esm2020/lib/models/dynAttachment.mjs +1 -1
- package/esm2020/lib/utils/google-fonts-injector.mjs +1 -1
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +227 -205
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +226 -205
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component.d.ts +8 -8
- package/lib/components/private/add-form-field/add-form-field.component.d.ts +9 -9
- package/lib/components/private/field-templates/attachment-field-template/attachment-field-template.component.d.ts +2 -2
- package/lib/components/private/field-templates/date-field-template/date-field-template.component.d.ts +1 -1
- package/lib/components/private/field-templates/numeric-field-template/numeric-field-template.component.d.ts +2 -2
- package/lib/components/private/form-records/hlist-form-record/hlist-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/list-view-form-record/list-view-form-record.component.d.ts +2 -2
- package/lib/components/private/form-statistics/filter-form-statistic/filter-form-statistic.component.d.ts +4 -3
- package/lib/components/private/form-statistics/filter-templates/date-filter-template/date-filter-template.component.d.ts +1 -1
- package/lib/components/private/form-statistics/filter-templates/numeric-filter-template/numeric-filter-template.component.d.ts +2 -2
- package/lib/components/private/trigger-creator/trigger-creator.component.d.ts +0 -2
- package/lib/components/private/trigger-creator/trigger-templates/date-trigger-template/date-trigger-template.component.d.ts +1 -1
- package/lib/components/private/trigger-creator/trigger-templates/numeric-trigger-template/numeric-trigger-template.component.d.ts +2 -2
- package/lib/eqp-dynamic-module.module.d.ts +8 -25
- package/lib/models/dynAttachment.d.ts +2 -2
- package/package.json +6 -13
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from "@angular/core";
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from "@angular/forms";
|
|
3
3
|
import { MatDialog, MatDialogRef } from "@angular/material/dialog";
|
|
4
|
-
import { ConfigColumn,
|
|
4
|
+
import { ConfigColumn, TmwTableComponent } from "tmw-table";
|
|
5
5
|
import { BaseField } from '../../../models/baseField.model';
|
|
6
6
|
import { Context } from "../../../models/context.model";
|
|
7
7
|
import { EndPointConfiguration } from "../../../models/endPointConfiguration.model";
|
|
@@ -14,7 +14,7 @@ import { DynamicLoaderDirectiveData, eventOut } from "../../../directives/dynami
|
|
|
14
14
|
import { Trigger, ActionButton, ActionFlagEnum, FireTrigger } from '../../../models/trigger.model';
|
|
15
15
|
import { Contestualization } from "../../../models/getter.model";
|
|
16
16
|
import { FieldExtraConfig } from "../../../models/fieldExtraConfig.model";
|
|
17
|
-
import { AttachmentType,
|
|
17
|
+
import { AttachmentType, TmwAttachmentDTO } from "tmw-attachments";
|
|
18
18
|
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
19
19
|
import * as i0 from "@angular/core";
|
|
20
20
|
export declare class EqpDynamicModuleConfiguratorComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
|
|
@@ -83,8 +83,8 @@ export declare class EqpDynamicModuleConfiguratorComponent implements OnInit, Af
|
|
|
83
83
|
AttachmentType: typeof AttachmentType;
|
|
84
84
|
get previewBgStyle(): SafeStyle | null;
|
|
85
85
|
get previewThemeStyle(): SafeStyle | null;
|
|
86
|
-
get bgAttachmentList():
|
|
87
|
-
onBgImageChange(attachments:
|
|
86
|
+
get bgAttachmentList(): TmwAttachmentDTO[];
|
|
87
|
+
onBgImageChange(attachments: TmwAttachmentDTO[]): void;
|
|
88
88
|
onBgImageDelete(): void;
|
|
89
89
|
private static readonly FIELD_TYPE_LABELS;
|
|
90
90
|
private static readonly FIELD_TYPE_CSS_CLASS;
|
|
@@ -93,7 +93,7 @@ export declare class EqpDynamicModuleConfiguratorComponent implements OnInit, Af
|
|
|
93
93
|
private extractModelFromText;
|
|
94
94
|
onFormGraphicSuggest(): void;
|
|
95
95
|
fieldsColumns: Array<ConfigColumn>;
|
|
96
|
-
fieldsTable:
|
|
96
|
+
fieldsTable: TmwTableComponent;
|
|
97
97
|
selectedField: BaseField;
|
|
98
98
|
indexSelectedField: number;
|
|
99
99
|
actionOnRecordFormGroup: UntypedFormGroup;
|
|
@@ -106,13 +106,13 @@ export declare class EqpDynamicModuleConfiguratorComponent implements OnInit, Af
|
|
|
106
106
|
dialogInnerForm: TemplateRef<any>;
|
|
107
107
|
innerFormConfig: DynamicModuleConfiguratorConfig;
|
|
108
108
|
actionsOnRecordColumns: Array<ConfigColumn>;
|
|
109
|
-
actionsOnRecordTable:
|
|
109
|
+
actionsOnRecordTable: TmwTableComponent;
|
|
110
110
|
selectedAction: ActionOnRecord;
|
|
111
111
|
indexSelectedAction: number;
|
|
112
112
|
dialogActionOnRecordRef: MatDialogRef<TemplateRef<any>>;
|
|
113
113
|
dialogActionOnRecord: TemplateRef<any>;
|
|
114
114
|
actionButtonsColumns: Array<ConfigColumn>;
|
|
115
|
-
actionButtonsTable:
|
|
115
|
+
actionButtonsTable: TmwTableComponent;
|
|
116
116
|
selectedActionButton: ActionButton;
|
|
117
117
|
indexSelectedActionButton: number;
|
|
118
118
|
dialogActionButtonRef: MatDialogRef<TemplateRef<any>>;
|
|
@@ -132,7 +132,7 @@ export declare class EqpDynamicModuleConfiguratorComponent implements OnInit, Af
|
|
|
132
132
|
dialogTriggers: TemplateRef<any>;
|
|
133
133
|
selectedTrigger: Trigger;
|
|
134
134
|
triggersColumns: Array<ConfigColumn>;
|
|
135
|
-
triggersTable:
|
|
135
|
+
triggersTable: TmwTableComponent;
|
|
136
136
|
showAllFields: boolean;
|
|
137
137
|
showGraficaPanel: boolean;
|
|
138
138
|
selectedContestualization: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ChangeDetectorRef, EventEmitter, OnInit, TemplateRef } from "@angular/core";
|
|
2
2
|
import { FormControl, UntypedFormBuilder, UntypedFormGroup } from "@angular/forms";
|
|
3
3
|
import { MatDialog, MatDialogRef } from "@angular/material/dialog";
|
|
4
|
-
import { AttachmentType,
|
|
4
|
+
import { AttachmentType, TmwAttachmentsComponent, TmwAttachmentDTO } from "tmw-attachments";
|
|
5
5
|
import { EnumHelper, TmwSelectOption } from "tmw-select";
|
|
6
|
-
import { ConfigColumn } from "
|
|
6
|
+
import { ConfigColumn } from "tmw-table";
|
|
7
7
|
import { BaseField, DataGetterCardinalityEnum, FieldInvisibilityEnum, FieldTypeEnum } from "../../../models/baseField.model";
|
|
8
8
|
import { BoolPresentantioEnum } from "../../../models/fields/booleanField.model";
|
|
9
9
|
import { DateTimeTypeEnum } from "../../../models/fields/dateField.model";
|
|
@@ -139,8 +139,8 @@ export declare class AddFormFieldComponent implements OnInit {
|
|
|
139
139
|
GenericListImagesImageTemplate: TemplateRef<any>;
|
|
140
140
|
GenericListImagesKeyTemplate: TemplateRef<any>;
|
|
141
141
|
GenericListImagesValueTemplate: TemplateRef<any>;
|
|
142
|
-
imageSelectorAttachments:
|
|
143
|
-
imageAttachment:
|
|
142
|
+
imageSelectorAttachments: TmwAttachmentsComponent;
|
|
143
|
+
imageAttachment: TmwAttachmentsComponent;
|
|
144
144
|
dialogQERef: MatDialogRef<TemplateRef<any>>;
|
|
145
145
|
dialogQE: TemplateRef<any>;
|
|
146
146
|
mode: typeof ModeEnum;
|
|
@@ -342,7 +342,7 @@ export declare class AddFormFieldComponent implements OnInit {
|
|
|
342
342
|
* il valore della proprietà ContextualAttachment e la validazione del relativo FormControl.
|
|
343
343
|
* @param event Array contenente l'elenco aggiornato degli allegati caricati (nel nostro caso ne contiene al più 1).
|
|
344
344
|
*/
|
|
345
|
-
catchContextualAttachmentChange(event: Array<
|
|
345
|
+
catchContextualAttachmentChange(event: Array<TmwAttachmentDTO>): void;
|
|
346
346
|
/**
|
|
347
347
|
* Metodo invocato alla selezione di una classe nella select per le colonne di bootstrap
|
|
348
348
|
* da usare nella visualizzazione del campo. Questa funzione manipola la sorgente dati per
|
|
@@ -364,9 +364,9 @@ export declare class AddFormFieldComponent implements OnInit {
|
|
|
364
364
|
* memorizza nell'oggetto field corrente.
|
|
365
365
|
* @param attachments Array aggiornato degli allegati caricati.
|
|
366
366
|
*/
|
|
367
|
-
catchButtonImagesChange(attachments: Array<
|
|
368
|
-
catchButtonImageChange(attachments: Array<
|
|
369
|
-
catchButtonImageWithMarkersChange(attachments: Array<
|
|
367
|
+
catchButtonImagesChange(attachments: Array<TmwAttachmentDTO>): void;
|
|
368
|
+
catchButtonImageChange(attachments: Array<TmwAttachmentDTO>): void;
|
|
369
|
+
catchButtonImageWithMarkersChange(attachments: Array<TmwAttachmentDTO>): void;
|
|
370
370
|
/**
|
|
371
371
|
* Metodo chiamato al keyup degli input testuali che prevedono l'aggiunta del valore inserito in un array.
|
|
372
372
|
* Se l'utente preme il tasto invio, in base al tipo di campo che sta inserendo/modificando, questo metodo
|
|
@@ -468,7 +468,7 @@ export declare class AddFormFieldComponent implements OnInit {
|
|
|
468
468
|
private moveElement;
|
|
469
469
|
private setFieldOrdinalPosition;
|
|
470
470
|
setResizedImagesHeightPx(): void;
|
|
471
|
-
deleteListImage(el: DynAttachment, i: number, col:
|
|
471
|
+
deleteListImage(el: DynAttachment, i: number, col: ConfigColumn): void;
|
|
472
472
|
deleteImage(el: DynAttachment): void;
|
|
473
473
|
openDBGetter(): void;
|
|
474
474
|
closeQEModal(): void;
|
|
@@ -3,7 +3,7 @@ import { Record } from '../../../../models/record.model';
|
|
|
3
3
|
import { AttachmentField } from '../../../../models/fields/attachmentField.model';
|
|
4
4
|
import { IBaseFieldComponent } from '../../../../interfaces/iBaseFieldComponent.interface';
|
|
5
5
|
import { UtilityHelperService } from '../../../../services/utilityHelper.services';
|
|
6
|
-
import {
|
|
6
|
+
import { TmwAttachmentsComponent } from 'tmw-attachments';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class AttachmentFieldTemplateComponent implements OnInit, OnChanges, OnDestroy, IBaseFieldComponent, AfterViewInit {
|
|
9
9
|
utilityService: UtilityHelperService;
|
|
@@ -18,7 +18,7 @@ export declare class AttachmentFieldTemplateComponent implements OnInit, OnChang
|
|
|
18
18
|
forceState: string | null;
|
|
19
19
|
recordChange: EventEmitter<Record>;
|
|
20
20
|
onAttachmentsChange: EventEmitter<void>;
|
|
21
|
-
eqpAttachments:
|
|
21
|
+
eqpAttachments: TmwAttachmentsComponent;
|
|
22
22
|
fieldUid: string;
|
|
23
23
|
private styleEl;
|
|
24
24
|
private statusSub;
|
|
@@ -46,7 +46,7 @@ export declare class DateFieldTemplateComponent implements OnInit, OnChanges, On
|
|
|
46
46
|
setOutputFormat(): void;
|
|
47
47
|
/**
|
|
48
48
|
* In base al formato della data richiesta nel DateField (solo data, solo orario o data e ora)
|
|
49
|
-
* imposta la visualizzazione corretta del componente
|
|
49
|
+
* imposta la visualizzazione corretta del componente tmw-datetimepicker.
|
|
50
50
|
*/
|
|
51
51
|
private setTimeType;
|
|
52
52
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateFieldTemplateComponent, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { TmwNumericOptions } from 'tmw-numeric';
|
|
3
3
|
import { Record } from '../../../../models/record.model';
|
|
4
4
|
import { NumericField, NumericFieldIconPositionEnum } from '../../../../models/fields/numericField.model';
|
|
5
5
|
import { IBaseFieldComponent } from '../../../../interfaces/iBaseFieldComponent.interface';
|
|
@@ -16,7 +16,7 @@ export declare class NumericFieldTemplateComponent implements OnInit, OnChanges,
|
|
|
16
16
|
forceState: string | null;
|
|
17
17
|
recordChange: EventEmitter<Record>;
|
|
18
18
|
validatorsArray: any[];
|
|
19
|
-
eqpNumericOptions: Partial<
|
|
19
|
+
eqpNumericOptions: Partial<TmwNumericOptions>;
|
|
20
20
|
NumericFieldIconPositionEnum: typeof NumericFieldIconPositionEnum;
|
|
21
21
|
FieldstyleObj: any;
|
|
22
22
|
LabelstyleObj: any;
|
package/lib/components/private/form-records/hlist-form-record/hlist-form-record.component.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit, EventEmitter, OnChanges, SimpleChanges, ChangeDetectorRef } from "@angular/core";
|
|
2
|
-
import { ConfigColumn,
|
|
2
|
+
import { ConfigColumn, TmwTableComponent } from "tmw-table";
|
|
3
3
|
import { Form } from "../../../../models/form.model";
|
|
4
4
|
import { Record, RecordButton } from "../../../../models/record.model";
|
|
5
5
|
import { UtilityHelperService } from "../../../../services/utilityHelper.services";
|
|
@@ -24,7 +24,7 @@ export declare class HListFormRecordComponent implements OnInit, OnChanges {
|
|
|
24
24
|
actionButtons: Array<ActionButton>;
|
|
25
25
|
defaultListActions: DynamicModuleListFormRecordActionsDefault;
|
|
26
26
|
showTitle: boolean;
|
|
27
|
-
tableRecords:
|
|
27
|
+
tableRecords: TmwTableComponent;
|
|
28
28
|
columns: ConfigColumn[];
|
|
29
29
|
loadedFilters: boolean;
|
|
30
30
|
loadedTable: boolean;
|
package/lib/components/private/form-records/list-form-record/list-form-record.component.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit, EventEmitter, OnChanges, SimpleChanges, ChangeDetectorRef } from "@angular/core";
|
|
2
|
-
import { ConfigColumn,
|
|
2
|
+
import { ConfigColumn, TmwTableComponent } from "tmw-table";
|
|
3
3
|
import { Form } from "../../../../models/form.model";
|
|
4
4
|
import { DynRecord, Record, RecordButton } from "../../../../models/record.model";
|
|
5
5
|
import { UtilityHelperService } from "../../../../services/utilityHelper.services";
|
|
@@ -20,7 +20,7 @@ export declare class ListFormRecordComponent implements OnInit, OnChanges {
|
|
|
20
20
|
contestualizationParams: any;
|
|
21
21
|
defaultListActions: DynamicModuleListFormRecordActionsDefault;
|
|
22
22
|
showTitle: boolean;
|
|
23
|
-
tableRecords:
|
|
23
|
+
tableRecords: TmwTableComponent;
|
|
24
24
|
columns: ConfigColumn[];
|
|
25
25
|
loader: boolean;
|
|
26
26
|
onViewRecord: EventEmitter<Record>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit, EventEmitter, OnChanges, SimpleChanges, ChangeDetectorRef, TemplateRef } from "@angular/core";
|
|
2
|
-
import { ConfigColumn,
|
|
2
|
+
import { ConfigColumn, TmwTableComponent } from "tmw-table";
|
|
3
3
|
import { Form } from "../../../../models/form.model";
|
|
4
4
|
import { DynRecord, Record, RecordButton } from "../../../../models/record.model";
|
|
5
5
|
import { UtilityHelperService } from "../../../../services/utilityHelper.services";
|
|
@@ -56,7 +56,7 @@ export declare class ListViewFormRecordComponent implements OnInit, OnChanges {
|
|
|
56
56
|
selectedIndex: number | null;
|
|
57
57
|
visualizzaContenuto: boolean;
|
|
58
58
|
modificaContenuto: boolean;
|
|
59
|
-
tableRecords:
|
|
59
|
+
tableRecords: TmwTableComponent;
|
|
60
60
|
columns: ConfigColumn[];
|
|
61
61
|
tabellarColumns: ConfigColumn[];
|
|
62
62
|
panels: Array<Panel>;
|
|
@@ -10,7 +10,7 @@ import { EndPointConfiguration } from './../../../../models/endPointConfiguratio
|
|
|
10
10
|
import { FilterStatistic, Statistic } from '../../../../models/statistic.model';
|
|
11
11
|
import { DynamicModuleListConfig } from '../../../../models/dynamicModuleListConfig.model';
|
|
12
12
|
import { DynamicModuleListFormRecordActionsDefault } from '../../../../models/dynamicModuleListFormRecordActionsDefault';
|
|
13
|
-
import { ConfigColumn,
|
|
13
|
+
import { ConfigColumn, TmwTableComponent, TmwTableExportConfig } from 'tmw-table';
|
|
14
14
|
import { DynamicModuleFilterResultViewModeEnum } from '../../../../models/dynamicModuleFilterResultViewModeEnum.model';
|
|
15
15
|
import { ActionButton, FireTrigger } from '../../../../models/trigger.model';
|
|
16
16
|
import * as i0 from "@angular/core";
|
|
@@ -32,11 +32,11 @@ export declare class FilterFormStatisticComponent {
|
|
|
32
32
|
Statistic: FilterStatistic;
|
|
33
33
|
numberOfColumns: number;
|
|
34
34
|
fireTrigger: EventEmitter<FireTrigger>;
|
|
35
|
-
tableOutdated:
|
|
35
|
+
tableOutdated: TmwTableComponent;
|
|
36
36
|
pageSize: number;
|
|
37
37
|
pageIndex: number;
|
|
38
38
|
pageLength: Array<number>;
|
|
39
|
-
exportEqpTable:
|
|
39
|
+
exportEqpTable: TmwTableExportConfig;
|
|
40
40
|
filterResultViewModes: typeof DynamicModuleFilterResultViewModeEnum;
|
|
41
41
|
showTitle: boolean;
|
|
42
42
|
showSaveButton: boolean;
|
|
@@ -68,6 +68,7 @@ export declare class FilterFormStatisticComponent {
|
|
|
68
68
|
afterLoad(): void;
|
|
69
69
|
configureColumns(): void;
|
|
70
70
|
configureExport(): void;
|
|
71
|
+
private exportRowsAsXlsx;
|
|
71
72
|
/**
|
|
72
73
|
* Metodo invocato al cambio del valore di ogni proprietà dell'oggetto record.
|
|
73
74
|
* Serve ad aggiornare il valore di tutti i campi che hanno una formula.
|
|
@@ -30,7 +30,7 @@ export declare class DateFilterTemplateComponent {
|
|
|
30
30
|
ngOnChanges(changes: SimpleChanges): void;
|
|
31
31
|
/**
|
|
32
32
|
* In base al formato della data richiesta nel DateField (solo data, solo orario o data e ora)
|
|
33
|
-
* imposta la visualizzazione corretta del componente
|
|
33
|
+
* imposta la visualizzazione corretta del componente tmw-datetimepicker.
|
|
34
34
|
*/
|
|
35
35
|
private setTimeType;
|
|
36
36
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { TmwNumericOptions } from 'tmw-numeric';
|
|
3
3
|
import { Record } from '../../../../../models/record.model';
|
|
4
4
|
import { NumericField } from '../../../../../models/fields/numericField.model';
|
|
5
5
|
import { LogicOperatorNumeric } from '../../../../../models/logicOperator.model';
|
|
@@ -13,7 +13,7 @@ export declare class NumericFilterTemplateComponent implements OnInit {
|
|
|
13
13
|
filterResultViewMode: DynamicModuleFilterResultViewModeEnum;
|
|
14
14
|
filterChange: EventEmitter<any>;
|
|
15
15
|
validatorsArray: any[];
|
|
16
|
-
eqpNumericOptions: Partial<
|
|
16
|
+
eqpNumericOptions: Partial<TmwNumericOptions>;
|
|
17
17
|
logicOperatorNumeric: typeof LogicOperatorNumeric;
|
|
18
18
|
selectedLogicOperator: LogicOperatorNumeric;
|
|
19
19
|
activeCondition: boolean;
|
|
@@ -2,7 +2,6 @@ import { EventEmitter, TemplateRef } from '@angular/core';
|
|
|
2
2
|
import { Form } from '../../../models/form.model';
|
|
3
3
|
import { Condition, Trigger, TriggerCondition, TriggerPropertyTypeEnum } from '../../../models/trigger.model';
|
|
4
4
|
import { BaseField, FieldTypeEnum } from '../../../models/baseField.model';
|
|
5
|
-
import { PickerModeEnum } from '@eqproject/eqp-datetimepicker';
|
|
6
5
|
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
7
6
|
import { EndPointConfiguration } from '../../../models/endPointConfiguration.model';
|
|
8
7
|
import { UtilityHelperService } from '../../../services/utilityHelper.services';
|
|
@@ -20,7 +19,6 @@ export declare class TriggerCreatorComponent {
|
|
|
20
19
|
selectedFormula: any;
|
|
21
20
|
formulaKeys: Array<any>;
|
|
22
21
|
formulaFieldsStructure: Array<any>;
|
|
23
|
-
pickerModeEnum: typeof PickerModeEnum;
|
|
24
22
|
triggerPropertyType: typeof TriggerPropertyTypeEnum;
|
|
25
23
|
dialogFormulaRef: MatDialogRef<TemplateRef<any>>;
|
|
26
24
|
dialogFormula: TemplateRef<any>;
|
|
@@ -21,7 +21,7 @@ export declare class DateTriggerTemplateComponent {
|
|
|
21
21
|
ngOnInit(): void;
|
|
22
22
|
/**
|
|
23
23
|
* In base al formato della data richiesta nel DateField (solo data, solo orario o data e ora)
|
|
24
|
-
* imposta la visualizzazione corretta del componente
|
|
24
|
+
* imposta la visualizzazione corretta del componente tmw-datetimepicker.
|
|
25
25
|
*/
|
|
26
26
|
private setTimeType;
|
|
27
27
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { TmwNumericOptions } from 'tmw-numeric';
|
|
3
3
|
import { NumericField } from '../../../../../models/fields/numericField.model';
|
|
4
4
|
import { LogicOperatorNumeric } from '../../../../../models/logicOperator.model';
|
|
5
5
|
import { TriggerCondition, BooleanLogicOperatorType } from '../../../../../models/trigger.model';
|
|
@@ -8,7 +8,7 @@ export declare class NumericTriggerTemplateComponent implements OnInit {
|
|
|
8
8
|
condition: TriggerCondition;
|
|
9
9
|
triggerChange: EventEmitter<any>;
|
|
10
10
|
validatorsArray: any[];
|
|
11
|
-
eqpNumericOptions: Partial<
|
|
11
|
+
eqpNumericOptions: Partial<TmwNumericOptions>;
|
|
12
12
|
logicOperatorNumeric: typeof LogicOperatorNumeric;
|
|
13
13
|
selectedLogicOperator: LogicOperatorNumeric;
|
|
14
14
|
activeCondition: boolean;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { EqpNumericInputMode } from '@eqproject/eqp-numeric';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
import * as i1 from "./components/exported/eqp-dynamic-module/eqp-dynamic-module.component";
|
|
4
3
|
import * as i2 from "./components/exported/eqp-dynamic-module-configurator/eqp-dynamic-module-configurator.component";
|
|
@@ -59,32 +58,16 @@ import * as i56 from "./components/private/dbg-templates/list-value-dbg-template
|
|
|
59
58
|
import * as i57 from "./modules/material.module";
|
|
60
59
|
import * as i58 from "@angular/forms";
|
|
61
60
|
import * as i59 from "@angular/common";
|
|
62
|
-
import * as i60 from "
|
|
63
|
-
import * as i61 from "
|
|
61
|
+
import * as i60 from "tmw-table";
|
|
62
|
+
import * as i61 from "tmw-attachments";
|
|
64
63
|
import * as i62 from "tmw-select";
|
|
65
|
-
import * as i63 from "
|
|
66
|
-
import * as i64 from "
|
|
67
|
-
import * as i65 from "@
|
|
68
|
-
import * as i66 from "@angular
|
|
69
|
-
import * as i67 from "
|
|
70
|
-
import * as i68 from "@canvasjs/angular-stockcharts";
|
|
71
|
-
import * as i69 from "tmw-picker";
|
|
72
|
-
export declare const customNumericMaskConfig: {
|
|
73
|
-
align: string;
|
|
74
|
-
allowNegative: boolean;
|
|
75
|
-
allowZero: boolean;
|
|
76
|
-
decimal: string;
|
|
77
|
-
precision: number;
|
|
78
|
-
prefix: string;
|
|
79
|
-
suffix: string;
|
|
80
|
-
thousands: string;
|
|
81
|
-
nullable: boolean;
|
|
82
|
-
min: any;
|
|
83
|
-
max: any;
|
|
84
|
-
inputMode: EqpNumericInputMode;
|
|
85
|
-
};
|
|
64
|
+
import * as i63 from "tmw-numeric";
|
|
65
|
+
import * as i64 from "tmw-icons";
|
|
66
|
+
import * as i65 from "@angular/cdk/drag-drop";
|
|
67
|
+
import * as i66 from "@canvasjs/angular-stockcharts";
|
|
68
|
+
import * as i67 from "tmw-picker";
|
|
86
69
|
export declare class EqpDynamicModuleModule {
|
|
87
70
|
static ɵfac: i0.ɵɵFactoryDeclaration<EqpDynamicModuleModule, never>;
|
|
88
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<EqpDynamicModuleModule, [typeof i1.EqpDynamicModuleComponent, typeof i2.EqpDynamicModuleConfiguratorComponent, typeof i3.AddFormFieldComponent, typeof i4.TextFieldTemplateComponent, typeof i5.BooleanFieldTemplateComponent, typeof i6.DateFieldTemplateComponent, typeof i7.TextareaFieldTemplateComponent, typeof i8.NumericFieldTemplateComponent, typeof i9.ListValueFieldTemplateComponent, typeof i10.AttachmentFieldTemplateComponent, typeof i11.ImageFieldTemplateComponent, typeof i12.ListFormRecordComponent, typeof i13.HListFormRecordComponent, typeof i14.ListViewFormRecordComponent, typeof i15.AddFormRecordComponent, typeof i16.ViewFormRecordComponent, typeof i17.DynamicModuleFieldFixComponent, typeof i18.SpinnerComponent, typeof i19.AddFormulaComponent, typeof i19.DialogDataExampleDialog, typeof i20.RepairFormFieldsComponent, typeof i21.SingleRecordComponent, typeof i22.FilterFormStatisticComponent, typeof i23.DynamicModuleFilterFixComponent, typeof i24.DynamicModuleTriggerFixComponent, typeof i25.TextFilterTemplateComponent, typeof i26.NumericFilterTemplateComponent, typeof i27.BooleanFilterTemplateComponent, typeof i28.DateFilterTemplateComponent, typeof i29.ListValueFilterTemplateComponent, typeof i30.TextareaFilterTemplateComponent, typeof i31.AttachmentFilterTemplateComponent, typeof i32.ImageFilterTemplateComponent, typeof i33.ListFormRecordFilterTemplateComponent, typeof i34.GraphsComponent, typeof i35.GraphComponent, typeof i36.ImageFieldSelectorTemplateComponent, typeof i37.LabelFieldTemplateComponent, typeof i38.ImageSelectorFilterTemplateComponent, typeof i39.TmwImageDrawerComponent, typeof i40.ImageWithMarkersFieldTemplateComponent, typeof i41.TmwImageMarkerComponent, typeof i42.DynamicLoaderDirective, typeof i43.DbgetterComponent, typeof i44.TriggerCreatorComponent, typeof i45.TextTriggerTemplateComponent, typeof i46.NumericTriggerTemplateComponent, typeof i47.BooleanTriggerTemplateComponent, typeof i48.DateTriggerTemplateComponent, typeof i49.ListValueTriggerTemplateComponent, typeof i50.TextareaTriggerTemplateComponent, typeof i51.ListFormRecordTriggerTemplateComponent, typeof i52.SpeechToTextDirective, typeof i53.ActionButtonCreatorComponent, typeof i54.ActionButtonFieldTemplateComponent, typeof i55.DynamicModuleFieldExtraFixComponent, typeof i56.ListValueDbgTemplateComponent], [typeof i57.MaterialModule, typeof i58.FormsModule, typeof i59.CommonModule, typeof i58.ReactiveFormsModule, typeof i60.
|
|
71
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<EqpDynamicModuleModule, [typeof i1.EqpDynamicModuleComponent, typeof i2.EqpDynamicModuleConfiguratorComponent, typeof i3.AddFormFieldComponent, typeof i4.TextFieldTemplateComponent, typeof i5.BooleanFieldTemplateComponent, typeof i6.DateFieldTemplateComponent, typeof i7.TextareaFieldTemplateComponent, typeof i8.NumericFieldTemplateComponent, typeof i9.ListValueFieldTemplateComponent, typeof i10.AttachmentFieldTemplateComponent, typeof i11.ImageFieldTemplateComponent, typeof i12.ListFormRecordComponent, typeof i13.HListFormRecordComponent, typeof i14.ListViewFormRecordComponent, typeof i15.AddFormRecordComponent, typeof i16.ViewFormRecordComponent, typeof i17.DynamicModuleFieldFixComponent, typeof i18.SpinnerComponent, typeof i19.AddFormulaComponent, typeof i19.DialogDataExampleDialog, typeof i20.RepairFormFieldsComponent, typeof i21.SingleRecordComponent, typeof i22.FilterFormStatisticComponent, typeof i23.DynamicModuleFilterFixComponent, typeof i24.DynamicModuleTriggerFixComponent, typeof i25.TextFilterTemplateComponent, typeof i26.NumericFilterTemplateComponent, typeof i27.BooleanFilterTemplateComponent, typeof i28.DateFilterTemplateComponent, typeof i29.ListValueFilterTemplateComponent, typeof i30.TextareaFilterTemplateComponent, typeof i31.AttachmentFilterTemplateComponent, typeof i32.ImageFilterTemplateComponent, typeof i33.ListFormRecordFilterTemplateComponent, typeof i34.GraphsComponent, typeof i35.GraphComponent, typeof i36.ImageFieldSelectorTemplateComponent, typeof i37.LabelFieldTemplateComponent, typeof i38.ImageSelectorFilterTemplateComponent, typeof i39.TmwImageDrawerComponent, typeof i40.ImageWithMarkersFieldTemplateComponent, typeof i41.TmwImageMarkerComponent, typeof i42.DynamicLoaderDirective, typeof i43.DbgetterComponent, typeof i44.TriggerCreatorComponent, typeof i45.TextTriggerTemplateComponent, typeof i46.NumericTriggerTemplateComponent, typeof i47.BooleanTriggerTemplateComponent, typeof i48.DateTriggerTemplateComponent, typeof i49.ListValueTriggerTemplateComponent, typeof i50.TextareaTriggerTemplateComponent, typeof i51.ListFormRecordTriggerTemplateComponent, typeof i52.SpeechToTextDirective, typeof i53.ActionButtonCreatorComponent, typeof i54.ActionButtonFieldTemplateComponent, typeof i55.DynamicModuleFieldExtraFixComponent, typeof i56.ListValueDbgTemplateComponent], [typeof i57.MaterialModule, typeof i58.FormsModule, typeof i59.CommonModule, typeof i58.ReactiveFormsModule, typeof i60.TmwTableComponent, typeof i61.TmwAttachmentsComponent, typeof i62.TmwSelectComponent, typeof i63.TmwNumericMaskDirective, typeof i64.TmwIconComponent, typeof i65.DragDropModule, typeof i66.CanvasJSAngularStockChartsModule, typeof i67.TmwDateTimePickerComponent, typeof i67.TmwPickerComponent, typeof i67.TmwDateRangePickerComponent], [typeof i1.EqpDynamicModuleComponent, typeof i2.EqpDynamicModuleConfiguratorComponent, typeof i65.DragDropModule, typeof i66.CanvasJSChart, typeof i66.CanvasJSStockChart, typeof i42.DynamicLoaderDirective, typeof i67.TmwDateTimePickerComponent, typeof i67.TmwPickerComponent, typeof i67.TmwDateRangePickerComponent]>;
|
|
89
72
|
static ɵinj: i0.ɵɵInjectorDeclaration<EqpDynamicModuleModule>;
|
|
90
73
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AttachmentType,
|
|
2
|
-
export declare class DynAttachment implements
|
|
1
|
+
import { AttachmentType, TmwAttachmentDTO } from "tmw-attachments";
|
|
2
|
+
export declare class DynAttachment implements TmwAttachmentDTO {
|
|
3
3
|
ID: number | string;
|
|
4
4
|
FileName?: string;
|
|
5
5
|
FileContentType?: string;
|
package/package.json
CHANGED
|
@@ -4,39 +4,32 @@
|
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "EqProject"
|
|
6
6
|
},
|
|
7
|
-
"version": "2.10.
|
|
7
|
+
"version": "2.10.101",
|
|
8
8
|
"peerDependencies": {
|
|
9
|
-
"@angular-material-components/datetime-picker": "^15.0.0",
|
|
10
|
-
"@angular-material-components/moment-adapter": "^15.0.0",
|
|
11
9
|
"@angular/cdk": "^15.1.2",
|
|
12
10
|
"@angular/common": "^15.1.2",
|
|
13
11
|
"@angular/core": "^15.1.2",
|
|
14
12
|
"@angular/material": "^15.1.2",
|
|
15
13
|
"@angular/material-luxon-adapter": "^15.2.9",
|
|
16
|
-
"moment": "^2.29.4",
|
|
17
14
|
"sweetalert2": "^11.4.24"
|
|
18
15
|
},
|
|
19
16
|
"dependencies": {
|
|
20
17
|
"@canvasjs/angular-stockcharts": "^1.1.0",
|
|
21
18
|
"@canvasjs/stockcharts": "^1.7.39",
|
|
22
|
-
"@eqproject/eqp-attachments": "2.1.3",
|
|
23
|
-
"@eqproject/eqp-filters": "2.0.3",
|
|
24
|
-
"@eqproject/eqp-numeric": "2.0.1",
|
|
25
|
-
"@eqproject/eqp-table": "2.5.9",
|
|
26
19
|
"acorn": "^8.15.0",
|
|
27
|
-
"browser-image-compression": "^1.0.15",
|
|
28
20
|
"fabric": "^5.5.2",
|
|
29
|
-
"luxon": "^3.7.2",
|
|
30
|
-
"ngx-image-cropper": "^6.3.2",
|
|
31
|
-
"ngx-mat-select-search": "^7.0.1",
|
|
32
21
|
"simple-statistics": "^7.8.3",
|
|
22
|
+
"tmw-attachments": "^0.1.7",
|
|
23
|
+
"tmw-icons": "^0.1.1",
|
|
24
|
+
"tmw-numeric": "^0.1.1",
|
|
33
25
|
"tmw-picker": "^1.2.5",
|
|
34
26
|
"tmw-select": "^0.1.12",
|
|
27
|
+
"tmw-table": "^0.1.13",
|
|
28
|
+
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
|
|
35
29
|
"tslib": "^2.4.0"
|
|
36
30
|
},
|
|
37
31
|
"sideEffects": true,
|
|
38
32
|
"overrides": {
|
|
39
|
-
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
|
|
40
33
|
"dompurify": "^3.2.4",
|
|
41
34
|
"jspdf": "^4.2.1",
|
|
42
35
|
"jspdf-autotable": "3.8.3",
|