@rxap/material-form-system 14.0.4-dev.0 → 16.0.0-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/chip-input-adapter.directive.mjs +52 -0
- package/esm2022/lib/chip-list-iterator.directive.mjs +109 -0
- package/esm2022/lib/compare-with.directive.mjs +67 -0
- package/esm2022/lib/control-error.directive.mjs +95 -0
- package/esm2022/lib/control-errors.directive.mjs +81 -0
- package/esm2022/lib/form-controls/form-controls.component.mjs +124 -0
- package/esm2022/lib/form-controls/form-controls.component.module.mjs +41 -0
- package/esm2022/lib/form-field-hide-show.directive.mjs +152 -0
- package/esm2022/lib/input-clear-button.directive.mjs +63 -0
- package/esm2022/lib/material-form-system.module.mjs +34 -0
- package/esm2022/lib/required.directive.mjs +47 -0
- package/{fesm2020 → fesm2022}/rxap-material-form-system.mjs +132 -132
- package/fesm2022/rxap-material-form-system.mjs.map +1 -0
- package/lib/chip-input-adapter.directive.d.ts +2 -2
- package/lib/chip-list-iterator.directive.d.ts +2 -2
- package/lib/compare-with.directive.d.ts +2 -2
- package/lib/control-error.directive.d.ts +2 -2
- package/lib/control-errors.directive.d.ts +2 -2
- package/lib/form-controls/form-controls.component.d.ts +2 -2
- package/lib/form-controls/form-controls.component.module.d.ts +4 -4
- package/lib/form-field-hide-show.directive.d.ts +2 -2
- package/lib/input-clear-button.directive.d.ts +2 -2
- package/lib/required.directive.d.ts +2 -2
- package/package.json +25 -31
- package/esm2020/lib/chip-input-adapter.directive.mjs +0 -50
- package/esm2020/lib/chip-list-iterator.directive.mjs +0 -107
- package/esm2020/lib/compare-with.directive.mjs +0 -65
- package/esm2020/lib/control-error.directive.mjs +0 -93
- package/esm2020/lib/control-errors.directive.mjs +0 -79
- package/esm2020/lib/form-controls/form-controls.component.mjs +0 -123
- package/esm2020/lib/form-controls/form-controls.component.module.mjs +0 -40
- package/esm2020/lib/form-field-hide-show.directive.mjs +0 -151
- package/esm2020/lib/input-clear-button.directive.mjs +0 -61
- package/esm2020/lib/material-form-system.module.mjs +0 -33
- package/esm2020/lib/required.directive.mjs +0 -45
- package/fesm2015/rxap-material-form-system.mjs +0 -833
- package/fesm2015/rxap-material-form-system.mjs.map +0 -1
- package/fesm2020/rxap-material-form-system.mjs.map +0 -1
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/rxap-material-form-system.mjs +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { __decorate, __metadata } from 'tslib';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { TemplateRef, ViewContainerRef, ChangeDetectorRef, Directive, Inject, Input, NgModule, HostBinding, HostListener, Renderer2, ElementRef, isDevMode, EventEmitter, Component, ChangeDetectionStrategy, Optional, Output } from '@angular/core';
|
|
4
|
-
import * as i1 from '@angular/material/form-field';
|
|
5
|
-
import {
|
|
4
|
+
import * as i1 from '@angular/material/legacy-form-field';
|
|
5
|
+
import { MAT_LEGACY_FORM_FIELD, MatLegacyFormField } from '@angular/material/legacy-form-field';
|
|
6
6
|
import * as i6 from '@rxap/forms';
|
|
7
7
|
import { controlErrorChanges$, RxapFormControl, FormDirective, RxapFormsModule } from '@rxap/forms';
|
|
8
8
|
import { tap, startWith, catchError, take, filter } from 'rxjs/operators';
|
|
@@ -11,37 +11,37 @@ import { Subscription, of } from 'rxjs';
|
|
|
11
11
|
import { RXAP_FORM_SYSTEM_HIDE_SHOW_OPTIONS, RXAP_FORM_SYSTEM_HIDE_METADATA, RXAP_FORM_SYSTEM_SHOW_METADATA, ExtractFormDefinitionMixin } from '@rxap/form-system';
|
|
12
12
|
import { Mixin } from '@rxap/mixin';
|
|
13
13
|
import { getMetadata } from '@rxap/utilities/reflect-metadata';
|
|
14
|
-
import * as i1$1 from '@angular/material/select';
|
|
15
|
-
import {
|
|
14
|
+
import * as i1$1 from '@angular/material/legacy-select';
|
|
15
|
+
import { MatLegacySelect } from '@angular/material/legacy-select';
|
|
16
16
|
import * as i8 from '@angular/router';
|
|
17
17
|
import { Router } from '@angular/router';
|
|
18
|
-
import * as i7 from '@angular/material/snack-bar';
|
|
19
|
-
import {
|
|
18
|
+
import * as i7 from '@angular/material/legacy-snack-bar';
|
|
19
|
+
import { MatLegacySnackBar, MatLegacySnackBarModule } from '@angular/material/legacy-snack-bar';
|
|
20
20
|
import '@angular/localize/init';
|
|
21
|
-
import * as i1$2 from '@angular/material/progress-spinner';
|
|
22
|
-
import {
|
|
21
|
+
import * as i1$2 from '@angular/material/legacy-progress-spinner';
|
|
22
|
+
import { MatLegacyProgressSpinnerModule } from '@angular/material/legacy-progress-spinner';
|
|
23
23
|
import * as i2 from '@angular/flex-layout/flex';
|
|
24
24
|
import * as i3 from '@angular/flex-layout/extended';
|
|
25
|
-
import * as i4 from '@angular/material/button';
|
|
26
|
-
import {
|
|
25
|
+
import * as i4 from '@angular/material/legacy-button';
|
|
26
|
+
import { MatLegacyButtonModule } from '@angular/material/legacy-button';
|
|
27
27
|
import * as i5 from '@angular/common';
|
|
28
28
|
import { CommonModule } from '@angular/common';
|
|
29
29
|
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
30
30
|
import { ENTER, COMMA } from '@angular/cdk/keycodes';
|
|
31
31
|
import * as i2$1 from '@angular/forms';
|
|
32
|
-
import * as i1$3 from '@angular/material/chips';
|
|
32
|
+
import * as i1$3 from '@angular/material/legacy-chips';
|
|
33
33
|
import { log } from '@rxap/utilities/rxjs';
|
|
34
34
|
|
|
35
35
|
class ControlErrorDirective {
|
|
36
|
+
static ngTemplateContextGuard(dir, ctx) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
36
39
|
constructor(formField, template, viewContainerRef, cdr) {
|
|
37
40
|
this.formField = formField;
|
|
38
41
|
this.template = template;
|
|
39
42
|
this.viewContainerRef = viewContainerRef;
|
|
40
43
|
this.cdr = cdr;
|
|
41
44
|
}
|
|
42
|
-
static ngTemplateContextGuard(dir, ctx) {
|
|
43
|
-
return true;
|
|
44
|
-
}
|
|
45
45
|
ngAfterContentInit() {
|
|
46
46
|
const control = this.formField._control.ngControl?.control;
|
|
47
47
|
if (control) {
|
|
@@ -75,22 +75,22 @@ class ControlErrorDirective {
|
|
|
75
75
|
ngOnDestroy() {
|
|
76
76
|
this._subscription?.unsubscribe();
|
|
77
77
|
}
|
|
78
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ControlErrorDirective, deps: [{ token: MAT_LEGACY_FORM_FIELD }, { token: TemplateRef }, { token: ViewContainerRef }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
79
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: ControlErrorDirective, selector: "[rxapControlError]", inputs: { key: ["rxapControlErrorKey", "key"] }, ngImport: i0 }); }
|
|
78
80
|
}
|
|
79
|
-
ControlErrorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ControlErrorDirective, deps: [{ token: MAT_FORM_FIELD }, { token: TemplateRef }, { token: ViewContainerRef }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
80
|
-
ControlErrorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: ControlErrorDirective, selector: "[rxapControlError]", inputs: { key: ["rxapControlErrorKey", "key"] }, ngImport: i0 });
|
|
81
81
|
__decorate([
|
|
82
82
|
Required,
|
|
83
83
|
__metadata("design:type", String)
|
|
84
84
|
], ControlErrorDirective.prototype, "key", void 0);
|
|
85
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
85
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ControlErrorDirective, decorators: [{
|
|
86
86
|
type: Directive,
|
|
87
87
|
args: [{
|
|
88
88
|
// tslint:disable-next-line:directive-selector
|
|
89
89
|
selector: '[rxapControlError]',
|
|
90
90
|
}]
|
|
91
|
-
}], ctorParameters: function () { return [{ type: i1.
|
|
91
|
+
}], ctorParameters: function () { return [{ type: i1.MatLegacyFormField, decorators: [{
|
|
92
92
|
type: Inject,
|
|
93
|
-
args: [
|
|
93
|
+
args: [MAT_LEGACY_FORM_FIELD]
|
|
94
94
|
}] }, { type: i0.TemplateRef, decorators: [{
|
|
95
95
|
type: Inject,
|
|
96
96
|
args: [TemplateRef]
|
|
@@ -105,11 +105,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
105
105
|
args: ['rxapControlErrorKey']
|
|
106
106
|
}] } });
|
|
107
107
|
class ControlErrorDirectiveModule {
|
|
108
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ControlErrorDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
109
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: ControlErrorDirectiveModule, declarations: [ControlErrorDirective], exports: [ControlErrorDirective] }); }
|
|
110
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ControlErrorDirectiveModule }); }
|
|
108
111
|
}
|
|
109
|
-
|
|
110
|
-
ControlErrorDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: ControlErrorDirectiveModule, declarations: [ControlErrorDirective], exports: [ControlErrorDirective] });
|
|
111
|
-
ControlErrorDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ControlErrorDirectiveModule });
|
|
112
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ControlErrorDirectiveModule, decorators: [{
|
|
112
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ControlErrorDirectiveModule, decorators: [{
|
|
113
113
|
type: NgModule,
|
|
114
114
|
args: [{
|
|
115
115
|
declarations: [ControlErrorDirective],
|
|
@@ -118,15 +118,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
118
118
|
}] });
|
|
119
119
|
|
|
120
120
|
class ControlErrorsDirective {
|
|
121
|
+
static ngTemplateContextGuard(dir, ctx) {
|
|
122
|
+
return true;
|
|
123
|
+
}
|
|
121
124
|
constructor(formField, template, viewContainerRef, cdr) {
|
|
122
125
|
this.formField = formField;
|
|
123
126
|
this.template = template;
|
|
124
127
|
this.viewContainerRef = viewContainerRef;
|
|
125
128
|
this.cdr = cdr;
|
|
126
129
|
}
|
|
127
|
-
static ngTemplateContextGuard(dir, ctx) {
|
|
128
|
-
return true;
|
|
129
|
-
}
|
|
130
130
|
ngAfterContentInit() {
|
|
131
131
|
const control = this.formField._control.ngControl?.control;
|
|
132
132
|
if (control) {
|
|
@@ -155,18 +155,18 @@ class ControlErrorsDirective {
|
|
|
155
155
|
ngOnDestroy() {
|
|
156
156
|
this._subscription?.unsubscribe();
|
|
157
157
|
}
|
|
158
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ControlErrorsDirective, deps: [{ token: MAT_LEGACY_FORM_FIELD }, { token: TemplateRef }, { token: ViewContainerRef }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
159
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: ControlErrorsDirective, selector: "[rxapControlErrors]", ngImport: i0 }); }
|
|
158
160
|
}
|
|
159
|
-
|
|
160
|
-
ControlErrorsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: ControlErrorsDirective, selector: "[rxapControlErrors]", ngImport: i0 });
|
|
161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ControlErrorsDirective, decorators: [{
|
|
161
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ControlErrorsDirective, decorators: [{
|
|
162
162
|
type: Directive,
|
|
163
163
|
args: [{
|
|
164
164
|
// tslint:disable-next-line:directive-selector
|
|
165
165
|
selector: '[rxapControlErrors]',
|
|
166
166
|
}]
|
|
167
|
-
}], ctorParameters: function () { return [{ type: i1.
|
|
167
|
+
}], ctorParameters: function () { return [{ type: i1.MatLegacyFormField, decorators: [{
|
|
168
168
|
type: Inject,
|
|
169
|
-
args: [
|
|
169
|
+
args: [MAT_LEGACY_FORM_FIELD]
|
|
170
170
|
}] }, { type: i0.TemplateRef, decorators: [{
|
|
171
171
|
type: Inject,
|
|
172
172
|
args: [TemplateRef]
|
|
@@ -178,11 +178,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
178
178
|
args: [ChangeDetectorRef]
|
|
179
179
|
}] }]; } });
|
|
180
180
|
class ControlErrorsDirectiveModule {
|
|
181
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ControlErrorsDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
182
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: ControlErrorsDirectiveModule, declarations: [ControlErrorsDirective], exports: [ControlErrorsDirective] }); }
|
|
183
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ControlErrorsDirectiveModule }); }
|
|
181
184
|
}
|
|
182
|
-
|
|
183
|
-
ControlErrorsDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: ControlErrorsDirectiveModule, declarations: [ControlErrorsDirective], exports: [ControlErrorsDirective] });
|
|
184
|
-
ControlErrorsDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ControlErrorsDirectiveModule });
|
|
185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ControlErrorsDirectiveModule, decorators: [{
|
|
185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ControlErrorsDirectiveModule, decorators: [{
|
|
186
186
|
type: NgModule,
|
|
187
187
|
args: [{
|
|
188
188
|
declarations: [ControlErrorsDirective],
|
|
@@ -191,17 +191,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
191
191
|
}] });
|
|
192
192
|
|
|
193
193
|
class InputClearButtonDirective {
|
|
194
|
-
constructor(formField) {
|
|
195
|
-
this.formField = formField;
|
|
196
|
-
this.type = 'button';
|
|
197
|
-
this.tabIndex = '-1';
|
|
198
|
-
}
|
|
199
194
|
get control() {
|
|
200
195
|
return this.formField._control;
|
|
201
196
|
}
|
|
202
197
|
get isDisabled() {
|
|
203
198
|
return this.control.disabled;
|
|
204
199
|
}
|
|
200
|
+
constructor(formField) {
|
|
201
|
+
this.formField = formField;
|
|
202
|
+
this.type = 'button';
|
|
203
|
+
this.tabIndex = '-1';
|
|
204
|
+
}
|
|
205
205
|
onClick() {
|
|
206
206
|
if (this.control.ngControl) {
|
|
207
207
|
this.control.ngControl.reset();
|
|
@@ -210,17 +210,17 @@ class InputClearButtonDirective {
|
|
|
210
210
|
this.control.value = null;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: InputClearButtonDirective, deps: [{ token: MAT_LEGACY_FORM_FIELD }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
214
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: InputClearButtonDirective, selector: "[rxapInputClearButton]", host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.type", "attr.tabindex": "this.tabIndex", "disabled": "this.isDisabled" } }, ngImport: i0 }); }
|
|
213
215
|
}
|
|
214
|
-
|
|
215
|
-
InputClearButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: InputClearButtonDirective, selector: "[rxapInputClearButton]", host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.type", "attr.tabindex": "this.tabIndex", "disabled": "this.isDisabled" } }, ngImport: i0 });
|
|
216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: InputClearButtonDirective, decorators: [{
|
|
216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: InputClearButtonDirective, decorators: [{
|
|
217
217
|
type: Directive,
|
|
218
218
|
args: [{
|
|
219
219
|
selector: '[rxapInputClearButton]'
|
|
220
220
|
}]
|
|
221
|
-
}], ctorParameters: function () { return [{ type: i1.
|
|
221
|
+
}], ctorParameters: function () { return [{ type: i1.MatLegacyFormField, decorators: [{
|
|
222
222
|
type: Inject,
|
|
223
|
-
args: [
|
|
223
|
+
args: [MAT_LEGACY_FORM_FIELD]
|
|
224
224
|
}] }]; }, propDecorators: { type: [{
|
|
225
225
|
type: HostBinding,
|
|
226
226
|
args: ['attr.type']
|
|
@@ -235,11 +235,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
235
235
|
args: ['click']
|
|
236
236
|
}] } });
|
|
237
237
|
class InputClearButtonDirectiveModule {
|
|
238
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: InputClearButtonDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
239
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: InputClearButtonDirectiveModule, declarations: [InputClearButtonDirective], exports: [InputClearButtonDirective] }); }
|
|
240
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: InputClearButtonDirectiveModule }); }
|
|
238
241
|
}
|
|
239
|
-
|
|
240
|
-
InputClearButtonDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: InputClearButtonDirectiveModule, declarations: [InputClearButtonDirective], exports: [InputClearButtonDirective] });
|
|
241
|
-
InputClearButtonDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: InputClearButtonDirectiveModule });
|
|
242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: InputClearButtonDirectiveModule, decorators: [{
|
|
242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: InputClearButtonDirectiveModule, decorators: [{
|
|
243
243
|
type: NgModule,
|
|
244
244
|
args: [{
|
|
245
245
|
declarations: [InputClearButtonDirective],
|
|
@@ -263,24 +263,24 @@ class RequiredDirective {
|
|
|
263
263
|
throw new Error('The form field has not a control associated!');
|
|
264
264
|
}
|
|
265
265
|
}
|
|
266
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: RequiredDirective, deps: [{ token: MAT_LEGACY_FORM_FIELD }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
267
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: RequiredDirective, selector: "[formControlName][rxapRequired]", ngImport: i0 }); }
|
|
266
268
|
}
|
|
267
|
-
|
|
268
|
-
RequiredDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: RequiredDirective, selector: "[formControlName][rxapRequired]", ngImport: i0 });
|
|
269
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RequiredDirective, decorators: [{
|
|
269
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: RequiredDirective, decorators: [{
|
|
270
270
|
type: Directive,
|
|
271
271
|
args: [{
|
|
272
272
|
selector: '[formControlName][rxapRequired]'
|
|
273
273
|
}]
|
|
274
|
-
}], ctorParameters: function () { return [{ type: i1.
|
|
274
|
+
}], ctorParameters: function () { return [{ type: i1.MatLegacyFormField, decorators: [{
|
|
275
275
|
type: Inject,
|
|
276
|
-
args: [
|
|
276
|
+
args: [MAT_LEGACY_FORM_FIELD]
|
|
277
277
|
}] }]; } });
|
|
278
278
|
class RequiredDirectiveModule {
|
|
279
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: RequiredDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
280
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: RequiredDirectiveModule, declarations: [RequiredDirective], exports: [RequiredDirective] }); }
|
|
281
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: RequiredDirectiveModule }); }
|
|
279
282
|
}
|
|
280
|
-
|
|
281
|
-
RequiredDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: RequiredDirectiveModule, declarations: [RequiredDirective], exports: [RequiredDirective] });
|
|
282
|
-
RequiredDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RequiredDirectiveModule });
|
|
283
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: RequiredDirectiveModule, decorators: [{
|
|
283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: RequiredDirectiveModule, decorators: [{
|
|
284
284
|
type: NgModule,
|
|
285
285
|
args: [{
|
|
286
286
|
exports: [RequiredDirective],
|
|
@@ -390,23 +390,23 @@ let FormFieldHideShowDirective = class FormFieldHideShowDirective {
|
|
|
390
390
|
reset() {
|
|
391
391
|
this.renderer.removeStyle(this.elementRef.nativeElement, 'display');
|
|
392
392
|
}
|
|
393
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FormFieldHideShowDirective, deps: [{ token: MAT_LEGACY_FORM_FIELD }, { token: Renderer2 }, { token: ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
394
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: FormFieldHideShowDirective, selector: "mat-form-field[rxapHideShow]", ngImport: i0 }); }
|
|
393
395
|
};
|
|
394
|
-
FormFieldHideShowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormFieldHideShowDirective, deps: [{ token: MAT_FORM_FIELD }, { token: Renderer2 }, { token: ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
395
|
-
FormFieldHideShowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: FormFieldHideShowDirective, selector: "mat-form-field[rxapHideShow]", ngImport: i0 });
|
|
396
396
|
FormFieldHideShowDirective = __decorate([
|
|
397
397
|
Mixin(ExtractHideShowMixin, ExtractFormDefinitionMixin),
|
|
398
|
-
__metadata("design:paramtypes", [
|
|
398
|
+
__metadata("design:paramtypes", [MatLegacyFormField,
|
|
399
399
|
Renderer2,
|
|
400
400
|
ElementRef])
|
|
401
401
|
], FormFieldHideShowDirective);
|
|
402
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FormFieldHideShowDirective, decorators: [{
|
|
403
403
|
type: Directive,
|
|
404
404
|
args: [{
|
|
405
405
|
selector: 'mat-form-field[rxapHideShow]'
|
|
406
406
|
}]
|
|
407
|
-
}], ctorParameters: function () { return [{ type: i1.
|
|
407
|
+
}], ctorParameters: function () { return [{ type: i1.MatLegacyFormField, decorators: [{
|
|
408
408
|
type: Inject,
|
|
409
|
-
args: [
|
|
409
|
+
args: [MAT_LEGACY_FORM_FIELD]
|
|
410
410
|
}] }, { type: i0.Renderer2, decorators: [{
|
|
411
411
|
type: Inject,
|
|
412
412
|
args: [Renderer2]
|
|
@@ -415,11 +415,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
415
415
|
args: [ElementRef]
|
|
416
416
|
}] }]; } });
|
|
417
417
|
class FormFieldHideShowDirectiveModule {
|
|
418
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FormFieldHideShowDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
419
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: FormFieldHideShowDirectiveModule, declarations: [FormFieldHideShowDirective], exports: [FormFieldHideShowDirective] }); }
|
|
420
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FormFieldHideShowDirectiveModule }); }
|
|
418
421
|
}
|
|
419
|
-
|
|
420
|
-
FormFieldHideShowDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: FormFieldHideShowDirectiveModule, declarations: [FormFieldHideShowDirective], exports: [FormFieldHideShowDirective] });
|
|
421
|
-
FormFieldHideShowDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormFieldHideShowDirectiveModule });
|
|
422
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormFieldHideShowDirectiveModule, decorators: [{
|
|
422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FormFieldHideShowDirectiveModule, decorators: [{
|
|
423
423
|
type: NgModule,
|
|
424
424
|
args: [{
|
|
425
425
|
declarations: [FormFieldHideShowDirective],
|
|
@@ -428,19 +428,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
428
428
|
}] });
|
|
429
429
|
|
|
430
430
|
class MaterialFormSystemModule {
|
|
431
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MaterialFormSystemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
432
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: MaterialFormSystemModule, exports: [ControlErrorDirectiveModule,
|
|
433
|
+
ControlErrorsDirectiveModule,
|
|
434
|
+
InputClearButtonDirectiveModule,
|
|
435
|
+
RequiredDirectiveModule,
|
|
436
|
+
FormFieldHideShowDirectiveModule] }); }
|
|
437
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MaterialFormSystemModule, imports: [ControlErrorDirectiveModule,
|
|
438
|
+
ControlErrorsDirectiveModule,
|
|
439
|
+
InputClearButtonDirectiveModule,
|
|
440
|
+
RequiredDirectiveModule,
|
|
441
|
+
FormFieldHideShowDirectiveModule] }); }
|
|
431
442
|
}
|
|
432
|
-
|
|
433
|
-
MaterialFormSystemModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: MaterialFormSystemModule, exports: [ControlErrorDirectiveModule,
|
|
434
|
-
ControlErrorsDirectiveModule,
|
|
435
|
-
InputClearButtonDirectiveModule,
|
|
436
|
-
RequiredDirectiveModule,
|
|
437
|
-
FormFieldHideShowDirectiveModule] });
|
|
438
|
-
MaterialFormSystemModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: MaterialFormSystemModule, imports: [ControlErrorDirectiveModule,
|
|
439
|
-
ControlErrorsDirectiveModule,
|
|
440
|
-
InputClearButtonDirectiveModule,
|
|
441
|
-
RequiredDirectiveModule,
|
|
442
|
-
FormFieldHideShowDirectiveModule] });
|
|
443
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: MaterialFormSystemModule, decorators: [{
|
|
443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MaterialFormSystemModule, decorators: [{
|
|
444
444
|
type: NgModule,
|
|
445
445
|
args: [{
|
|
446
446
|
exports: [
|
|
@@ -485,27 +485,27 @@ class CompareWithDirective {
|
|
|
485
485
|
return equals(o1, o2);
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CompareWithDirective, deps: [{ token: MatLegacySelect }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
489
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: CompareWithDirective, selector: "mat-select[rxapCompareWith]", inputs: { objectPath: ["rxapCompareWith", "objectPath"] }, ngImport: i0 }); }
|
|
488
490
|
}
|
|
489
|
-
|
|
490
|
-
CompareWithDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: CompareWithDirective, selector: "mat-select[rxapCompareWith]", inputs: { objectPath: ["rxapCompareWith", "objectPath"] }, ngImport: i0 });
|
|
491
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: CompareWithDirective, decorators: [{
|
|
491
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CompareWithDirective, decorators: [{
|
|
492
492
|
type: Directive,
|
|
493
493
|
args: [{
|
|
494
494
|
selector: 'mat-select[rxapCompareWith]',
|
|
495
495
|
}]
|
|
496
|
-
}], ctorParameters: function () { return [{ type: i1$1.
|
|
496
|
+
}], ctorParameters: function () { return [{ type: i1$1.MatLegacySelect, decorators: [{
|
|
497
497
|
type: Inject,
|
|
498
|
-
args: [
|
|
498
|
+
args: [MatLegacySelect]
|
|
499
499
|
}] }]; }, propDecorators: { objectPath: [{
|
|
500
500
|
type: Input,
|
|
501
501
|
args: ['rxapCompareWith']
|
|
502
502
|
}] } });
|
|
503
503
|
class CompareWithDirectiveModule {
|
|
504
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CompareWithDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
505
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: CompareWithDirectiveModule, declarations: [CompareWithDirective], exports: [CompareWithDirective] }); }
|
|
506
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CompareWithDirectiveModule }); }
|
|
504
507
|
}
|
|
505
|
-
|
|
506
|
-
CompareWithDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: CompareWithDirectiveModule, declarations: [CompareWithDirective], exports: [CompareWithDirective] });
|
|
507
|
-
CompareWithDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: CompareWithDirectiveModule });
|
|
508
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: CompareWithDirectiveModule, decorators: [{
|
|
508
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CompareWithDirectiveModule, decorators: [{
|
|
509
509
|
type: NgModule,
|
|
510
510
|
args: [{
|
|
511
511
|
declarations: [CompareWithDirective],
|
|
@@ -514,6 +514,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
514
514
|
}] });
|
|
515
515
|
|
|
516
516
|
class FormControlsComponent {
|
|
517
|
+
set allowResubmit(value) {
|
|
518
|
+
this._allowResubmit = coerceBoolean(value);
|
|
519
|
+
}
|
|
520
|
+
get allowResubmit() {
|
|
521
|
+
return this._allowResubmit;
|
|
522
|
+
}
|
|
517
523
|
constructor(formDirective, cdr, snackBar, router) {
|
|
518
524
|
this.formDirective = formDirective;
|
|
519
525
|
this.cdr = cdr;
|
|
@@ -530,12 +536,6 @@ class FormControlsComponent {
|
|
|
530
536
|
*/
|
|
531
537
|
this._submitted = [];
|
|
532
538
|
}
|
|
533
|
-
set allowResubmit(value) {
|
|
534
|
-
this._allowResubmit = coerceBoolean(value);
|
|
535
|
-
}
|
|
536
|
-
get allowResubmit() {
|
|
537
|
-
return this._allowResubmit;
|
|
538
|
-
}
|
|
539
539
|
ngOnInit() {
|
|
540
540
|
this.submitting$ = this.formDirective.submitting$;
|
|
541
541
|
this.close
|
|
@@ -590,10 +590,10 @@ class FormControlsComponent {
|
|
|
590
590
|
logCurrentFormState() {
|
|
591
591
|
console.log(clone(this.formDirective.form.value));
|
|
592
592
|
}
|
|
593
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FormControlsComponent, deps: [{ token: FormDirective }, { token: ChangeDetectorRef }, { token: MatLegacySnackBar }, { token: Router, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
594
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.2", type: FormControlsComponent, selector: "rxap-form-controls", inputs: { allowResubmit: "allowResubmit", navigateAfterSubmit: "navigateAfterSubmit" }, outputs: { close: "close", submitted: "submitted" }, host: { classAttribute: "mfd-form-controls" }, ngImport: i0, template: "<div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"32px\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"end center\" fxLayoutGap=\"32px\" style=\"width: 100%\">\n <button (click)=\"reset()\"\n [disabled]=\"submitting$ | async\"\n type=\"button\"\n fxFlex=\"nogrow\"\n mat-stroked-button>\n <ng-container i18n>Reset</ng-container>\n </button>\n <button (click)=\"cancel()\"\n [disabled]=\"submitting$ | async\"\n type=\"button\"\n color=\"warn\" fxFlex=\"nogrow\"\n mat-stroked-button>\n <ng-container i18n>Cancel</ng-container>\n </button>\n <button (click)=\"submit(!allowResubmit)\"\n [disabled]=\"submitting$ | async\"\n type=\"button\"\n color=\"primary\"\n fxFlex=\"nogrow\"\n [ngClass]=\"{ invalid: invalid }\"\n mat-raised-button>\n <span fxLayout=\"row\" fxLayoutGap=\"4px\" fxLayoutAlign=\"start center\">\n <span fxFlex=\"nogrow\">\n <ng-container i18n>Submit</ng-container>\n </span>\n <mat-spinner [fxShow]=\"submitting$ | async\" fxFlex=\"nogrow\" mode=\"indeterminate\" [diameter]=\"15\" color=\"accent\"></mat-spinner>\n </span>\n </button>\n <button *ngIf=\"allowResubmit\" (click)=\"submit(true)\"\n type=\"button\"\n color=\"primary\"\n fxFlex=\"nogrow\"\n [ngClass]=\"{ invalid: invalid }\"\n [disabled]=\"submitting$ | async\"\n mat-raised-button>\n <span fxLayout=\"row\" fxLayoutGap=\"4px\" fxLayoutAlign=\"start center\">\n <span fxFlex=\"nogrow\">\n <ng-container i18n>Submit and Close</ng-container>\n </span>\n <mat-spinner [fxShow]=\"submitting$ | async\" fxFlex=\"nogrow\" mode=\"indeterminate\" [diameter]=\"15\" color=\"accent\"></mat-spinner>\n </span>\n </button>\n <button *ngIf=\"isDevMode\" type=\"button\" mat-button fxFlex=\"nogrow\" (click)=\"logCurrentFormState()\">Current Form State</button>\n </div>\n</div>\n", styles: ["button{overflow:hidden}button.invalid{border:6px solid darkred}\n"], dependencies: [{ kind: "component", type: i1$2.MatLegacyProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i2.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i3.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "directive", type: i3.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "component", type: i4.MatLegacyButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
593
595
|
}
|
|
594
|
-
|
|
595
|
-
FormControlsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.2.2", type: FormControlsComponent, selector: "rxap-form-controls", inputs: { allowResubmit: "allowResubmit", navigateAfterSubmit: "navigateAfterSubmit" }, outputs: { close: "close", submitted: "submitted" }, host: { classAttribute: "mfd-form-controls" }, ngImport: i0, template: "<div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"32px\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"end center\" fxLayoutGap=\"32px\" style=\"width: 100%\">\n <button (click)=\"reset()\"\n [disabled]=\"submitting$ | async\"\n type=\"button\"\n fxFlex=\"nogrow\"\n mat-stroked-button>\n <ng-container i18n>Reset</ng-container>\n </button>\n <button (click)=\"cancel()\"\n [disabled]=\"submitting$ | async\"\n type=\"button\"\n color=\"warn\" fxFlex=\"nogrow\"\n mat-stroked-button>\n <ng-container i18n>Cancel</ng-container>\n </button>\n <button (click)=\"submit(!allowResubmit)\"\n [disabled]=\"submitting$ | async\"\n type=\"button\"\n color=\"primary\"\n fxFlex=\"nogrow\"\n [ngClass]=\"{ invalid: invalid }\"\n mat-raised-button>\n <span fxLayout=\"row\" fxLayoutGap=\"4px\" fxLayoutAlign=\"start center\">\n <span fxFlex=\"nogrow\">\n <ng-container i18n>Submit</ng-container>\n </span>\n <mat-spinner [fxShow]=\"submitting$ | async\" fxFlex=\"nogrow\" mode=\"indeterminate\" [diameter]=\"15\" color=\"accent\"></mat-spinner>\n </span>\n </button>\n <button *ngIf=\"allowResubmit\" (click)=\"submit(true)\"\n type=\"button\"\n color=\"primary\"\n fxFlex=\"nogrow\"\n [ngClass]=\"{ invalid: invalid }\"\n [disabled]=\"submitting$ | async\"\n mat-raised-button>\n <span fxLayout=\"row\" fxLayoutGap=\"4px\" fxLayoutAlign=\"start center\">\n <span fxFlex=\"nogrow\">\n <ng-container i18n>Submit and Close</ng-container>\n </span>\n <mat-spinner [fxShow]=\"submitting$ | async\" fxFlex=\"nogrow\" mode=\"indeterminate\" [diameter]=\"15\" color=\"accent\"></mat-spinner>\n </span>\n </button>\n <button *ngIf=\"isDevMode\" type=\"button\" mat-button fxFlex=\"nogrow\" (click)=\"logCurrentFormState()\">Current Form State</button>\n </div>\n</div>\n", styles: ["button{overflow:hidden}button.invalid{border:6px solid darkred}\n"], dependencies: [{ kind: "component", type: i1$2.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "diameter", "strokeWidth", "mode", "value"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i2.DefaultLayoutDirective, selector: " [fxLayout], [fxLayout.xs], [fxLayout.sm], [fxLayout.md], [fxLayout.lg], [fxLayout.xl], [fxLayout.lt-sm], [fxLayout.lt-md], [fxLayout.lt-lg], [fxLayout.lt-xl], [fxLayout.gt-xs], [fxLayout.gt-sm], [fxLayout.gt-md], [fxLayout.gt-lg]", inputs: ["fxLayout", "fxLayout.xs", "fxLayout.sm", "fxLayout.md", "fxLayout.lg", "fxLayout.xl", "fxLayout.lt-sm", "fxLayout.lt-md", "fxLayout.lt-lg", "fxLayout.lt-xl", "fxLayout.gt-xs", "fxLayout.gt-sm", "fxLayout.gt-md", "fxLayout.gt-lg"] }, { kind: "directive", type: i2.DefaultLayoutGapDirective, selector: " [fxLayoutGap], [fxLayoutGap.xs], [fxLayoutGap.sm], [fxLayoutGap.md], [fxLayoutGap.lg], [fxLayoutGap.xl], [fxLayoutGap.lt-sm], [fxLayoutGap.lt-md], [fxLayoutGap.lt-lg], [fxLayoutGap.lt-xl], [fxLayoutGap.gt-xs], [fxLayoutGap.gt-sm], [fxLayoutGap.gt-md], [fxLayoutGap.gt-lg]", inputs: ["fxLayoutGap", "fxLayoutGap.xs", "fxLayoutGap.sm", "fxLayoutGap.md", "fxLayoutGap.lg", "fxLayoutGap.xl", "fxLayoutGap.lt-sm", "fxLayoutGap.lt-md", "fxLayoutGap.lt-lg", "fxLayoutGap.lt-xl", "fxLayoutGap.gt-xs", "fxLayoutGap.gt-sm", "fxLayoutGap.gt-md", "fxLayoutGap.gt-lg"] }, { kind: "directive", type: i2.DefaultLayoutAlignDirective, selector: " [fxLayoutAlign], [fxLayoutAlign.xs], [fxLayoutAlign.sm], [fxLayoutAlign.md], [fxLayoutAlign.lg], [fxLayoutAlign.xl], [fxLayoutAlign.lt-sm], [fxLayoutAlign.lt-md], [fxLayoutAlign.lt-lg], [fxLayoutAlign.lt-xl], [fxLayoutAlign.gt-xs], [fxLayoutAlign.gt-sm], [fxLayoutAlign.gt-md], [fxLayoutAlign.gt-lg]", inputs: ["fxLayoutAlign", "fxLayoutAlign.xs", "fxLayoutAlign.sm", "fxLayoutAlign.md", "fxLayoutAlign.lg", "fxLayoutAlign.xl", "fxLayoutAlign.lt-sm", "fxLayoutAlign.lt-md", "fxLayoutAlign.lt-lg", "fxLayoutAlign.lt-xl", "fxLayoutAlign.gt-xs", "fxLayoutAlign.gt-sm", "fxLayoutAlign.gt-md", "fxLayoutAlign.gt-lg"] }, { kind: "directive", type: i2.DefaultFlexDirective, selector: " [fxFlex], [fxFlex.xs], [fxFlex.sm], [fxFlex.md], [fxFlex.lg], [fxFlex.xl], [fxFlex.lt-sm], [fxFlex.lt-md], [fxFlex.lt-lg], [fxFlex.lt-xl], [fxFlex.gt-xs], [fxFlex.gt-sm], [fxFlex.gt-md], [fxFlex.gt-lg]", inputs: ["fxFlex", "fxFlex.xs", "fxFlex.sm", "fxFlex.md", "fxFlex.lg", "fxFlex.xl", "fxFlex.lt-sm", "fxFlex.lt-md", "fxFlex.lt-lg", "fxFlex.lt-xl", "fxFlex.gt-xs", "fxFlex.gt-sm", "fxFlex.gt-md", "fxFlex.gt-lg"] }, { kind: "directive", type: i3.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "directive", type: i3.DefaultClassDirective, selector: " [ngClass], [ngClass.xs], [ngClass.sm], [ngClass.md], [ngClass.lg], [ngClass.xl], [ngClass.lt-sm], [ngClass.lt-md], [ngClass.lt-lg], [ngClass.lt-xl], [ngClass.gt-xs], [ngClass.gt-sm], [ngClass.gt-md], [ngClass.gt-lg]", inputs: ["ngClass", "ngClass.xs", "ngClass.sm", "ngClass.md", "ngClass.lg", "ngClass.xl", "ngClass.lt-sm", "ngClass.lt-md", "ngClass.lt-lg", "ngClass.lt-xl", "ngClass.gt-xs", "ngClass.gt-sm", "ngClass.gt-md", "ngClass.gt-lg"] }, { kind: "component", type: i4.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: i5.AsyncPipe, name: "async" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
596
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlsComponent, decorators: [{
|
|
596
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FormControlsComponent, decorators: [{
|
|
597
597
|
type: Component,
|
|
598
598
|
args: [{ selector: 'rxap-form-controls', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'mfd-form-controls' }, template: "<div fxLayout=\"row\" fxLayoutAlign=\"space-between center\" fxLayoutGap=\"32px\">\n <div fxFlex=\"nogrow\" fxLayout=\"row\" fxLayoutAlign=\"end center\" fxLayoutGap=\"32px\" style=\"width: 100%\">\n <button (click)=\"reset()\"\n [disabled]=\"submitting$ | async\"\n type=\"button\"\n fxFlex=\"nogrow\"\n mat-stroked-button>\n <ng-container i18n>Reset</ng-container>\n </button>\n <button (click)=\"cancel()\"\n [disabled]=\"submitting$ | async\"\n type=\"button\"\n color=\"warn\" fxFlex=\"nogrow\"\n mat-stroked-button>\n <ng-container i18n>Cancel</ng-container>\n </button>\n <button (click)=\"submit(!allowResubmit)\"\n [disabled]=\"submitting$ | async\"\n type=\"button\"\n color=\"primary\"\n fxFlex=\"nogrow\"\n [ngClass]=\"{ invalid: invalid }\"\n mat-raised-button>\n <span fxLayout=\"row\" fxLayoutGap=\"4px\" fxLayoutAlign=\"start center\">\n <span fxFlex=\"nogrow\">\n <ng-container i18n>Submit</ng-container>\n </span>\n <mat-spinner [fxShow]=\"submitting$ | async\" fxFlex=\"nogrow\" mode=\"indeterminate\" [diameter]=\"15\" color=\"accent\"></mat-spinner>\n </span>\n </button>\n <button *ngIf=\"allowResubmit\" (click)=\"submit(true)\"\n type=\"button\"\n color=\"primary\"\n fxFlex=\"nogrow\"\n [ngClass]=\"{ invalid: invalid }\"\n [disabled]=\"submitting$ | async\"\n mat-raised-button>\n <span fxLayout=\"row\" fxLayoutGap=\"4px\" fxLayoutAlign=\"start center\">\n <span fxFlex=\"nogrow\">\n <ng-container i18n>Submit and Close</ng-container>\n </span>\n <mat-spinner [fxShow]=\"submitting$ | async\" fxFlex=\"nogrow\" mode=\"indeterminate\" [diameter]=\"15\" color=\"accent\"></mat-spinner>\n </span>\n </button>\n <button *ngIf=\"isDevMode\" type=\"button\" mat-button fxFlex=\"nogrow\" (click)=\"logCurrentFormState()\">Current Form State</button>\n </div>\n</div>\n", styles: ["button{overflow:hidden}button.invalid{border:6px solid darkred}\n"] }]
|
|
599
599
|
}], ctorParameters: function () { return [{ type: i6.FormDirective, decorators: [{
|
|
@@ -602,9 +602,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
602
602
|
}] }, { type: i0.ChangeDetectorRef, decorators: [{
|
|
603
603
|
type: Inject,
|
|
604
604
|
args: [ChangeDetectorRef]
|
|
605
|
-
}] }, { type: i7.
|
|
605
|
+
}] }, { type: i7.MatLegacySnackBar, decorators: [{
|
|
606
606
|
type: Inject,
|
|
607
|
-
args: [
|
|
607
|
+
args: [MatLegacySnackBar]
|
|
608
608
|
}] }, { type: i8.Router, decorators: [{
|
|
609
609
|
type: Optional
|
|
610
610
|
}, {
|
|
@@ -621,31 +621,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImpor
|
|
|
621
621
|
}] } });
|
|
622
622
|
|
|
623
623
|
class FormControlsComponentModule {
|
|
624
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FormControlsComponentModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
625
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: FormControlsComponentModule, declarations: [FormControlsComponent], imports: [MatLegacyProgressSpinnerModule,
|
|
626
|
+
FlexLayoutModule,
|
|
627
|
+
MatLegacyButtonModule,
|
|
628
|
+
CommonModule,
|
|
629
|
+
RxapFormsModule,
|
|
630
|
+
MatLegacySnackBarModule], exports: [FormControlsComponent] }); }
|
|
631
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FormControlsComponentModule, imports: [MatLegacyProgressSpinnerModule,
|
|
632
|
+
FlexLayoutModule,
|
|
633
|
+
MatLegacyButtonModule,
|
|
634
|
+
CommonModule,
|
|
635
|
+
RxapFormsModule,
|
|
636
|
+
MatLegacySnackBarModule] }); }
|
|
624
637
|
}
|
|
625
|
-
|
|
626
|
-
FormControlsComponentModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: FormControlsComponentModule, declarations: [FormControlsComponent], imports: [MatProgressSpinnerModule,
|
|
627
|
-
FlexLayoutModule,
|
|
628
|
-
MatButtonModule,
|
|
629
|
-
CommonModule,
|
|
630
|
-
RxapFormsModule,
|
|
631
|
-
MatSnackBarModule], exports: [FormControlsComponent] });
|
|
632
|
-
FormControlsComponentModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlsComponentModule, imports: [MatProgressSpinnerModule,
|
|
633
|
-
FlexLayoutModule,
|
|
634
|
-
MatButtonModule,
|
|
635
|
-
CommonModule,
|
|
636
|
-
RxapFormsModule,
|
|
637
|
-
MatSnackBarModule] });
|
|
638
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: FormControlsComponentModule, decorators: [{
|
|
638
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FormControlsComponentModule, decorators: [{
|
|
639
639
|
type: NgModule,
|
|
640
640
|
args: [{
|
|
641
641
|
declarations: [FormControlsComponent],
|
|
642
642
|
imports: [
|
|
643
|
-
|
|
643
|
+
MatLegacyProgressSpinnerModule,
|
|
644
644
|
FlexLayoutModule,
|
|
645
|
-
|
|
645
|
+
MatLegacyButtonModule,
|
|
646
646
|
CommonModule,
|
|
647
647
|
RxapFormsModule,
|
|
648
|
-
|
|
648
|
+
MatLegacySnackBarModule,
|
|
649
649
|
],
|
|
650
650
|
exports: [FormControlsComponent]
|
|
651
651
|
}]
|
|
@@ -670,21 +670,21 @@ class ChipInputAdapterDirective {
|
|
|
670
670
|
}))
|
|
671
671
|
.subscribe();
|
|
672
672
|
}
|
|
673
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ChipInputAdapterDirective, deps: [{ token: i1$3.MatLegacyChipInput }, { token: i2$1.NgControl }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
674
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: ChipInputAdapterDirective, selector: "[matChipInputFor][rxapChipInputAdapter]", ngImport: i0 }); }
|
|
673
675
|
}
|
|
674
|
-
|
|
675
|
-
ChipInputAdapterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: ChipInputAdapterDirective, selector: "[matChipInputFor][rxapChipInputAdapter]", ngImport: i0 });
|
|
676
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ChipInputAdapterDirective, decorators: [{
|
|
676
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ChipInputAdapterDirective, decorators: [{
|
|
677
677
|
type: Directive,
|
|
678
678
|
args: [{
|
|
679
679
|
selector: '[matChipInputFor][rxapChipInputAdapter]'
|
|
680
680
|
}]
|
|
681
|
-
}], ctorParameters: function () { return [{ type: i1$3.
|
|
681
|
+
}], ctorParameters: function () { return [{ type: i1$3.MatLegacyChipInput }, { type: i2$1.NgControl }]; } });
|
|
682
682
|
class ChipInputAdapterDirectiveModule {
|
|
683
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ChipInputAdapterDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
684
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: ChipInputAdapterDirectiveModule, declarations: [ChipInputAdapterDirective], exports: [ChipInputAdapterDirective] }); }
|
|
685
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ChipInputAdapterDirectiveModule }); }
|
|
683
686
|
}
|
|
684
|
-
|
|
685
|
-
ChipInputAdapterDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: ChipInputAdapterDirectiveModule, declarations: [ChipInputAdapterDirective], exports: [ChipInputAdapterDirective] });
|
|
686
|
-
ChipInputAdapterDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ChipInputAdapterDirectiveModule });
|
|
687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ChipInputAdapterDirectiveModule, decorators: [{
|
|
687
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ChipInputAdapterDirectiveModule, decorators: [{
|
|
688
688
|
type: NgModule,
|
|
689
689
|
args: [{
|
|
690
690
|
exports: [ChipInputAdapterDirective],
|
|
@@ -771,21 +771,21 @@ class ChipListIteratorDirective {
|
|
|
771
771
|
perViewChange(view, record) {
|
|
772
772
|
view.context.$implicit = record.item;
|
|
773
773
|
}
|
|
774
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ChipListIteratorDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i2$1.NgControl }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
775
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.2", type: ChipListIteratorDirective, selector: "[rxapChipListIterator]", ngImport: i0 }); }
|
|
774
776
|
}
|
|
775
|
-
|
|
776
|
-
ChipListIteratorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.2", type: ChipListIteratorDirective, selector: "[rxapChipListIterator]", ngImport: i0 });
|
|
777
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ChipListIteratorDirective, decorators: [{
|
|
777
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ChipListIteratorDirective, decorators: [{
|
|
778
778
|
type: Directive,
|
|
779
779
|
args: [{
|
|
780
780
|
selector: '[rxapChipListIterator]'
|
|
781
781
|
}]
|
|
782
782
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i2$1.NgControl }, { type: i0.IterableDiffers }]; } });
|
|
783
783
|
class ChipListIteratorDirectiveModule {
|
|
784
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ChipListIteratorDirectiveModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
785
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.2", ngImport: i0, type: ChipListIteratorDirectiveModule, declarations: [ChipListIteratorDirective], exports: [ChipListIteratorDirective] }); }
|
|
786
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ChipListIteratorDirectiveModule }); }
|
|
784
787
|
}
|
|
785
|
-
|
|
786
|
-
ChipListIteratorDirectiveModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.2", ngImport: i0, type: ChipListIteratorDirectiveModule, declarations: [ChipListIteratorDirective], exports: [ChipListIteratorDirective] });
|
|
787
|
-
ChipListIteratorDirectiveModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ChipListIteratorDirectiveModule });
|
|
788
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.2", ngImport: i0, type: ChipListIteratorDirectiveModule, decorators: [{
|
|
788
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ChipListIteratorDirectiveModule, decorators: [{
|
|
789
789
|
type: NgModule,
|
|
790
790
|
args: [{
|
|
791
791
|
exports: [ChipListIteratorDirective],
|