@ng-formworks/material 16.2.7 → 16.3.0
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/LICENSE +21 -0
- package/esm2022/lib/material-design-cssframework.mjs +19 -0
- package/esm2022/lib/material-design-framework.component.mjs +119 -0
- package/esm2022/lib/material-design-framework.module.mjs +117 -0
- package/esm2022/lib/material-design.framework.mjs +61 -0
- package/esm2022/lib/widgets/flex-layout-root.component.mjs +75 -0
- package/esm2022/lib/widgets/flex-layout-section.component.mjs +347 -0
- package/esm2022/lib/widgets/material-add-reference.component.mjs +66 -0
- package/esm2022/lib/widgets/material-button-group.component.mjs +90 -0
- package/esm2022/lib/widgets/material-button.component.mjs +80 -0
- package/esm2022/lib/widgets/material-checkbox.component.mjs +166 -0
- package/esm2022/lib/widgets/material-checkboxes.component.mjs +129 -0
- package/esm2022/lib/widgets/material-chip-list.component.mjs +35 -0
- package/esm2022/lib/widgets/material-datepicker.component.mjs +141 -0
- package/esm2022/lib/widgets/material-file.component.mjs +35 -0
- package/esm2022/lib/widgets/material-input.component.mjs +149 -0
- package/esm2022/lib/widgets/material-number.component.mjs +145 -0
- package/esm2022/lib/widgets/material-one-of.component.mjs +35 -0
- package/esm2022/lib/widgets/material-radios.component.mjs +122 -0
- package/esm2022/lib/widgets/material-select.component.mjs +186 -0
- package/esm2022/lib/widgets/material-slider.component.mjs +91 -0
- package/esm2022/lib/widgets/material-stepper.component.mjs +35 -0
- package/esm2022/lib/widgets/material-tabs.component.mjs +92 -0
- package/esm2022/lib/widgets/material-textarea.component.mjs +134 -0
- package/esm2022/lib/widgets/public_api.mjs +52 -0
- package/esm2022/ng-formworks-material.mjs +5 -0
- package/esm2022/public_api.mjs +8 -0
- package/fesm2022/ng-formworks-material.mjs +2353 -0
- package/fesm2022/ng-formworks-material.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/material-design-cssframework.d.ts +1 -0
- package/lib/material-design-framework.component.d.ts +35 -0
- package/lib/material-design-framework.module.d.ts +61 -0
- package/lib/material-design.framework.d.ts +46 -0
- package/lib/widgets/flex-layout-root.component.d.ts +15 -0
- package/lib/widgets/flex-layout-section.component.d.ts +25 -0
- package/lib/widgets/material-add-reference.component.d.ts +20 -0
- package/lib/widgets/material-button-group.component.d.ts +23 -0
- package/lib/widgets/material-button.component.d.ts +24 -0
- package/lib/widgets/material-checkbox.component.d.ts +25 -0
- package/lib/widgets/material-checkboxes.component.d.ts +27 -0
- package/lib/widgets/material-chip-list.component.d.ts +21 -0
- package/lib/widgets/material-datepicker.component.d.ts +22 -0
- package/lib/widgets/material-file.component.d.ts +21 -0
- package/lib/widgets/material-input.component.d.ts +23 -0
- package/lib/widgets/material-number.component.d.ts +26 -0
- package/lib/widgets/material-one-of.component.d.ts +21 -0
- package/lib/widgets/material-radios.component.d.ts +23 -0
- package/lib/widgets/material-select.component.d.ts +24 -0
- package/lib/widgets/material-slider.component.d.ts +25 -0
- package/lib/widgets/material-stepper.component.d.ts +21 -0
- package/lib/widgets/material-tabs.component.d.ts +20 -0
- package/lib/widgets/material-textarea.component.d.ts +22 -0
- package/{src/lib/widgets/public_api.ts → lib/widgets/public_api.d.ts} +1 -14
- package/package.json +62 -48
- package/{src/public_api.ts → public_api.d.ts} +0 -5
- package/karma.conf.js +0 -46
- package/ng-package.json +0 -13
- package/src/lib/flexlayout-replacement-styles.scss +0 -95
- package/src/lib/material-design-cssframework.ts +0 -20
- package/src/lib/material-design-framework.component.html +0 -13
- package/src/lib/material-design-framework.component.scss +0 -58
- package/src/lib/material-design-framework.component.spec.ts +0 -39
- package/src/lib/material-design-framework.component.ts +0 -143
- package/src/lib/material-design-framework.module.ts +0 -81
- package/src/lib/material-design-themes.scss +0 -71
- package/src/lib/material-design.framework.ts +0 -83
- package/src/lib/tailwind-output.scss +0 -622
- package/src/lib/widgets/flex-layout-root.component.html +0 -4
- package/src/lib/widgets/flex-layout-root.component.ts +0 -52
- package/src/lib/widgets/flex-layout-section.component.ts +0 -216
- package/src/lib/widgets/material-add-reference.component.ts +0 -56
- package/src/lib/widgets/material-button-group.component.ts +0 -68
- package/src/lib/widgets/material-button.component.ts +0 -66
- package/src/lib/widgets/material-checkbox.component.ts +0 -112
- package/src/lib/widgets/material-checkboxes.component.ts +0 -108
- package/src/lib/widgets/material-chip-list.component.ts +0 -35
- package/src/lib/widgets/material-datepicker.component.ts +0 -89
- package/src/lib/widgets/material-file.component.ts +0 -35
- package/src/lib/widgets/material-input.component.ts +0 -97
- package/src/lib/widgets/material-number.component.ts +0 -95
- package/src/lib/widgets/material-one-of.component.ts +0 -35
- package/src/lib/widgets/material-radios.component.ts +0 -91
- package/src/lib/widgets/material-select.component.ts +0 -118
- package/src/lib/widgets/material-slider.component.ts +0 -65
- package/src/lib/widgets/material-stepper.component.ts +0 -35
- package/src/lib/widgets/material-tabs.component.ts +0 -72
- package/src/lib/widgets/material-textarea.component.ts +0 -88
- package/src/test.ts +0 -17
- package/tailwind-input.css +0 -3
- package/tailwind.config.js +0 -12
- package/tsconfig.lib.json +0 -25
- package/tsconfig.lib.prod.json +0 -9
- package/tsconfig.spec.json +0 -17
- package/tslint.json +0 -11
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { JsonSchemaFormService } from '@ng-formworks/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MaterialButtonGroupComponent implements OnInit {
|
|
6
|
+
private jsf;
|
|
7
|
+
formControl: AbstractControl;
|
|
8
|
+
controlName: string;
|
|
9
|
+
controlValue: any;
|
|
10
|
+
controlDisabled: boolean;
|
|
11
|
+
boundControl: boolean;
|
|
12
|
+
options: any;
|
|
13
|
+
radiosList: any[];
|
|
14
|
+
vertical: boolean;
|
|
15
|
+
layoutNode: any;
|
|
16
|
+
layoutIndex: number[];
|
|
17
|
+
dataIndex: number[];
|
|
18
|
+
constructor(jsf: JsonSchemaFormService);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
updateValue(value: any): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialButtonGroupComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialButtonGroupComponent, "material-button-group-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { JsonSchemaFormService } from '@ng-formworks/core';
|
|
4
|
+
import { Subscription } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class MaterialButtonComponent implements OnInit, OnDestroy {
|
|
7
|
+
private jsf;
|
|
8
|
+
formControl: AbstractControl;
|
|
9
|
+
controlName: string;
|
|
10
|
+
controlValue: any;
|
|
11
|
+
controlDisabled: boolean;
|
|
12
|
+
boundControl: boolean;
|
|
13
|
+
options: any;
|
|
14
|
+
layoutNode: any;
|
|
15
|
+
layoutIndex: number[];
|
|
16
|
+
dataIndex: number[];
|
|
17
|
+
isValidChangesSubs: Subscription;
|
|
18
|
+
constructor(jsf: JsonSchemaFormService);
|
|
19
|
+
ngOnDestroy(): void;
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
updateValue(event: any): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialButtonComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialButtonComponent, "material-button-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { JsonSchemaFormService } from '@ng-formworks/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MaterialCheckboxComponent implements OnInit {
|
|
6
|
+
private jsf;
|
|
7
|
+
formControl: AbstractControl;
|
|
8
|
+
controlName: string;
|
|
9
|
+
controlValue: any;
|
|
10
|
+
controlDisabled: boolean;
|
|
11
|
+
boundControl: boolean;
|
|
12
|
+
options: any;
|
|
13
|
+
trueValue: any;
|
|
14
|
+
falseValue: any;
|
|
15
|
+
showSlideToggle: boolean;
|
|
16
|
+
layoutNode: any;
|
|
17
|
+
layoutIndex: number[];
|
|
18
|
+
dataIndex: number[];
|
|
19
|
+
constructor(jsf: JsonSchemaFormService);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
updateValue(event: any): void;
|
|
22
|
+
get isChecked(): boolean;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialCheckboxComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialCheckboxComponent, "material-checkbox-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { JsonSchemaFormService, TitleMapItem } from '@ng-formworks/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MaterialCheckboxesComponent implements OnInit {
|
|
6
|
+
private jsf;
|
|
7
|
+
formControl: AbstractControl;
|
|
8
|
+
controlName: string;
|
|
9
|
+
controlValue: any;
|
|
10
|
+
controlDisabled: boolean;
|
|
11
|
+
boundControl: boolean;
|
|
12
|
+
options: any;
|
|
13
|
+
horizontalList: boolean;
|
|
14
|
+
formArray: AbstractControl;
|
|
15
|
+
checkboxList: TitleMapItem[];
|
|
16
|
+
layoutNode: any;
|
|
17
|
+
layoutIndex: number[];
|
|
18
|
+
dataIndex: number[];
|
|
19
|
+
constructor(jsf: JsonSchemaFormService);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
get allChecked(): boolean;
|
|
22
|
+
get someChecked(): boolean;
|
|
23
|
+
updateValue(): void;
|
|
24
|
+
updateAllValues(event: any): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialCheckboxesComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialCheckboxesComponent, "material-checkboxes-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { JsonSchemaFormService } from '@ng-formworks/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MaterialChipListComponent implements OnInit {
|
|
6
|
+
private jsf;
|
|
7
|
+
formControl: AbstractControl;
|
|
8
|
+
controlName: string;
|
|
9
|
+
controlValue: any;
|
|
10
|
+
controlDisabled: boolean;
|
|
11
|
+
boundControl: boolean;
|
|
12
|
+
options: any;
|
|
13
|
+
layoutNode: any;
|
|
14
|
+
layoutIndex: number[];
|
|
15
|
+
dataIndex: number[];
|
|
16
|
+
constructor(jsf: JsonSchemaFormService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
updateValue(event: any): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialChipListComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialChipListComponent, "material-chip-list-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { JsonSchemaFormService } from '@ng-formworks/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MaterialDatepickerComponent implements OnInit {
|
|
6
|
+
matFormFieldDefaultOptions: any;
|
|
7
|
+
private jsf;
|
|
8
|
+
formControl: AbstractControl;
|
|
9
|
+
controlName: string;
|
|
10
|
+
dateValue: any;
|
|
11
|
+
controlDisabled: boolean;
|
|
12
|
+
boundControl: boolean;
|
|
13
|
+
options: any;
|
|
14
|
+
autoCompleteList: string[];
|
|
15
|
+
layoutNode: any;
|
|
16
|
+
layoutIndex: number[];
|
|
17
|
+
dataIndex: number[];
|
|
18
|
+
constructor(matFormFieldDefaultOptions: any, jsf: JsonSchemaFormService);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialDatepickerComponent, [{ optional: true; }, null]>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialDatepickerComponent, "material-datepicker-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { JsonSchemaFormService } from '@ng-formworks/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MaterialFileComponent implements OnInit {
|
|
6
|
+
private jsf;
|
|
7
|
+
formControl: AbstractControl;
|
|
8
|
+
controlName: string;
|
|
9
|
+
controlValue: any;
|
|
10
|
+
controlDisabled: boolean;
|
|
11
|
+
boundControl: boolean;
|
|
12
|
+
options: any;
|
|
13
|
+
layoutNode: any;
|
|
14
|
+
layoutIndex: number[];
|
|
15
|
+
dataIndex: number[];
|
|
16
|
+
constructor(jsf: JsonSchemaFormService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
updateValue(event: any): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialFileComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialFileComponent, "material-file-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { JsonSchemaFormService } from '@ng-formworks/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MaterialInputComponent implements OnInit {
|
|
6
|
+
matFormFieldDefaultOptions: any;
|
|
7
|
+
private jsf;
|
|
8
|
+
formControl: AbstractControl;
|
|
9
|
+
controlName: string;
|
|
10
|
+
controlValue: string;
|
|
11
|
+
controlDisabled: boolean;
|
|
12
|
+
boundControl: boolean;
|
|
13
|
+
options: any;
|
|
14
|
+
autoCompleteList: string[];
|
|
15
|
+
layoutNode: any;
|
|
16
|
+
layoutIndex: number[];
|
|
17
|
+
dataIndex: number[];
|
|
18
|
+
constructor(matFormFieldDefaultOptions: any, jsf: JsonSchemaFormService);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
updateValue(event: any): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialInputComponent, [{ optional: true; }, null]>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialInputComponent, "material-input-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { JsonSchemaFormService } from '@ng-formworks/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MaterialNumberComponent implements OnInit {
|
|
6
|
+
matFormFieldDefaultOptions: any;
|
|
7
|
+
private jsf;
|
|
8
|
+
formControl: AbstractControl;
|
|
9
|
+
controlName: string;
|
|
10
|
+
controlValue: any;
|
|
11
|
+
controlDisabled: boolean;
|
|
12
|
+
boundControl: boolean;
|
|
13
|
+
options: any;
|
|
14
|
+
allowNegative: boolean;
|
|
15
|
+
allowDecimal: boolean;
|
|
16
|
+
allowExponents: boolean;
|
|
17
|
+
lastValidNumber: string;
|
|
18
|
+
layoutNode: any;
|
|
19
|
+
layoutIndex: number[];
|
|
20
|
+
dataIndex: number[];
|
|
21
|
+
constructor(matFormFieldDefaultOptions: any, jsf: JsonSchemaFormService);
|
|
22
|
+
ngOnInit(): void;
|
|
23
|
+
updateValue(event: any): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialNumberComponent, [{ optional: true; }, null]>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialNumberComponent, "material-number-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { JsonSchemaFormService } from '@ng-formworks/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MaterialOneOfComponent implements OnInit {
|
|
6
|
+
private jsf;
|
|
7
|
+
formControl: AbstractControl;
|
|
8
|
+
controlName: string;
|
|
9
|
+
controlValue: any;
|
|
10
|
+
controlDisabled: boolean;
|
|
11
|
+
boundControl: boolean;
|
|
12
|
+
options: any;
|
|
13
|
+
layoutNode: any;
|
|
14
|
+
layoutIndex: number[];
|
|
15
|
+
dataIndex: number[];
|
|
16
|
+
constructor(jsf: JsonSchemaFormService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
updateValue(event: any): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialOneOfComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialOneOfComponent, "material-one-of-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { JsonSchemaFormService } from '@ng-formworks/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MaterialRadiosComponent implements OnInit {
|
|
6
|
+
private jsf;
|
|
7
|
+
formControl: AbstractControl;
|
|
8
|
+
controlName: string;
|
|
9
|
+
controlValue: any;
|
|
10
|
+
controlDisabled: boolean;
|
|
11
|
+
boundControl: boolean;
|
|
12
|
+
options: any;
|
|
13
|
+
flexDirection: string;
|
|
14
|
+
radiosList: any[];
|
|
15
|
+
layoutNode: any;
|
|
16
|
+
layoutIndex: number[];
|
|
17
|
+
dataIndex: number[];
|
|
18
|
+
constructor(jsf: JsonSchemaFormService);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
updateValue(value: any): void;
|
|
21
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialRadiosComponent, never>;
|
|
22
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialRadiosComponent, "material-radios-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
23
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { JsonSchemaFormService, isArray } from '@ng-formworks/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MaterialSelectComponent implements OnInit {
|
|
6
|
+
matFormFieldDefaultOptions: any;
|
|
7
|
+
private jsf;
|
|
8
|
+
formControl: AbstractControl;
|
|
9
|
+
controlName: string;
|
|
10
|
+
controlValue: any;
|
|
11
|
+
controlDisabled: boolean;
|
|
12
|
+
boundControl: boolean;
|
|
13
|
+
options: any;
|
|
14
|
+
selectList: any[];
|
|
15
|
+
isArray: typeof isArray;
|
|
16
|
+
layoutNode: any;
|
|
17
|
+
layoutIndex: number[];
|
|
18
|
+
dataIndex: number[];
|
|
19
|
+
constructor(matFormFieldDefaultOptions: any, jsf: JsonSchemaFormService);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
updateValue(event: any): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialSelectComponent, [{ optional: true; }, null]>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialSelectComponent, "material-select-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { JsonSchemaFormService } from '@ng-formworks/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MaterialSliderComponent implements OnInit {
|
|
6
|
+
private jsf;
|
|
7
|
+
formControl: AbstractControl;
|
|
8
|
+
controlName: string;
|
|
9
|
+
controlValue: any;
|
|
10
|
+
controlDisabled: boolean;
|
|
11
|
+
boundControl: boolean;
|
|
12
|
+
options: any;
|
|
13
|
+
allowNegative: boolean;
|
|
14
|
+
allowDecimal: boolean;
|
|
15
|
+
allowExponents: boolean;
|
|
16
|
+
lastValidNumber: string;
|
|
17
|
+
layoutNode: any;
|
|
18
|
+
layoutIndex: number[];
|
|
19
|
+
dataIndex: number[];
|
|
20
|
+
constructor(jsf: JsonSchemaFormService);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
updateValue(event: any): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialSliderComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialSliderComponent, "material-slider-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { JsonSchemaFormService } from '@ng-formworks/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MaterialStepperComponent implements OnInit {
|
|
6
|
+
private jsf;
|
|
7
|
+
formControl: AbstractControl;
|
|
8
|
+
controlName: string;
|
|
9
|
+
controlValue: any;
|
|
10
|
+
controlDisabled: boolean;
|
|
11
|
+
boundControl: boolean;
|
|
12
|
+
options: any;
|
|
13
|
+
layoutNode: any;
|
|
14
|
+
layoutIndex: number[];
|
|
15
|
+
dataIndex: number[];
|
|
16
|
+
constructor(jsf: JsonSchemaFormService);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
updateValue(event: any): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialStepperComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialStepperComponent, "material-stepper-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { JsonSchemaFormService } from '@ng-formworks/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class MaterialTabsComponent implements OnInit {
|
|
5
|
+
private jsf;
|
|
6
|
+
options: any;
|
|
7
|
+
itemCount: number;
|
|
8
|
+
selectedItem: number;
|
|
9
|
+
showAddTab: boolean;
|
|
10
|
+
layoutNode: any;
|
|
11
|
+
layoutIndex: number[];
|
|
12
|
+
dataIndex: number[];
|
|
13
|
+
constructor(jsf: JsonSchemaFormService);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
select(index: any): void;
|
|
16
|
+
updateControl(): void;
|
|
17
|
+
setTabTitle(item: any, index: number): string;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialTabsComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialTabsComponent, "material-tabs-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { JsonSchemaFormService } from '@ng-formworks/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class MaterialTextareaComponent implements OnInit {
|
|
6
|
+
matFormFieldDefaultOptions: any;
|
|
7
|
+
private jsf;
|
|
8
|
+
formControl: AbstractControl;
|
|
9
|
+
controlName: string;
|
|
10
|
+
controlValue: any;
|
|
11
|
+
controlDisabled: boolean;
|
|
12
|
+
boundControl: boolean;
|
|
13
|
+
options: any;
|
|
14
|
+
layoutNode: any;
|
|
15
|
+
layoutIndex: number[];
|
|
16
|
+
dataIndex: number[];
|
|
17
|
+
constructor(matFormFieldDefaultOptions: any, jsf: JsonSchemaFormService);
|
|
18
|
+
ngOnInit(): void;
|
|
19
|
+
updateValue(event: any): void;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialTextareaComponent, [{ optional: true; }, null]>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialTextareaComponent, "material-textarea-widget", never, { "layoutNode": { "alias": "layoutNode"; "required": false; }; "layoutIndex": { "alias": "layoutIndex"; "required": false; }; "dataIndex": { "alias": "dataIndex"; "required": false; }; }, {}, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -18,20 +18,7 @@ import { MaterialSliderComponent } from './material-slider.component';
|
|
|
18
18
|
import { MaterialStepperComponent } from './material-stepper.component';
|
|
19
19
|
import { MaterialTabsComponent } from './material-tabs.component';
|
|
20
20
|
import { MaterialTextareaComponent } from './material-textarea.component';
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
export const MATERIAL_FRAMEWORK_COMPONENTS = [
|
|
24
|
-
FlexLayoutRootComponent, FlexLayoutSectionComponent,
|
|
25
|
-
MaterialAddReferenceComponent, MaterialOneOfComponent,
|
|
26
|
-
MaterialButtonComponent, MaterialButtonGroupComponent,
|
|
27
|
-
MaterialCheckboxComponent, MaterialCheckboxesComponent,
|
|
28
|
-
MaterialChipListComponent, MaterialDatepickerComponent,
|
|
29
|
-
MaterialFileComponent, MaterialInputComponent, MaterialNumberComponent,
|
|
30
|
-
MaterialRadiosComponent, MaterialSelectComponent, MaterialSliderComponent,
|
|
31
|
-
MaterialStepperComponent, MaterialTabsComponent, MaterialTextareaComponent,
|
|
32
|
-
MaterialDesignFrameworkComponent
|
|
33
|
-
];
|
|
34
|
-
|
|
21
|
+
export declare const MATERIAL_FRAMEWORK_COMPONENTS: (typeof MaterialDesignFrameworkComponent | typeof FlexLayoutRootComponent | typeof FlexLayoutSectionComponent | typeof MaterialAddReferenceComponent | typeof MaterialButtonComponent | typeof MaterialButtonGroupComponent | typeof MaterialCheckboxComponent | typeof MaterialCheckboxesComponent | typeof MaterialChipListComponent | typeof MaterialDatepickerComponent | typeof MaterialFileComponent | typeof MaterialInputComponent | typeof MaterialNumberComponent | typeof MaterialOneOfComponent | typeof MaterialRadiosComponent | typeof MaterialSelectComponent | typeof MaterialSliderComponent | typeof MaterialStepperComponent | typeof MaterialTabsComponent | typeof MaterialTextareaComponent)[];
|
|
35
22
|
export { FlexLayoutRootComponent } from './flex-layout-root.component';
|
|
36
23
|
export { FlexLayoutSectionComponent } from './flex-layout-section.component';
|
|
37
24
|
export { MaterialAddReferenceComponent } from './material-add-reference.component';
|
package/package.json
CHANGED
|
@@ -1,49 +1,63 @@
|
|
|
1
|
-
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@ng-formworks/material",
|
|
3
|
+
"version": "16.3.0",
|
|
4
|
+
"description": "Angular ng-formworks - JSON Schema Form builder using Angular Material UI",
|
|
5
|
+
"author": "https://github.com/zahmo/ng-formworks/graphs/contributors",
|
|
6
|
+
"keywords": [
|
|
7
|
+
"Angular",
|
|
8
|
+
"ng",
|
|
9
|
+
"Angular15",
|
|
10
|
+
"Angular 15",
|
|
11
|
+
"Angular16",
|
|
12
|
+
"Angular 16",
|
|
13
|
+
"Angular17",
|
|
14
|
+
"Angular 17",
|
|
15
|
+
"ng15",
|
|
16
|
+
"ng16",
|
|
17
|
+
"ng17",
|
|
18
|
+
"JSON Schema",
|
|
19
|
+
"form",
|
|
20
|
+
"forms",
|
|
21
|
+
"form builder",
|
|
22
|
+
"form themes",
|
|
23
|
+
"material",
|
|
24
|
+
"angular material",
|
|
25
|
+
"material design",
|
|
26
|
+
"ajsf",
|
|
27
|
+
"ng-formworks",
|
|
28
|
+
"angular json schema form"
|
|
29
|
+
],
|
|
30
|
+
"license": "MIT",
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "git+https://github.com/zahmo/ng-formworks"
|
|
34
|
+
},
|
|
35
|
+
"bugs": {
|
|
36
|
+
"url": "https://github.com/zahmo/ng-formworks/issues"
|
|
37
|
+
},
|
|
38
|
+
"private": false,
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"lodash-es": "~4.17.21",
|
|
41
|
+
"@ng-formworks/core": "~16.3.0",
|
|
42
|
+
"@ng-formworks/cssframework": "~16.3.0",
|
|
43
|
+
"tslib": "^2.0.0"
|
|
44
|
+
},
|
|
45
|
+
"peerDependencies": {
|
|
46
|
+
"@angular/material": ">=16.0.0",
|
|
47
|
+
"@angular/cdk": ">=16.0.0"
|
|
48
|
+
},
|
|
49
|
+
"module": "fesm2022/ng-formworks-material.mjs",
|
|
50
|
+
"typings": "index.d.ts",
|
|
51
|
+
"exports": {
|
|
52
|
+
"./package.json": {
|
|
53
|
+
"default": "./package.json"
|
|
54
|
+
},
|
|
55
|
+
".": {
|
|
56
|
+
"types": "./index.d.ts",
|
|
57
|
+
"esm2022": "./esm2022/ng-formworks-material.mjs",
|
|
58
|
+
"esm": "./esm2022/ng-formworks-material.mjs",
|
|
59
|
+
"default": "./fesm2022/ng-formworks-material.mjs"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"sideEffects": false
|
|
49
63
|
}
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Public API Surface of @ng-formworks/material-framework
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
1
|
export * from './lib/material-design-framework.component';
|
|
6
2
|
export * from './lib/material-design-framework.module';
|
|
7
3
|
export * from './lib/material-design.framework';
|
|
8
4
|
export * from './lib/widgets/public_api';
|
|
9
|
-
|
package/karma.conf.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
// Karma configuration file, see link for more information
|
|
2
|
-
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
|
3
|
-
|
|
4
|
-
module.exports = function (config) {
|
|
5
|
-
config.set({
|
|
6
|
-
basePath: '',
|
|
7
|
-
frameworks: ['jasmine', '@angular-devkit/build-angular'],
|
|
8
|
-
plugins: [
|
|
9
|
-
require('karma-jasmine'),
|
|
10
|
-
require('karma-chrome-launcher'),
|
|
11
|
-
require('karma-jasmine-html-reporter'),
|
|
12
|
-
require('karma-coverage'),
|
|
13
|
-
require('@angular-devkit/build-angular/plugins/karma'),
|
|
14
|
-
],
|
|
15
|
-
client: {
|
|
16
|
-
clearContext: false, // leave Jasmine Spec Runner output visible in browser
|
|
17
|
-
},
|
|
18
|
-
coverageReporter: {
|
|
19
|
-
dir: require('path').join(__dirname, '../../coverage/ajsf-material'),
|
|
20
|
-
reporters: [
|
|
21
|
-
{
|
|
22
|
-
type: 'html',
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
type: 'lcov',
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
type: 'text-summary',
|
|
29
|
-
},
|
|
30
|
-
],
|
|
31
|
-
},
|
|
32
|
-
reporters: ['progress', 'kjhtml'],
|
|
33
|
-
port: 9876,
|
|
34
|
-
colors: true,
|
|
35
|
-
logLevel: config.LOG_INFO,
|
|
36
|
-
autoWatch: true,
|
|
37
|
-
singleRun: false,
|
|
38
|
-
browsers: ['Chrome', 'ChromeHeadlessCI'],
|
|
39
|
-
customLaunchers: {
|
|
40
|
-
ChromeHeadlessCI: {
|
|
41
|
-
base: 'ChromeHeadless',
|
|
42
|
-
flags: ['--no-sandbox'],
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
});
|
|
46
|
-
};
|
package/ng-package.json
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json",
|
|
3
|
-
"dest": "../../dist/@ng-formworks/material",
|
|
4
|
-
"lib": {
|
|
5
|
-
"entryFile": "src/public_api.ts"
|
|
6
|
-
},
|
|
7
|
-
"assets": ["./assets"],
|
|
8
|
-
"allowedNonPeerDependencies": [
|
|
9
|
-
"lodash-es",
|
|
10
|
-
"@ng-formworks/core",
|
|
11
|
-
"@ng-formworks/cssframework"
|
|
12
|
-
]
|
|
13
|
-
}
|