@eqproject/eqp-dynamic-module 2.4.2 → 2.4.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/esm2020/lib/components/private/add-form-field/add-form-field.component.mjs +7 -3
- package/esm2020/lib/components/private/field-templates/image-field-template/image-field-template.component.mjs +17 -8
- package/esm2020/lib/eqp-dynamic-module.module.mjs +6 -2
- package/esm2020/lib/models/fields/imageField.model.mjs +2 -1
- package/esm2020/lib/services/eqp-dynamic-module-dialog.service.mjs +37 -35
- package/fesm2015/eqproject-eqp-dynamic-module.mjs +70 -50
- package/fesm2015/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/fesm2020/eqproject-eqp-dynamic-module.mjs +70 -50
- package/fesm2020/eqproject-eqp-dynamic-module.mjs.map +1 -1
- package/lib/components/private/field-templates/image-field-template/image-field-template.component.d.ts +4 -2
- package/lib/eqp-dynamic-module.module.d.ts +4 -3
- package/lib/models/fields/imageField.model.d.ts +1 -0
- package/lib/services/eqp-dynamic-module-dialog.service.d.ts +12 -5
- package/package.json +1 -1
|
@@ -12,11 +12,12 @@ export declare class ImageFieldTemplateComponent implements OnInit, OnChanges, I
|
|
|
12
12
|
record: Record;
|
|
13
13
|
field: ImageField;
|
|
14
14
|
recordChange: EventEmitter<Record>;
|
|
15
|
+
imageWidth: number;
|
|
15
16
|
width: any;
|
|
16
17
|
height: any;
|
|
17
18
|
i18n: I18nInterface;
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
dialogImageDrawingRef: MatDialogRef<TemplateRef<any>>;
|
|
20
|
+
dialogImageDrawing: TemplateRef<any>;
|
|
20
21
|
constructor(dialog: MatDialog, utilityService: UtilityHelperService);
|
|
21
22
|
ngOnInit(): void;
|
|
22
23
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -60,6 +61,7 @@ export declare class ImageFieldTemplateComponent implements OnInit, OnChanges, I
|
|
|
60
61
|
* Metodo per emettere l'evento che il valore del record è cambiato.
|
|
61
62
|
*/
|
|
62
63
|
private onRecordValueChange;
|
|
64
|
+
openDraw(): void;
|
|
63
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageFieldTemplateComponent, never>;
|
|
64
66
|
static ɵcmp: i0.ɵɵComponentDeclaration<ImageFieldTemplateComponent, "image-field-template", never, { "record": "record"; "field": "field"; }, { "recordChange": "recordChange"; }, never, never, false, never>;
|
|
65
67
|
}
|
|
@@ -45,8 +45,9 @@ import * as i42 from "@eqproject/eqp-attachments";
|
|
|
45
45
|
import * as i43 from "@eqproject/eqp-select";
|
|
46
46
|
import * as i44 from "@eqproject/eqp-datetimepicker";
|
|
47
47
|
import * as i45 from "@eqproject/eqp-filters";
|
|
48
|
-
import * as i46 from "@eqproject/eqp-
|
|
49
|
-
import * as i47 from "@
|
|
48
|
+
import * as i46 from "@eqproject/eqp-img-drawing";
|
|
49
|
+
import * as i47 from "@eqproject/eqp-numeric";
|
|
50
|
+
import * as i48 from "@canvasjs/angular-stockcharts";
|
|
50
51
|
export declare const customNumericMaskConfig: {
|
|
51
52
|
align: string;
|
|
52
53
|
allowNegative: boolean;
|
|
@@ -63,6 +64,6 @@ export declare const customNumericMaskConfig: {
|
|
|
63
64
|
};
|
|
64
65
|
export declare class EqpDynamicModuleModule {
|
|
65
66
|
static ɵfac: i0.ɵɵFactoryDeclaration<EqpDynamicModuleModule, never>;
|
|
66
|
-
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.ListViewFormRecordComponent, typeof i14.AddFormRecordComponent, typeof i15.ViewFormRecordComponent, typeof i16.DynamicModuleFieldComponent, 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.TextFilterTemplateComponent, typeof i25.NumericFilterTemplateComponent, typeof i26.BooleanFilterTemplateComponent, typeof i27.DateFilterTemplateComponent, typeof i28.ListValueFilterTemplateComponent, typeof i29.TextareaFilterTemplateComponent, typeof i30.AttachmentFilterTemplateComponent, typeof i31.ImageFilterTemplateComponent, typeof i32.ListFormRecordFilterTemplateComponent, typeof i33.GraphsComponent, typeof i34.GraphComponent, typeof i35.ImageFieldSelectorTemplateComponent, typeof i36.LabelFieldTemplateComponent, typeof i37.ImageSelectorFilterTemplateComponent], [typeof i38.MaterialModule, typeof i39.FormsModule, typeof i40.CommonModule, typeof i39.ReactiveFormsModule, typeof i41.EqpTableModule, typeof i42.EqpAttachmentsModule, typeof i43.EqpSelectModule, typeof i44.EqpDatetimepickerModule, typeof i45.EqpFiltersModule, typeof i46.
|
|
67
|
+
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.ListViewFormRecordComponent, typeof i14.AddFormRecordComponent, typeof i15.ViewFormRecordComponent, typeof i16.DynamicModuleFieldComponent, 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.TextFilterTemplateComponent, typeof i25.NumericFilterTemplateComponent, typeof i26.BooleanFilterTemplateComponent, typeof i27.DateFilterTemplateComponent, typeof i28.ListValueFilterTemplateComponent, typeof i29.TextareaFilterTemplateComponent, typeof i30.AttachmentFilterTemplateComponent, typeof i31.ImageFilterTemplateComponent, typeof i32.ListFormRecordFilterTemplateComponent, typeof i33.GraphsComponent, typeof i34.GraphComponent, typeof i35.ImageFieldSelectorTemplateComponent, typeof i36.LabelFieldTemplateComponent, typeof i37.ImageSelectorFilterTemplateComponent], [typeof i38.MaterialModule, typeof i39.FormsModule, typeof i40.CommonModule, typeof i39.ReactiveFormsModule, typeof i41.EqpTableModule, typeof i42.EqpAttachmentsModule, typeof i43.EqpSelectModule, typeof i44.EqpDatetimepickerModule, typeof i45.EqpFiltersModule, typeof i46.EqpImgDrawingModule, typeof i47.EqpNumericModule, typeof i48.CanvasJSAngularStockChartsModule], [typeof i1.EqpDynamicModuleComponent, typeof i2.EqpDynamicModuleConfiguratorComponent, typeof i48.CanvasJSChart, typeof i48.CanvasJSStockChart]>;
|
|
67
68
|
static ɵinj: i0.ɵɵInjectorDeclaration<EqpDynamicModuleModule>;
|
|
68
69
|
}
|
|
@@ -14,12 +14,19 @@ export declare class EqpDynamicModuleDialogService {
|
|
|
14
14
|
*/
|
|
15
15
|
static Error(message: string | string[], title?: string): void;
|
|
16
16
|
/**
|
|
17
|
-
* Mostra uno sweetalert di tipo CONFIRM con il messaggio passato come parametro
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* @param
|
|
17
|
+
* Mostra uno sweetalert di tipo CONFIRM con il messaggio passato come parametro.
|
|
18
|
+
* Alla pressione del tasto CONFERMA viene invocata la funzione confirmCallback.
|
|
19
|
+
* Se viene passata anche la funzione cancellCallback viene invocata quando viene premuto il tasto ANNULLA
|
|
20
|
+
* @param message Messaggio da mostrare nello sweetalert (può contenere una lista di messaggi)
|
|
21
|
+
* @param confirmCallback Funzione di callback da invocare quando viene premuto il tasto CONFERMA
|
|
22
|
+
* @param isWarning Se TRUE allora utilizza l'icona di WARNING all'interno dello sweetalert
|
|
23
|
+
* @param title Titolo dello sweetalert (di default mostra 'Sei sicuro di voler procedere?')
|
|
24
|
+
* @param customWidth Larghezza da impostare per lo sweetalert (default: 32rem)
|
|
25
|
+
* @param cancelCallback Funzione di callback da invocare alla pressione del tasto ANNULLA (opzionale)
|
|
26
|
+
* @param confirmButtonText Testo da mostrare nel pulsante di conferma (default: Conferma)
|
|
27
|
+
* @param cancelButtonText Testo da mostrare nel pulsante di annulla (default: Chiudi)
|
|
21
28
|
*/
|
|
22
|
-
static Confirm(message: string | string[], confirmCallback: any, isWarning?: boolean, title?: string, customWidth?: string): void;
|
|
29
|
+
static Confirm(message: string | string[], confirmCallback: any, isWarning?: boolean, title?: string, customWidth?: string, cancelCallback?: any, confirmButtonText?: string, cancelButtonText?: string, haveDenyButton?: boolean, denyButtonText?: string, denyCallback?: any, allowOutsideClick?: boolean): void;
|
|
23
30
|
/**
|
|
24
31
|
* Mostra uno sweetalert di tipo INFO con il messaggio passato come parametro
|
|
25
32
|
* @param message Messaggio da mostrare nello sweetalert
|