@corp-products/ui-components 3.6.8 → 3.6.9
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/index.d.ts
CHANGED
|
@@ -395,7 +395,8 @@ declare enum FormFieldTypeEnum {
|
|
|
395
395
|
SELECT = "select",
|
|
396
396
|
SWITCH = "switch",
|
|
397
397
|
AUTO_COMPLETE = "auto-complete",
|
|
398
|
-
HIJRI_DATE_PICKER = "hijri-date"
|
|
398
|
+
HIJRI_DATE_PICKER = "hijri-date",
|
|
399
|
+
UPLOAD_FILE = "upload-file"
|
|
399
400
|
}
|
|
400
401
|
|
|
401
402
|
declare class ConfirmationDialogComponent extends DynamicDialogRef implements OnInit, OnDestroy {
|
|
@@ -405,10 +406,13 @@ declare class ConfirmationDialogComponent extends DynamicDialogRef implements On
|
|
|
405
406
|
private readonly _ref;
|
|
406
407
|
private readonly _subscription;
|
|
407
408
|
dialogFormData: DynamicFormData;
|
|
409
|
+
uploadedFile: any;
|
|
408
410
|
ngOnDestroy(): void;
|
|
409
411
|
ngOnInit(): void;
|
|
410
412
|
submit(): void;
|
|
411
413
|
close(): void;
|
|
414
|
+
onPopFilesUploaded(file: any): void;
|
|
415
|
+
onFileDeleted(file: any): void;
|
|
412
416
|
static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDialogComponent, never>;
|
|
413
417
|
static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationDialogComponent, "app-confirm-dialog", never, {}, {}, never, never, true, never>;
|
|
414
418
|
}
|
|
@@ -456,14 +460,21 @@ declare class DynamicFormComponent implements OnInit {
|
|
|
456
460
|
name: string;
|
|
457
461
|
event: any;
|
|
458
462
|
}>;
|
|
463
|
+
popUpFilesUploaded: EventEmitter<any>;
|
|
464
|
+
fileDeleted: EventEmitter<{
|
|
465
|
+
fileId: string;
|
|
466
|
+
isNew: boolean;
|
|
467
|
+
}>;
|
|
459
468
|
inputsNames: string[];
|
|
460
469
|
formGroup: FormGroup;
|
|
461
470
|
inputsMap: InputsMap;
|
|
462
471
|
readonly fieldType: typeof FormFieldTypeEnum;
|
|
463
472
|
getFormControl: typeof FormUtils.getFormControl;
|
|
464
473
|
ngOnInit(): void;
|
|
474
|
+
onFilesUploaded(file: any): void;
|
|
475
|
+
onFileDeleted(file: any): void;
|
|
465
476
|
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicFormComponent, never>;
|
|
466
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormComponent, "app-dynamic-form", never, { "dynamicFormData": { "alias": "dynamicFormData"; "required": true; }; }, { "selectButtonChange": "selectButtonChange"; "selectChange": "selectChange"; "switchChange": "switchChange"; "autoCompleteSearch": "autoCompleteSearch"; "autoCompleteSelect": "autoCompleteSelect"; }, never, never, true, never>;
|
|
477
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DynamicFormComponent, "app-dynamic-form", never, { "dynamicFormData": { "alias": "dynamicFormData"; "required": true; }; }, { "selectButtonChange": "selectButtonChange"; "selectChange": "selectChange"; "switchChange": "switchChange"; "autoCompleteSearch": "autoCompleteSearch"; "autoCompleteSelect": "autoCompleteSelect"; "popUpFilesUploaded": "popUpFilesUploaded"; "fileDeleted": "fileDeleted"; }, never, never, true, never>;
|
|
467
478
|
}
|
|
468
479
|
|
|
469
480
|
declare class UserAutocompleteCardComponent {
|