@ng-formworks/core 19.6.2 → 19.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/ng-formworks-core.mjs +362 -159
- package/fesm2022/ng-formworks-core.mjs.map +1 -1
- package/lib/shared/json-schema.functions.d.ts +0 -1
- package/lib/widget-library/index.d.ts +1 -0
- package/lib/widget-library/selectcheckbox.component.d.ts +55 -0
- package/lib/widget-library/widget-library.module.d.ts +7 -6
- package/package.json +1 -1
|
@@ -210,6 +210,5 @@ export declare function fixRequiredArrayProperties(schema: any): any;
|
|
|
210
210
|
* @param schema:any
|
|
211
211
|
* @param negate:boolean=false
|
|
212
212
|
* @returns
|
|
213
|
-
|
|
214
213
|
*/
|
|
215
214
|
export declare function convertJSONSchemaIfToCondition(schema: any, layoutNode: any, negate?: boolean): {};
|
|
@@ -20,6 +20,7 @@ export { SectionComponent } from './section.component';
|
|
|
20
20
|
export { SelectFrameworkComponent } from './select-framework.component';
|
|
21
21
|
export { SelectWidgetComponent } from './select-widget.component';
|
|
22
22
|
export { SelectComponent } from './select.component';
|
|
23
|
+
export { SelectCheckboxComponent } from './selectcheckbox.component';
|
|
23
24
|
export { SubmitComponent } from './submit.component';
|
|
24
25
|
export { TabComponent } from './tab.component';
|
|
25
26
|
export { TabsComponent } from './tabs.component';
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { AbstractControl } from '@angular/forms';
|
|
3
|
+
import { isArray } from '../shared';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SelectCheckboxComponent implements OnInit, OnDestroy {
|
|
6
|
+
private jsf;
|
|
7
|
+
private jsfFLService;
|
|
8
|
+
formControl: AbstractControl;
|
|
9
|
+
controlName: string;
|
|
10
|
+
controlValue: any;
|
|
11
|
+
controlDisabled: boolean;
|
|
12
|
+
boundControl: boolean;
|
|
13
|
+
options: any;
|
|
14
|
+
selectList: any[];
|
|
15
|
+
selectListFlatGroup: any[];
|
|
16
|
+
selectValue: any;
|
|
17
|
+
isArray: typeof isArray;
|
|
18
|
+
readonly layoutNode: import("@angular/core").InputSignal<any>;
|
|
19
|
+
readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
|
|
20
|
+
readonly dataIndex: import("@angular/core").InputSignal<number[]>;
|
|
21
|
+
frameworkStyles: {
|
|
22
|
+
daisyui: {
|
|
23
|
+
selectClass: string;
|
|
24
|
+
optionClass: string;
|
|
25
|
+
optionChecked: string;
|
|
26
|
+
optionUnchecked: string;
|
|
27
|
+
};
|
|
28
|
+
"bootstrap-3": {
|
|
29
|
+
selectClass: string;
|
|
30
|
+
optionClass: string;
|
|
31
|
+
optionChecked: string;
|
|
32
|
+
optionUnchecked: string;
|
|
33
|
+
};
|
|
34
|
+
"bootstrap-4": {
|
|
35
|
+
selectClass: string;
|
|
36
|
+
optionClass: string;
|
|
37
|
+
optionChecked: string;
|
|
38
|
+
optionUnchecked: string;
|
|
39
|
+
};
|
|
40
|
+
"bootstrap-5": {
|
|
41
|
+
selectClass: string;
|
|
42
|
+
optionClass: string;
|
|
43
|
+
optionChecked: string;
|
|
44
|
+
optionUnchecked: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
activeFramework: string;
|
|
48
|
+
ngOnInit(): void;
|
|
49
|
+
deselectAll(): void;
|
|
50
|
+
updateValue(event: any): void;
|
|
51
|
+
onSelectClicked($event: any): void;
|
|
52
|
+
ngOnDestroy(): void;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectCheckboxComponent, never>;
|
|
54
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectCheckboxComponent, "selectcheckbox-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>;
|
|
55
|
+
}
|
|
@@ -21,13 +21,14 @@ import * as i19 from "./tab.component";
|
|
|
21
21
|
import * as i20 from "./tabs.component";
|
|
22
22
|
import * as i21 from "./template.component";
|
|
23
23
|
import * as i22 from "./textarea.component";
|
|
24
|
-
import * as i23 from "./
|
|
25
|
-
import * as i24 from "./
|
|
26
|
-
import * as i25 from "
|
|
27
|
-
import * as i26 from "@angular/
|
|
28
|
-
import * as i27 from "
|
|
24
|
+
import * as i23 from "./selectcheckbox.component";
|
|
25
|
+
import * as i24 from "./orderable.directive";
|
|
26
|
+
import * as i25 from "./element-attribute.directive";
|
|
27
|
+
import * as i26 from "@angular/common";
|
|
28
|
+
import * as i27 from "@angular/forms";
|
|
29
|
+
import * as i28 from "nxt-sortablejs";
|
|
29
30
|
export declare class WidgetLibraryModule {
|
|
30
31
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetLibraryModule, never>;
|
|
31
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<WidgetLibraryModule, [typeof i1.AddReferenceComponent, typeof i2.OneOfComponent, typeof i3.ButtonComponent, typeof i4.CheckboxComponent, typeof i5.CheckboxesComponent, typeof i6.FileComponent, typeof i7.HiddenComponent, typeof i8.InputComponent, typeof i9.MessageComponent, typeof i10.NoneComponent, typeof i11.NumberComponent, typeof i12.RadiosComponent, typeof i13.RootComponent, typeof i14.SectionComponent, typeof i15.SelectComponent, typeof i16.SelectFrameworkComponent, typeof i17.SelectWidgetComponent, typeof i18.SubmitComponent, typeof i19.TabComponent, typeof i20.TabsComponent, typeof i21.TemplateComponent, typeof i22.TextareaComponent, typeof i23.
|
|
32
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<WidgetLibraryModule, [typeof i1.AddReferenceComponent, typeof i2.OneOfComponent, typeof i3.ButtonComponent, typeof i4.CheckboxComponent, typeof i5.CheckboxesComponent, typeof i6.FileComponent, typeof i7.HiddenComponent, typeof i8.InputComponent, typeof i9.MessageComponent, typeof i10.NoneComponent, typeof i11.NumberComponent, typeof i12.RadiosComponent, typeof i13.RootComponent, typeof i14.SectionComponent, typeof i15.SelectComponent, typeof i16.SelectFrameworkComponent, typeof i17.SelectWidgetComponent, typeof i18.SubmitComponent, typeof i19.TabComponent, typeof i20.TabsComponent, typeof i21.TemplateComponent, typeof i22.TextareaComponent, typeof i23.SelectCheckboxComponent, typeof i24.OrderableDirective, typeof i25.ElementAttributeDirective], [typeof i26.CommonModule, typeof i27.FormsModule, typeof i27.ReactiveFormsModule, typeof i28.SortablejsModule], [typeof i1.AddReferenceComponent, typeof i2.OneOfComponent, typeof i3.ButtonComponent, typeof i4.CheckboxComponent, typeof i5.CheckboxesComponent, typeof i6.FileComponent, typeof i7.HiddenComponent, typeof i8.InputComponent, typeof i9.MessageComponent, typeof i10.NoneComponent, typeof i11.NumberComponent, typeof i12.RadiosComponent, typeof i13.RootComponent, typeof i14.SectionComponent, typeof i15.SelectComponent, typeof i16.SelectFrameworkComponent, typeof i17.SelectWidgetComponent, typeof i18.SubmitComponent, typeof i19.TabComponent, typeof i20.TabsComponent, typeof i21.TemplateComponent, typeof i22.TextareaComponent, typeof i23.SelectCheckboxComponent, typeof i24.OrderableDirective, typeof i25.ElementAttributeDirective]>;
|
|
32
33
|
static ɵinj: i0.ɵɵInjectorDeclaration<WidgetLibraryModule>;
|
|
33
34
|
}
|
package/package.json
CHANGED