@ng-formworks/core 19.6.2 → 20.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.
Files changed (60) hide show
  1. package/README.md +2 -1
  2. package/fesm2022/ng-formworks-core.mjs +551 -348
  3. package/fesm2022/ng-formworks-core.mjs.map +1 -1
  4. package/index.d.ts +2772 -3
  5. package/package.json +11 -6
  6. package/lib/framework-library/framework-library.service.d.ts +0 -53
  7. package/lib/framework-library/framework.d.ts +0 -13
  8. package/lib/framework-library/no-framework.component.d.ts +0 -8
  9. package/lib/framework-library/no-framework.module.d.ts +0 -9
  10. package/lib/framework-library/no.framework.d.ts +0 -10
  11. package/lib/json-schema-form.component.d.ts +0 -225
  12. package/lib/json-schema-form.module.d.ts +0 -11
  13. package/lib/json-schema-form.service.d.ts +0 -150
  14. package/lib/locale/de-validation-messages.d.ts +0 -1
  15. package/lib/locale/en-validation-messages.d.ts +0 -1
  16. package/lib/locale/es-validation-messages.d.ts +0 -1
  17. package/lib/locale/fr-validation-messages.d.ts +0 -1
  18. package/lib/locale/index.d.ts +0 -7
  19. package/lib/locale/it-validation-messages.d.ts +0 -1
  20. package/lib/locale/pt-validation-messages.d.ts +0 -1
  21. package/lib/locale/zh-validation-messages.d.ts +0 -1
  22. package/lib/shared/convert-schema-to-draft6.function.d.ts +0 -21
  23. package/lib/shared/form-group.functions.d.ts +0 -128
  24. package/lib/shared/format-regex.constants.d.ts +0 -20
  25. package/lib/shared/index.d.ts +0 -9
  26. package/lib/shared/json-schema.functions.d.ts +0 -215
  27. package/lib/shared/json.validators.d.ts +0 -441
  28. package/lib/shared/jsonpointer.functions.d.ts +0 -416
  29. package/lib/shared/layout.functions.d.ts +0 -83
  30. package/lib/shared/merge-schemas.function.d.ts +0 -19
  31. package/lib/shared/utility.functions.d.ts +0 -180
  32. package/lib/shared/validator.functions.d.ts +0 -364
  33. package/lib/widget-library/add-reference.component.d.ts +0 -18
  34. package/lib/widget-library/button.component.d.ts +0 -20
  35. package/lib/widget-library/checkbox.component.d.ts +0 -23
  36. package/lib/widget-library/checkboxes.component.d.ts +0 -24
  37. package/lib/widget-library/element-attribute.directive.d.ts +0 -13
  38. package/lib/widget-library/file.component.d.ts +0 -20
  39. package/lib/widget-library/hidden.component.d.ts +0 -18
  40. package/lib/widget-library/index.d.ts +0 -28
  41. package/lib/widget-library/input.component.d.ts +0 -22
  42. package/lib/widget-library/message.component.d.ts +0 -13
  43. package/lib/widget-library/none.component.d.ts +0 -8
  44. package/lib/widget-library/number.component.d.ts +0 -27
  45. package/lib/widget-library/one-of.component.d.ts +0 -21
  46. package/lib/widget-library/orderable.directive.d.ts +0 -41
  47. package/lib/widget-library/radios.component.d.ts +0 -22
  48. package/lib/widget-library/root.component.d.ts +0 -23
  49. package/lib/widget-library/section.component.d.ts +0 -17
  50. package/lib/widget-library/select-framework.component.d.ts +0 -15
  51. package/lib/widget-library/select-widget.component.d.ts +0 -15
  52. package/lib/widget-library/select.component.d.ts +0 -25
  53. package/lib/widget-library/submit.component.d.ts +0 -22
  54. package/lib/widget-library/tab.component.d.ts +0 -12
  55. package/lib/widget-library/tabs.component.d.ts +0 -18
  56. package/lib/widget-library/template.component.d.ts +0 -15
  57. package/lib/widget-library/textarea.component.d.ts +0 -20
  58. package/lib/widget-library/widget-library.module.d.ts +0 -33
  59. package/lib/widget-library/widget-library.service.d.ts +0 -22
  60. package/public_api.d.ts +0 -9
@@ -1,18 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { AbstractControl } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class HiddenComponent implements OnInit, OnDestroy {
5
- private jsf;
6
- formControl: AbstractControl;
7
- controlName: string;
8
- controlValue: any;
9
- controlDisabled: boolean;
10
- boundControl: boolean;
11
- readonly layoutNode: import("@angular/core").InputSignal<any>;
12
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
13
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
14
- ngOnInit(): void;
15
- ngOnDestroy(): void;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<HiddenComponent, never>;
17
- 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>;
18
- }
@@ -1,28 +0,0 @@
1
- import { NoneComponent } from './none.component';
2
- import { RootComponent } from './root.component';
3
- export declare const BASIC_WIDGETS: (typeof NoneComponent | typeof RootComponent)[];
4
- export { AddReferenceComponent } from './add-reference.component';
5
- export { ButtonComponent } from './button.component';
6
- export { CheckboxComponent } from './checkbox.component';
7
- export { CheckboxesComponent } from './checkboxes.component';
8
- export { ElementAttributeDirective } from './element-attribute.directive';
9
- export { FileComponent } from './file.component';
10
- export { HiddenComponent } from './hidden.component';
11
- export { InputComponent } from './input.component';
12
- export { MessageComponent } from './message.component';
13
- export { NoneComponent } from './none.component';
14
- export { NumberComponent } from './number.component';
15
- export { OneOfComponent } from './one-of.component';
16
- export { OrderableDirective } from './orderable.directive';
17
- export { RadiosComponent } from './radios.component';
18
- export { RootComponent } from './root.component';
19
- export { SectionComponent } from './section.component';
20
- export { SelectFrameworkComponent } from './select-framework.component';
21
- export { SelectWidgetComponent } from './select-widget.component';
22
- export { SelectComponent } from './select.component';
23
- export { SubmitComponent } from './submit.component';
24
- export { TabComponent } from './tab.component';
25
- export { TabsComponent } from './tabs.component';
26
- export { TemplateComponent } from './template.component';
27
- export { TextareaComponent } from './textarea.component';
28
- export { WidgetLibraryService } from './widget-library.service';
@@ -1,22 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { AbstractControl } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class InputComponent implements OnInit, OnDestroy {
5
- private jsf;
6
- formControl: AbstractControl;
7
- controlName: string;
8
- controlValue: string;
9
- controlDisabled: boolean;
10
- boundControl: boolean;
11
- options: any;
12
- autoCompleteList: string[];
13
- readonly layoutNode: import("@angular/core").InputSignal<any>;
14
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
15
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
16
- get inputAttributes(): any;
17
- ngOnInit(): void;
18
- updateValue(event: any): void;
19
- ngOnDestroy(): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<InputComponent, never>;
21
- 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
- }
@@ -1,13 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class MessageComponent implements OnInit {
4
- private jsf;
5
- options: any;
6
- message: string;
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
- ngOnInit(): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<MessageComponent, 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>;
13
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class NoneComponent {
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
- static ɵfac: i0.ɵɵFactoryDeclaration<NoneComponent, 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
- }
@@ -1,27 +0,0 @@
1
- import { ElementRef, OnDestroy, OnInit } from '@angular/core';
2
- import { AbstractControl } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class NumberComponent implements OnInit, OnDestroy {
5
- private jsf;
6
- formControl: AbstractControl;
7
- controlName: string;
8
- controlValue: any;
9
- controlDisabled: boolean;
10
- boundControl: boolean;
11
- options: any;
12
- allowNegative: boolean;
13
- allowDecimal: boolean;
14
- allowExponents: boolean;
15
- lastValidNumber: string;
16
- readonly layoutNode: import("@angular/core").InputSignal<any>;
17
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
18
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
19
- get inputAttributes(): any;
20
- inputControl: ElementRef;
21
- div: ElementRef;
22
- ngOnInit(): void;
23
- updateValue(event: any): void;
24
- ngOnDestroy(): void;
25
- static ɵfac: i0.ɵɵFactoryDeclaration<NumberComponent, never>;
26
- 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>;
27
- }
@@ -1,21 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { AbstractControl } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class OneOfComponent implements OnInit, OnDestroy {
5
- private jsf;
6
- formControl: AbstractControl;
7
- controlName: string;
8
- controlValue: any;
9
- controlDisabled: boolean;
10
- boundControl: boolean;
11
- options: any;
12
- readonly layoutNode: import("@angular/core").InputSignal<any>;
13
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
14
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
15
- ngOnInit(): void;
16
- findSelectedTab(): number;
17
- updateValue(event: any): void;
18
- ngOnDestroy(): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<OneOfComponent, never>;
20
- 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
- }
@@ -1,41 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * OrderableDirective
5
- *
6
- * Enables array elements to be reordered by dragging and dropping.
7
- *
8
- * Only works for arrays that have at least two elements.
9
- *
10
- * Also detects arrays-within-arrays, and correctly moves either
11
- * the child array element or the parent array element,
12
- * depending on the drop targert.
13
- *
14
- * Listeners for movable element being dragged:
15
- * - dragstart: add 'dragging' class to element, set effectAllowed = 'move'
16
- * - dragover: set dropEffect = 'move'
17
- * - dragend: remove 'dragging' class from element
18
- *
19
- * Listeners for stationary items being dragged over:
20
- * - dragenter: add 'drag-target-...' classes to element
21
- * - dragleave: remove 'drag-target-...' classes from element
22
- * - drop: remove 'drag-target-...' classes from element, move dropped array item
23
- */
24
- export declare class OrderableDirective implements OnInit, OnDestroy {
25
- private elementRef;
26
- private jsf;
27
- private ngZone;
28
- arrayLayoutIndex: string;
29
- element: any;
30
- overParentElement: boolean;
31
- overChildElement: boolean;
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[]>;
36
- private draggableStateSubscription;
37
- ngOnInit(): void;
38
- ngOnDestroy(): void;
39
- static ɵfac: i0.ɵɵFactoryDeclaration<OrderableDirective, never>;
40
- 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
- }
@@ -1,22 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { AbstractControl } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class RadiosComponent implements OnInit, OnDestroy {
5
- private jsf;
6
- formControl: AbstractControl;
7
- controlName: string;
8
- controlValue: any;
9
- controlDisabled: boolean;
10
- boundControl: boolean;
11
- options: any;
12
- layoutOrientation: string;
13
- radiosList: any[];
14
- readonly layoutNode: import("@angular/core").InputSignal<any>;
15
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
16
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
17
- ngOnInit(): void;
18
- updateValue(event: any): void;
19
- ngOnDestroy(): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<RadiosComponent, never>;
21
- 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>;
22
- }
@@ -1,23 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class RootComponent implements OnInit, OnDestroy {
4
- private jsf;
5
- options: any;
6
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
7
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
8
- readonly layout: import("@angular/core").InputSignal<any[]>;
9
- readonly isOrderable: import("@angular/core").InputSignal<boolean>;
10
- readonly isFlexItem: import("@angular/core").InputSignal<boolean>;
11
- sortableObj: any;
12
- sortableConfig: any;
13
- private sortableOptionsSubscription;
14
- sortableInit(sortable: any): void;
15
- isDraggable(node: any): boolean;
16
- isFixed(node: any): boolean;
17
- getFlexAttribute(node: any, attribute: string): any;
18
- showWidget(layoutNode: any): boolean;
19
- ngOnInit(): void;
20
- ngOnDestroy(): void;
21
- static ɵfac: i0.ɵɵFactoryDeclaration<RootComponent, never>;
22
- 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>;
23
- }
@@ -1,17 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class SectionComponent implements OnInit {
4
- private jsf;
5
- options: any;
6
- expanded: boolean;
7
- containerType: string;
8
- readonly layoutNode: import("@angular/core").InputSignal<any>;
9
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
10
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
11
- get sectionTitle(): string;
12
- ngOnInit(): void;
13
- toggleExpanded(): void;
14
- getFlexAttribute(attribute: string): any;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<SectionComponent, 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>;
17
- }
@@ -1,15 +0,0 @@
1
- import { ComponentRef, OnChanges, OnInit, ViewContainerRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class SelectFrameworkComponent implements OnChanges, OnInit {
4
- private jsf;
5
- newComponent: ComponentRef<any>;
6
- readonly layoutNode: import("@angular/core").InputSignal<any>;
7
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
8
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
9
- readonly widgetContainer: import("@angular/core").Signal<ViewContainerRef>;
10
- ngOnInit(): void;
11
- ngOnChanges(): void;
12
- updateComponent(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectFrameworkComponent, never>;
14
- 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>;
15
- }
@@ -1,15 +0,0 @@
1
- import { ComponentRef, OnChanges, OnInit, ViewContainerRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class SelectWidgetComponent implements OnChanges, OnInit {
4
- private jsf;
5
- newComponent: ComponentRef<any>;
6
- readonly layoutNode: import("@angular/core").InputSignal<any>;
7
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
8
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
9
- readonly widgetContainer: import("@angular/core").Signal<ViewContainerRef>;
10
- ngOnInit(): void;
11
- ngOnChanges(): void;
12
- updateComponent(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectWidgetComponent, never>;
14
- 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>;
15
- }
@@ -1,25 +0,0 @@
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 SelectComponent implements OnInit, OnDestroy {
6
- private jsf;
7
- formControl: AbstractControl;
8
- controlName: string;
9
- controlValue: any;
10
- controlDisabled: boolean;
11
- boundControl: boolean;
12
- options: any;
13
- selectList: any[];
14
- selectListFlatGroup: any[];
15
- isArray: typeof isArray;
16
- readonly layoutNode: import("@angular/core").InputSignal<any>;
17
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
18
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
19
- ngOnInit(): void;
20
- deselectAll(): void;
21
- updateValue(event: any): void;
22
- ngOnDestroy(): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
24
- 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>;
25
- }
@@ -1,22 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { AbstractControl } from '@angular/forms';
3
- import { Subscription } from 'rxjs';
4
- import * as i0 from "@angular/core";
5
- export declare class SubmitComponent implements OnInit, OnDestroy {
6
- private jsf;
7
- formControl: AbstractControl;
8
- controlName: string;
9
- controlValue: any;
10
- controlDisabled: boolean;
11
- boundControl: boolean;
12
- options: any;
13
- readonly layoutNode: import("@angular/core").InputSignal<any>;
14
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
15
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
16
- isValidChangesSubs: Subscription;
17
- ngOnDestroy(): void;
18
- ngOnInit(): void;
19
- updateValue(event: any): void;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<SubmitComponent, 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>;
22
- }
@@ -1,12 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TabComponent implements OnInit {
4
- private jsf;
5
- options: any;
6
- readonly layoutNode: import("@angular/core").InputSignal<any>;
7
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
8
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
9
- ngOnInit(): void;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, 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>;
12
- }
@@ -1,18 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TabsComponent implements OnInit {
4
- private jsf;
5
- options: any;
6
- itemCount: number;
7
- selectedItem: number;
8
- showAddTab: boolean;
9
- readonly layoutNode: import("@angular/core").InputSignal<any>;
10
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
11
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
12
- ngOnInit(): void;
13
- select(index: any): void;
14
- updateControl(): void;
15
- setTabTitle(item: any, index: number): string;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, 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>;
18
- }
@@ -1,15 +0,0 @@
1
- import { ComponentRef, OnChanges, OnInit, ViewContainerRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TemplateComponent implements OnInit, OnChanges {
4
- private jsf;
5
- newComponent: ComponentRef<any>;
6
- readonly layoutNode: import("@angular/core").InputSignal<any>;
7
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
8
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
9
- readonly widgetContainer: import("@angular/core").Signal<ViewContainerRef>;
10
- ngOnInit(): void;
11
- ngOnChanges(): void;
12
- updateComponent(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TemplateComponent, never>;
14
- 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>;
15
- }
@@ -1,20 +0,0 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { AbstractControl } from '@angular/forms';
3
- import * as i0 from "@angular/core";
4
- export declare class TextareaComponent implements OnInit, OnDestroy {
5
- private jsf;
6
- formControl: AbstractControl;
7
- controlName: string;
8
- controlValue: any;
9
- controlDisabled: boolean;
10
- boundControl: boolean;
11
- options: any;
12
- readonly layoutNode: import("@angular/core").InputSignal<any>;
13
- readonly layoutIndex: import("@angular/core").InputSignal<number[]>;
14
- readonly dataIndex: import("@angular/core").InputSignal<number[]>;
15
- ngOnInit(): void;
16
- updateValue(event: any): void;
17
- ngOnDestroy(): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, never>;
19
- 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>;
20
- }
@@ -1,33 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./add-reference.component";
3
- import * as i2 from "./one-of.component";
4
- import * as i3 from "./button.component";
5
- import * as i4 from "./checkbox.component";
6
- import * as i5 from "./checkboxes.component";
7
- import * as i6 from "./file.component";
8
- import * as i7 from "./hidden.component";
9
- import * as i8 from "./input.component";
10
- import * as i9 from "./message.component";
11
- import * as i10 from "./none.component";
12
- import * as i11 from "./number.component";
13
- import * as i12 from "./radios.component";
14
- import * as i13 from "./root.component";
15
- import * as i14 from "./section.component";
16
- import * as i15 from "./select.component";
17
- import * as i16 from "./select-framework.component";
18
- import * as i17 from "./select-widget.component";
19
- import * as i18 from "./submit.component";
20
- import * as i19 from "./tab.component";
21
- import * as i20 from "./tabs.component";
22
- import * as i21 from "./template.component";
23
- import * as i22 from "./textarea.component";
24
- import * as i23 from "./orderable.directive";
25
- import * as i24 from "./element-attribute.directive";
26
- import * as i25 from "@angular/common";
27
- import * as i26 from "@angular/forms";
28
- import * as i27 from "nxt-sortablejs";
29
- export declare class WidgetLibraryModule {
30
- 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.OrderableDirective, typeof i24.ElementAttributeDirective], [typeof i25.CommonModule, typeof i26.FormsModule, typeof i26.ReactiveFormsModule, typeof i27.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.OrderableDirective, typeof i24.ElementAttributeDirective]>;
32
- static ɵinj: i0.ɵɵInjectorDeclaration<WidgetLibraryModule>;
33
- }
@@ -1,22 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class WidgetLibraryService {
3
- defaultWidget: string;
4
- widgetLibrary: any;
5
- registeredWidgets: any;
6
- frameworkWidgets: any;
7
- activeWidgets: any;
8
- constructor();
9
- setActiveWidgets(): boolean;
10
- setDefaultWidget(type: string): boolean;
11
- hasWidget(type: string, widgetSet?: string): boolean;
12
- hasDefaultWidget(type: string): boolean;
13
- registerWidget(type: string, widget: any): boolean;
14
- unRegisterWidget(type: string): boolean;
15
- unRegisterAllWidgets(unRegisterFrameworkWidgets?: boolean): boolean;
16
- registerFrameworkWidgets(widgets: any): boolean;
17
- unRegisterFrameworkWidgets(): boolean;
18
- getWidget(type?: string, widgetSet?: string): any;
19
- getAllWidgets(): any;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<WidgetLibraryService, never>;
21
- static ɵprov: i0.ɵɵInjectableDeclaration<WidgetLibraryService>;
22
- }
package/public_api.d.ts DELETED
@@ -1,9 +0,0 @@
1
- export { JsonSchemaFormModule } from './lib/json-schema-form.module';
2
- export { TitleMapItem, ErrorMessages, JsonSchemaFormService } from './lib/json-schema-form.service';
3
- export { JsonSchemaFormComponent } from './lib/json-schema-form.component';
4
- export { Framework } from './lib/framework-library/framework';
5
- export { FrameworkLibraryService } from './lib/framework-library/framework-library.service';
6
- export { deValidationMessages, enValidationMessages, esValidationMessages, frValidationMessages, itValidationMessages, ptValidationMessages, zhValidationMessages } from './lib/locale';
7
- export * from './lib/widget-library';
8
- export * from './lib/widget-library/widget-library.module';
9
- export * from './lib/shared';