@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,18 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { JsonSchemaFormService } from '../json-schema-form.service';
|
|
1
|
+
import { ComponentRef, OnChanges, OnInit, ViewContainerRef } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class SelectFrameworkComponent implements OnChanges, OnInit {
|
|
5
4
|
private componentFactory;
|
|
6
5
|
private jsf;
|
|
7
6
|
newComponent: ComponentRef<any>;
|
|
8
|
-
layoutNode: any
|
|
9
|
-
layoutIndex: number[]
|
|
10
|
-
dataIndex: number[]
|
|
11
|
-
widgetContainer: ViewContainerRef
|
|
12
|
-
constructor(componentFactory: ComponentFactoryResolver, 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[]>;
|
|
10
|
+
readonly widgetContainer: import("@angular/core").Signal<ViewContainerRef>;
|
|
13
11
|
ngOnInit(): void;
|
|
14
12
|
ngOnChanges(): void;
|
|
15
13
|
updateComponent(): void;
|
|
16
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectFrameworkComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectFrameworkComponent, "select-framework-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectFrameworkComponent, "select-framework-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>;
|
|
18
16
|
}
|
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { JsonSchemaFormService } from '../json-schema-form.service';
|
|
1
|
+
import { ComponentRef, OnChanges, OnInit, ViewContainerRef } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class SelectWidgetComponent implements OnChanges, OnInit {
|
|
5
4
|
private componentFactory;
|
|
6
5
|
private jsf;
|
|
7
6
|
newComponent: ComponentRef<any>;
|
|
8
|
-
layoutNode: any
|
|
9
|
-
layoutIndex: number[]
|
|
10
|
-
dataIndex: number[]
|
|
11
|
-
widgetContainer: ViewContainerRef
|
|
12
|
-
constructor(componentFactory: ComponentFactoryResolver, 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[]>;
|
|
10
|
+
readonly widgetContainer: import("@angular/core").Signal<ViewContainerRef>;
|
|
13
11
|
ngOnInit(): void;
|
|
14
12
|
ngOnChanges(): void;
|
|
15
13
|
updateComponent(): void;
|
|
16
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectWidgetComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectWidgetComponent, "select-widget-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectWidgetComponent, "select-widget-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>;
|
|
18
16
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { AbstractControl } from '@angular/forms';
|
|
2
2
|
import { isArray } from '../shared';
|
|
3
3
|
import { OnInit } from '@angular/core';
|
|
4
|
-
import { JsonSchemaFormService } from '../json-schema-form.service';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class SelectComponent implements OnInit {
|
|
7
6
|
private jsf;
|
|
@@ -13,12 +12,11 @@ export declare class SelectComponent implements OnInit {
|
|
|
13
12
|
options: any;
|
|
14
13
|
selectList: any[];
|
|
15
14
|
isArray: typeof isArray;
|
|
16
|
-
layoutNode: any
|
|
17
|
-
layoutIndex: number[]
|
|
18
|
-
dataIndex: number[]
|
|
19
|
-
constructor(jsf: JsonSchemaFormService);
|
|
15
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
16
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
17
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
20
18
|
ngOnInit(): void;
|
|
21
19
|
updateValue(event: any): void;
|
|
22
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "select-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<SelectComponent, "select-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,7 +1,6 @@
|
|
|
1
1
|
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { AbstractControl } from '@angular/forms';
|
|
3
3
|
import { Subscription } from 'rxjs';
|
|
4
|
-
import { JsonSchemaFormService } from '../json-schema-form.service';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class SubmitComponent implements OnInit, OnDestroy {
|
|
7
6
|
private jsf;
|
|
@@ -11,14 +10,13 @@ export declare class SubmitComponent implements OnInit, OnDestroy {
|
|
|
11
10
|
controlDisabled: boolean;
|
|
12
11
|
boundControl: boolean;
|
|
13
12
|
options: any;
|
|
14
|
-
layoutNode: any
|
|
15
|
-
layoutIndex: number[]
|
|
16
|
-
dataIndex: number[]
|
|
13
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
14
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
15
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
17
16
|
isValidChangesSubs: Subscription;
|
|
18
|
-
constructor(jsf: JsonSchemaFormService);
|
|
19
17
|
ngOnDestroy(): void;
|
|
20
18
|
ngOnInit(): void;
|
|
21
19
|
updateValue(event: any): void;
|
|
22
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<SubmitComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SubmitComponent, "submit-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<SubmitComponent, "submit-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,14 +1,12 @@
|
|
|
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 TabComponent implements OnInit {
|
|
5
4
|
private jsf;
|
|
6
5
|
options: any;
|
|
7
|
-
layoutNode: any
|
|
8
|
-
layoutIndex: number[]
|
|
9
|
-
dataIndex: number[]
|
|
10
|
-
constructor(jsf: JsonSchemaFormService);
|
|
6
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
7
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
8
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
11
9
|
ngOnInit(): void;
|
|
12
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "tab-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "tab-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>;
|
|
14
12
|
}
|
|
@@ -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 TabsComponent implements OnInit {
|
|
5
4
|
private jsf;
|
|
@@ -7,14 +6,13 @@ export declare class TabsComponent implements OnInit {
|
|
|
7
6
|
itemCount: number;
|
|
8
7
|
selectedItem: number;
|
|
9
8
|
showAddTab: boolean;
|
|
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
|
select(index: any): void;
|
|
16
14
|
updateControl(): void;
|
|
17
15
|
setTabTitle(item: any, index: number): string;
|
|
18
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "tabs-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<TabsComponent, "tabs-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,18 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { JsonSchemaFormService } from '../json-schema-form.service';
|
|
1
|
+
import { ComponentRef, OnChanges, OnInit, ViewContainerRef } from '@angular/core';
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class TemplateComponent implements OnInit, OnChanges {
|
|
5
4
|
private componentFactory;
|
|
6
5
|
private jsf;
|
|
7
6
|
newComponent: ComponentRef<any>;
|
|
8
|
-
layoutNode: any
|
|
9
|
-
layoutIndex: number[]
|
|
10
|
-
dataIndex: number[]
|
|
11
|
-
widgetContainer: ViewContainerRef
|
|
12
|
-
constructor(componentFactory: ComponentFactoryResolver, 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[]>;
|
|
10
|
+
readonly widgetContainer: import("@angular/core").Signal<ViewContainerRef>;
|
|
13
11
|
ngOnInit(): void;
|
|
14
12
|
ngOnChanges(): void;
|
|
15
13
|
updateComponent(): void;
|
|
16
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TemplateComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateComponent, "template-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TemplateComponent, "template-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>;
|
|
18
16
|
}
|
|
@@ -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 TextareaComponent implements OnInit {
|
|
6
5
|
private jsf;
|
|
@@ -10,12 +9,11 @@ export declare class TextareaComponent 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<TextareaComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "textarea-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<TextareaComponent, "textarea-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
|
}
|
package/package.json
CHANGED