@suntelecoms/ngx-dynamic-form 1.3.0 → 1.3.2
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.
|
@@ -9,7 +9,9 @@ export declare class MesFormulairesComponent {
|
|
|
9
9
|
/** Route du lien "Retour" */
|
|
10
10
|
backRoute: string;
|
|
11
11
|
private formService;
|
|
12
|
+
private snack;
|
|
12
13
|
readonly savedForms: import("@angular/core").Signal<SavedFormSchema[]>;
|
|
14
|
+
readonly loadError: import("@angular/core").WritableSignal<string | null>;
|
|
13
15
|
selectedId: import("@angular/core").WritableSignal<string | null>;
|
|
14
16
|
submitted: import("@angular/core").WritableSignal<boolean>;
|
|
15
17
|
submitData: import("@angular/core").WritableSignal<Record<string, unknown>>;
|
|
@@ -20,6 +22,7 @@ export declare class MesFormulairesComponent {
|
|
|
20
22
|
selectForm(id: string): void;
|
|
21
23
|
onSubmit(event: DynamicFormSubmitEvent): void;
|
|
22
24
|
resetForm(): void;
|
|
25
|
+
retry(): void;
|
|
23
26
|
deleteForm(id: string, e: Event): void;
|
|
24
27
|
formatDate(iso: string): string;
|
|
25
28
|
fieldCount(config: AnyFormConfig): number;
|
|
@@ -5,7 +5,10 @@ export declare class FormConfigService {
|
|
|
5
5
|
private adapter;
|
|
6
6
|
private _schemas;
|
|
7
7
|
readonly schemas: import("@angular/core").Signal<SavedFormSchema[]>;
|
|
8
|
+
readonly loadError: import("@angular/core").WritableSignal<string | null>;
|
|
8
9
|
constructor();
|
|
10
|
+
reload(): void;
|
|
11
|
+
private _load;
|
|
9
12
|
get(id: string): SavedFormSchema | null;
|
|
10
13
|
getByCode(code: string): SavedFormSchema | null;
|
|
11
14
|
create(code: string, title: string, config: AnyFormConfig): Observable<SavedFormSchema>;
|
package/package.json
CHANGED