@4science_ng-dynamic-forms/ui-ng-bootstrap 19.0.2 → 19.0.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 (83) hide show
  1. package/esm2022/lib/calendar/dynamic-ng-bootstrap-calendar.component.mjs +59 -0
  2. package/esm2022/lib/checkbox/dynamic-ng-bootstrap-checkbox.component.mjs +53 -0
  3. package/esm2022/lib/checkbox-group/dynamic-ng-bootstrap-checkbox-group.component.mjs +60 -0
  4. package/esm2022/lib/datepicker/dynamic-ng-bootstrap-datepicker.component.mjs +62 -0
  5. package/esm2022/lib/dynamic-ng-bootstrap-form-control-container.component.mjs +201 -0
  6. package/esm2022/lib/dynamic-ng-bootstrap-form.component.mjs +59 -0
  7. package/esm2022/lib/input/dynamic-ng-bootstrap-input.component.mjs +54 -0
  8. package/esm2022/lib/radio-group/dynamic-ng-bootstrap-radio-group.component.mjs +53 -0
  9. package/esm2022/lib/rating/dynamic-ng-bootstrap-rating.component.mjs +62 -0
  10. package/esm2022/lib/select/dynamic-ng-bootstrap-select.component.mjs +53 -0
  11. package/esm2022/lib/switch/dynamic-ng-bootstrap-switch.component.mjs +53 -0
  12. package/esm2022/lib/textarea/dynamic-ng-bootstrap-textarea.component.mjs +53 -0
  13. package/esm2022/lib/timepicker/dynamic-ng-bootstrap-timepicker.component.mjs +59 -0
  14. package/esm2022/lib/ui-ng-bootstrap.mjs +29 -0
  15. package/esm2022/public-api.mjs +17 -0
  16. package/esm2022/ui-ng-bootstrap.mjs +5 -0
  17. package/fesm2022/ui-ng-bootstrap.mjs +820 -0
  18. package/fesm2022/ui-ng-bootstrap.mjs.map +1 -0
  19. package/index.d.ts +5 -0
  20. package/lib/calendar/dynamic-ng-bootstrap-calendar.component.d.ts +21 -0
  21. package/lib/checkbox/dynamic-ng-bootstrap-checkbox.component.d.ts +18 -0
  22. package/lib/checkbox-group/dynamic-ng-bootstrap-checkbox-group.component.d.ts +20 -0
  23. package/lib/datepicker/dynamic-ng-bootstrap-datepicker.component.d.ts +22 -0
  24. package/lib/dynamic-ng-bootstrap-form-control-container.component.d.ts +65 -0
  25. package/lib/dynamic-ng-bootstrap-form.component.d.ts +21 -0
  26. package/lib/input/dynamic-ng-bootstrap-input.component.d.ts +18 -0
  27. package/lib/radio-group/dynamic-ng-bootstrap-radio-group.component.d.ts +18 -0
  28. package/lib/rating/dynamic-ng-bootstrap-rating.component.d.ts +22 -0
  29. package/lib/select/dynamic-ng-bootstrap-select.component.d.ts +18 -0
  30. package/lib/switch/dynamic-ng-bootstrap-switch.component.d.ts +18 -0
  31. package/lib/textarea/dynamic-ng-bootstrap-textarea.component.d.ts +18 -0
  32. package/lib/timepicker/dynamic-ng-bootstrap-timepicker.component.d.ts +21 -0
  33. package/{src/lib/ui-ng-bootstrap.ts → lib/ui-ng-bootstrap.d.ts} +0 -18
  34. package/package.json +15 -4
  35. package/public-api.d.ts +1 -0
  36. package/karma.conf.js +0 -52
  37. package/ng-package.json +0 -8
  38. package/src/lib/calendar/dynamic-ng-bootstrap-calendar.component.html +0 -33
  39. package/src/lib/calendar/dynamic-ng-bootstrap-calendar.component.spec.ts +0 -104
  40. package/src/lib/calendar/dynamic-ng-bootstrap-calendar.component.ts +0 -54
  41. package/src/lib/checkbox/dynamic-ng-bootstrap-checkbox.component.html +0 -38
  42. package/src/lib/checkbox/dynamic-ng-bootstrap-checkbox.component.spec.ts +0 -104
  43. package/src/lib/checkbox/dynamic-ng-bootstrap-checkbox.component.ts +0 -49
  44. package/src/lib/checkbox-group/dynamic-ng-bootstrap-checkbox-group.component.html +0 -42
  45. package/src/lib/checkbox-group/dynamic-ng-bootstrap-checkbox-group.component.spec.ts +0 -108
  46. package/src/lib/checkbox-group/dynamic-ng-bootstrap-checkbox-group.component.ts +0 -59
  47. package/src/lib/datepicker/dynamic-ng-bootstrap-datepicker.component.html +0 -51
  48. package/src/lib/datepicker/dynamic-ng-bootstrap-datepicker.component.spec.ts +0 -103
  49. package/src/lib/datepicker/dynamic-ng-bootstrap-datepicker.component.ts +0 -56
  50. package/src/lib/dynamic-ng-bootstrap-form-array.component.html +0 -45
  51. package/src/lib/dynamic-ng-bootstrap-form-control-container.component.html +0 -44
  52. package/src/lib/dynamic-ng-bootstrap-form-control-container.component.spec.ts +0 -198
  53. package/src/lib/dynamic-ng-bootstrap-form-control-container.component.ts +0 -214
  54. package/src/lib/dynamic-ng-bootstrap-form-group.component.html +0 -35
  55. package/src/lib/dynamic-ng-bootstrap-form.component.html +0 -26
  56. package/src/lib/dynamic-ng-bootstrap-form.component.ts +0 -65
  57. package/src/lib/input/dynamic-ng-bootstrap-input.component.html +0 -101
  58. package/src/lib/input/dynamic-ng-bootstrap-input.component.spec.ts +0 -107
  59. package/src/lib/input/dynamic-ng-bootstrap-input.component.ts +0 -52
  60. package/src/lib/radio-group/dynamic-ng-bootstrap-radio-group.component.html +0 -42
  61. package/src/lib/radio-group/dynamic-ng-bootstrap-radio-group.component.spec.ts +0 -106
  62. package/src/lib/radio-group/dynamic-ng-bootstrap-radio-group.component.ts +0 -49
  63. package/src/lib/rating/dynamic-ng-bootstrap-rating.component.html +0 -28
  64. package/src/lib/rating/dynamic-ng-bootstrap-rating.component.spec.ts +0 -104
  65. package/src/lib/rating/dynamic-ng-bootstrap-rating.component.ts +0 -56
  66. package/src/lib/select/dynamic-ng-bootstrap-select.component.html +0 -39
  67. package/src/lib/select/dynamic-ng-bootstrap-select.component.spec.ts +0 -104
  68. package/src/lib/select/dynamic-ng-bootstrap-select.component.ts +0 -49
  69. package/src/lib/switch/dynamic-ng-bootstrap-switch.component.html +0 -35
  70. package/src/lib/switch/dynamic-ng-bootstrap-switch.component.spec.ts +0 -104
  71. package/src/lib/switch/dynamic-ng-bootstrap-switch.component.ts +0 -49
  72. package/src/lib/textarea/dynamic-ng-bootstrap-textarea.component.html +0 -39
  73. package/src/lib/textarea/dynamic-ng-bootstrap-textarea.component.spec.ts +0 -105
  74. package/src/lib/textarea/dynamic-ng-bootstrap-textarea.component.ts +0 -49
  75. package/src/lib/timepicker/dynamic-ng-bootstrap-timepicker.component.html +0 -30
  76. package/src/lib/timepicker/dynamic-ng-bootstrap-timepicker.component.spec.ts +0 -111
  77. package/src/lib/timepicker/dynamic-ng-bootstrap-timepicker.component.ts +0 -54
  78. package/src/public-api.ts +0 -17
  79. package/src/test.ts +0 -35
  80. package/tsconfig.lib.json +0 -30
  81. package/tsconfig.lib.prod.json +0 -9
  82. package/tsconfig.spec.json +0 -17
  83. package/tslint.json +0 -17
@@ -0,0 +1,820 @@
1
+ import * as i0 from '@angular/core';
2
+ import { EventEmitter, Component, ChangeDetectionStrategy, Input, Output, ViewChild, ViewContainerRef, ContentChildren, HostBinding, ViewChildren } from '@angular/core';
3
+ import * as i2$1 from '@angular/forms';
4
+ import { ReactiveFormsModule } from '@angular/forms';
5
+ import * as i2 from '@ng-bootstrap/ng-bootstrap';
6
+ import { NgbDatepicker, NgbDatepickerModule, NgbRating, NgbRatingModule, NgbTimepicker, NgbTimepickerModule } from '@ng-bootstrap/ng-bootstrap';
7
+ import * as i1 from '@ng-dynamic-forms/core';
8
+ import { DynamicFormControlComponent, DynamicFormsCoreModule, DynamicFormControlContainerComponent, DynamicTemplateDirective, DYNAMIC_FORM_CONTROL_TYPE_TIMEPICKER, DYNAMIC_FORM_CONTROL_TYPE_TEXTAREA, DYNAMIC_FORM_CONTROL_TYPE_SWITCH, DYNAMIC_FORM_CONTROL_TYPE_SELECT, DYNAMIC_FORM_CONTROL_TYPE_RATING, DYNAMIC_FORM_CONTROL_TYPE_RADIO_GROUP, DYNAMIC_FORM_CONTROL_TYPE_INPUT, DYNAMIC_FORM_CONTROL_TYPE_GROUP, DYNAMIC_FORM_CONTROL_TYPE_DATEPICKER, DYNAMIC_FORM_CONTROL_TYPE_CHECKBOX_GROUP, DYNAMIC_FORM_CONTROL_TYPE_CHECKBOX, DYNAMIC_FORM_CONTROL_TYPE_ARRAY, DynamicFormArrayComponent, DynamicFormGroupComponent, DynamicFormComponent } from '@ng-dynamic-forms/core';
9
+ import { NgClass, NgFor, NgIf, AsyncPipe, NgTemplateOutlet } from '@angular/common';
10
+ import { provideNgxMask, NgxMaskDirective } from 'ngx-mask';
11
+
12
+ /*
13
+ * Copyright (c) 2016-2021, Udo Schöfer http://www.udos86.de
14
+ *
15
+ * Permission to use, copy, modify, and/or distribute this software for any
16
+ * purpose with or without fee is hereby granted, provided that the above
17
+ * copyright notice and this permission notice appear in all copies.
18
+ *
19
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
20
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
21
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
22
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
23
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
24
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
25
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
26
+ */
27
+ class DynamicNGBootstrapCalendarComponent extends DynamicFormControlComponent {
28
+ constructor(layoutService, validationService, config) {
29
+ super(layoutService, validationService);
30
+ this.layoutService = layoutService;
31
+ this.validationService = validationService;
32
+ this.config = config;
33
+ this.blur = new EventEmitter();
34
+ this.change = new EventEmitter();
35
+ this.focus = new EventEmitter();
36
+ }
37
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapCalendarComponent, deps: [{ token: i1.DynamicFormLayoutService }, { token: i1.DynamicFormValidationService }, { token: i2.NgbDatepickerConfig }], target: i0.ɵɵFactoryTarget.Component }); }
38
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DynamicNGBootstrapCalendarComponent, isStandalone: true, selector: "dynamic-ng-bootstrap-calendar", inputs: { formLayout: "formLayout", group: "group", layout: "layout", model: "model" }, outputs: { blur: "blur", change: "change", focus: "focus" }, viewQueries: [{ propertyName: "ngbCalendar", first: true, predicate: NgbDatepicker, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<ng-container [formGroup]=\"group\">\n\n <ngb-datepicker [displayMonths]=\"model.getAdditional('displayMonths', config['displayMonths'])\"\n [firstDayOfWeek]=\"model.getAdditional('firstDayOfWeek', config['firstDayOfWeek'])\"\n [formControlName]=\"model.id\"\n [id]=\"id\"\n [maxDate]=\"model.max\"\n [minDate]=\"model.min\"\n [navigation]=\"model.getAdditional('navigation', config['navigation'])\"\n [ngClass]=\"getClass('element', 'control')\"\n [outsideDays]=\"model.getAdditional('outsideDays', config['outsideDays'])\"\n [showWeekNumbers]=\"model.getAdditional('showWeekNumbers', config['showWeekNumbers'])\"\n [weekdays]=\"model.getAdditional('showWeekdays', config['weekdays'])\"\n [startDate]=\"model.focusedDate\"\n (select)=\"onChange($event)\"></ngb-datepicker>\n\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NgbDatepickerModule }, { kind: "component", type: i2.NgbDatepicker, selector: "ngb-datepicker", inputs: ["contentTemplate", "dayTemplate", "dayTemplateData", "displayMonths", "firstDayOfWeek", "footerTemplate", "markDisabled", "maxDate", "minDate", "navigation", "outsideDays", "showWeekNumbers", "startDate", "weekdays"], outputs: ["navigate", "dateSelect"], exportAs: ["ngbDatepicker"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
39
+ }
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapCalendarComponent, decorators: [{
41
+ type: Component,
42
+ args: [{ selector: "dynamic-ng-bootstrap-calendar", changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ReactiveFormsModule, NgbDatepickerModule, NgClass], template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<ng-container [formGroup]=\"group\">\n\n <ngb-datepicker [displayMonths]=\"model.getAdditional('displayMonths', config['displayMonths'])\"\n [firstDayOfWeek]=\"model.getAdditional('firstDayOfWeek', config['firstDayOfWeek'])\"\n [formControlName]=\"model.id\"\n [id]=\"id\"\n [maxDate]=\"model.max\"\n [minDate]=\"model.min\"\n [navigation]=\"model.getAdditional('navigation', config['navigation'])\"\n [ngClass]=\"getClass('element', 'control')\"\n [outsideDays]=\"model.getAdditional('outsideDays', config['outsideDays'])\"\n [showWeekNumbers]=\"model.getAdditional('showWeekNumbers', config['showWeekNumbers'])\"\n [weekdays]=\"model.getAdditional('showWeekdays', config['weekdays'])\"\n [startDate]=\"model.focusedDate\"\n (select)=\"onChange($event)\"></ngb-datepicker>\n\n</ng-container>\n" }]
43
+ }], ctorParameters: function () { return [{ type: i1.DynamicFormLayoutService }, { type: i1.DynamicFormValidationService }, { type: i2.NgbDatepickerConfig }]; }, propDecorators: { formLayout: [{
44
+ type: Input
45
+ }], group: [{
46
+ type: Input
47
+ }], layout: [{
48
+ type: Input
49
+ }], model: [{
50
+ type: Input
51
+ }], blur: [{
52
+ type: Output
53
+ }], change: [{
54
+ type: Output
55
+ }], focus: [{
56
+ type: Output
57
+ }], ngbCalendar: [{
58
+ type: ViewChild,
59
+ args: [NgbDatepicker, { static: true }]
60
+ }] } });
61
+
62
+ /*
63
+ * Copyright (c) 2016-2021, Udo Schöfer http://www.udos86.de
64
+ *
65
+ * Permission to use, copy, modify, and/or distribute this software for any
66
+ * purpose with or without fee is hereby granted, provided that the above
67
+ * copyright notice and this permission notice appear in all copies.
68
+ *
69
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
70
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
71
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
72
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
73
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
74
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
75
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
76
+ */
77
+ class DynamicNGBootstrapCheckboxComponent extends DynamicFormControlComponent {
78
+ constructor(layoutService, validationService) {
79
+ super(layoutService, validationService);
80
+ this.layoutService = layoutService;
81
+ this.validationService = validationService;
82
+ this.blur = new EventEmitter();
83
+ this.change = new EventEmitter();
84
+ this.focus = new EventEmitter();
85
+ }
86
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapCheckboxComponent, deps: [{ token: i1.DynamicFormLayoutService }, { token: i1.DynamicFormValidationService }], target: i0.ɵɵFactoryTarget.Component }); }
87
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DynamicNGBootstrapCheckboxComponent, isStandalone: true, selector: "dynamic-ng-bootstrap-checkbox", inputs: { formLayout: "formLayout", group: "group", layout: "layout", model: "model" }, outputs: { blur: "blur", change: "change", focus: "focus" }, usesInheritance: true, ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<div [formGroup]=\"group\" class=\"form-check\" [class.disabled]=\"model.disabled\">\n\n <label class=\"form-check-label\">\n\n <input type=\"checkbox\" class=\"form-check-input\"\n [checked]=\"model.checked\"\n [class.is-invalid]=\"showErrorMessages\"\n [formControlName]=\"model.id\"\n [id]=\"id\"\n [indeterminate]=\"model.indeterminate\"\n [name]=\"model.name\"\n [ngClass]=\"getClass('element', 'control')\"\n [required]=\"model.required\"\n [tabindex]=\"model.tabIndex\"\n [value]=\"model.value\"\n (blur)=\"onBlur($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\"/><span [innerHTML]=\"model.label\"\n [ngClass]=\"[getClass('element', 'label'), getClass('grid', 'label')]\"></span>\n </label>\n\n</div>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.CheckboxRequiredValidator, selector: "input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
88
+ }
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapCheckboxComponent, decorators: [{
90
+ type: Component,
91
+ args: [{ selector: "dynamic-ng-bootstrap-checkbox", changeDetection: ChangeDetectionStrategy.Default, standalone: true, imports: [ReactiveFormsModule, NgClass], template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<div [formGroup]=\"group\" class=\"form-check\" [class.disabled]=\"model.disabled\">\n\n <label class=\"form-check-label\">\n\n <input type=\"checkbox\" class=\"form-check-input\"\n [checked]=\"model.checked\"\n [class.is-invalid]=\"showErrorMessages\"\n [formControlName]=\"model.id\"\n [id]=\"id\"\n [indeterminate]=\"model.indeterminate\"\n [name]=\"model.name\"\n [ngClass]=\"getClass('element', 'control')\"\n [required]=\"model.required\"\n [tabindex]=\"model.tabIndex\"\n [value]=\"model.value\"\n (blur)=\"onBlur($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\"/><span [innerHTML]=\"model.label\"\n [ngClass]=\"[getClass('element', 'label'), getClass('grid', 'label')]\"></span>\n </label>\n\n</div>\n" }]
92
+ }], ctorParameters: function () { return [{ type: i1.DynamicFormLayoutService }, { type: i1.DynamicFormValidationService }]; }, propDecorators: { formLayout: [{
93
+ type: Input
94
+ }], group: [{
95
+ type: Input
96
+ }], layout: [{
97
+ type: Input
98
+ }], model: [{
99
+ type: Input
100
+ }], blur: [{
101
+ type: Output
102
+ }], change: [{
103
+ type: Output
104
+ }], focus: [{
105
+ type: Output
106
+ }] } });
107
+
108
+ /*
109
+ * Copyright (c) 2016-2021, Udo Schöfer http://www.udos86.de
110
+ *
111
+ * Permission to use, copy, modify, and/or distribute this software for any
112
+ * purpose with or without fee is hereby granted, provided that the above
113
+ * copyright notice and this permission notice appear in all copies.
114
+ *
115
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
116
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
117
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
118
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
119
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
120
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
121
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
122
+ */
123
+ class DynamicNGBootstrapCheckboxGroupComponent extends DynamicFormControlComponent {
124
+ constructor(layoutService, validationService) {
125
+ super(layoutService, validationService);
126
+ this.layoutService = layoutService;
127
+ this.validationService = validationService;
128
+ this.blur = new EventEmitter();
129
+ this.change = new EventEmitter();
130
+ this.focus = new EventEmitter();
131
+ }
132
+ getCheckboxId(model) {
133
+ return this.layoutService.getElementId(model);
134
+ }
135
+ onCheckboxChange($event, model) {
136
+ this.onChange($event);
137
+ model.value = $event.target.checked;
138
+ }
139
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapCheckboxGroupComponent, deps: [{ token: i1.DynamicFormLayoutService }, { token: i1.DynamicFormValidationService }], target: i0.ɵɵFactoryTarget.Component }); }
140
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DynamicNGBootstrapCheckboxGroupComponent, isStandalone: true, selector: "dynamic-ng-bootstrap-checkbox-group", inputs: { formLayout: "formLayout", group: "group", layout: "layout", model: "model" }, outputs: { blur: "blur", change: "change", focus: "focus" }, usesInheritance: true, ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<ng-container [formGroup]=\"group\">\n\n <div class=\"btn-group btn-group-toggle\" data-bs-toggle=\"buttons\"\n [formGroupName]=\"model.id\"\n [id]=\"id\"\n [ngClass]=\"getClass('element', 'control')\">\n\n <label *ngFor=\"let checkboxModel of model.group\"\n [hidden]=\"checkboxModel.hidden\"\n [ngClass]=\"getClass('element', 'control', checkboxModel)\">\n\n <input type=\"checkbox\"\n [checked]=\"checkboxModel.checked\"\n [formControlName]=\"checkboxModel.id\"\n [id]=\"getCheckboxId(checkboxModel)\"\n [name]=\"checkboxModel.name\"\n [required]=\"checkboxModel.required\"\n [tabindex]=\"checkboxModel.tabIndex\"\n [value]=\"checkboxModel.value\"\n (blur)=\"onBlur($event)\"\n (change)=\"onCheckboxChange($event, checkboxModel)\"\n (focus)=\"onFocus($event)\"/><span [ngClass]=\"getClass('element', 'label', checkboxModel)\"\n [innerHTML]=\"checkboxModel.label\"></span></label>\n </div>\n\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.CheckboxRequiredValidator, selector: "input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: i2$1.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
141
+ }
142
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapCheckboxGroupComponent, decorators: [{
143
+ type: Component,
144
+ args: [{ selector: "dynamic-ng-bootstrap-checkbox-group", changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ReactiveFormsModule, NgClass, NgFor], template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<ng-container [formGroup]=\"group\">\n\n <div class=\"btn-group btn-group-toggle\" data-bs-toggle=\"buttons\"\n [formGroupName]=\"model.id\"\n [id]=\"id\"\n [ngClass]=\"getClass('element', 'control')\">\n\n <label *ngFor=\"let checkboxModel of model.group\"\n [hidden]=\"checkboxModel.hidden\"\n [ngClass]=\"getClass('element', 'control', checkboxModel)\">\n\n <input type=\"checkbox\"\n [checked]=\"checkboxModel.checked\"\n [formControlName]=\"checkboxModel.id\"\n [id]=\"getCheckboxId(checkboxModel)\"\n [name]=\"checkboxModel.name\"\n [required]=\"checkboxModel.required\"\n [tabindex]=\"checkboxModel.tabIndex\"\n [value]=\"checkboxModel.value\"\n (blur)=\"onBlur($event)\"\n (change)=\"onCheckboxChange($event, checkboxModel)\"\n (focus)=\"onFocus($event)\"/><span [ngClass]=\"getClass('element', 'label', checkboxModel)\"\n [innerHTML]=\"checkboxModel.label\"></span></label>\n </div>\n\n</ng-container>\n" }]
145
+ }], ctorParameters: function () { return [{ type: i1.DynamicFormLayoutService }, { type: i1.DynamicFormValidationService }]; }, propDecorators: { formLayout: [{
146
+ type: Input
147
+ }], group: [{
148
+ type: Input
149
+ }], layout: [{
150
+ type: Input
151
+ }], model: [{
152
+ type: Input
153
+ }], blur: [{
154
+ type: Output
155
+ }], change: [{
156
+ type: Output
157
+ }], focus: [{
158
+ type: Output
159
+ }] } });
160
+
161
+ /*
162
+ * Copyright (c) 2016-2021, Udo Schöfer http://www.udos86.de
163
+ *
164
+ * Permission to use, copy, modify, and/or distribute this software for any
165
+ * purpose with or without fee is hereby granted, provided that the above
166
+ * copyright notice and this permission notice appear in all copies.
167
+ *
168
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
169
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
170
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
171
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
172
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
173
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
174
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
175
+ */
176
+ class DynamicNGBootstrapDatePickerComponent extends DynamicFormControlComponent {
177
+ constructor(layoutService, validationService, config) {
178
+ super(layoutService, validationService);
179
+ this.layoutService = layoutService;
180
+ this.validationService = validationService;
181
+ this.config = config;
182
+ this.blur = new EventEmitter();
183
+ this.change = new EventEmitter();
184
+ this.customEvent = new EventEmitter();
185
+ this.focus = new EventEmitter();
186
+ }
187
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapDatePickerComponent, deps: [{ token: i1.DynamicFormLayoutService }, { token: i1.DynamicFormValidationService }, { token: i2.NgbDatepickerConfig }], target: i0.ɵɵFactoryTarget.Component }); }
188
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DynamicNGBootstrapDatePickerComponent, isStandalone: true, selector: "dynamic-ng-bootstrap-datepicker", inputs: { formLayout: "formLayout", group: "group", layout: "layout", model: "model" }, outputs: { blur: "blur", change: "change", customEvent: "customEvent", focus: "focus" }, viewQueries: [{ propertyName: "ngbDatePicker", first: true, predicate: NgbDatepicker, descendants: true }], usesInheritance: true, ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<div [formGroup]=\"group\" class=\"input-group\">\n\n <input ngbDatepicker class=\"form-control\" #datepicker=\"ngbDatepicker\"\n [class.is-invalid]=\"showErrorMessages\"\n [displayMonths]=\"model.getAdditional('displayMonths', config['displayMonths'])\"\n [firstDayOfWeek]=\"model.getAdditional('firstDayOfWeek', config['firstDayOfWeek'])\"\n [formControlName]=\"model.id\"\n [id]=\"id\"\n [maxDate]=\"model.max\"\n [minDate]=\"model.min\"\n [name]=\"model.name\"\n [navigation]=\"model.getAdditional('navigation', config['navigation'])\"\n [ngClass]=\"getClass('element', 'control')\"\n [outsideDays]=\"model.getAdditional('outsideDays', config['outsideDays'])\"\n [placeholder]=\"model.placeholder\"\n [placement]=\"model.getAdditional('placement', 'bottom-left')\"\n [showWeekNumbers]=\"model.getAdditional('showWeekNumbers', config['showWeekNumbers'])\"\n [startDate]=\"model.focusedDate\"\n [weekdays]=\"model.getAdditional('weekdays', config['weekdays'])\"\n (blur)=\"onBlur($event)\"\n (dateSelect)=\"onCustomEvent($event, 'dateSelect')\"\n (closed)=\"onCustomEvent($event, 'closed')\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\">\n\n\n <button class=\"btn btn-outline-secondary\" type=\"button\" (click)=\"datepicker.toggle()\">\n\n <img *ngIf=\"model.toggleIcon\" [src]=\"model.toggleIcon\" style=\"cursor: pointer;\"/>\n <span *ngIf=\"model.toggleLabel\">{{ model.toggleLabel }}</span>\n\n </button>\n\n\n</div>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NgbDatepickerModule }, { kind: "directive", type: i2.NgbInputDatepicker, selector: "input[ngbDatepicker]", inputs: ["autoClose", "contentTemplate", "datepickerClass", "dayTemplate", "dayTemplateData", "displayMonths", "firstDayOfWeek", "footerTemplate", "markDisabled", "minDate", "maxDate", "navigation", "outsideDays", "placement", "popperOptions", "restoreFocus", "showWeekNumbers", "startDate", "container", "positionTarget", "weekdays", "disabled"], outputs: ["dateSelect", "navigate", "closed"], exportAs: ["ngbDatepicker"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
189
+ }
190
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapDatePickerComponent, decorators: [{
191
+ type: Component,
192
+ args: [{ selector: "dynamic-ng-bootstrap-datepicker", changeDetection: ChangeDetectionStrategy.Default, standalone: true, imports: [ReactiveFormsModule, NgbDatepickerModule, NgClass, NgIf], template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<div [formGroup]=\"group\" class=\"input-group\">\n\n <input ngbDatepicker class=\"form-control\" #datepicker=\"ngbDatepicker\"\n [class.is-invalid]=\"showErrorMessages\"\n [displayMonths]=\"model.getAdditional('displayMonths', config['displayMonths'])\"\n [firstDayOfWeek]=\"model.getAdditional('firstDayOfWeek', config['firstDayOfWeek'])\"\n [formControlName]=\"model.id\"\n [id]=\"id\"\n [maxDate]=\"model.max\"\n [minDate]=\"model.min\"\n [name]=\"model.name\"\n [navigation]=\"model.getAdditional('navigation', config['navigation'])\"\n [ngClass]=\"getClass('element', 'control')\"\n [outsideDays]=\"model.getAdditional('outsideDays', config['outsideDays'])\"\n [placeholder]=\"model.placeholder\"\n [placement]=\"model.getAdditional('placement', 'bottom-left')\"\n [showWeekNumbers]=\"model.getAdditional('showWeekNumbers', config['showWeekNumbers'])\"\n [startDate]=\"model.focusedDate\"\n [weekdays]=\"model.getAdditional('weekdays', config['weekdays'])\"\n (blur)=\"onBlur($event)\"\n (dateSelect)=\"onCustomEvent($event, 'dateSelect')\"\n (closed)=\"onCustomEvent($event, 'closed')\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\">\n\n\n <button class=\"btn btn-outline-secondary\" type=\"button\" (click)=\"datepicker.toggle()\">\n\n <img *ngIf=\"model.toggleIcon\" [src]=\"model.toggleIcon\" style=\"cursor: pointer;\"/>\n <span *ngIf=\"model.toggleLabel\">{{ model.toggleLabel }}</span>\n\n </button>\n\n\n</div>\n" }]
193
+ }], ctorParameters: function () { return [{ type: i1.DynamicFormLayoutService }, { type: i1.DynamicFormValidationService }, { type: i2.NgbDatepickerConfig }]; }, propDecorators: { formLayout: [{
194
+ type: Input
195
+ }], group: [{
196
+ type: Input
197
+ }], layout: [{
198
+ type: Input
199
+ }], model: [{
200
+ type: Input
201
+ }], blur: [{
202
+ type: Output
203
+ }], change: [{
204
+ type: Output
205
+ }], customEvent: [{
206
+ type: Output
207
+ }], focus: [{
208
+ type: Output
209
+ }], ngbDatePicker: [{
210
+ type: ViewChild,
211
+ args: [NgbDatepicker]
212
+ }] } });
213
+
214
+ /*
215
+ * Copyright (c) 2016-2021, Udo Schöfer http://www.udos86.de
216
+ *
217
+ * Permission to use, copy, modify, and/or distribute this software for any
218
+ * purpose with or without fee is hereby granted, provided that the above
219
+ * copyright notice and this permission notice appear in all copies.
220
+ *
221
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
222
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
223
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
224
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
225
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
226
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
227
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
228
+ */
229
+ class DynamicNGBootstrapInputComponent extends DynamicFormControlComponent {
230
+ constructor(layoutService, validationService) {
231
+ super(layoutService, validationService);
232
+ this.layoutService = layoutService;
233
+ this.validationService = validationService;
234
+ this.blur = new EventEmitter();
235
+ this.change = new EventEmitter();
236
+ this.focus = new EventEmitter();
237
+ }
238
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapInputComponent, deps: [{ token: i1.DynamicFormLayoutService }, { token: i1.DynamicFormValidationService }], target: i0.ɵɵFactoryTarget.Component }); }
239
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DynamicNGBootstrapInputComponent, isStandalone: true, selector: "dynamic-ng-bootstrap-input", inputs: { formLayout: "formLayout", group: "group", layout: "layout", model: "model" }, outputs: { blur: "blur", change: "change", focus: "focus" }, providers: [provideNgxMask()], usesInheritance: true, ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<div [formGroup]=\"group\" [class.input-group]=\"model.prefix || model.suffix\">\n\n <span *ngIf=\"model.prefix\" class=\"input-group-text\" [innerHTML]=\"model.prefix\"></span>\n\n <input *ngIf=\"model.inputType === 'file'; else maskedInput\" class=\"form-control\"\n [attr.accept]=\"model.accept\"\n [attr.max]=\"model.max\"\n [attr.min]=\"model.min\"\n [attr.multiple]=\"model.multiple\"\n [attr.step]=\"model.step\"\n [autocomplete]=\"model.autoComplete\"\n [autofocus]=\"model.autoFocus\"\n [class.is-invalid]=\"showErrorMessages\"\n [dynamicList]=\"model.listId\"\n [formControlName]=\"model.id\"\n [id]=\"id\"\n [maxlength]=\"model.maxLength\"\n [minlength]=\"model.minLength\"\n [name]=\"model.name\"\n [ngClass]=\"getClass('element', 'control')\"\n [pattern]=\"model.pattern\"\n [placeholder]=\"model.placeholder\"\n [readonly]=\"model.readOnly\"\n [required]=\"model.required\"\n [spellcheck]=\"model.spellCheck\"\n [tabindex]=\"model.tabIndex\"\n [type]=\"model.inputType\"\n (blur)=\"onBlur($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\"/>\n\n <ng-template #maskedInput>\n <input class=\"form-control\"\n [attr.accept]=\"model.accept\"\n [attr.max]=\"model.max\"\n [attr.min]=\"model.min\"\n [attr.multiple]=\"model.multiple\"\n [attr.step]=\"model.step\"\n [autocomplete]=\"model.autoComplete\"\n [autofocus]=\"model.autoFocus\"\n [class.is-invalid]=\"showErrorMessages\"\n [dynamicList]=\"model.listId\"\n [formControlName]=\"model.id\"\n [id]=\"id\"\n [maxlength]=\"model.maxLength\"\n [minlength]=\"model.minLength\"\n [name]=\"model.name\"\n [ngClass]=\"getClass('element', 'control')\"\n [pattern]=\"model.pattern\"\n [placeholder]=\"model.placeholder\"\n [readonly]=\"model.readOnly\"\n [required]=\"model.required\"\n [spellcheck]=\"model.spellCheck\"\n [tabindex]=\"model.tabIndex\"\n [mask]=\"model.mask\"\n [specialCharacters]=\"model.maskConfig?.specialCharacters\"\n [patterns]=\"model.maskConfig?.patterns\"\n [prefix]=\"model.maskConfig?.prefix\"\n [suffix]=\"model.maskConfig?.suffix\"\n [thousandSeparator]=\"model.maskConfig?.thousandSeparator\"\n [decimalMarker]=\"model.maskConfig?.decimalMarker\"\n [dropSpecialCharacters]=\"model.maskConfig?.dropSpecialCharacters\"\n [hiddenInput]=\"model.maskConfig?.hiddenInput\"\n [showMaskTyped]=\"model.maskConfig?.showMaskTyped\"\n [placeHolderCharacter]=\"model.maskConfig?.placeHolderCharacter\"\n [shownMaskExpression]=\"model.maskConfig?.shownMaskExpression\"\n [showTemplate]=\"model.maskConfig?.showTemplate\"\n [clearIfNotMatch]=\"model.maskConfig.clearIfNotMatch\"\n [validation]=\"model.maskConfig.validation\"\n [separatorLimit]=\"model.maskConfig.separatorLimit\"\n [allowNegativeNumbers]=\"model.maskConfig.allowNegativeNumbers\"\n [leadZeroDateTime]=\"model.maskConfig.leadZeroDateTime\"\n [type]=\"model.inputType\"\n (blur)=\"onBlur($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\"/>\n </ng-template>\n\n <span *ngIf=\"model.suffix\" class=\"input-group-text\" [innerHTML]=\"model.suffix\"></span>\n\n <datalist *ngIf=\"model.hasList\" [id]=\"model.listId\">\n <option *ngFor=\"let option of model.list$ | async\" [value]=\"option\">\n </datalist>\n\n</div>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2$1.MinLengthValidator, selector: "[minlength][formControlName],[minlength][formControl],[minlength][ngModel]", inputs: ["minlength"] }, { kind: "directive", type: i2$1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2$1.PatternValidator, selector: "[pattern][formControlName],[pattern][formControl],[pattern][ngModel]", inputs: ["pattern"] }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: DynamicFormsCoreModule }, { kind: "directive", type: i1.DynamicListDirective, selector: "[dynamicList]", inputs: ["dynamicList"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgxMaskDirective, selector: "input[mask], textarea[mask]", inputs: ["mask", "specialCharacters", "patterns", "prefix", "suffix", "thousandSeparator", "decimalMarker", "dropSpecialCharacters", "hiddenInput", "showMaskTyped", "placeHolderCharacter", "shownMaskExpression", "showTemplate", "clearIfNotMatch", "validation", "separatorLimit", "allowNegativeNumbers", "leadZeroDateTime", "leadZero", "triggerOnMaskChange", "apm", "inputTransformFn", "outputTransformFn", "keepCharacterPositions"], outputs: ["maskFilled"], exportAs: ["mask", "ngxMask"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
240
+ }
241
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapInputComponent, decorators: [{
242
+ type: Component,
243
+ args: [{ selector: "dynamic-ng-bootstrap-input", changeDetection: ChangeDetectionStrategy.Default, standalone: true, imports: [ReactiveFormsModule, NgIf, DynamicFormsCoreModule, NgClass, NgxMaskDirective, NgFor, AsyncPipe], providers: [provideNgxMask()], template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<div [formGroup]=\"group\" [class.input-group]=\"model.prefix || model.suffix\">\n\n <span *ngIf=\"model.prefix\" class=\"input-group-text\" [innerHTML]=\"model.prefix\"></span>\n\n <input *ngIf=\"model.inputType === 'file'; else maskedInput\" class=\"form-control\"\n [attr.accept]=\"model.accept\"\n [attr.max]=\"model.max\"\n [attr.min]=\"model.min\"\n [attr.multiple]=\"model.multiple\"\n [attr.step]=\"model.step\"\n [autocomplete]=\"model.autoComplete\"\n [autofocus]=\"model.autoFocus\"\n [class.is-invalid]=\"showErrorMessages\"\n [dynamicList]=\"model.listId\"\n [formControlName]=\"model.id\"\n [id]=\"id\"\n [maxlength]=\"model.maxLength\"\n [minlength]=\"model.minLength\"\n [name]=\"model.name\"\n [ngClass]=\"getClass('element', 'control')\"\n [pattern]=\"model.pattern\"\n [placeholder]=\"model.placeholder\"\n [readonly]=\"model.readOnly\"\n [required]=\"model.required\"\n [spellcheck]=\"model.spellCheck\"\n [tabindex]=\"model.tabIndex\"\n [type]=\"model.inputType\"\n (blur)=\"onBlur($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\"/>\n\n <ng-template #maskedInput>\n <input class=\"form-control\"\n [attr.accept]=\"model.accept\"\n [attr.max]=\"model.max\"\n [attr.min]=\"model.min\"\n [attr.multiple]=\"model.multiple\"\n [attr.step]=\"model.step\"\n [autocomplete]=\"model.autoComplete\"\n [autofocus]=\"model.autoFocus\"\n [class.is-invalid]=\"showErrorMessages\"\n [dynamicList]=\"model.listId\"\n [formControlName]=\"model.id\"\n [id]=\"id\"\n [maxlength]=\"model.maxLength\"\n [minlength]=\"model.minLength\"\n [name]=\"model.name\"\n [ngClass]=\"getClass('element', 'control')\"\n [pattern]=\"model.pattern\"\n [placeholder]=\"model.placeholder\"\n [readonly]=\"model.readOnly\"\n [required]=\"model.required\"\n [spellcheck]=\"model.spellCheck\"\n [tabindex]=\"model.tabIndex\"\n [mask]=\"model.mask\"\n [specialCharacters]=\"model.maskConfig?.specialCharacters\"\n [patterns]=\"model.maskConfig?.patterns\"\n [prefix]=\"model.maskConfig?.prefix\"\n [suffix]=\"model.maskConfig?.suffix\"\n [thousandSeparator]=\"model.maskConfig?.thousandSeparator\"\n [decimalMarker]=\"model.maskConfig?.decimalMarker\"\n [dropSpecialCharacters]=\"model.maskConfig?.dropSpecialCharacters\"\n [hiddenInput]=\"model.maskConfig?.hiddenInput\"\n [showMaskTyped]=\"model.maskConfig?.showMaskTyped\"\n [placeHolderCharacter]=\"model.maskConfig?.placeHolderCharacter\"\n [shownMaskExpression]=\"model.maskConfig?.shownMaskExpression\"\n [showTemplate]=\"model.maskConfig?.showTemplate\"\n [clearIfNotMatch]=\"model.maskConfig.clearIfNotMatch\"\n [validation]=\"model.maskConfig.validation\"\n [separatorLimit]=\"model.maskConfig.separatorLimit\"\n [allowNegativeNumbers]=\"model.maskConfig.allowNegativeNumbers\"\n [leadZeroDateTime]=\"model.maskConfig.leadZeroDateTime\"\n [type]=\"model.inputType\"\n (blur)=\"onBlur($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\"/>\n </ng-template>\n\n <span *ngIf=\"model.suffix\" class=\"input-group-text\" [innerHTML]=\"model.suffix\"></span>\n\n <datalist *ngIf=\"model.hasList\" [id]=\"model.listId\">\n <option *ngFor=\"let option of model.list$ | async\" [value]=\"option\">\n </datalist>\n\n</div>\n" }]
244
+ }], ctorParameters: function () { return [{ type: i1.DynamicFormLayoutService }, { type: i1.DynamicFormValidationService }]; }, propDecorators: { formLayout: [{
245
+ type: Input
246
+ }], group: [{
247
+ type: Input
248
+ }], layout: [{
249
+ type: Input
250
+ }], model: [{
251
+ type: Input
252
+ }], blur: [{
253
+ type: Output
254
+ }], change: [{
255
+ type: Output
256
+ }], focus: [{
257
+ type: Output
258
+ }] } });
259
+
260
+ /*
261
+ * Copyright (c) 2016-2021, Udo Schöfer http://www.udos86.de
262
+ *
263
+ * Permission to use, copy, modify, and/or distribute this software for any
264
+ * purpose with or without fee is hereby granted, provided that the above
265
+ * copyright notice and this permission notice appear in all copies.
266
+ *
267
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
268
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
269
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
270
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
271
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
272
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
273
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
274
+ */
275
+ class DynamicNGBootstrapRadioGroupComponent extends DynamicFormControlComponent {
276
+ constructor(layoutService, validationService) {
277
+ super(layoutService, validationService);
278
+ this.layoutService = layoutService;
279
+ this.validationService = validationService;
280
+ this.blur = new EventEmitter();
281
+ this.change = new EventEmitter();
282
+ this.focus = new EventEmitter();
283
+ }
284
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapRadioGroupComponent, deps: [{ token: i1.DynamicFormLayoutService }, { token: i1.DynamicFormValidationService }], target: i0.ɵɵFactoryTarget.Component }); }
285
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DynamicNGBootstrapRadioGroupComponent, isStandalone: true, selector: "dynamic-ng-bootstrap-radio-group", inputs: { formLayout: "formLayout", group: "group", layout: "layout", model: "model" }, outputs: { blur: "blur", change: "change", focus: "focus" }, usesInheritance: true, ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<ng-container [formGroup]=\"group\">\n\n <div class=\"btn-group\" role=\"group\"\n ngDefaultControl\n [formControlName]=\"model.id\"\n [id]=\"id\"\n [ngClass]=\"getClass('element', 'control')\"\n [tabindex]=\"model.tabIndex\"\n (change)=\"onChange($event)\">\n\n <legend *ngIf=\"model.legend\" [innerHTML]=\"model.legend\"></legend>\n\n <label *ngFor=\"let option of model.options$ | async\"\n [ngClass]=\"[getClass('element', 'option'), getClass('grid', 'option')]\">\n\n <input type=\"radio\"\n [disabled]=\"option.disabled\"\n [name]=\"model.name\"\n [value]=\"option.value\"\n (blur)=\"onBlur($event)\"\n (focus)=\"onFocus($event)\"/><span [innerHTML]=\"option.label\"></span>\n </label>\n\n </div>\n\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
286
+ }
287
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapRadioGroupComponent, decorators: [{
288
+ type: Component,
289
+ args: [{ selector: "dynamic-ng-bootstrap-radio-group", changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ReactiveFormsModule, NgClass, NgIf, NgFor, AsyncPipe], template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<ng-container [formGroup]=\"group\">\n\n <div class=\"btn-group\" role=\"group\"\n ngDefaultControl\n [formControlName]=\"model.id\"\n [id]=\"id\"\n [ngClass]=\"getClass('element', 'control')\"\n [tabindex]=\"model.tabIndex\"\n (change)=\"onChange($event)\">\n\n <legend *ngIf=\"model.legend\" [innerHTML]=\"model.legend\"></legend>\n\n <label *ngFor=\"let option of model.options$ | async\"\n [ngClass]=\"[getClass('element', 'option'), getClass('grid', 'option')]\">\n\n <input type=\"radio\"\n [disabled]=\"option.disabled\"\n [name]=\"model.name\"\n [value]=\"option.value\"\n (blur)=\"onBlur($event)\"\n (focus)=\"onFocus($event)\"/><span [innerHTML]=\"option.label\"></span>\n </label>\n\n </div>\n\n</ng-container>\n" }]
290
+ }], ctorParameters: function () { return [{ type: i1.DynamicFormLayoutService }, { type: i1.DynamicFormValidationService }]; }, propDecorators: { formLayout: [{
291
+ type: Input
292
+ }], group: [{
293
+ type: Input
294
+ }], layout: [{
295
+ type: Input
296
+ }], model: [{
297
+ type: Input
298
+ }], blur: [{
299
+ type: Output
300
+ }], change: [{
301
+ type: Output
302
+ }], focus: [{
303
+ type: Output
304
+ }] } });
305
+
306
+ /*
307
+ * Copyright (c) 2016-2021, Udo Schöfer http://www.udos86.de
308
+ *
309
+ * Permission to use, copy, modify, and/or distribute this software for any
310
+ * purpose with or without fee is hereby granted, provided that the above
311
+ * copyright notice and this permission notice appear in all copies.
312
+ *
313
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
314
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
315
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
316
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
317
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
318
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
319
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
320
+ */
321
+ class DynamicNGBootstrapRatingComponent extends DynamicFormControlComponent {
322
+ constructor(layoutService, validationService, config) {
323
+ super(layoutService, validationService);
324
+ this.layoutService = layoutService;
325
+ this.validationService = validationService;
326
+ this.config = config;
327
+ this.blur = new EventEmitter();
328
+ this.change = new EventEmitter();
329
+ this.customEvent = new EventEmitter();
330
+ this.focus = new EventEmitter();
331
+ }
332
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapRatingComponent, deps: [{ token: i1.DynamicFormLayoutService }, { token: i1.DynamicFormValidationService }, { token: i2.NgbRatingConfig }], target: i0.ɵɵFactoryTarget.Component }); }
333
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DynamicNGBootstrapRatingComponent, isStandalone: true, selector: "dynamic-ng-bootstrap-rating", inputs: { formLayout: "formLayout", group: "group", layout: "layout", model: "model" }, outputs: { blur: "blur", change: "change", customEvent: "customEvent", focus: "focus" }, viewQueries: [{ propertyName: "ngbRating", first: true, predicate: NgbRating, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<ng-container [formGroup]=\"group\">\n\n <ngb-rating [formControlName]=\"model.id\"\n [id]=\"id\"\n [max]=\"model.max\"\n [ngClass]=\"getClass('element', 'control')\"\n [resettable]=\"model.getAdditional('resettable', config['resettable'])\"\n (hover)=\"onCustomEvent($event, 'hover')\"\n (leave)=\"onCustomEvent($event, 'leave')\"\n (rateChange)=\"onChange($event)\"></ngb-rating>\n\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NgbRatingModule }, { kind: "component", type: i2.NgbRating, selector: "ngb-rating", inputs: ["disabled", "max", "rate", "readonly", "resettable", "starTemplate", "tabindex", "ariaValueText"], outputs: ["hover", "leave", "rateChange"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
334
+ }
335
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapRatingComponent, decorators: [{
336
+ type: Component,
337
+ args: [{ selector: "dynamic-ng-bootstrap-rating", changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ReactiveFormsModule, NgbRatingModule, NgClass], template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<ng-container [formGroup]=\"group\">\n\n <ngb-rating [formControlName]=\"model.id\"\n [id]=\"id\"\n [max]=\"model.max\"\n [ngClass]=\"getClass('element', 'control')\"\n [resettable]=\"model.getAdditional('resettable', config['resettable'])\"\n (hover)=\"onCustomEvent($event, 'hover')\"\n (leave)=\"onCustomEvent($event, 'leave')\"\n (rateChange)=\"onChange($event)\"></ngb-rating>\n\n</ng-container>\n" }]
338
+ }], ctorParameters: function () { return [{ type: i1.DynamicFormLayoutService }, { type: i1.DynamicFormValidationService }, { type: i2.NgbRatingConfig }]; }, propDecorators: { formLayout: [{
339
+ type: Input
340
+ }], group: [{
341
+ type: Input
342
+ }], layout: [{
343
+ type: Input
344
+ }], model: [{
345
+ type: Input
346
+ }], blur: [{
347
+ type: Output
348
+ }], change: [{
349
+ type: Output
350
+ }], customEvent: [{
351
+ type: Output
352
+ }], focus: [{
353
+ type: Output
354
+ }], ngbRating: [{
355
+ type: ViewChild,
356
+ args: [NgbRating, { static: true }]
357
+ }] } });
358
+
359
+ /*
360
+ * Copyright (c) 2016-2021, Udo Schöfer http://www.udos86.de
361
+ *
362
+ * Permission to use, copy, modify, and/or distribute this software for any
363
+ * purpose with or without fee is hereby granted, provided that the above
364
+ * copyright notice and this permission notice appear in all copies.
365
+ *
366
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
367
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
368
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
369
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
370
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
371
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
372
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
373
+ */
374
+ class DynamicNGBootstrapSelectComponent extends DynamicFormControlComponent {
375
+ constructor(layoutService, validationService) {
376
+ super(layoutService, validationService);
377
+ this.layoutService = layoutService;
378
+ this.validationService = validationService;
379
+ this.blur = new EventEmitter();
380
+ this.change = new EventEmitter();
381
+ this.focus = new EventEmitter();
382
+ }
383
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapSelectComponent, deps: [{ token: i1.DynamicFormLayoutService }, { token: i1.DynamicFormValidationService }], target: i0.ɵɵFactoryTarget.Component }); }
384
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DynamicNGBootstrapSelectComponent, isStandalone: true, selector: "dynamic-ng-bootstrap-select", inputs: { formLayout: "formLayout", group: "group", layout: "layout", model: "model" }, outputs: { blur: "blur", change: "change", focus: "focus" }, usesInheritance: true, ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<ng-container [formGroup]=\"group\">\n\n <select class=\"form-control\"\n [class.is-invalid]=\"showErrorMessages\"\n [compareWith]=\"model.compareWithFn\"\n [formControlName]=\"model.id\"\n [id]=\"id\"\n [attr.aria-label]=\"model.label\"\n [name]=\"model.name\"\n [ngClass]=\"getClass('element', 'control')\"\n [required]=\"model.required\"\n [tabindex]=\"model.tabIndex\"\n (blur)=\"onBlur($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\">\n\n <option *ngFor=\"let option of model.options$ | async\"\n [disabled]=\"option.disabled\"\n [ngValue]=\"option.value\">{{ option.label }}</option>\n\n </select>\n\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.NgSelectOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.ɵNgSelectMultipleOption, selector: "option", inputs: ["ngValue", "value"] }, { kind: "directive", type: i2$1.SelectControlValueAccessor, selector: "select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]", inputs: ["compareWith"] }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "pipe", type: AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
385
+ }
386
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapSelectComponent, decorators: [{
387
+ type: Component,
388
+ args: [{ selector: "dynamic-ng-bootstrap-select", changeDetection: ChangeDetectionStrategy.Default, standalone: true, imports: [ReactiveFormsModule, NgClass, NgFor, AsyncPipe], template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<ng-container [formGroup]=\"group\">\n\n <select class=\"form-control\"\n [class.is-invalid]=\"showErrorMessages\"\n [compareWith]=\"model.compareWithFn\"\n [formControlName]=\"model.id\"\n [id]=\"id\"\n [attr.aria-label]=\"model.label\"\n [name]=\"model.name\"\n [ngClass]=\"getClass('element', 'control')\"\n [required]=\"model.required\"\n [tabindex]=\"model.tabIndex\"\n (blur)=\"onBlur($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\">\n\n <option *ngFor=\"let option of model.options$ | async\"\n [disabled]=\"option.disabled\"\n [ngValue]=\"option.value\">{{ option.label }}</option>\n\n </select>\n\n</ng-container>\n" }]
389
+ }], ctorParameters: function () { return [{ type: i1.DynamicFormLayoutService }, { type: i1.DynamicFormValidationService }]; }, propDecorators: { formLayout: [{
390
+ type: Input
391
+ }], group: [{
392
+ type: Input
393
+ }], layout: [{
394
+ type: Input
395
+ }], model: [{
396
+ type: Input
397
+ }], blur: [{
398
+ type: Output
399
+ }], change: [{
400
+ type: Output
401
+ }], focus: [{
402
+ type: Output
403
+ }] } });
404
+
405
+ /*
406
+ * Copyright (c) 2016-2021, Udo Schöfer http://www.udos86.de
407
+ *
408
+ * Permission to use, copy, modify, and/or distribute this software for any
409
+ * purpose with or without fee is hereby granted, provided that the above
410
+ * copyright notice and this permission notice appear in all copies.
411
+ *
412
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
413
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
414
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
415
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
416
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
417
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
418
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
419
+ */
420
+ class DynamicNGBootstrapSwitchComponent extends DynamicFormControlComponent {
421
+ constructor(layoutService, validationService) {
422
+ super(layoutService, validationService);
423
+ this.layoutService = layoutService;
424
+ this.validationService = validationService;
425
+ this.blur = new EventEmitter();
426
+ this.change = new EventEmitter();
427
+ this.focus = new EventEmitter();
428
+ }
429
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapSwitchComponent, deps: [{ token: i1.DynamicFormLayoutService }, { token: i1.DynamicFormValidationService }], target: i0.ɵɵFactoryTarget.Component }); }
430
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DynamicNGBootstrapSwitchComponent, isStandalone: true, selector: "dynamic-ng-bootstrap-switch", inputs: { formLayout: "formLayout", group: "group", layout: "layout", model: "model" }, outputs: { blur: "blur", change: "change", focus: "focus" }, usesInheritance: true, ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<div [formGroup]=\"group\" class=\"custom-control custom-switch\">\n\n <input type=\"checkbox\" class=\"custom-control-input\"\n [class.is-invalid]=\"showErrorMessages\"\n [formControlName]=\"model.id\"\n [id]=\"id\"\n [name]=\"model.name\"\n [ngClass]=\"getClass('element', 'control')\"\n [required]=\"model.required\"\n [tabindex]=\"model.tabIndex\"\n [value]=\"model.value\"\n (blur)=\"onBlur($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\">\n\n <label class=\"custom-control-label\" [for]=\"id\" [innerHTML]=\"model.label\"></label>\n\n</div>\n\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.CheckboxControlValueAccessor, selector: "input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.CheckboxRequiredValidator, selector: "input[type=checkbox][required][formControlName],input[type=checkbox][required][formControl],input[type=checkbox][required][ngModel]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
431
+ }
432
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapSwitchComponent, decorators: [{
433
+ type: Component,
434
+ args: [{ selector: "dynamic-ng-bootstrap-switch", changeDetection: ChangeDetectionStrategy.Default, standalone: true, imports: [ReactiveFormsModule, NgClass], template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<div [formGroup]=\"group\" class=\"custom-control custom-switch\">\n\n <input type=\"checkbox\" class=\"custom-control-input\"\n [class.is-invalid]=\"showErrorMessages\"\n [formControlName]=\"model.id\"\n [id]=\"id\"\n [name]=\"model.name\"\n [ngClass]=\"getClass('element', 'control')\"\n [required]=\"model.required\"\n [tabindex]=\"model.tabIndex\"\n [value]=\"model.value\"\n (blur)=\"onBlur($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\">\n\n <label class=\"custom-control-label\" [for]=\"id\" [innerHTML]=\"model.label\"></label>\n\n</div>\n\n" }]
435
+ }], ctorParameters: function () { return [{ type: i1.DynamicFormLayoutService }, { type: i1.DynamicFormValidationService }]; }, propDecorators: { formLayout: [{
436
+ type: Input
437
+ }], group: [{
438
+ type: Input
439
+ }], layout: [{
440
+ type: Input
441
+ }], model: [{
442
+ type: Input
443
+ }], blur: [{
444
+ type: Output
445
+ }], change: [{
446
+ type: Output
447
+ }], focus: [{
448
+ type: Output
449
+ }] } });
450
+
451
+ /*
452
+ * Copyright (c) 2016-2021, Udo Schöfer http://www.udos86.de
453
+ *
454
+ * Permission to use, copy, modify, and/or distribute this software for any
455
+ * purpose with or without fee is hereby granted, provided that the above
456
+ * copyright notice and this permission notice appear in all copies.
457
+ *
458
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
459
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
460
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
461
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
462
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
463
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
464
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
465
+ */
466
+ class DynamicNGBootstrapTextAreaComponent extends DynamicFormControlComponent {
467
+ constructor(layoutService, validationService) {
468
+ super(layoutService, validationService);
469
+ this.layoutService = layoutService;
470
+ this.validationService = validationService;
471
+ this.blur = new EventEmitter();
472
+ this.change = new EventEmitter();
473
+ this.focus = new EventEmitter();
474
+ }
475
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapTextAreaComponent, deps: [{ token: i1.DynamicFormLayoutService }, { token: i1.DynamicFormValidationService }], target: i0.ɵɵFactoryTarget.Component }); }
476
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DynamicNGBootstrapTextAreaComponent, isStandalone: true, selector: "dynamic-ng-bootstrap-textarea", inputs: { formLayout: "formLayout", group: "group", layout: "layout", model: "model" }, outputs: { blur: "blur", change: "change", focus: "focus" }, usesInheritance: true, ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<ng-container [formGroup]=\"group\">\n\n <textarea class=\"form-control\"\n [class.is-invalid]=\"showErrorMessages\"\n [cols]=\"model.cols\"\n [formControlName]=\"model.id\"\n [id]=\"id\"\n [maxlength]=\"model.maxLength\"\n [minlength]=\"model.minLength\"\n [name]=\"model.name\"\n [ngClass]=\"getClass('element', 'control')\"\n [placeholder]=\"model.placeholder\"\n [readonly]=\"model.readOnly\"\n [required]=\"model.required\"\n [rows]=\"model.rows\"\n [spellcheck]=\"model.spellCheck\"\n [tabindex]=\"model.tabIndex\"\n [wrap]=\"model.wrap\"\n (blur)=\"onBlur($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\"></textarea>\n\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.RequiredValidator, selector: ":not([type=checkbox])[required][formControlName],:not([type=checkbox])[required][formControl],:not([type=checkbox])[required][ngModel]", inputs: ["required"] }, { kind: "directive", type: i2$1.MinLengthValidator, selector: "[minlength][formControlName],[minlength][formControl],[minlength][ngModel]", inputs: ["minlength"] }, { kind: "directive", type: i2$1.MaxLengthValidator, selector: "[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]", inputs: ["maxlength"] }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
477
+ }
478
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapTextAreaComponent, decorators: [{
479
+ type: Component,
480
+ args: [{ selector: "dynamic-ng-bootstrap-textarea", changeDetection: ChangeDetectionStrategy.Default, standalone: true, imports: [ReactiveFormsModule, NgClass], template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<ng-container [formGroup]=\"group\">\n\n <textarea class=\"form-control\"\n [class.is-invalid]=\"showErrorMessages\"\n [cols]=\"model.cols\"\n [formControlName]=\"model.id\"\n [id]=\"id\"\n [maxlength]=\"model.maxLength\"\n [minlength]=\"model.minLength\"\n [name]=\"model.name\"\n [ngClass]=\"getClass('element', 'control')\"\n [placeholder]=\"model.placeholder\"\n [readonly]=\"model.readOnly\"\n [required]=\"model.required\"\n [rows]=\"model.rows\"\n [spellcheck]=\"model.spellCheck\"\n [tabindex]=\"model.tabIndex\"\n [wrap]=\"model.wrap\"\n (blur)=\"onBlur($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\"></textarea>\n\n</ng-container>\n" }]
481
+ }], ctorParameters: function () { return [{ type: i1.DynamicFormLayoutService }, { type: i1.DynamicFormValidationService }]; }, propDecorators: { formLayout: [{
482
+ type: Input
483
+ }], group: [{
484
+ type: Input
485
+ }], layout: [{
486
+ type: Input
487
+ }], model: [{
488
+ type: Input
489
+ }], blur: [{
490
+ type: Output
491
+ }], change: [{
492
+ type: Output
493
+ }], focus: [{
494
+ type: Output
495
+ }] } });
496
+
497
+ /*
498
+ * Copyright (c) 2016-2021, Udo Schöfer http://www.udos86.de
499
+ *
500
+ * Permission to use, copy, modify, and/or distribute this software for any
501
+ * purpose with or without fee is hereby granted, provided that the above
502
+ * copyright notice and this permission notice appear in all copies.
503
+ *
504
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
505
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
506
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
507
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
508
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
509
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
510
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
511
+ */
512
+ class DynamicNGBootstrapTimePickerComponent extends DynamicFormControlComponent {
513
+ constructor(layoutService, validationService, config) {
514
+ super(layoutService, validationService);
515
+ this.layoutService = layoutService;
516
+ this.validationService = validationService;
517
+ this.config = config;
518
+ this.blur = new EventEmitter();
519
+ this.change = new EventEmitter();
520
+ this.focus = new EventEmitter();
521
+ }
522
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapTimePickerComponent, deps: [{ token: i1.DynamicFormLayoutService }, { token: i1.DynamicFormValidationService }, { token: i2.NgbTimepickerConfig }], target: i0.ɵɵFactoryTarget.Component }); }
523
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DynamicNGBootstrapTimePickerComponent, isStandalone: true, selector: "dynamic-ng-bootstrap-timepicker", inputs: { formLayout: "formLayout", group: "group", layout: "layout", model: "model" }, outputs: { blur: "blur", change: "change", focus: "focus" }, viewQueries: [{ propertyName: "ngbTimePicker", first: true, predicate: NgbTimepicker, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<ng-container [formGroup]=\"group\">\n\n <ngb-timepicker [id]=\"id\"\n [formControlName]=\"model.id\"\n [hourStep]=\"model.getAdditional('hourStep', config['hourStep'])\"\n [meridian]=\"model.meridian\"\n [minuteStep]=\"model.getAdditional('minuteStep', config['minuteStep'])\"\n [ngClass]=\"getClass('element', 'control')\"\n [seconds]=\"model.showSeconds\"\n [secondStep]=\"model.getAdditional('secondStep', config['secondStep'])\"\n [size]=\"model.getAdditional('size', config['size'])\"\n [spinners]=\"model.getAdditional('spinners', config['spinners'])\"></ngb-timepicker>\n\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "ngmodule", type: NgbTimepickerModule }, { kind: "component", type: i2.NgbTimepicker, selector: "ngb-timepicker", inputs: ["meridian", "spinners", "seconds", "hourStep", "minuteStep", "secondStep", "readonlyInputs", "size"], exportAs: ["ngbTimepicker"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
524
+ }
525
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapTimePickerComponent, decorators: [{
526
+ type: Component,
527
+ args: [{ selector: "dynamic-ng-bootstrap-timepicker", changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ReactiveFormsModule, NgbTimepickerModule, NgClass], template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<ng-container [formGroup]=\"group\">\n\n <ngb-timepicker [id]=\"id\"\n [formControlName]=\"model.id\"\n [hourStep]=\"model.getAdditional('hourStep', config['hourStep'])\"\n [meridian]=\"model.meridian\"\n [minuteStep]=\"model.getAdditional('minuteStep', config['minuteStep'])\"\n [ngClass]=\"getClass('element', 'control')\"\n [seconds]=\"model.showSeconds\"\n [secondStep]=\"model.getAdditional('secondStep', config['secondStep'])\"\n [size]=\"model.getAdditional('size', config['size'])\"\n [spinners]=\"model.getAdditional('spinners', config['spinners'])\"></ngb-timepicker>\n\n</ng-container>\n" }]
528
+ }], ctorParameters: function () { return [{ type: i1.DynamicFormLayoutService }, { type: i1.DynamicFormValidationService }, { type: i2.NgbTimepickerConfig }]; }, propDecorators: { formLayout: [{
529
+ type: Input
530
+ }], group: [{
531
+ type: Input
532
+ }], layout: [{
533
+ type: Input
534
+ }], model: [{
535
+ type: Input
536
+ }], blur: [{
537
+ type: Output
538
+ }], change: [{
539
+ type: Output
540
+ }], focus: [{
541
+ type: Output
542
+ }], ngbTimePicker: [{
543
+ type: ViewChild,
544
+ args: [NgbTimepicker, { static: true }]
545
+ }] } });
546
+
547
+ /*
548
+ * Copyright (c) 2016-2021, Udo Schöfer http://www.udos86.de
549
+ *
550
+ * Permission to use, copy, modify, and/or distribute this software for any
551
+ * purpose with or without fee is hereby granted, provided that the above
552
+ * copyright notice and this permission notice appear in all copies.
553
+ *
554
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
555
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
556
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
557
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
558
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
559
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
560
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
561
+ */
562
+ class DynamicNGBootstrapFormControlContainerComponent extends DynamicFormControlContainerComponent {
563
+ constructor(changeDetectorRef, componentFactoryResolver, layoutService, validationService, componentService, relationService) {
564
+ super(changeDetectorRef, componentFactoryResolver, layoutService, validationService, componentService, relationService);
565
+ this.changeDetectorRef = changeDetectorRef;
566
+ this.componentFactoryResolver = componentFactoryResolver;
567
+ this.layoutService = layoutService;
568
+ this.validationService = validationService;
569
+ this.componentService = componentService;
570
+ this.relationService = relationService;
571
+ this.asBootstrapFormGroup = true;
572
+ this.context = null;
573
+ this.blur = new EventEmitter();
574
+ this.change = new EventEmitter();
575
+ this.focus = new EventEmitter();
576
+ // tslint:disable-next-line:no-output-rename
577
+ this.customEvent = new EventEmitter();
578
+ }
579
+ get componentType() {
580
+ return this.componentService.getCustomComponentType(this.model) || ngBootstrapUIFormControlMapFn(this.model);
581
+ }
582
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapFormControlContainerComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ComponentFactoryResolver }, { token: i1.DynamicFormLayoutService }, { token: i1.DynamicFormValidationService }, { token: i1.DynamicFormComponentService }, { token: i1.DynamicFormRelationService }], target: i0.ɵɵFactoryTarget.Component }); }
583
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DynamicNGBootstrapFormControlContainerComponent, isStandalone: true, selector: "dynamic-ng-bootstrap-form-control", inputs: { asBootstrapFormGroup: "asBootstrapFormGroup", context: "context", group: "group", hostClass: "hostClass", inputTemplateList: ["templates", "inputTemplateList"], layout: "layout", model: "model" }, outputs: { blur: "blur", change: "change", focus: "focus", customEvent: "ngbEvent" }, host: { properties: { "class": "this.klass" } }, queries: [{ propertyName: "contentTemplateList", predicate: DynamicTemplateDirective }], viewQueries: [{ propertyName: "componentViewContainerRef", first: true, predicate: ["componentViewContainer"], descendants: true, read: ViewContainerRef, static: true }], usesInheritance: true, ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<div [class.mb-3]=\"(model.type !== 'GROUP' && asBootstrapFormGroup) || getClass('element', 'container').includes('form-group')\"\n [formGroup]=\"group\"\n [ngClass]=\"['ng-dynamic-forms-'+model.type.toLowerCase(), getClass('element', 'container'), getClass('grid', 'container')]\">\n\n <label *ngIf=\"!isCheckbox && hasLabel\"\n [for]=\"id\"\n [innerHTML]=\"model.label\"\n [ngClass]=\"[getClass('element', 'label'), getClass('grid', 'label')]\"></label>\n\n <ng-container *ngTemplateOutlet=\"startTemplate?.templateRef; context: model\"></ng-container>\n\n <div [ngClass]=\"getClass('grid', 'control')\">\n\n <ng-container #componentViewContainer></ng-container>\n\n <small *ngIf=\"hasHint\" class=\"text-muted\" [innerHTML]=\"hint\" [ngClass]=\"getClass('element', 'hint')\"></small>\n\n <div *ngIf=\"showErrorMessages\" [ngClass]=\"[getClass('element', 'errors'), getClass('grid', 'errors')]\">\n <small *ngFor=\"let message of errorMessages\" class=\"invalid-feedback d-block\">{{ message }}</small>\n </div>\n\n </div>\n\n <ng-container *ngTemplateOutlet=\"endTemplate?.templateRef; context: model\"></ng-container>\n\n <ng-content></ng-content>\n\n</div>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
584
+ }
585
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapFormControlContainerComponent, decorators: [{
586
+ type: Component,
587
+ args: [{ selector: "dynamic-ng-bootstrap-form-control", changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [ReactiveFormsModule, NgClass, NgIf, NgTemplateOutlet, NgFor], template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<div [class.mb-3]=\"(model.type !== 'GROUP' && asBootstrapFormGroup) || getClass('element', 'container').includes('form-group')\"\n [formGroup]=\"group\"\n [ngClass]=\"['ng-dynamic-forms-'+model.type.toLowerCase(), getClass('element', 'container'), getClass('grid', 'container')]\">\n\n <label *ngIf=\"!isCheckbox && hasLabel\"\n [for]=\"id\"\n [innerHTML]=\"model.label\"\n [ngClass]=\"[getClass('element', 'label'), getClass('grid', 'label')]\"></label>\n\n <ng-container *ngTemplateOutlet=\"startTemplate?.templateRef; context: model\"></ng-container>\n\n <div [ngClass]=\"getClass('grid', 'control')\">\n\n <ng-container #componentViewContainer></ng-container>\n\n <small *ngIf=\"hasHint\" class=\"text-muted\" [innerHTML]=\"hint\" [ngClass]=\"getClass('element', 'hint')\"></small>\n\n <div *ngIf=\"showErrorMessages\" [ngClass]=\"[getClass('element', 'errors'), getClass('grid', 'errors')]\">\n <small *ngFor=\"let message of errorMessages\" class=\"invalid-feedback d-block\">{{ message }}</small>\n </div>\n\n </div>\n\n <ng-container *ngTemplateOutlet=\"endTemplate?.templateRef; context: model\"></ng-container>\n\n <ng-content></ng-content>\n\n</div>\n" }]
588
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i0.ComponentFactoryResolver }, { type: i1.DynamicFormLayoutService }, { type: i1.DynamicFormValidationService }, { type: i1.DynamicFormComponentService }, { type: i1.DynamicFormRelationService }]; }, propDecorators: { contentTemplateList: [{
589
+ type: ContentChildren,
590
+ args: [DynamicTemplateDirective]
591
+ }], klass: [{
592
+ type: HostBinding,
593
+ args: ["class"]
594
+ }], asBootstrapFormGroup: [{
595
+ type: Input
596
+ }], context: [{
597
+ type: Input
598
+ }], group: [{
599
+ type: Input
600
+ }], hostClass: [{
601
+ type: Input
602
+ }], inputTemplateList: [{
603
+ type: Input,
604
+ args: ["templates"]
605
+ }], layout: [{
606
+ type: Input
607
+ }], model: [{
608
+ type: Input
609
+ }], blur: [{
610
+ type: Output
611
+ }], change: [{
612
+ type: Output
613
+ }], focus: [{
614
+ type: Output
615
+ }], customEvent: [{
616
+ type: Output,
617
+ args: ["ngbEvent"]
618
+ }], componentViewContainerRef: [{
619
+ type: ViewChild,
620
+ args: ["componentViewContainer", { read: ViewContainerRef, static: true }]
621
+ }] } });
622
+ function ngBootstrapUIFormControlMapFn(model) {
623
+ switch (model.type) {
624
+ case DYNAMIC_FORM_CONTROL_TYPE_ARRAY:
625
+ return DynamicNGBootstrapFormArrayComponent;
626
+ case DYNAMIC_FORM_CONTROL_TYPE_CHECKBOX:
627
+ return DynamicNGBootstrapCheckboxComponent;
628
+ case DYNAMIC_FORM_CONTROL_TYPE_CHECKBOX_GROUP:
629
+ return DynamicNGBootstrapCheckboxGroupComponent;
630
+ case DYNAMIC_FORM_CONTROL_TYPE_DATEPICKER:
631
+ const datePickerModel = model;
632
+ return datePickerModel.inline ? DynamicNGBootstrapCalendarComponent : DynamicNGBootstrapDatePickerComponent;
633
+ case DYNAMIC_FORM_CONTROL_TYPE_GROUP:
634
+ return DynamicNGBootstrapFormGroupComponent;
635
+ case DYNAMIC_FORM_CONTROL_TYPE_INPUT:
636
+ return DynamicNGBootstrapInputComponent;
637
+ case DYNAMIC_FORM_CONTROL_TYPE_RADIO_GROUP:
638
+ return DynamicNGBootstrapRadioGroupComponent;
639
+ case DYNAMIC_FORM_CONTROL_TYPE_RATING:
640
+ return DynamicNGBootstrapRatingComponent;
641
+ case DYNAMIC_FORM_CONTROL_TYPE_SELECT:
642
+ return DynamicNGBootstrapSelectComponent;
643
+ case DYNAMIC_FORM_CONTROL_TYPE_SWITCH:
644
+ return DynamicNGBootstrapSwitchComponent;
645
+ case DYNAMIC_FORM_CONTROL_TYPE_TEXTAREA:
646
+ return DynamicNGBootstrapTextAreaComponent;
647
+ case DYNAMIC_FORM_CONTROL_TYPE_TIMEPICKER:
648
+ return DynamicNGBootstrapTimePickerComponent;
649
+ default:
650
+ return null;
651
+ }
652
+ }
653
+ class DynamicNGBootstrapFormArrayComponent extends DynamicFormArrayComponent {
654
+ constructor(layoutService, validationService) {
655
+ super(layoutService, validationService);
656
+ this.layoutService = layoutService;
657
+ this.validationService = validationService;
658
+ this.blur = new EventEmitter();
659
+ this.change = new EventEmitter();
660
+ this.customEvent = new EventEmitter();
661
+ this.focus = new EventEmitter();
662
+ }
663
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapFormArrayComponent, deps: [{ token: i1.DynamicFormLayoutService }, { token: i1.DynamicFormValidationService }], target: i0.ɵɵFactoryTarget.Component }); }
664
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DynamicNGBootstrapFormArrayComponent, isStandalone: true, selector: "dynamic-ng-bootstrap-form-array", inputs: { formLayout: "formLayout", group: "group", layout: "layout", model: "model", templates: "templates" }, outputs: { blur: "blur", change: "change", customEvent: "customEvent", focus: "focus" }, viewQueries: [{ propertyName: "components", predicate: DynamicNGBootstrapFormControlContainerComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<ng-container [formGroup]=\"group\">\n\n <div [formArrayName]=\"model.id\" [id]=\"id\" [ngClass]=\"getClass('element', 'control')\">\n\n <div *ngFor=\"let groupModel of model.groups; let idx = index\" role=\"group\"\n [formGroupName]=\"idx\" [ngClass]=\"[getClass('element', 'group'), getClass('grid', 'group')]\">\n\n <ng-container *ngTemplateOutlet=\"startTemplate?.templateRef; context: groupModel\"></ng-container>\n\n <dynamic-ng-bootstrap-form-control *ngFor=\"let _model of groupModel.group\"\n [context]=\"groupModel\"\n [group]=\"array.at(idx)\"\n [hidden]=\"_model.hidden\"\n [layout]=\"formLayout\"\n [model]=\"_model\"\n [templates]=\"templates\"\n [hostClass]=\"[getClass('element','children'), getClass('grid','children')]\"\n (blur)=\"onBlur($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\"\n (ngbEvent)=\"onCustomEvent($event, null, true)\"></dynamic-ng-bootstrap-form-control>\n\n <ng-container *ngTemplateOutlet=\"endTemplate?.templateRef; context: groupModel\"></ng-container>\n\n </div>\n\n </div>\n\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "directive", type: i2$1.FormArrayName, selector: "[formArrayName]", inputs: ["formArrayName"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: DynamicNGBootstrapFormControlContainerComponent, selector: "dynamic-ng-bootstrap-form-control", inputs: ["asBootstrapFormGroup", "context", "group", "hostClass", "templates", "layout", "model"], outputs: ["blur", "change", "focus", "ngbEvent"] }] }); }
665
+ }
666
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapFormArrayComponent, decorators: [{
667
+ type: Component,
668
+ args: [{ selector: "dynamic-ng-bootstrap-form-array", standalone: true, imports: [ReactiveFormsModule, NgClass, NgFor, NgTemplateOutlet, DynamicNGBootstrapFormControlContainerComponent], template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<ng-container [formGroup]=\"group\">\n\n <div [formArrayName]=\"model.id\" [id]=\"id\" [ngClass]=\"getClass('element', 'control')\">\n\n <div *ngFor=\"let groupModel of model.groups; let idx = index\" role=\"group\"\n [formGroupName]=\"idx\" [ngClass]=\"[getClass('element', 'group'), getClass('grid', 'group')]\">\n\n <ng-container *ngTemplateOutlet=\"startTemplate?.templateRef; context: groupModel\"></ng-container>\n\n <dynamic-ng-bootstrap-form-control *ngFor=\"let _model of groupModel.group\"\n [context]=\"groupModel\"\n [group]=\"array.at(idx)\"\n [hidden]=\"_model.hidden\"\n [layout]=\"formLayout\"\n [model]=\"_model\"\n [templates]=\"templates\"\n [hostClass]=\"[getClass('element','children'), getClass('grid','children')]\"\n (blur)=\"onBlur($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\"\n (ngbEvent)=\"onCustomEvent($event, null, true)\"></dynamic-ng-bootstrap-form-control>\n\n <ng-container *ngTemplateOutlet=\"endTemplate?.templateRef; context: groupModel\"></ng-container>\n\n </div>\n\n </div>\n\n</ng-container>\n" }]
669
+ }], ctorParameters: function () { return [{ type: i1.DynamicFormLayoutService }, { type: i1.DynamicFormValidationService }]; }, propDecorators: { formLayout: [{
670
+ type: Input
671
+ }], group: [{
672
+ type: Input
673
+ }], layout: [{
674
+ type: Input
675
+ }], model: [{
676
+ type: Input
677
+ }], templates: [{
678
+ type: Input
679
+ }], blur: [{
680
+ type: Output
681
+ }], change: [{
682
+ type: Output
683
+ }], customEvent: [{
684
+ type: Output
685
+ }], focus: [{
686
+ type: Output
687
+ }], components: [{
688
+ type: ViewChildren,
689
+ args: [DynamicNGBootstrapFormControlContainerComponent]
690
+ }] } });
691
+ class DynamicNGBootstrapFormGroupComponent extends DynamicFormGroupComponent {
692
+ constructor(layoutService, validationService) {
693
+ super(layoutService, validationService);
694
+ this.layoutService = layoutService;
695
+ this.validationService = validationService;
696
+ this.blur = new EventEmitter();
697
+ this.change = new EventEmitter();
698
+ this.customEvent = new EventEmitter();
699
+ this.focus = new EventEmitter();
700
+ }
701
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapFormGroupComponent, deps: [{ token: i1.DynamicFormLayoutService }, { token: i1.DynamicFormValidationService }], target: i0.ɵɵFactoryTarget.Component }); }
702
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DynamicNGBootstrapFormGroupComponent, isStandalone: true, selector: "dynamic-ng-bootstrap-form-group", inputs: { formLayout: "formLayout", group: "group", layout: "layout", model: "model", templates: "templates" }, outputs: { blur: "blur", change: "change", customEvent: "customEvent", focus: "focus" }, viewQueries: [{ propertyName: "components", predicate: DynamicNGBootstrapFormControlContainerComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<ng-container [formGroup]=\"group\">\n\n <div role=\"group\" [formGroupName]=\"model.id\" [id]=\"id\" [ngClass]=\"getClass('element','control')\">\n\n <dynamic-ng-bootstrap-form-control *ngFor=\"let _model of model.group\"\n [asBootstrapFormGroup]=\"true\"\n [group]=\"control\"\n [hidden]=\"_model.hidden\"\n [layout]=\"formLayout\"\n [model]=\"_model\"\n [templates]=\"templates\"\n [hostClass]=\"[getClass('element','children'), getClass('grid','children')]\"\n (blur)=\"onBlur($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\"\n (ngbEvent)=\"onCustomEvent($event, null, true)\"></dynamic-ng-bootstrap-form-control>\n </div>\n\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: ReactiveFormsModule }, { kind: "directive", type: i2$1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i2$1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i2$1.FormGroupName, selector: "[formGroupName]", inputs: ["formGroupName"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: DynamicNGBootstrapFormControlContainerComponent, selector: "dynamic-ng-bootstrap-form-control", inputs: ["asBootstrapFormGroup", "context", "group", "hostClass", "templates", "layout", "model"], outputs: ["blur", "change", "focus", "ngbEvent"] }] }); }
703
+ }
704
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapFormGroupComponent, decorators: [{
705
+ type: Component,
706
+ args: [{ selector: "dynamic-ng-bootstrap-form-group", standalone: true, imports: [ReactiveFormsModule, NgClass, NgFor, DynamicNGBootstrapFormControlContainerComponent], template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<ng-container [formGroup]=\"group\">\n\n <div role=\"group\" [formGroupName]=\"model.id\" [id]=\"id\" [ngClass]=\"getClass('element','control')\">\n\n <dynamic-ng-bootstrap-form-control *ngFor=\"let _model of model.group\"\n [asBootstrapFormGroup]=\"true\"\n [group]=\"control\"\n [hidden]=\"_model.hidden\"\n [layout]=\"formLayout\"\n [model]=\"_model\"\n [templates]=\"templates\"\n [hostClass]=\"[getClass('element','children'), getClass('grid','children')]\"\n (blur)=\"onBlur($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\"\n (ngbEvent)=\"onCustomEvent($event, null, true)\"></dynamic-ng-bootstrap-form-control>\n </div>\n\n</ng-container>\n" }]
707
+ }], ctorParameters: function () { return [{ type: i1.DynamicFormLayoutService }, { type: i1.DynamicFormValidationService }]; }, propDecorators: { formLayout: [{
708
+ type: Input
709
+ }], group: [{
710
+ type: Input
711
+ }], layout: [{
712
+ type: Input
713
+ }], model: [{
714
+ type: Input
715
+ }], templates: [{
716
+ type: Input
717
+ }], blur: [{
718
+ type: Output
719
+ }], change: [{
720
+ type: Output
721
+ }], customEvent: [{
722
+ type: Output
723
+ }], focus: [{
724
+ type: Output
725
+ }], components: [{
726
+ type: ViewChildren,
727
+ args: [DynamicNGBootstrapFormControlContainerComponent]
728
+ }] } });
729
+
730
+ /*
731
+ * Copyright (c) 2016-2021, Udo Schöfer http://www.udos86.de
732
+ *
733
+ * Permission to use, copy, modify, and/or distribute this software for any
734
+ * purpose with or without fee is hereby granted, provided that the above
735
+ * copyright notice and this permission notice appear in all copies.
736
+ *
737
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
738
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
739
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
740
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
741
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
742
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
743
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
744
+ */
745
+ class DynamicNGBootstrapFormComponent extends DynamicFormComponent {
746
+ constructor(changeDetectorRef, componentService) {
747
+ super(changeDetectorRef, componentService);
748
+ this.changeDetectorRef = changeDetectorRef;
749
+ this.componentService = componentService;
750
+ this.blur = new EventEmitter();
751
+ this.change = new EventEmitter();
752
+ this.focus = new EventEmitter();
753
+ this.ngbEvent = new EventEmitter();
754
+ }
755
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapFormComponent, deps: [{ token: i0.ChangeDetectorRef }, { token: i1.DynamicFormComponentService }], target: i0.ɵɵFactoryTarget.Component }); }
756
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: DynamicNGBootstrapFormComponent, isStandalone: true, selector: "dynamic-ng-bootstrap-form", inputs: { group: "group", model: "model", layout: "layout" }, outputs: { blur: "blur", change: "change", focus: "focus", ngbEvent: "ngbEvent" }, queries: [{ propertyName: "templates", predicate: DynamicTemplateDirective }], viewQueries: [{ propertyName: "components", predicate: DynamicNGBootstrapFormControlContainerComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<dynamic-ng-bootstrap-form-control *ngFor=\"let controlModel of model; trackBy: trackByFn\"\n [group]=\"group\"\n [hidden]=\"controlModel.hidden\"\n [layout]=\"layout\"\n [model]=\"controlModel\"\n [templates]=\"templates\"\n (blur)=\"onBlur($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\"\n (ngbEvent)=\"onCustomEvent($event, ngbEvent)\"></dynamic-ng-bootstrap-form-control>\n", dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: DynamicNGBootstrapFormControlContainerComponent, selector: "dynamic-ng-bootstrap-form-control", inputs: ["asBootstrapFormGroup", "context", "group", "hostClass", "templates", "layout", "model"], outputs: ["blur", "change", "focus", "ngbEvent"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
757
+ }
758
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DynamicNGBootstrapFormComponent, decorators: [{
759
+ type: Component,
760
+ args: [{ selector: "dynamic-ng-bootstrap-form", changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgFor, DynamicNGBootstrapFormControlContainerComponent], template: "<!--\n ~ Copyright (c) 2016-2021, Udo Sch\u00F6fer http://www.udos86.de\n ~\n ~ Permission to use, copy, modify, and/or distribute this software for any\n ~ purpose with or without fee is hereby granted, provided that the above\n ~ copyright notice and this permission notice appear in all copies.\n ~\n ~ THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n ~ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n ~ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n ~ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n ~ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n ~ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n ~ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n -->\n\n<dynamic-ng-bootstrap-form-control *ngFor=\"let controlModel of model; trackBy: trackByFn\"\n [group]=\"group\"\n [hidden]=\"controlModel.hidden\"\n [layout]=\"layout\"\n [model]=\"controlModel\"\n [templates]=\"templates\"\n (blur)=\"onBlur($event)\"\n (change)=\"onChange($event)\"\n (focus)=\"onFocus($event)\"\n (ngbEvent)=\"onCustomEvent($event, ngbEvent)\"></dynamic-ng-bootstrap-form-control>\n" }]
761
+ }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }, { type: i1.DynamicFormComponentService }]; }, propDecorators: { group: [{
762
+ type: Input
763
+ }], model: [{
764
+ type: Input
765
+ }], layout: [{
766
+ type: Input
767
+ }], blur: [{
768
+ type: Output
769
+ }], change: [{
770
+ type: Output
771
+ }], focus: [{
772
+ type: Output
773
+ }], ngbEvent: [{
774
+ type: Output
775
+ }], templates: [{
776
+ type: ContentChildren,
777
+ args: [DynamicTemplateDirective]
778
+ }], components: [{
779
+ type: ViewChildren,
780
+ args: [DynamicNGBootstrapFormControlContainerComponent]
781
+ }] } });
782
+
783
+ /*
784
+ * Copyright (c) 2016-2021, Udo Schöfer http://www.udos86.de
785
+ *
786
+ * Permission to use, copy, modify, and/or distribute this software for any
787
+ * purpose with or without fee is hereby granted, provided that the above
788
+ * copyright notice and this permission notice appear in all copies.
789
+ *
790
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
791
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
792
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
793
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
794
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
795
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
796
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
797
+ */
798
+
799
+ /*
800
+ * Copyright (c) 2016-2021, Udo Schöfer http://www.udos86.de
801
+ *
802
+ * Permission to use, copy, modify, and/or distribute this software for any
803
+ * purpose with or without fee is hereby granted, provided that the above
804
+ * copyright notice and this permission notice appear in all copies.
805
+ *
806
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
807
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
808
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
809
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
810
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
811
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
812
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
813
+ */
814
+
815
+ /**
816
+ * Generated bundle index. Do not edit.
817
+ */
818
+
819
+ export { DynamicNGBootstrapCalendarComponent, DynamicNGBootstrapCheckboxComponent, DynamicNGBootstrapCheckboxGroupComponent, DynamicNGBootstrapDatePickerComponent, DynamicNGBootstrapFormArrayComponent, DynamicNGBootstrapFormComponent, DynamicNGBootstrapFormControlContainerComponent, DynamicNGBootstrapFormGroupComponent, DynamicNGBootstrapInputComponent, DynamicNGBootstrapRadioGroupComponent, DynamicNGBootstrapRatingComponent, DynamicNGBootstrapSelectComponent, DynamicNGBootstrapSwitchComponent, DynamicNGBootstrapTextAreaComponent, DynamicNGBootstrapTimePickerComponent, ngBootstrapUIFormControlMapFn };
820
+ //# sourceMappingURL=ui-ng-bootstrap.mjs.map