@ng-formworks/core 16.3.0 → 17.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.
Files changed (113) hide show
  1. package/esm2022/lib/framework-library/framework-library.service.mjs +174 -174
  2. package/esm2022/lib/framework-library/framework.mjs +14 -14
  3. package/esm2022/lib/framework-library/no-framework.component.mjs +17 -17
  4. package/esm2022/lib/framework-library/no-framework.module.mjs +26 -26
  5. package/esm2022/lib/framework-library/no.framework.mjs +18 -18
  6. package/esm2022/lib/json-schema-form.component.mjs +765 -765
  7. package/esm2022/lib/json-schema-form.module.mjs +25 -25
  8. package/esm2022/lib/json-schema-form.service.mjs +675 -675
  9. package/esm2022/lib/locale/de-validation-messages.mjs +59 -59
  10. package/esm2022/lib/locale/en-validation-messages.mjs +59 -59
  11. package/esm2022/lib/locale/es-validation-messages.mjs +56 -56
  12. package/esm2022/lib/locale/fr-validation-messages.mjs +59 -59
  13. package/esm2022/lib/locale/index.mjs +7 -7
  14. package/esm2022/lib/locale/it-validation-messages.mjs +59 -59
  15. package/esm2022/lib/locale/pt-validation-messages.mjs +59 -59
  16. package/esm2022/lib/locale/zh-validation-messages.mjs +59 -59
  17. package/esm2022/lib/shared/convert-schema-to-draft6.function.mjs +299 -299
  18. package/esm2022/lib/shared/form-group.functions.mjs +441 -441
  19. package/esm2022/lib/shared/format-regex.constants.mjs +53 -53
  20. package/esm2022/lib/shared/index.mjs +11 -11
  21. package/esm2022/lib/shared/json-schema.functions.mjs +783 -783
  22. package/esm2022/lib/shared/json.validators.mjs +883 -883
  23. package/esm2022/lib/shared/jsonpointer.functions.mjs +1025 -1025
  24. package/esm2022/lib/shared/layout.functions.mjs +1153 -1153
  25. package/esm2022/lib/shared/merge-schemas.function.mjs +344 -344
  26. package/esm2022/lib/shared/utility.functions.mjs +379 -379
  27. package/esm2022/lib/shared/validator.functions.mjs +583 -583
  28. package/esm2022/lib/widget-library/add-reference.component.mjs +48 -48
  29. package/esm2022/lib/widget-library/button.component.mjs +41 -41
  30. package/esm2022/lib/widget-library/checkbox.component.mjs +46 -46
  31. package/esm2022/lib/widget-library/checkboxes.component.mjs +52 -52
  32. package/esm2022/lib/widget-library/file.component.mjs +35 -35
  33. package/esm2022/lib/widget-library/hidden.component.mjs +33 -33
  34. package/esm2022/lib/widget-library/index.mjs +54 -54
  35. package/esm2022/lib/widget-library/input.component.mjs +38 -38
  36. package/esm2022/lib/widget-library/message.component.mjs +33 -33
  37. package/esm2022/lib/widget-library/none.component.mjs +20 -20
  38. package/esm2022/lib/widget-library/number.component.mjs +44 -44
  39. package/esm2022/lib/widget-library/one-of.component.mjs +35 -35
  40. package/esm2022/lib/widget-library/orderable.directive.mjs +123 -123
  41. package/esm2022/lib/widget-library/radios.component.mjs +44 -44
  42. package/esm2022/lib/widget-library/root.component.mjs +44 -44
  43. package/esm2022/lib/widget-library/section.component.mjs +78 -78
  44. package/esm2022/lib/widget-library/select-framework.component.mjs +51 -51
  45. package/esm2022/lib/widget-library/select-widget.component.mjs +46 -46
  46. package/esm2022/lib/widget-library/select.component.mjs +41 -41
  47. package/esm2022/lib/widget-library/submit.component.mjs +55 -55
  48. package/esm2022/lib/widget-library/tab.component.mjs +30 -30
  49. package/esm2022/lib/widget-library/tabs.component.mjs +53 -53
  50. package/esm2022/lib/widget-library/template.component.mjs +46 -46
  51. package/esm2022/lib/widget-library/textarea.component.mjs +37 -37
  52. package/esm2022/lib/widget-library/widget-library.module.mjs +41 -41
  53. package/esm2022/lib/widget-library/widget-library.service.mjs +225 -225
  54. package/esm2022/ng-formworks-core.mjs +4 -4
  55. package/esm2022/public_api.mjs +12 -12
  56. package/fesm2022/ng-formworks-core.mjs +9103 -9103
  57. package/fesm2022/ng-formworks-core.mjs.map +1 -1
  58. package/index.d.ts +5 -5
  59. package/lib/framework-library/framework-library.service.d.ts +55 -55
  60. package/lib/framework-library/framework.d.ts +13 -13
  61. package/lib/framework-library/no-framework.component.d.ts +8 -8
  62. package/lib/framework-library/no-framework.module.d.ts +9 -9
  63. package/lib/framework-library/no.framework.d.ts +10 -10
  64. package/lib/json-schema-form.component.d.ts +218 -218
  65. package/lib/json-schema-form.module.d.ts +11 -11
  66. package/lib/json-schema-form.service.d.ts +115 -115
  67. package/lib/locale/de-validation-messages.d.ts +1 -1
  68. package/lib/locale/en-validation-messages.d.ts +1 -1
  69. package/lib/locale/es-validation-messages.d.ts +1 -1
  70. package/lib/locale/fr-validation-messages.d.ts +1 -1
  71. package/lib/locale/index.d.ts +7 -7
  72. package/lib/locale/it-validation-messages.d.ts +1 -1
  73. package/lib/locale/pt-validation-messages.d.ts +1 -1
  74. package/lib/locale/zh-validation-messages.d.ts +1 -1
  75. package/lib/shared/convert-schema-to-draft6.function.d.ts +21 -21
  76. package/lib/shared/form-group.functions.d.ts +100 -100
  77. package/lib/shared/format-regex.constants.d.ts +19 -19
  78. package/lib/shared/index.d.ts +9 -9
  79. package/lib/shared/json-schema.functions.d.ts +193 -193
  80. package/lib/shared/json.validators.d.ts +441 -441
  81. package/lib/shared/jsonpointer.functions.d.ts +416 -416
  82. package/lib/shared/layout.functions.d.ts +83 -83
  83. package/lib/shared/merge-schemas.function.d.ts +19 -19
  84. package/lib/shared/utility.functions.d.ts +165 -165
  85. package/lib/shared/validator.functions.d.ts +364 -364
  86. package/lib/widget-library/add-reference.component.d.ts +20 -20
  87. package/lib/widget-library/button.component.d.ts +21 -21
  88. package/lib/widget-library/checkbox.component.d.ts +24 -24
  89. package/lib/widget-library/checkboxes.component.d.ts +24 -24
  90. package/lib/widget-library/file.component.d.ts +21 -21
  91. package/lib/widget-library/hidden.component.d.ts +19 -19
  92. package/lib/widget-library/index.d.ts +47 -47
  93. package/lib/widget-library/input.component.d.ts +22 -22
  94. package/lib/widget-library/message.component.d.ts +15 -15
  95. package/lib/widget-library/none.component.d.ts +8 -8
  96. package/lib/widget-library/number.component.d.ts +25 -25
  97. package/lib/widget-library/one-of.component.d.ts +21 -21
  98. package/lib/widget-library/orderable.directive.d.ts +41 -41
  99. package/lib/widget-library/radios.component.d.ts +23 -23
  100. package/lib/widget-library/root.component.d.ts +17 -17
  101. package/lib/widget-library/section.component.d.ts +19 -19
  102. package/lib/widget-library/select-framework.component.d.ts +18 -18
  103. package/lib/widget-library/select-widget.component.d.ts +18 -18
  104. package/lib/widget-library/select.component.d.ts +24 -24
  105. package/lib/widget-library/submit.component.d.ts +24 -24
  106. package/lib/widget-library/tab.component.d.ts +14 -14
  107. package/lib/widget-library/tabs.component.d.ts +20 -20
  108. package/lib/widget-library/template.component.d.ts +18 -18
  109. package/lib/widget-library/textarea.component.d.ts +21 -21
  110. package/lib/widget-library/widget-library.module.d.ts +31 -31
  111. package/lib/widget-library/widget-library.service.d.ts +22 -22
  112. package/package.json +5 -5
  113. package/public_api.d.ts +9 -9
@@ -1,41 +1,41 @@
1
- import { ElementRef, NgZone, OnInit } from '@angular/core';
2
- import { JsonSchemaFormService } from '../json-schema-form.service';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * OrderableDirective
6
- *
7
- * Enables array elements to be reordered by dragging and dropping.
8
- *
9
- * Only works for arrays that have at least two elements.
10
- *
11
- * Also detects arrays-within-arrays, and correctly moves either
12
- * the child array element or the parent array element,
13
- * depending on the drop targert.
14
- *
15
- * Listeners for movable element being dragged:
16
- * - dragstart: add 'dragging' class to element, set effectAllowed = 'move'
17
- * - dragover: set dropEffect = 'move'
18
- * - dragend: remove 'dragging' class from element
19
- *
20
- * Listeners for stationary items being dragged over:
21
- * - dragenter: add 'drag-target-...' classes to element
22
- * - dragleave: remove 'drag-target-...' classes from element
23
- * - drop: remove 'drag-target-...' classes from element, move dropped array item
24
- */
25
- export declare class OrderableDirective implements OnInit {
26
- private elementRef;
27
- private jsf;
28
- private ngZone;
29
- arrayLayoutIndex: string;
30
- element: any;
31
- overParentElement: boolean;
32
- overChildElement: boolean;
33
- orderable: boolean;
34
- layoutNode: any;
35
- layoutIndex: number[];
36
- dataIndex: number[];
37
- constructor(elementRef: ElementRef, jsf: JsonSchemaFormService, ngZone: NgZone);
38
- ngOnInit(): void;
39
- 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>;
41
- }
1
+ import { ElementRef, NgZone, OnInit } from '@angular/core';
2
+ import { JsonSchemaFormService } from '../json-schema-form.service';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * OrderableDirective
6
+ *
7
+ * Enables array elements to be reordered by dragging and dropping.
8
+ *
9
+ * Only works for arrays that have at least two elements.
10
+ *
11
+ * Also detects arrays-within-arrays, and correctly moves either
12
+ * the child array element or the parent array element,
13
+ * depending on the drop targert.
14
+ *
15
+ * Listeners for movable element being dragged:
16
+ * - dragstart: add 'dragging' class to element, set effectAllowed = 'move'
17
+ * - dragover: set dropEffect = 'move'
18
+ * - dragend: remove 'dragging' class from element
19
+ *
20
+ * Listeners for stationary items being dragged over:
21
+ * - dragenter: add 'drag-target-...' classes to element
22
+ * - dragleave: remove 'drag-target-...' classes from element
23
+ * - drop: remove 'drag-target-...' classes from element, move dropped array item
24
+ */
25
+ export declare class OrderableDirective implements OnInit {
26
+ private elementRef;
27
+ private jsf;
28
+ private ngZone;
29
+ arrayLayoutIndex: string;
30
+ element: any;
31
+ overParentElement: boolean;
32
+ overChildElement: boolean;
33
+ orderable: boolean;
34
+ layoutNode: any;
35
+ layoutIndex: number[];
36
+ dataIndex: number[];
37
+ constructor(elementRef: ElementRef, jsf: JsonSchemaFormService, ngZone: NgZone);
38
+ ngOnInit(): void;
39
+ 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>;
41
+ }
@@ -1,23 +1,23 @@
1
- import { AbstractControl } from '@angular/forms';
2
- import { OnInit } from '@angular/core';
3
- import { JsonSchemaFormService } from '../json-schema-form.service';
4
- import * as i0 from "@angular/core";
5
- export declare class RadiosComponent implements OnInit {
6
- private jsf;
7
- formControl: AbstractControl;
8
- controlName: string;
9
- controlValue: any;
10
- controlDisabled: boolean;
11
- boundControl: boolean;
12
- options: any;
13
- layoutOrientation: string;
14
- radiosList: any[];
15
- layoutNode: any;
16
- layoutIndex: number[];
17
- dataIndex: number[];
18
- constructor(jsf: JsonSchemaFormService);
19
- ngOnInit(): void;
20
- updateValue(event: any): void;
21
- 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>;
23
- }
1
+ import { AbstractControl } from '@angular/forms';
2
+ import { OnInit } from '@angular/core';
3
+ import { JsonSchemaFormService } from '../json-schema-form.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class RadiosComponent implements OnInit {
6
+ private jsf;
7
+ formControl: AbstractControl;
8
+ controlName: string;
9
+ controlValue: any;
10
+ controlDisabled: boolean;
11
+ boundControl: boolean;
12
+ options: any;
13
+ layoutOrientation: string;
14
+ radiosList: any[];
15
+ layoutNode: any;
16
+ layoutIndex: number[];
17
+ dataIndex: number[];
18
+ constructor(jsf: JsonSchemaFormService);
19
+ ngOnInit(): void;
20
+ updateValue(event: any): void;
21
+ 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>;
23
+ }
@@ -1,17 +1,17 @@
1
- import { JsonSchemaFormService } from '../json-schema-form.service';
2
- import * as i0 from "@angular/core";
3
- export declare class RootComponent {
4
- private jsf;
5
- options: any;
6
- dataIndex: number[];
7
- layoutIndex: number[];
8
- layout: any[];
9
- isOrderable: boolean;
10
- isFlexItem: boolean;
11
- constructor(jsf: JsonSchemaFormService);
12
- isDraggable(node: any): boolean;
13
- getFlexAttribute(node: any, attribute: string): any;
14
- showWidget(layoutNode: any): boolean;
15
- 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>;
17
- }
1
+ import { JsonSchemaFormService } from '../json-schema-form.service';
2
+ import * as i0 from "@angular/core";
3
+ export declare class RootComponent {
4
+ private jsf;
5
+ options: any;
6
+ dataIndex: number[];
7
+ layoutIndex: number[];
8
+ layout: any[];
9
+ isOrderable: boolean;
10
+ isFlexItem: boolean;
11
+ constructor(jsf: JsonSchemaFormService);
12
+ isDraggable(node: any): boolean;
13
+ getFlexAttribute(node: any, attribute: string): any;
14
+ showWidget(layoutNode: any): boolean;
15
+ 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>;
17
+ }
@@ -1,19 +1,19 @@
1
- import { OnInit } from '@angular/core';
2
- import { JsonSchemaFormService } from '../json-schema-form.service';
3
- import * as i0 from "@angular/core";
4
- export declare class SectionComponent implements OnInit {
5
- private jsf;
6
- options: any;
7
- expanded: boolean;
8
- containerType: string;
9
- layoutNode: any;
10
- layoutIndex: number[];
11
- dataIndex: number[];
12
- constructor(jsf: JsonSchemaFormService);
13
- get sectionTitle(): string;
14
- ngOnInit(): void;
15
- toggleExpanded(): void;
16
- getFlexAttribute(attribute: string): any;
17
- 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>;
19
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { JsonSchemaFormService } from '../json-schema-form.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SectionComponent implements OnInit {
5
+ private jsf;
6
+ options: any;
7
+ expanded: boolean;
8
+ containerType: string;
9
+ layoutNode: any;
10
+ layoutIndex: number[];
11
+ dataIndex: number[];
12
+ constructor(jsf: JsonSchemaFormService);
13
+ get sectionTitle(): string;
14
+ ngOnInit(): void;
15
+ toggleExpanded(): void;
16
+ getFlexAttribute(attribute: string): any;
17
+ 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>;
19
+ }
@@ -1,18 +1,18 @@
1
- import { ComponentFactoryResolver, ComponentRef, OnChanges, OnInit, ViewContainerRef } from '@angular/core';
2
- import { JsonSchemaFormService } from '../json-schema-form.service';
3
- import * as i0 from "@angular/core";
4
- export declare class SelectFrameworkComponent implements OnChanges, OnInit {
5
- private componentFactory;
6
- private jsf;
7
- newComponent: ComponentRef<any>;
8
- layoutNode: any;
9
- layoutIndex: number[];
10
- dataIndex: number[];
11
- widgetContainer: ViewContainerRef;
12
- constructor(componentFactory: ComponentFactoryResolver, jsf: JsonSchemaFormService);
13
- ngOnInit(): void;
14
- ngOnChanges(): void;
15
- updateComponent(): void;
16
- 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>;
18
- }
1
+ import { ComponentFactoryResolver, ComponentRef, OnChanges, OnInit, ViewContainerRef } from '@angular/core';
2
+ import { JsonSchemaFormService } from '../json-schema-form.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SelectFrameworkComponent implements OnChanges, OnInit {
5
+ private componentFactory;
6
+ private jsf;
7
+ newComponent: ComponentRef<any>;
8
+ layoutNode: any;
9
+ layoutIndex: number[];
10
+ dataIndex: number[];
11
+ widgetContainer: ViewContainerRef;
12
+ constructor(componentFactory: ComponentFactoryResolver, jsf: JsonSchemaFormService);
13
+ ngOnInit(): void;
14
+ ngOnChanges(): void;
15
+ updateComponent(): void;
16
+ 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>;
18
+ }
@@ -1,18 +1,18 @@
1
- import { ComponentFactoryResolver, ComponentRef, OnChanges, OnInit, ViewContainerRef } from '@angular/core';
2
- import { JsonSchemaFormService } from '../json-schema-form.service';
3
- import * as i0 from "@angular/core";
4
- export declare class SelectWidgetComponent implements OnChanges, OnInit {
5
- private componentFactory;
6
- private jsf;
7
- newComponent: ComponentRef<any>;
8
- layoutNode: any;
9
- layoutIndex: number[];
10
- dataIndex: number[];
11
- widgetContainer: ViewContainerRef;
12
- constructor(componentFactory: ComponentFactoryResolver, jsf: JsonSchemaFormService);
13
- ngOnInit(): void;
14
- ngOnChanges(): void;
15
- updateComponent(): void;
16
- 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>;
18
- }
1
+ import { ComponentFactoryResolver, ComponentRef, OnChanges, OnInit, ViewContainerRef } from '@angular/core';
2
+ import { JsonSchemaFormService } from '../json-schema-form.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class SelectWidgetComponent implements OnChanges, OnInit {
5
+ private componentFactory;
6
+ private jsf;
7
+ newComponent: ComponentRef<any>;
8
+ layoutNode: any;
9
+ layoutIndex: number[];
10
+ dataIndex: number[];
11
+ widgetContainer: ViewContainerRef;
12
+ constructor(componentFactory: ComponentFactoryResolver, jsf: JsonSchemaFormService);
13
+ ngOnInit(): void;
14
+ ngOnChanges(): void;
15
+ updateComponent(): void;
16
+ 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>;
18
+ }
@@ -1,24 +1,24 @@
1
- import { AbstractControl } from '@angular/forms';
2
- import { isArray } from '../shared';
3
- import { OnInit } from '@angular/core';
4
- import { JsonSchemaFormService } from '../json-schema-form.service';
5
- import * as i0 from "@angular/core";
6
- export declare class SelectComponent implements OnInit {
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(jsf: JsonSchemaFormService);
20
- ngOnInit(): void;
21
- updateValue(event: any): void;
22
- 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>;
24
- }
1
+ import { AbstractControl } from '@angular/forms';
2
+ import { isArray } from '../shared';
3
+ import { OnInit } from '@angular/core';
4
+ import { JsonSchemaFormService } from '../json-schema-form.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class SelectComponent implements OnInit {
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(jsf: JsonSchemaFormService);
20
+ ngOnInit(): void;
21
+ updateValue(event: any): void;
22
+ 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>;
24
+ }
@@ -1,24 +1,24 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
2
- import { AbstractControl } from '@angular/forms';
3
- import { Subscription } from 'rxjs';
4
- import { JsonSchemaFormService } from '../json-schema-form.service';
5
- import * as i0 from "@angular/core";
6
- export declare class SubmitComponent 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<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>;
24
- }
1
+ import { OnDestroy, OnInit } from '@angular/core';
2
+ import { AbstractControl } from '@angular/forms';
3
+ import { Subscription } from 'rxjs';
4
+ import { JsonSchemaFormService } from '../json-schema-form.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class SubmitComponent 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<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>;
24
+ }
@@ -1,14 +1,14 @@
1
- import { OnInit } from '@angular/core';
2
- import { JsonSchemaFormService } from '../json-schema-form.service';
3
- import * as i0 from "@angular/core";
4
- export declare class TabComponent implements OnInit {
5
- private jsf;
6
- options: any;
7
- layoutNode: any;
8
- layoutIndex: number[];
9
- dataIndex: number[];
10
- constructor(jsf: JsonSchemaFormService);
11
- ngOnInit(): void;
12
- 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>;
14
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { JsonSchemaFormService } from '../json-schema-form.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TabComponent implements OnInit {
5
+ private jsf;
6
+ options: any;
7
+ layoutNode: any;
8
+ layoutIndex: number[];
9
+ dataIndex: number[];
10
+ constructor(jsf: JsonSchemaFormService);
11
+ ngOnInit(): void;
12
+ 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>;
14
+ }
@@ -1,20 +1,20 @@
1
- import { OnInit } from '@angular/core';
2
- import { JsonSchemaFormService } from '../json-schema-form.service';
3
- import * as i0 from "@angular/core";
4
- export declare class TabsComponent 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<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>;
20
- }
1
+ import { OnInit } from '@angular/core';
2
+ import { JsonSchemaFormService } from '../json-schema-form.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TabsComponent 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<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>;
20
+ }
@@ -1,18 +1,18 @@
1
- import { ComponentFactoryResolver, ComponentRef, OnChanges, OnInit, ViewContainerRef } from '@angular/core';
2
- import { JsonSchemaFormService } from '../json-schema-form.service';
3
- import * as i0 from "@angular/core";
4
- export declare class TemplateComponent implements OnInit, OnChanges {
5
- private componentFactory;
6
- private jsf;
7
- newComponent: ComponentRef<any>;
8
- layoutNode: any;
9
- layoutIndex: number[];
10
- dataIndex: number[];
11
- widgetContainer: ViewContainerRef;
12
- constructor(componentFactory: ComponentFactoryResolver, jsf: JsonSchemaFormService);
13
- ngOnInit(): void;
14
- ngOnChanges(): void;
15
- updateComponent(): void;
16
- 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>;
18
- }
1
+ import { ComponentFactoryResolver, ComponentRef, OnChanges, OnInit, ViewContainerRef } from '@angular/core';
2
+ import { JsonSchemaFormService } from '../json-schema-form.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class TemplateComponent implements OnInit, OnChanges {
5
+ private componentFactory;
6
+ private jsf;
7
+ newComponent: ComponentRef<any>;
8
+ layoutNode: any;
9
+ layoutIndex: number[];
10
+ dataIndex: number[];
11
+ widgetContainer: ViewContainerRef;
12
+ constructor(componentFactory: ComponentFactoryResolver, jsf: JsonSchemaFormService);
13
+ ngOnInit(): void;
14
+ ngOnChanges(): void;
15
+ updateComponent(): void;
16
+ 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>;
18
+ }
@@ -1,21 +1,21 @@
1
- import { AbstractControl } from '@angular/forms';
2
- import { OnInit } from '@angular/core';
3
- import { JsonSchemaFormService } from '../json-schema-form.service';
4
- import * as i0 from "@angular/core";
5
- export declare class TextareaComponent 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<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>;
21
- }
1
+ import { AbstractControl } from '@angular/forms';
2
+ import { OnInit } from '@angular/core';
3
+ import { JsonSchemaFormService } from '../json-schema-form.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TextareaComponent 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<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>;
21
+ }
@@ -1,31 +1,31 @@
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 "@angular/common";
26
- import * as i25 from "@angular/forms";
27
- export declare class WidgetLibraryModule {
28
- static ɵfac: i0.ɵɵFactoryDeclaration<WidgetLibraryModule, never>;
29
- 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.CommonModule, typeof i25.FormsModule, typeof i25.ReactiveFormsModule], [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]>;
30
- static ɵinj: i0.ɵɵInjectorDeclaration<WidgetLibraryModule>;
31
- }
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 "@angular/common";
26
+ import * as i25 from "@angular/forms";
27
+ export declare class WidgetLibraryModule {
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<WidgetLibraryModule, never>;
29
+ 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.CommonModule, typeof i25.FormsModule, typeof i25.ReactiveFormsModule], [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]>;
30
+ static ɵinj: i0.ɵɵInjectorDeclaration<WidgetLibraryModule>;
31
+ }