@sotoa-ui/dynamic-form 0.0.2 → 0.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/package.json
CHANGED
|
@@ -493,8 +493,8 @@ interface AcDynamicForm {
|
|
|
493
493
|
validations?: AcValidator[];
|
|
494
494
|
}
|
|
495
495
|
interface AcButton {
|
|
496
|
-
type:
|
|
497
|
-
matButtonType?:
|
|
496
|
+
type: AcButtonType;
|
|
497
|
+
matButtonType?: AcMaterialButtonType;
|
|
498
498
|
matIcon?: string;
|
|
499
499
|
className?: string;
|
|
500
500
|
label?: string;
|
|
@@ -511,7 +511,7 @@ interface AcDynamicFormModal {
|
|
|
511
511
|
initialObject?: any;
|
|
512
512
|
validations?: AcValidator[];
|
|
513
513
|
updateOn?: 'change' | 'blur' | 'submit';
|
|
514
|
-
buttons?:
|
|
514
|
+
buttons?: AcModalFormButton[];
|
|
515
515
|
className?: {
|
|
516
516
|
form?: string;
|
|
517
517
|
formContent?: string;
|
|
@@ -520,7 +520,7 @@ interface AcDynamicFormModal {
|
|
|
520
520
|
}
|
|
521
521
|
interface AcModalFormButton {
|
|
522
522
|
type: AcButtonType;
|
|
523
|
-
matButtonType?:
|
|
523
|
+
matButtonType?: AcMaterialButtonType;
|
|
524
524
|
matIcon?: string;
|
|
525
525
|
className?: string;
|
|
526
526
|
label?: string;
|
|
@@ -583,6 +583,20 @@ declare class AcMaterialDynamicFormComponent {
|
|
|
583
583
|
static ɵcmp: i0.ɵɵComponentDeclaration<AcMaterialDynamicFormComponent, "sot-material-dynamic-form", ["dynamicForm"], { "config": { "alias": "config"; "required": true; "isSignal": true; }; "initialValues": { "alias": "initialValues"; "required": false; "isSignal": true; }; }, { "formCancel": "formCancel"; "formSubmit": "formSubmit"; "formChange": "formChange"; }, never, never, true, never>;
|
|
584
584
|
}
|
|
585
585
|
|
|
586
|
+
declare class AcMaterialDynamicFormModalComponent implements OnInit {
|
|
587
|
+
private dialogRef;
|
|
588
|
+
private dynamicFormService;
|
|
589
|
+
data: AcDynamicFormModal;
|
|
590
|
+
status?: 'OK' | 'ERROR';
|
|
591
|
+
message?: string;
|
|
592
|
+
get form(): FormGroup | undefined;
|
|
593
|
+
constructor();
|
|
594
|
+
ngOnInit(): void;
|
|
595
|
+
onClickButton(button: AcModalFormButton): void;
|
|
596
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AcMaterialDynamicFormModalComponent, never>;
|
|
597
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AcMaterialDynamicFormModalComponent, "ac-dynamic-form-modal", never, {}, {}, never, never, true, never>;
|
|
598
|
+
}
|
|
599
|
+
|
|
586
600
|
declare class AcDsfrDynamicFormComponent {
|
|
587
601
|
private readonly dynamicFormService;
|
|
588
602
|
private readonly destroyRef;
|
|
@@ -639,5 +653,5 @@ declare class AcClassicDynamicFormComponent {
|
|
|
639
653
|
static ɵcmp: i0.ɵɵComponentDeclaration<AcClassicDynamicFormComponent, "sot-classic-dynamic-form", ["dynamicForm"], { "config": { "alias": "config"; "required": true; "isSignal": true; }; "initialValues": { "alias": "initialValues"; "required": false; "isSignal": true; }; }, { "formCancel": "formCancel"; "formSubmit": "formSubmit"; "formChange": "formChange"; }, never, never, true, never>;
|
|
640
654
|
}
|
|
641
655
|
|
|
642
|
-
export { AbstractControlFieldComponent, AbstractFieldComponent, AcClassicDynamicFormComponent, AcDsfrDynamicFormComponent, AcMaterialDynamicFormComponent, AutocompleteAttribute, ConditionsService, DynamicFormService };
|
|
656
|
+
export { AbstractControlFieldComponent, AbstractFieldComponent, AcClassicDynamicFormComponent, AcDsfrDynamicFormComponent, AcMaterialDynamicFormComponent, AcMaterialDynamicFormModalComponent, AutocompleteAttribute, ConditionsService, DynamicFormService };
|
|
643
657
|
export type { AbstractControlConfig, AbstractFieldConfig, AcAffix, AcArrayConfig, AcBadgeOptions, AcButton, AcButtonType, AcControlConfig, AcDynamicForm, AcDynamicFormModal, AcField, AcFieldCheckboxConfig, AcFieldConfig, AcFieldCustomConfig, AcFieldInputConfig, AcFieldPasswordConfig, AcFieldRadioButtonConfig, AcFieldSelectConfig, AcFieldTextareaConfig, AcFieldToggleConfig, AcGroupConfig, AcMaterialButtonType, AcModalFormButton, AcModalFormResponse, AcRowConfig, AcTextConfig, AcValidator, DynamicFormData, MatIconConfig, PathArrayInstance, UpdateOnType };
|