@ng-formworks/core 17.4.0 → 17.5.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.
- package/esm2022/lib/framework-library/framework-library.service.mjs +9 -12
- package/esm2022/lib/framework-library/no-framework.component.mjs +10 -11
- package/esm2022/lib/json-schema-form.component.mjs +151 -157
- package/esm2022/lib/json-schema-form.service.mjs +66 -50
- package/esm2022/lib/shared/form-group.functions.mjs +22 -19
- package/esm2022/lib/widget-library/add-reference.component.mjs +19 -22
- package/esm2022/lib/widget-library/button.component.mjs +18 -21
- package/esm2022/lib/widget-library/checkbox.component.mjs +25 -28
- package/esm2022/lib/widget-library/checkboxes.component.mjs +23 -25
- package/esm2022/lib/widget-library/file.component.mjs +12 -15
- package/esm2022/lib/widget-library/hidden.component.mjs +18 -21
- package/esm2022/lib/widget-library/input.component.mjs +35 -38
- package/esm2022/lib/widget-library/message.component.mjs +14 -17
- package/esm2022/lib/widget-library/none.component.mjs +9 -10
- package/esm2022/lib/widget-library/number.component.mjs +32 -35
- package/esm2022/lib/widget-library/one-of.component.mjs +12 -15
- package/esm2022/lib/widget-library/orderable.directive.mjs +21 -24
- package/esm2022/lib/widget-library/radios.component.mjs +31 -33
- package/esm2022/lib/widget-library/root.component.mjs +31 -37
- package/esm2022/lib/widget-library/section.component.mjs +30 -33
- package/esm2022/lib/widget-library/select-framework.component.mjs +16 -23
- package/esm2022/lib/widget-library/select-widget.component.mjs +16 -20
- package/esm2022/lib/widget-library/select.component.mjs +25 -28
- package/esm2022/lib/widget-library/submit.component.mjs +18 -21
- package/esm2022/lib/widget-library/tab.component.mjs +20 -23
- package/esm2022/lib/widget-library/tabs.component.mjs +31 -33
- package/esm2022/lib/widget-library/template.component.mjs +17 -20
- package/esm2022/lib/widget-library/textarea.component.mjs +25 -28
- package/fesm2022/ng-formworks-core.mjs +1517 -1578
- package/fesm2022/ng-formworks-core.mjs.map +1 -1
- package/lib/framework-library/framework-library.service.d.ts +1 -3
- package/lib/framework-library/no-framework.component.d.ts +4 -4
- package/lib/json-schema-form.component.d.ts +29 -31
- package/lib/json-schema-form.service.d.ts +28 -17
- package/lib/widget-library/add-reference.component.d.ts +4 -6
- package/lib/widget-library/button.component.d.ts +4 -6
- package/lib/widget-library/checkbox.component.d.ts +4 -6
- package/lib/widget-library/checkboxes.component.d.ts +5 -6
- package/lib/widget-library/file.component.d.ts +4 -6
- package/lib/widget-library/hidden.component.d.ts +4 -6
- package/lib/widget-library/index.d.ts +1 -21
- package/lib/widget-library/input.component.d.ts +4 -6
- package/lib/widget-library/message.component.d.ts +4 -6
- package/lib/widget-library/none.component.d.ts +4 -4
- package/lib/widget-library/number.component.d.ts +4 -6
- package/lib/widget-library/one-of.component.d.ts +4 -6
- package/lib/widget-library/orderable.directive.d.ts +6 -8
- package/lib/widget-library/radios.component.d.ts +4 -6
- package/lib/widget-library/root.component.d.ts +6 -8
- package/lib/widget-library/section.component.d.ts +4 -6
- package/lib/widget-library/select-framework.component.d.ts +6 -8
- package/lib/widget-library/select-widget.component.d.ts +6 -8
- package/lib/widget-library/select.component.d.ts +4 -6
- package/lib/widget-library/submit.component.d.ts +4 -6
- package/lib/widget-library/tab.component.d.ts +4 -6
- package/lib/widget-library/tabs.component.d.ts +4 -6
- package/lib/widget-library/template.component.d.ts +6 -8
- package/lib/widget-library/textarea.component.d.ts +4 -6
- package/package.json +1 -1
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
1
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { WidgetLibraryService } from '../widget-library/widget-library.service';
|
|
4
2
|
import { Framework } from './framework';
|
|
5
3
|
import * as i0 from "@angular/core";
|
|
6
4
|
export declare class FrameworkLibraryService {
|
|
@@ -18,7 +16,7 @@ export declare class FrameworkLibraryService {
|
|
|
18
16
|
activeFrameworkName$: Observable<string>;
|
|
19
17
|
private activeFrameworkNameSubject;
|
|
20
18
|
private activeFrameworkName;
|
|
21
|
-
constructor(frameworks: any[]
|
|
19
|
+
constructor(frameworks: any[]);
|
|
22
20
|
setLoadExternalAssets(loadExternalAssets?: boolean): void;
|
|
23
21
|
setFramework(framework?: string | Framework, loadExternalAssets?: boolean): boolean;
|
|
24
22
|
registerFrameworkWidgets(framework: Framework): boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class NoFrameworkComponent {
|
|
3
|
-
layoutNode: any
|
|
4
|
-
layoutIndex: number[]
|
|
5
|
-
dataIndex: number[]
|
|
3
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
4
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
5
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<NoFrameworkComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NoFrameworkComponent, "no-framework", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NoFrameworkComponent, "no-framework", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
8
8
|
}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor } from '@angular/forms';
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
|
-
import { FrameworkLibraryService } from './framework-library/framework-library.service';
|
|
5
4
|
import { JsonSchemaFormService } from './json-schema-form.service';
|
|
6
|
-
import { WidgetLibraryService } from './widget-library/widget-library.service';
|
|
7
5
|
import * as i0 from "@angular/core";
|
|
8
6
|
export declare const JSON_SCHEMA_FORM_VALUE_ACCESSOR: any;
|
|
9
7
|
/**
|
|
@@ -66,42 +64,42 @@ export declare class JsonSchemaFormComponent implements ControlValueAccessor, On
|
|
|
66
64
|
loadExternalAssets: boolean;
|
|
67
65
|
debug: boolean;
|
|
68
66
|
};
|
|
69
|
-
schema: any
|
|
70
|
-
layout: any[]
|
|
71
|
-
data: any
|
|
72
|
-
options: any
|
|
73
|
-
framework: any
|
|
74
|
-
widgets: any
|
|
75
|
-
form: any
|
|
76
|
-
model: any
|
|
77
|
-
JSONSchema: any
|
|
78
|
-
UISchema: any
|
|
79
|
-
formData: any
|
|
80
|
-
ngModel: any
|
|
81
|
-
language: string
|
|
82
|
-
loadExternalAssets: boolean
|
|
83
|
-
debug: boolean
|
|
84
|
-
theme: string
|
|
67
|
+
readonly schema: import("@angular/core").InputSignal<any>;
|
|
68
|
+
readonly layout: import("@angular/core").InputSignal<any[]>;
|
|
69
|
+
readonly data: import("@angular/core").InputSignal<any>;
|
|
70
|
+
readonly options: import("@angular/core").InputSignal<any>;
|
|
71
|
+
readonly framework: import("@angular/core").InputSignal<any>;
|
|
72
|
+
readonly widgets: import("@angular/core").InputSignal<any>;
|
|
73
|
+
readonly form: import("@angular/core").InputSignal<any>;
|
|
74
|
+
readonly model: import("@angular/core").InputSignal<any>;
|
|
75
|
+
readonly JSONSchema: import("@angular/core").InputSignal<any>;
|
|
76
|
+
readonly UISchema: import("@angular/core").InputSignal<any>;
|
|
77
|
+
readonly formData: import("@angular/core").InputSignal<any>;
|
|
78
|
+
readonly ngModel: import("@angular/core").InputSignal<any>;
|
|
79
|
+
readonly language: import("@angular/core").InputSignal<string>;
|
|
80
|
+
readonly loadExternalAssets: import("@angular/core").InputSignal<boolean>;
|
|
81
|
+
readonly debug: import("@angular/core").InputSignal<boolean>;
|
|
82
|
+
readonly theme: import("@angular/core").InputSignal<string>;
|
|
85
83
|
get value(): any;
|
|
86
84
|
set value(value: any);
|
|
87
|
-
onChanges:
|
|
88
|
-
onSubmit:
|
|
89
|
-
isValid:
|
|
90
|
-
validationErrors:
|
|
91
|
-
formSchema:
|
|
92
|
-
formLayout:
|
|
93
|
-
dataChange:
|
|
94
|
-
modelChange:
|
|
95
|
-
formDataChange:
|
|
96
|
-
ngModelChange:
|
|
85
|
+
readonly onChanges: import("@angular/core").OutputEmitterRef<any>;
|
|
86
|
+
readonly onSubmit: import("@angular/core").OutputEmitterRef<any>;
|
|
87
|
+
readonly isValid: import("@angular/core").OutputEmitterRef<boolean>;
|
|
88
|
+
readonly validationErrors: import("@angular/core").OutputEmitterRef<any>;
|
|
89
|
+
readonly formSchema: import("@angular/core").OutputEmitterRef<any>;
|
|
90
|
+
readonly formLayout: import("@angular/core").OutputEmitterRef<any>;
|
|
91
|
+
readonly dataChange: import("@angular/core").OutputEmitterRef<any>;
|
|
92
|
+
readonly modelChange: import("@angular/core").OutputEmitterRef<any>;
|
|
93
|
+
readonly formDataChange: import("@angular/core").OutputEmitterRef<any>;
|
|
94
|
+
readonly ngModelChange: import("@angular/core").OutputEmitterRef<any>;
|
|
97
95
|
onChange: Function;
|
|
98
96
|
onTouched: Function;
|
|
99
97
|
dataChangesSubs: Subscription;
|
|
100
98
|
statusChangesSubs: Subscription;
|
|
101
99
|
isValidChangesSubs: Subscription;
|
|
102
100
|
validationErrorChangesSubs: Subscription;
|
|
103
|
-
constructor(changeDetector: ChangeDetectorRef, frameworkLibrary: FrameworkLibraryService, widgetLibrary: WidgetLibraryService, jsf: JsonSchemaFormService);
|
|
104
101
|
ngOnDestroy(): void;
|
|
102
|
+
private getInputValue;
|
|
105
103
|
private resetScriptsAndStyleSheets;
|
|
106
104
|
private loadScripts;
|
|
107
105
|
private loadStyleSheets;
|
|
@@ -214,5 +212,5 @@ export declare class JsonSchemaFormComponent implements ControlValueAccessor, On
|
|
|
214
212
|
*/
|
|
215
213
|
private activateForm;
|
|
216
214
|
static ɵfac: i0.ɵɵFactoryDeclaration<JsonSchemaFormComponent, never>;
|
|
217
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<JsonSchemaFormComponent, "json-schema-form", never, { "schema": { "alias": "schema"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "data": { "alias": "data"; "required": false; }; "options": { "alias": "options"; "required": false; }; "framework": { "alias": "framework"; "required": false; }; "widgets": { "alias": "widgets"; "required": false; }; "form": { "alias": "form"; "required": false; }; "model": { "alias": "model"; "required": false; }; "JSONSchema": { "alias": "JSONSchema"; "required": false; }; "UISchema": { "alias": "UISchema"; "required": false; }; "formData": { "alias": "formData"; "required": false; }; "ngModel": { "alias": "ngModel"; "required": false; }; "language": { "alias": "language"; "required": false; }; "loadExternalAssets": { "alias": "loadExternalAssets"; "required": false; }; "debug": { "alias": "debug"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onChanges": "onChanges"; "onSubmit": "onSubmit"; "isValid": "isValid"; "validationErrors": "validationErrors"; "formSchema": "formSchema"; "formLayout": "formLayout"; "dataChange": "dataChange"; "modelChange": "modelChange"; "formDataChange": "formDataChange"; "ngModelChange": "ngModelChange"; }, never, never, false, never>;
|
|
215
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<JsonSchemaFormComponent, "json-schema-form", never, { "schema": { "alias": "schema"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; "framework": { "alias": "framework"; "required": false; "isSignal": true; }; "widgets": { "alias": "widgets"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "model": { "alias": "model"; "required": false; "isSignal": true; }; "JSONSchema": { "alias": "JSONSchema"; "required": false; "isSignal": true; }; "UISchema": { "alias": "UISchema"; "required": false; "isSignal": true; }; "formData": { "alias": "formData"; "required": false; "isSignal": true; }; "ngModel": { "alias": "ngModel"; "required": false; "isSignal": true; }; "language": { "alias": "language"; "required": false; "isSignal": true; }; "loadExternalAssets": { "alias": "loadExternalAssets"; "required": false; "isSignal": true; }; "debug": { "alias": "debug"; "required": false; "isSignal": true; }; "theme": { "alias": "theme"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; }; }, { "onChanges": "onChanges"; "onSubmit": "onSubmit"; "isValid": "isValid"; "validationErrors": "validationErrors"; "formSchema": "formSchema"; "formLayout": "formLayout"; "dataChange": "dataChange"; "modelChange": "modelChange"; "formDataChange": "formDataChange"; "ngModelChange": "ngModelChange"; }, never, never, false, never>;
|
|
218
216
|
}
|
|
@@ -1,8 +1,19 @@
|
|
|
1
|
-
import { OnDestroy } from '@angular/core';
|
|
1
|
+
import { OnDestroy, Signal } from '@angular/core';
|
|
2
2
|
import { AbstractControl, UntypedFormArray, UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { ErrorObject, Options } from 'ajv/dist/2019';
|
|
4
4
|
import { Subject, Subscription } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
+
export type WidgetContext = {
|
|
7
|
+
formControl?: AbstractControl;
|
|
8
|
+
layoutNode?: Signal<any>;
|
|
9
|
+
layoutIndex?: Signal<number[]>;
|
|
10
|
+
dataIndex?: Signal<number[]>;
|
|
11
|
+
options?: any;
|
|
12
|
+
controlValue?: any;
|
|
13
|
+
boundControl?: boolean;
|
|
14
|
+
controlName?: string;
|
|
15
|
+
controlDisabled?: boolean;
|
|
16
|
+
};
|
|
6
17
|
export interface TitleMapItem {
|
|
7
18
|
name?: string;
|
|
8
19
|
value?: any;
|
|
@@ -92,24 +103,24 @@ export declare class JsonSchemaFormService implements OnDestroy {
|
|
|
92
103
|
parseText(text?: string, value?: any, values?: any, key?: number | string): string;
|
|
93
104
|
parseExpression(expression?: string, value?: any, values?: any, key?: number | string, tpldata?: any): any;
|
|
94
105
|
setArrayItemTitle(parentCtx?: any, childNode?: any, index?: number): string;
|
|
95
|
-
setItemTitle(ctx:
|
|
106
|
+
setItemTitle(ctx: WidgetContext): string;
|
|
96
107
|
evaluateCondition(layoutNode: any, dataIndex: number[]): boolean;
|
|
97
|
-
initializeControl(ctx:
|
|
108
|
+
initializeControl(ctx: WidgetContext, bind?: boolean): boolean;
|
|
98
109
|
formatErrors(errors: any, validationMessages?: any): string;
|
|
99
|
-
updateValue(ctx:
|
|
100
|
-
updateArrayCheckboxList(ctx:
|
|
101
|
-
getFormControl(ctx:
|
|
102
|
-
getFormControlValue(ctx:
|
|
103
|
-
getFormControlGroup(ctx:
|
|
104
|
-
getFormControlName(ctx:
|
|
105
|
-
getLayoutArray(ctx:
|
|
106
|
-
getParentNode(ctx:
|
|
107
|
-
getDataPointer(ctx:
|
|
108
|
-
getLayoutPointer(ctx:
|
|
109
|
-
isControlBound(ctx:
|
|
110
|
-
addItem(ctx:
|
|
111
|
-
moveArrayItem(ctx:
|
|
112
|
-
removeItem(ctx:
|
|
110
|
+
updateValue(ctx: WidgetContext, value: any): void;
|
|
111
|
+
updateArrayCheckboxList(ctx: WidgetContext, checkboxList: TitleMapItem[]): void;
|
|
112
|
+
getFormControl(ctx: WidgetContext): AbstractControl;
|
|
113
|
+
getFormControlValue(ctx: WidgetContext): AbstractControl;
|
|
114
|
+
getFormControlGroup(ctx: WidgetContext): UntypedFormArray | UntypedFormGroup;
|
|
115
|
+
getFormControlName(ctx: WidgetContext): string;
|
|
116
|
+
getLayoutArray(ctx: WidgetContext): any[];
|
|
117
|
+
getParentNode(ctx: WidgetContext): any;
|
|
118
|
+
getDataPointer(ctx: WidgetContext): string;
|
|
119
|
+
getLayoutPointer(ctx: WidgetContext): string;
|
|
120
|
+
isControlBound(ctx: WidgetContext): boolean;
|
|
121
|
+
addItem(ctx: WidgetContext, name?: string): boolean;
|
|
122
|
+
moveArrayItem(ctx: WidgetContext, oldIndex: number, newIndex: number): boolean;
|
|
123
|
+
removeItem(ctx: WidgetContext): boolean;
|
|
113
124
|
static ɵfac: i0.ɵɵFactoryDeclaration<JsonSchemaFormService, never>;
|
|
114
125
|
static ɵprov: i0.ɵɵInjectableDeclaration<JsonSchemaFormService>;
|
|
115
126
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { JsonSchemaFormService } from '../json-schema-form.service';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class AddReferenceComponent implements OnInit {
|
|
5
4
|
private jsf;
|
|
@@ -7,14 +6,13 @@ export declare class AddReferenceComponent implements OnInit {
|
|
|
7
6
|
itemCount: number;
|
|
8
7
|
previousLayoutIndex: number[];
|
|
9
8
|
previousDataIndex: number[];
|
|
10
|
-
layoutNode: any
|
|
11
|
-
layoutIndex: number[]
|
|
12
|
-
dataIndex: number[]
|
|
13
|
-
constructor(jsf: JsonSchemaFormService);
|
|
9
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
10
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
11
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
14
12
|
ngOnInit(): void;
|
|
15
13
|
get showAddButton(): boolean;
|
|
16
14
|
addItem(event: any): void;
|
|
17
15
|
get buttonText(): string;
|
|
18
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AddReferenceComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AddReferenceComponent, "add-reference-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AddReferenceComponent, "add-reference-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
20
18
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AbstractControl } from '@angular/forms';
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
|
-
import { JsonSchemaFormService } from '../json-schema-form.service';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class ButtonComponent implements OnInit {
|
|
6
5
|
private jsf;
|
|
@@ -10,12 +9,11 @@ export declare class ButtonComponent implements OnInit {
|
|
|
10
9
|
controlDisabled: boolean;
|
|
11
10
|
boundControl: boolean;
|
|
12
11
|
options: any;
|
|
13
|
-
layoutNode: any
|
|
14
|
-
layoutIndex: number[]
|
|
15
|
-
dataIndex: number[]
|
|
16
|
-
constructor(jsf: JsonSchemaFormService);
|
|
12
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
13
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
14
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
17
15
|
ngOnInit(): void;
|
|
18
16
|
updateValue(event: any): void;
|
|
19
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
21
19
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AbstractControl } from '@angular/forms';
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
|
-
import { JsonSchemaFormService } from '../json-schema-form.service';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class CheckboxComponent implements OnInit {
|
|
6
5
|
private jsf;
|
|
@@ -12,13 +11,12 @@ export declare class CheckboxComponent implements OnInit {
|
|
|
12
11
|
options: any;
|
|
13
12
|
trueValue: any;
|
|
14
13
|
falseValue: any;
|
|
15
|
-
layoutNode: any
|
|
16
|
-
layoutIndex: number[]
|
|
17
|
-
dataIndex: number[]
|
|
18
|
-
constructor(jsf: JsonSchemaFormService);
|
|
14
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
15
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
16
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
19
17
|
ngOnInit(): void;
|
|
20
18
|
updateValue(event: any): void;
|
|
21
19
|
get isChecked(): boolean;
|
|
22
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "checkbox-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "checkbox-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
24
22
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractControl } from '@angular/forms';
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
|
-
import {
|
|
3
|
+
import { TitleMapItem } from '../json-schema-form.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class CheckboxesComponent implements OnInit {
|
|
6
6
|
private jsf;
|
|
@@ -13,12 +13,11 @@ export declare class CheckboxesComponent implements OnInit {
|
|
|
13
13
|
layoutOrientation: string;
|
|
14
14
|
formArray: AbstractControl;
|
|
15
15
|
checkboxList: TitleMapItem[];
|
|
16
|
-
layoutNode: any
|
|
17
|
-
layoutIndex: number[]
|
|
18
|
-
dataIndex: number[]
|
|
19
|
-
constructor(jsf: JsonSchemaFormService);
|
|
16
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
17
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
18
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
20
19
|
ngOnInit(): void;
|
|
21
20
|
updateValue(event: any): void;
|
|
22
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxesComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxesComponent, "checkboxes-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxesComponent, "checkboxes-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
24
23
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AbstractControl } from '@angular/forms';
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
|
-
import { JsonSchemaFormService } from '../json-schema-form.service';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class FileComponent implements OnInit {
|
|
6
5
|
private jsf;
|
|
@@ -10,12 +9,11 @@ export declare class FileComponent implements OnInit {
|
|
|
10
9
|
controlDisabled: boolean;
|
|
11
10
|
boundControl: boolean;
|
|
12
11
|
options: any;
|
|
13
|
-
layoutNode: any
|
|
14
|
-
layoutIndex: number[]
|
|
15
|
-
dataIndex: number[]
|
|
16
|
-
constructor(jsf: JsonSchemaFormService);
|
|
12
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
13
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
14
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
17
15
|
ngOnInit(): void;
|
|
18
16
|
updateValue(event: any): void;
|
|
19
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<FileComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FileComponent, "file-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FileComponent, "file-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
21
19
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AbstractControl } from '@angular/forms';
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
|
-
import { JsonSchemaFormService } from '../json-schema-form.service';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class HiddenComponent implements OnInit {
|
|
6
5
|
private jsf;
|
|
@@ -9,11 +8,10 @@ export declare class HiddenComponent implements OnInit {
|
|
|
9
8
|
controlValue: any;
|
|
10
9
|
controlDisabled: boolean;
|
|
11
10
|
boundControl: boolean;
|
|
12
|
-
layoutNode: any
|
|
13
|
-
layoutIndex: number[]
|
|
14
|
-
dataIndex: number[]
|
|
15
|
-
constructor(jsf: JsonSchemaFormService);
|
|
11
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
12
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
13
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
16
14
|
ngOnInit(): void;
|
|
17
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<HiddenComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HiddenComponent, "hidden-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HiddenComponent, "hidden-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
19
17
|
}
|
|
@@ -1,26 +1,6 @@
|
|
|
1
|
-
import { AddReferenceComponent } from './add-reference.component';
|
|
2
|
-
import { ButtonComponent } from './button.component';
|
|
3
|
-
import { CheckboxComponent } from './checkbox.component';
|
|
4
|
-
import { CheckboxesComponent } from './checkboxes.component';
|
|
5
|
-
import { FileComponent } from './file.component';
|
|
6
|
-
import { HiddenComponent } from './hidden.component';
|
|
7
|
-
import { InputComponent } from './input.component';
|
|
8
|
-
import { MessageComponent } from './message.component';
|
|
9
1
|
import { NoneComponent } from './none.component';
|
|
10
|
-
import { NumberComponent } from './number.component';
|
|
11
|
-
import { OneOfComponent } from './one-of.component';
|
|
12
|
-
import { RadiosComponent } from './radios.component';
|
|
13
2
|
import { RootComponent } from './root.component';
|
|
14
|
-
|
|
15
|
-
import { SelectComponent } from './select.component';
|
|
16
|
-
import { SelectFrameworkComponent } from './select-framework.component';
|
|
17
|
-
import { SelectWidgetComponent } from './select-widget.component';
|
|
18
|
-
import { SubmitComponent } from './submit.component';
|
|
19
|
-
import { TabComponent } from './tab.component';
|
|
20
|
-
import { TabsComponent } from './tabs.component';
|
|
21
|
-
import { TemplateComponent } from './template.component';
|
|
22
|
-
import { TextareaComponent } from './textarea.component';
|
|
23
|
-
export declare const BASIC_WIDGETS: (typeof AddReferenceComponent | typeof ButtonComponent | typeof CheckboxComponent | typeof CheckboxesComponent | typeof FileComponent | typeof InputComponent | typeof MessageComponent | typeof NoneComponent | typeof NumberComponent | typeof OneOfComponent | typeof RadiosComponent | typeof RootComponent | typeof SectionComponent | typeof SelectComponent | typeof SelectFrameworkComponent | typeof SelectWidgetComponent | typeof SubmitComponent | typeof TabsComponent | typeof TemplateComponent | typeof TextareaComponent | typeof HiddenComponent | typeof TabComponent)[];
|
|
3
|
+
export declare const BASIC_WIDGETS: (typeof NoneComponent | typeof RootComponent)[];
|
|
24
4
|
export { AddReferenceComponent } from './add-reference.component';
|
|
25
5
|
export { OneOfComponent } from './one-of.component';
|
|
26
6
|
export { ButtonComponent } from './button.component';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AbstractControl } from '@angular/forms';
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
|
-
import { JsonSchemaFormService } from '../json-schema-form.service';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class InputComponent implements OnInit {
|
|
6
5
|
private jsf;
|
|
@@ -11,12 +10,11 @@ export declare class InputComponent implements OnInit {
|
|
|
11
10
|
boundControl: boolean;
|
|
12
11
|
options: any;
|
|
13
12
|
autoCompleteList: string[];
|
|
14
|
-
layoutNode: any
|
|
15
|
-
layoutIndex: number[]
|
|
16
|
-
dataIndex: number[]
|
|
17
|
-
constructor(jsf: JsonSchemaFormService);
|
|
13
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
14
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
15
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
18
16
|
ngOnInit(): void;
|
|
19
17
|
updateValue(event: any): void;
|
|
20
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "input-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputComponent, "input-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
22
20
|
}
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { JsonSchemaFormService } from '../json-schema-form.service';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class MessageComponent implements OnInit {
|
|
5
4
|
private jsf;
|
|
6
5
|
options: any;
|
|
7
6
|
message: string;
|
|
8
|
-
layoutNode: any
|
|
9
|
-
layoutIndex: number[]
|
|
10
|
-
dataIndex: number[]
|
|
11
|
-
constructor(jsf: JsonSchemaFormService);
|
|
7
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
8
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
9
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
12
10
|
ngOnInit(): void;
|
|
13
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessageComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "message-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MessageComponent, "message-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
15
13
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class NoneComponent {
|
|
3
|
-
layoutNode: any
|
|
4
|
-
layoutIndex: number[]
|
|
5
|
-
dataIndex: number[]
|
|
3
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
4
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
5
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<NoneComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NoneComponent, "none-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NoneComponent, "none-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
8
8
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { AbstractControl } from '@angular/forms';
|
|
3
|
-
import { JsonSchemaFormService } from '../json-schema-form.service';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class NumberComponent implements OnInit {
|
|
6
5
|
private jsf;
|
|
@@ -14,12 +13,11 @@ export declare class NumberComponent implements OnInit {
|
|
|
14
13
|
allowDecimal: boolean;
|
|
15
14
|
allowExponents: boolean;
|
|
16
15
|
lastValidNumber: string;
|
|
17
|
-
layoutNode: any
|
|
18
|
-
layoutIndex: number[]
|
|
19
|
-
dataIndex: number[]
|
|
20
|
-
constructor(jsf: JsonSchemaFormService);
|
|
16
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
17
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
18
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
21
19
|
ngOnInit(): void;
|
|
22
20
|
updateValue(event: any): void;
|
|
23
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<NumberComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NumberComponent, "number-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NumberComponent, "number-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
25
23
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { AbstractControl } from '@angular/forms';
|
|
3
|
-
import { JsonSchemaFormService } from '../json-schema-form.service';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class OneOfComponent implements OnInit {
|
|
6
5
|
private jsf;
|
|
@@ -10,12 +9,11 @@ export declare class OneOfComponent implements OnInit {
|
|
|
10
9
|
controlDisabled: boolean;
|
|
11
10
|
boundControl: boolean;
|
|
12
11
|
options: any;
|
|
13
|
-
layoutNode: any
|
|
14
|
-
layoutIndex: number[]
|
|
15
|
-
dataIndex: number[]
|
|
16
|
-
constructor(jsf: JsonSchemaFormService);
|
|
12
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
13
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
14
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
17
15
|
ngOnInit(): void;
|
|
18
16
|
updateValue(event: any): void;
|
|
19
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<OneOfComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OneOfComponent, "one-of-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OneOfComponent, "one-of-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
21
19
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { JsonSchemaFormService } from '../json-schema-form.service';
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
/**
|
|
5
4
|
* OrderableDirective
|
|
@@ -30,12 +29,11 @@ export declare class OrderableDirective implements OnInit {
|
|
|
30
29
|
element: any;
|
|
31
30
|
overParentElement: boolean;
|
|
32
31
|
overChildElement: boolean;
|
|
33
|
-
orderable: boolean
|
|
34
|
-
layoutNode: any
|
|
35
|
-
layoutIndex: number[]
|
|
36
|
-
dataIndex: number[]
|
|
37
|
-
constructor(elementRef: ElementRef, jsf: JsonSchemaFormService, ngZone: NgZone);
|
|
32
|
+
readonly orderable: import("@angular/core").InputSignal<boolean>;
|
|
33
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
34
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
35
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
38
36
|
ngOnInit(): void;
|
|
39
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrderableDirective, never>;
|
|
40
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<OrderableDirective, "[orderable]", never, { "orderable": { "alias": "orderable"; "required": false; }; "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
38
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<OrderableDirective, "[orderable]", never, { "orderable": { "alias": "orderable"; "required": false; "isSignal": true; }; "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
41
39
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { AbstractControl } from '@angular/forms';
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
|
-
import { JsonSchemaFormService } from '../json-schema-form.service';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class RadiosComponent implements OnInit {
|
|
6
5
|
private jsf;
|
|
@@ -12,12 +11,11 @@ export declare class RadiosComponent implements OnInit {
|
|
|
12
11
|
options: any;
|
|
13
12
|
layoutOrientation: string;
|
|
14
13
|
radiosList: any[];
|
|
15
|
-
layoutNode: any
|
|
16
|
-
layoutIndex: number[]
|
|
17
|
-
dataIndex: number[]
|
|
18
|
-
constructor(jsf: JsonSchemaFormService);
|
|
14
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
15
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
16
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
19
17
|
ngOnInit(): void;
|
|
20
18
|
updateValue(event: any): void;
|
|
21
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<RadiosComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RadiosComponent, "radios-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RadiosComponent, "radios-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
23
21
|
}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
|
-
import { JsonSchemaFormService } from '../json-schema-form.service';
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
export declare class RootComponent {
|
|
4
3
|
private jsf;
|
|
5
4
|
options: any;
|
|
6
|
-
dataIndex: number[]
|
|
7
|
-
layoutIndex: number[]
|
|
8
|
-
layout: any[]
|
|
9
|
-
isOrderable: boolean
|
|
10
|
-
isFlexItem: boolean
|
|
11
|
-
constructor(jsf: JsonSchemaFormService);
|
|
5
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
6
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
7
|
+
readonly layout: import("@angular/core").InputSignal<any[]>;
|
|
8
|
+
readonly isOrderable: import("@angular/core").InputSignal<boolean>;
|
|
9
|
+
readonly isFlexItem: import("@angular/core").InputSignal<boolean>;
|
|
12
10
|
isDraggable(node: any): boolean;
|
|
13
11
|
getFlexAttribute(node: any, attribute: string): any;
|
|
14
12
|
showWidget(layoutNode: any): boolean;
|
|
15
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<RootComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<RootComponent, "root-widget", never, { "dataIndex": { "alias": "dataIndex"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "layout": { "alias": "layout"; "required": false; }; "isOrderable": { "alias": "isOrderable"; "required": false; }; "isFlexItem": { "alias": "isFlexItem"; "required": false; }; }, {}, never, never, false, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<RootComponent, "root-widget", never, { "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "isOrderable": { "alias": "isOrderable"; "required": false; "isSignal": true; }; "isFlexItem": { "alias": "isFlexItem"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
17
15
|
}
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import { JsonSchemaFormService } from '../json-schema-form.service';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class SectionComponent implements OnInit {
|
|
5
4
|
private jsf;
|
|
6
5
|
options: any;
|
|
7
6
|
expanded: boolean;
|
|
8
7
|
containerType: string;
|
|
9
|
-
layoutNode: any
|
|
10
|
-
layoutIndex: number[]
|
|
11
|
-
dataIndex: number[]
|
|
12
|
-
constructor(jsf: JsonSchemaFormService);
|
|
8
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
9
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
10
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
13
11
|
get sectionTitle(): string;
|
|
14
12
|
ngOnInit(): void;
|
|
15
13
|
toggleExpanded(): void;
|
|
16
14
|
getFlexAttribute(attribute: string): any;
|
|
17
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<SectionComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SectionComponent, "section-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SectionComponent, "section-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; "isSignal": true; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; "isSignal": true; }; "dataIndex": { "alias": "dataIndex"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
19
17
|
}
|