@rxap/material-form-system 16.0.0-dev.1 → 16.0.0-dev.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 (37) hide show
  1. package/CHANGELOG.md +482 -0
  2. package/README.md +7 -22
  3. package/esm2022/index.mjs +1 -3
  4. package/esm2022/lib/chip-input-adapter.directive.mjs +13 -26
  5. package/esm2022/lib/chip-list-iterator.directive.mjs +14 -25
  6. package/esm2022/lib/compare-with.directive.mjs +11 -24
  7. package/esm2022/lib/control-error.directive.mjs +16 -29
  8. package/esm2022/lib/control-errors.directive.mjs +16 -29
  9. package/esm2022/lib/form-controls/form-controls.component.mjs +44 -31
  10. package/esm2022/lib/form-field-hide-show.directive.mjs +16 -29
  11. package/esm2022/lib/input-clear-button.directive.mjs +16 -29
  12. package/esm2022/lib/required.directive.mjs +11 -24
  13. package/esm2022/rxap-material-form-system.mjs +1 -1
  14. package/fesm2022/rxap-material-form-system.mjs +163 -296
  15. package/fesm2022/rxap-material-form-system.mjs.map +1 -1
  16. package/index.d.ts +0 -2
  17. package/lib/chip-input-adapter.directive.d.ts +2 -7
  18. package/lib/chip-list-iterator.directive.d.ts +2 -7
  19. package/lib/compare-with.directive.d.ts +2 -7
  20. package/lib/control-error.directive.d.ts +6 -11
  21. package/lib/control-errors.directive.d.ts +6 -11
  22. package/lib/form-controls/form-controls.component.d.ts +6 -6
  23. package/lib/form-field-hide-show.directive.d.ts +3 -8
  24. package/lib/input-clear-button.directive.d.ts +3 -8
  25. package/lib/required.directive.d.ts +2 -7
  26. package/package.json +56 -51
  27. package/LICENSE +0 -27
  28. package/collection.json +0 -10
  29. package/esm2022/lib/form-controls/form-controls.component.module.mjs +0 -41
  30. package/esm2022/lib/material-form-system.module.mjs +0 -34
  31. package/lib/form-controls/form-controls.component.module.d.ts +0 -13
  32. package/lib/material-form-system.module.d.ts +0 -11
  33. package/migration.json +0 -4
  34. package/src/schematics/ng-add/index.d.ts +0 -2
  35. package/src/schematics/ng-add/index.js +0 -8
  36. package/src/schematics/ng-add/index.js.map +0 -1
  37. package/src/schematics/ng-add/schema.json +0 -7
@@ -1,47 +1,46 @@
1
1
  import { __decorate, __metadata } from 'tslib';
2
2
  import * as i0 from '@angular/core';
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/legacy-form-field';
5
- import { MAT_LEGACY_FORM_FIELD, MatLegacyFormField } from '@angular/material/legacy-form-field';
6
- import * as i6 from '@rxap/forms';
7
- import { controlErrorChanges$, RxapFormControl, FormDirective, RxapFormsModule } from '@rxap/forms';
3
+ import { TemplateRef, ViewContainerRef, ChangeDetectorRef, Directive, Inject, Input, HostBinding, HostListener, isDevMode, Renderer2, ElementRef, EventEmitter, Component, ChangeDetectionStrategy, Optional, Output } from '@angular/core';
4
+ import * as i1 from '@angular/material/form-field';
5
+ import { MAT_FORM_FIELD, MatFormField } from '@angular/material/form-field';
6
+ import * as i5 from '@rxap/forms';
7
+ import { controlErrorChanges$, RxapFormControl, FormDirective } from '@rxap/forms';
8
8
  import { tap, startWith, catchError, take, filter } from 'rxjs/operators';
9
9
  import { Required, getFromObject, equals, coerceBoolean, clone, unique } from '@rxap/utilities';
10
+ import * as i1$1 from '@angular/material/select';
11
+ import { MatSelect } from '@angular/material/select';
10
12
  import { Subscription, of } from 'rxjs';
11
13
  import { RXAP_FORM_SYSTEM_HIDE_SHOW_OPTIONS, RXAP_FORM_SYSTEM_HIDE_METADATA, RXAP_FORM_SYSTEM_SHOW_METADATA, ExtractFormDefinitionMixin } from '@rxap/form-system';
12
14
  import { Mixin } from '@rxap/mixin';
13
- import { getMetadata } from '@rxap/utilities/reflect-metadata';
14
- import * as i1$1 from '@angular/material/legacy-select';
15
- import { MatLegacySelect } from '@angular/material/legacy-select';
16
- import * as i8 from '@angular/router';
15
+ import { getMetadata } from '@rxap/reflect-metadata';
16
+ import * as i7 from '@angular/router';
17
17
  import { Router } from '@angular/router';
18
- import * as i7 from '@angular/material/legacy-snack-bar';
19
- import { MatLegacySnackBar, MatLegacySnackBarModule } from '@angular/material/legacy-snack-bar';
20
- import '@angular/localize/init';
21
- import * as i1$2 from '@angular/material/legacy-progress-spinner';
22
- import { MatLegacyProgressSpinnerModule } from '@angular/material/legacy-progress-spinner';
23
- import * as i2 from '@angular/flex-layout/flex';
18
+ import * as i6 from '@angular/material/snack-bar';
19
+ import { MatSnackBar, MatSnackBarModule } from '@angular/material/snack-bar';
20
+ import * as i4 from '@angular/material/progress-spinner';
21
+ import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
22
+ import { NgClass, NgIf, AsyncPipe } from '@angular/common';
24
23
  import * as i3 from '@angular/flex-layout/extended';
25
- import * as i4 from '@angular/material/legacy-button';
26
- import { MatLegacyButtonModule } from '@angular/material/legacy-button';
27
- import * as i5 from '@angular/common';
28
- import { CommonModule } from '@angular/common';
29
- import { FlexLayoutModule } from '@angular/flex-layout';
24
+ import { ExtendedModule } from '@angular/flex-layout/extended';
25
+ import * as i2 from '@angular/material/button';
26
+ import { MatButtonModule } from '@angular/material/button';
27
+ import * as i1$2 from '@angular/flex-layout/flex';
28
+ import { FlexModule } from '@angular/flex-layout/flex';
29
+ import '@angular/localize/init';
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/legacy-chips';
33
- import { log } from '@rxap/utilities/rxjs';
32
+ import * as i1$3 from '@angular/material/chips';
34
33
 
35
34
  class ControlErrorDirective {
36
- static ngTemplateContextGuard(dir, ctx) {
37
- return true;
38
- }
39
35
  constructor(formField, template, viewContainerRef, cdr) {
40
36
  this.formField = formField;
41
37
  this.template = template;
42
38
  this.viewContainerRef = viewContainerRef;
43
39
  this.cdr = cdr;
44
40
  }
41
+ static ngTemplateContextGuard(dir, ctx) {
42
+ return true;
43
+ }
45
44
  ngAfterContentInit() {
46
45
  const control = this.formField._control.ngControl?.control;
47
46
  if (control) {
@@ -54,6 +53,9 @@ class ControlErrorDirective {
54
53
  throw new Error('The form field has not a control associated!');
55
54
  }
56
55
  }
56
+ ngOnDestroy() {
57
+ this._subscription?.unsubscribe();
58
+ }
57
59
  render(errors) {
58
60
  this.viewContainerRef.clear();
59
61
  if (errors) {
@@ -72,25 +74,23 @@ class ControlErrorDirective {
72
74
  }
73
75
  this.cdr.detectChanges();
74
76
  }
75
- ngOnDestroy() {
76
- this._subscription?.unsubscribe();
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 }); }
77
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ControlErrorDirective, deps: [{ token: MAT_FORM_FIELD }, { token: TemplateRef }, { token: ViewContainerRef }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
78
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: ControlErrorDirective, isStandalone: true, selector: "[rxapControlError]", inputs: { key: ["rxapControlErrorKey", "key"] }, ngImport: i0 }); }
80
79
  }
81
80
  __decorate([
82
81
  Required,
83
82
  __metadata("design:type", String)
84
83
  ], ControlErrorDirective.prototype, "key", void 0);
85
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ControlErrorDirective, decorators: [{
84
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ControlErrorDirective, decorators: [{
86
85
  type: Directive,
87
86
  args: [{
88
87
  // tslint:disable-next-line:directive-selector
89
88
  selector: '[rxapControlError]',
89
+ standalone: true,
90
90
  }]
91
- }], ctorParameters: function () { return [{ type: i1.MatLegacyFormField, decorators: [{
91
+ }], ctorParameters: function () { return [{ type: i1.MatFormField, decorators: [{
92
92
  type: Inject,
93
- args: [MAT_LEGACY_FORM_FIELD]
93
+ args: [MAT_FORM_FIELD]
94
94
  }] }, { type: i0.TemplateRef, decorators: [{
95
95
  type: Inject,
96
96
  args: [TemplateRef]
@@ -104,29 +104,17 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
104
104
  type: Input,
105
105
  args: ['rxapControlErrorKey']
106
106
  }] } });
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 }); }
111
- }
112
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ControlErrorDirectiveModule, decorators: [{
113
- type: NgModule,
114
- args: [{
115
- declarations: [ControlErrorDirective],
116
- exports: [ControlErrorDirective],
117
- }]
118
- }] });
119
107
 
120
108
  class ControlErrorsDirective {
121
- static ngTemplateContextGuard(dir, ctx) {
122
- return true;
123
- }
124
109
  constructor(formField, template, viewContainerRef, cdr) {
125
110
  this.formField = formField;
126
111
  this.template = template;
127
112
  this.viewContainerRef = viewContainerRef;
128
113
  this.cdr = cdr;
129
114
  }
115
+ static ngTemplateContextGuard(dir, ctx) {
116
+ return true;
117
+ }
130
118
  ngAfterContentInit() {
131
119
  const control = this.formField._control.ngControl?.control;
132
120
  if (control) {
@@ -139,6 +127,9 @@ class ControlErrorsDirective {
139
127
  throw new Error('The form field has not a control associated!');
140
128
  }
141
129
  }
130
+ ngOnDestroy() {
131
+ this._subscription?.unsubscribe();
132
+ }
142
133
  render(errors) {
143
134
  this.viewContainerRef.clear();
144
135
  if (errors) {
@@ -152,21 +143,19 @@ class ControlErrorsDirective {
152
143
  }
153
144
  this.cdr.detectChanges();
154
145
  }
155
- ngOnDestroy() {
156
- this._subscription?.unsubscribe();
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 }); }
146
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ControlErrorsDirective, deps: [{ token: MAT_FORM_FIELD }, { token: TemplateRef }, { token: ViewContainerRef }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive }); }
147
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: ControlErrorsDirective, isStandalone: true, selector: "[rxapControlErrors]", ngImport: i0 }); }
160
148
  }
161
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ControlErrorsDirective, decorators: [{
149
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ControlErrorsDirective, decorators: [{
162
150
  type: Directive,
163
151
  args: [{
164
152
  // tslint:disable-next-line:directive-selector
165
153
  selector: '[rxapControlErrors]',
154
+ standalone: true,
166
155
  }]
167
- }], ctorParameters: function () { return [{ type: i1.MatLegacyFormField, decorators: [{
156
+ }], ctorParameters: function () { return [{ type: i1.MatFormField, decorators: [{
168
157
  type: Inject,
169
- args: [MAT_LEGACY_FORM_FIELD]
158
+ args: [MAT_FORM_FIELD]
170
159
  }] }, { type: i0.TemplateRef, decorators: [{
171
160
  type: Inject,
172
161
  args: [TemplateRef]
@@ -177,31 +166,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
177
166
  type: Inject,
178
167
  args: [ChangeDetectorRef]
179
168
  }] }]; } });
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 }); }
184
- }
185
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ControlErrorsDirectiveModule, decorators: [{
186
- type: NgModule,
187
- args: [{
188
- declarations: [ControlErrorsDirective],
189
- exports: [ControlErrorsDirective],
190
- }]
191
- }] });
192
169
 
193
170
  class InputClearButtonDirective {
171
+ constructor(formField) {
172
+ this.formField = formField;
173
+ this.type = 'button';
174
+ this.tabIndex = '-1';
175
+ }
194
176
  get control() {
195
177
  return this.formField._control;
196
178
  }
197
179
  get isDisabled() {
198
180
  return this.control.disabled;
199
181
  }
200
- constructor(formField) {
201
- this.formField = formField;
202
- this.type = 'button';
203
- this.tabIndex = '-1';
204
- }
205
182
  onClick() {
206
183
  if (this.control.ngControl) {
207
184
  this.control.ngControl.reset();
@@ -210,17 +187,18 @@ class InputClearButtonDirective {
210
187
  this.control.value = null;
211
188
  }
212
189
  }
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 }); }
190
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: InputClearButtonDirective, deps: [{ token: MAT_FORM_FIELD }], target: i0.ɵɵFactoryTarget.Directive }); }
191
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: InputClearButtonDirective, isStandalone: true, selector: "[rxapInputClearButton]", host: { listeners: { "click": "onClick()" }, properties: { "attr.type": "this.type", "attr.tabindex": "this.tabIndex", "disabled": "this.isDisabled" } }, ngImport: i0 }); }
215
192
  }
216
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: InputClearButtonDirective, decorators: [{
193
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: InputClearButtonDirective, decorators: [{
217
194
  type: Directive,
218
195
  args: [{
219
- selector: '[rxapInputClearButton]'
196
+ selector: '[rxapInputClearButton]',
197
+ standalone: true,
220
198
  }]
221
- }], ctorParameters: function () { return [{ type: i1.MatLegacyFormField, decorators: [{
199
+ }], ctorParameters: function () { return [{ type: i1.MatFormField, decorators: [{
222
200
  type: Inject,
223
- args: [MAT_LEGACY_FORM_FIELD]
201
+ args: [MAT_FORM_FIELD]
224
202
  }] }]; }, propDecorators: { type: [{
225
203
  type: HostBinding,
226
204
  args: ['attr.type']
@@ -234,18 +212,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
234
212
  type: HostListener,
235
213
  args: ['click']
236
214
  }] } });
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 }); }
241
- }
242
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: InputClearButtonDirectiveModule, decorators: [{
243
- type: NgModule,
244
- args: [{
245
- declarations: [InputClearButtonDirective],
246
- exports: [InputClearButtonDirective]
247
- }]
248
- }] });
249
215
 
250
216
  class RequiredDirective {
251
217
  constructor(formField) {
@@ -263,30 +229,68 @@ class RequiredDirective {
263
229
  throw new Error('The form field has not a control associated!');
264
230
  }
265
231
  }
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 }); }
232
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RequiredDirective, deps: [{ token: MAT_FORM_FIELD }], target: i0.ɵɵFactoryTarget.Directive }); }
233
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: RequiredDirective, isStandalone: true, selector: "[formControlName][rxapRequired]", ngImport: i0 }); }
268
234
  }
269
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: RequiredDirective, decorators: [{
235
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: RequiredDirective, decorators: [{
270
236
  type: Directive,
271
237
  args: [{
272
- selector: '[formControlName][rxapRequired]'
238
+ selector: '[formControlName][rxapRequired]',
239
+ standalone: true,
273
240
  }]
274
- }], ctorParameters: function () { return [{ type: i1.MatLegacyFormField, decorators: [{
241
+ }], ctorParameters: function () { return [{ type: i1.MatFormField, decorators: [{
275
242
  type: Inject,
276
- args: [MAT_LEGACY_FORM_FIELD]
243
+ args: [MAT_FORM_FIELD]
277
244
  }] }]; } });
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 }); }
245
+
246
+ class CompareWithDirective {
247
+ constructor(matSelect) {
248
+ this.matSelect = matSelect;
249
+ }
250
+ ngOnInit() {
251
+ this.matSelect.compareWith = this.compareWith.bind(this);
252
+ }
253
+ compareWith(o1, o2) {
254
+ if (this.objectPath) {
255
+ if (typeof o1 !== 'object' || typeof o2 !== 'object') {
256
+ if (isDevMode()) {
257
+ console.warn('At least one of the select options value is not an object');
258
+ }
259
+ return false;
260
+ }
261
+ if (o1 === null || o1 === undefined || o2 === null || o2 === undefined) {
262
+ if (isDevMode()) {
263
+ console.warn('At least one of the select options value is undefined or null');
264
+ }
265
+ return false;
266
+ }
267
+ const o1Value = getFromObject(o1, this.objectPath);
268
+ const o2Value = getFromObject(o2, this.objectPath);
269
+ if (o1Value === undefined || o2Value === undefined) {
270
+ return false;
271
+ }
272
+ return o1Value === o2Value;
273
+ }
274
+ else {
275
+ return equals(o1, o2);
276
+ }
277
+ }
278
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CompareWithDirective, deps: [{ token: MatSelect }], target: i0.ɵɵFactoryTarget.Directive }); }
279
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: CompareWithDirective, isStandalone: true, selector: "mat-select[rxapCompareWith]", inputs: { objectPath: ["rxapCompareWith", "objectPath"] }, ngImport: i0 }); }
282
280
  }
283
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: RequiredDirectiveModule, decorators: [{
284
- type: NgModule,
281
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: CompareWithDirective, decorators: [{
282
+ type: Directive,
285
283
  args: [{
286
- exports: [RequiredDirective],
287
- declarations: [RequiredDirective]
284
+ selector: 'mat-select[rxapCompareWith]',
285
+ standalone: true,
288
286
  }]
289
- }] });
287
+ }], ctorParameters: function () { return [{ type: i1$1.MatSelect, decorators: [{
288
+ type: Inject,
289
+ args: [MatSelect]
290
+ }] }]; }, propDecorators: { objectPath: [{
291
+ type: Input,
292
+ args: ['rxapCompareWith']
293
+ }] } });
290
294
 
291
295
  class ExtractHideShowMixin {
292
296
  extractOptions(formDefinition = this.formDefinition, controlId = this.control?.controlId ?? this.controlId) {
@@ -390,23 +394,24 @@ let FormFieldHideShowDirective = class FormFieldHideShowDirective {
390
394
  reset() {
391
395
  this.renderer.removeStyle(this.elementRef.nativeElement, 'display');
392
396
  }
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 }); }
397
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: FormFieldHideShowDirective, deps: [{ token: MAT_FORM_FIELD }, { token: Renderer2 }, { token: ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
398
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: FormFieldHideShowDirective, isStandalone: true, selector: "mat-form-field[rxapHideShow]", ngImport: i0 }); }
395
399
  };
396
400
  FormFieldHideShowDirective = __decorate([
397
401
  Mixin(ExtractHideShowMixin, ExtractFormDefinitionMixin),
398
- __metadata("design:paramtypes", [MatLegacyFormField,
402
+ __metadata("design:paramtypes", [MatFormField,
399
403
  Renderer2,
400
404
  ElementRef])
401
405
  ], FormFieldHideShowDirective);
402
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FormFieldHideShowDirective, decorators: [{
406
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: FormFieldHideShowDirective, decorators: [{
403
407
  type: Directive,
404
408
  args: [{
405
- selector: 'mat-form-field[rxapHideShow]'
409
+ selector: 'mat-form-field[rxapHideShow]',
410
+ standalone: true,
406
411
  }]
407
- }], ctorParameters: function () { return [{ type: i1.MatLegacyFormField, decorators: [{
412
+ }], ctorParameters: function () { return [{ type: i1.MatFormField, decorators: [{
408
413
  type: Inject,
409
- args: [MAT_LEGACY_FORM_FIELD]
414
+ args: [MAT_FORM_FIELD]
410
415
  }] }, { type: i0.Renderer2, decorators: [{
411
416
  type: Inject,
412
417
  args: [Renderer2]
@@ -414,118 +419,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImpor
414
419
  type: Inject,
415
420
  args: [ElementRef]
416
421
  }] }]; } });
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 }); }
421
- }
422
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FormFieldHideShowDirectiveModule, decorators: [{
423
- type: NgModule,
424
- args: [{
425
- declarations: [FormFieldHideShowDirective],
426
- exports: [FormFieldHideShowDirective]
427
- }]
428
- }] });
429
-
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] }); }
442
- }
443
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: MaterialFormSystemModule, decorators: [{
444
- type: NgModule,
445
- args: [{
446
- exports: [
447
- ControlErrorDirectiveModule,
448
- ControlErrorsDirectiveModule,
449
- InputClearButtonDirectiveModule,
450
- RequiredDirectiveModule,
451
- FormFieldHideShowDirectiveModule
452
- ]
453
- }]
454
- }] });
455
-
456
- class CompareWithDirective {
457
- constructor(matSelect) {
458
- this.matSelect = matSelect;
459
- }
460
- ngOnInit() {
461
- this.matSelect.compareWith = this.compareWith.bind(this);
462
- }
463
- compareWith(o1, o2) {
464
- if (this.objectPath) {
465
- if (typeof o1 !== 'object' || typeof o2 !== 'object') {
466
- if (isDevMode()) {
467
- console.warn('At least one of the select options value is not an object');
468
- }
469
- return false;
470
- }
471
- if (o1 === null || o1 === undefined || o2 === null || o2 === undefined) {
472
- if (isDevMode()) {
473
- console.warn('At least one of the select options value is undefined or null');
474
- }
475
- return false;
476
- }
477
- const o1Value = getFromObject(o1, this.objectPath);
478
- const o2Value = getFromObject(o2, this.objectPath);
479
- if (o1Value === undefined || o2Value === undefined) {
480
- return false;
481
- }
482
- return o1Value === o2Value;
483
- }
484
- else {
485
- return equals(o1, o2);
486
- }
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 }); }
490
- }
491
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CompareWithDirective, decorators: [{
492
- type: Directive,
493
- args: [{
494
- selector: 'mat-select[rxapCompareWith]',
495
- }]
496
- }], ctorParameters: function () { return [{ type: i1$1.MatLegacySelect, decorators: [{
497
- type: Inject,
498
- args: [MatLegacySelect]
499
- }] }]; }, propDecorators: { objectPath: [{
500
- type: Input,
501
- args: ['rxapCompareWith']
502
- }] } });
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 }); }
507
- }
508
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: CompareWithDirectiveModule, decorators: [{
509
- type: NgModule,
510
- args: [{
511
- declarations: [CompareWithDirective],
512
- exports: [CompareWithDirective],
513
- }]
514
- }] });
515
422
 
516
423
  class FormControlsComponent {
517
- set allowResubmit(value) {
518
- this._allowResubmit = coerceBoolean(value);
519
- }
520
- get allowResubmit() {
521
- return this._allowResubmit;
522
- }
523
424
  constructor(formDirective, cdr, snackBar, router) {
524
425
  this.formDirective = formDirective;
525
426
  this.cdr = cdr;
526
427
  this.snackBar = snackBar;
527
428
  this.router = router;
528
- this._allowResubmit = false;
529
429
  this.invalid = false;
530
430
  this.close = new EventEmitter();
531
431
  this.submitted = new EventEmitter();
@@ -535,6 +435,13 @@ class FormControlsComponent {
535
435
  * @private
536
436
  */
537
437
  this._submitted = [];
438
+ this._allowResubmit = false;
439
+ }
440
+ get allowResubmit() {
441
+ return this._allowResubmit;
442
+ }
443
+ set allowResubmit(value) {
444
+ this._allowResubmit = coerceBoolean(value);
538
445
  }
539
446
  ngOnInit() {
540
447
  this.submitting$ = this.formDirective.submitting$;
@@ -563,6 +470,7 @@ class FormControlsComponent {
563
470
  this.formDirective.form.markAllAsDirty();
564
471
  this.formDirective.form.markAllAsTouched();
565
472
  this.formDirective.cdr.markForCheck();
473
+ // eslint-disable-next-line prefer-const
566
474
  let submitSubscription;
567
475
  const invalidSubmitSubscription = this.formDirective.invalidSubmit
568
476
  .pipe(take(1), tap(() => submitSubscription?.unsubscribe()), tap(() => (this.invalid = true)), tap(() => this.cdr.detectChanges()), tap(() => this.snackBar.open($localize `:@@rxap-material.form-system.form-controls.form-is-invalid:Form is not valid`, 'ok', { duration: 5000 })))
@@ -590,67 +498,45 @@ class FormControlsComponent {
590
498
  logCurrentFormState() {
591
499
  console.log(clone(this.formDirective.form.value));
592
500
  }
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 }); }
501
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: FormControlsComponent, deps: [{ token: FormDirective }, { token: ChangeDetectorRef }, { token: MatSnackBar }, { token: Router, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
502
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: FormControlsComponent, isStandalone: true, selector: "rxap-form-controls", inputs: { navigateAfterSubmit: "navigateAfterSubmit", allowResubmit: "allowResubmit" }, outputs: { close: "close", submitted: "submitted" }, 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 fxFlex=\"nogrow\"\n mat-stroked-button\n type=\"button\">\n <ng-container i18n>Reset</ng-container>\n </button>\n <button (click)=\"cancel()\"\n [disabled]=\"submitting$ | async\"\n color=\"warn\"\n fxFlex=\"nogrow\" mat-stroked-button\n type=\"button\">\n <ng-container i18n>Cancel</ng-container>\n </button>\n <button (click)=\"submit(!allowResubmit)\"\n [disabled]=\"submitting$ | async\"\n [ngClass]=\"{ invalid: invalid }\"\n color=\"primary\"\n fxFlex=\"nogrow\"\n mat-raised-button\n type=\"button\">\n <span fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"4px\">\n <span fxFlex=\"nogrow\">\n <ng-container i18n>Submit</ng-container>\n </span>\n <mat-spinner [diameter]=\"15\" [fxShow]=\"submitting$ | async\" color=\"accent\" fxFlex=\"nogrow\"\n mode=\"indeterminate\"></mat-spinner>\n </span>\n </button>\n <button (click)=\"submit(true)\" *ngIf=\"allowResubmit\"\n [disabled]=\"submitting$ | async\"\n [ngClass]=\"{ invalid: invalid }\"\n color=\"primary\"\n fxFlex=\"nogrow\"\n mat-raised-button\n type=\"button\">\n <span fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"4px\">\n <span fxFlex=\"nogrow\">\n <ng-container i18n>Submit and Close</ng-container>\n </span>\n <mat-spinner [diameter]=\"15\" [fxShow]=\"submitting$ | async\" color=\"accent\" fxFlex=\"nogrow\"\n mode=\"indeterminate\"></mat-spinner>\n </span>\n </button>\n <button (click)=\"logCurrentFormState()\" *ngIf=\"isDevMode\" fxFlex=\"nogrow\" mat-button type=\"button\">Current Form\n State\n </button>\n </div>\n</div>\n", styles: ["button{overflow:hidden}button.invalid{border:6px solid darkred}\n"], dependencies: [{ kind: "ngmodule", type: FlexModule }, { kind: "directive", type: i1$2.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: i1$2.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: i1$2.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: i1$2.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: "ngmodule", type: MatButtonModule }, { kind: "component", type: i2.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "ngmodule", type: ExtendedModule }, { 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: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: MatProgressSpinnerModule }, { kind: "component", type: i4.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "ngmodule", type: MatSnackBarModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
595
503
  }
596
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FormControlsComponent, decorators: [{
504
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: FormControlsComponent, decorators: [{
597
505
  type: Component,
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
- }], ctorParameters: function () { return [{ type: i6.FormDirective, decorators: [{
506
+ args: [{ selector: 'rxap-form-controls', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [
507
+ FlexModule,
508
+ MatButtonModule,
509
+ ExtendedModule,
510
+ NgClass,
511
+ MatProgressSpinnerModule,
512
+ NgIf,
513
+ AsyncPipe,
514
+ MatSnackBarModule,
515
+ ], 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 fxFlex=\"nogrow\"\n mat-stroked-button\n type=\"button\">\n <ng-container i18n>Reset</ng-container>\n </button>\n <button (click)=\"cancel()\"\n [disabled]=\"submitting$ | async\"\n color=\"warn\"\n fxFlex=\"nogrow\" mat-stroked-button\n type=\"button\">\n <ng-container i18n>Cancel</ng-container>\n </button>\n <button (click)=\"submit(!allowResubmit)\"\n [disabled]=\"submitting$ | async\"\n [ngClass]=\"{ invalid: invalid }\"\n color=\"primary\"\n fxFlex=\"nogrow\"\n mat-raised-button\n type=\"button\">\n <span fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"4px\">\n <span fxFlex=\"nogrow\">\n <ng-container i18n>Submit</ng-container>\n </span>\n <mat-spinner [diameter]=\"15\" [fxShow]=\"submitting$ | async\" color=\"accent\" fxFlex=\"nogrow\"\n mode=\"indeterminate\"></mat-spinner>\n </span>\n </button>\n <button (click)=\"submit(true)\" *ngIf=\"allowResubmit\"\n [disabled]=\"submitting$ | async\"\n [ngClass]=\"{ invalid: invalid }\"\n color=\"primary\"\n fxFlex=\"nogrow\"\n mat-raised-button\n type=\"button\">\n <span fxLayout=\"row\" fxLayoutAlign=\"start center\" fxLayoutGap=\"4px\">\n <span fxFlex=\"nogrow\">\n <ng-container i18n>Submit and Close</ng-container>\n </span>\n <mat-spinner [diameter]=\"15\" [fxShow]=\"submitting$ | async\" color=\"accent\" fxFlex=\"nogrow\"\n mode=\"indeterminate\"></mat-spinner>\n </span>\n </button>\n <button (click)=\"logCurrentFormState()\" *ngIf=\"isDevMode\" fxFlex=\"nogrow\" mat-button type=\"button\">Current Form\n State\n </button>\n </div>\n</div>\n", styles: ["button{overflow:hidden}button.invalid{border:6px solid darkred}\n"] }]
516
+ }], ctorParameters: function () { return [{ type: i5.FormDirective, decorators: [{
600
517
  type: Inject,
601
518
  args: [FormDirective]
602
519
  }] }, { type: i0.ChangeDetectorRef, decorators: [{
603
520
  type: Inject,
604
521
  args: [ChangeDetectorRef]
605
- }] }, { type: i7.MatLegacySnackBar, decorators: [{
522
+ }] }, { type: i6.MatSnackBar, decorators: [{
606
523
  type: Inject,
607
- args: [MatLegacySnackBar]
608
- }] }, { type: i8.Router, decorators: [{
524
+ args: [MatSnackBar]
525
+ }] }, { type: i7.Router, decorators: [{
609
526
  type: Optional
610
527
  }, {
611
528
  type: Inject,
612
529
  args: [Router]
613
- }] }]; }, propDecorators: { allowResubmit: [{
614
- type: Input
615
- }], navigateAfterSubmit: [{
530
+ }] }]; }, propDecorators: { navigateAfterSubmit: [{
616
531
  type: Input
617
532
  }], close: [{
618
533
  type: Output
619
534
  }], submitted: [{
620
535
  type: Output
536
+ }], allowResubmit: [{
537
+ type: Input
621
538
  }] } });
622
539
 
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] }); }
637
- }
638
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: FormControlsComponentModule, decorators: [{
639
- type: NgModule,
640
- args: [{
641
- declarations: [FormControlsComponent],
642
- imports: [
643
- MatLegacyProgressSpinnerModule,
644
- FlexLayoutModule,
645
- MatLegacyButtonModule,
646
- CommonModule,
647
- RxapFormsModule,
648
- MatLegacySnackBarModule,
649
- ],
650
- exports: [FormControlsComponent]
651
- }]
652
- }] });
653
-
654
540
  class ChipInputAdapterDirective {
655
541
  constructor(matChipInput, ngControl) {
656
542
  this.matChipInput = matChipInput;
@@ -670,27 +556,16 @@ class ChipInputAdapterDirective {
670
556
  }))
671
557
  .subscribe();
672
558
  }
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 }); }
559
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ChipInputAdapterDirective, deps: [{ token: i1$3.MatChipInput }, { token: i2$1.NgControl }], target: i0.ɵɵFactoryTarget.Directive }); }
560
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: ChipInputAdapterDirective, isStandalone: true, selector: "[matChipInputFor][rxapChipInputAdapter]", ngImport: i0 }); }
675
561
  }
676
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ChipInputAdapterDirective, decorators: [{
562
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ChipInputAdapterDirective, decorators: [{
677
563
  type: Directive,
678
564
  args: [{
679
- selector: '[matChipInputFor][rxapChipInputAdapter]'
680
- }]
681
- }], ctorParameters: function () { return [{ type: i1$3.MatLegacyChipInput }, { type: i2$1.NgControl }]; } });
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 }); }
686
- }
687
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ChipInputAdapterDirectiveModule, decorators: [{
688
- type: NgModule,
689
- args: [{
690
- exports: [ChipInputAdapterDirective],
691
- declarations: [ChipInputAdapterDirective]
565
+ selector: '[matChipInputFor][rxapChipInputAdapter]',
566
+ standalone: true,
692
567
  }]
693
- }] });
568
+ }], ctorParameters: function () { return [{ type: i1$3.MatChipInput }, { type: i2$1.NgControl }]; } });
694
569
 
695
570
  function getTypeName(type) {
696
571
  return type['name'] || typeof type;
@@ -712,7 +587,7 @@ class ChipListIteratorDirective {
712
587
  }
713
588
  ngOnInit() {
714
589
  this._subscription = this.ngControl.valueChanges
715
- ?.pipe(startWith(this.ngControl.value), log('test'), filter((value) => Array.isArray(value)), tap((items) => {
590
+ ?.pipe(startWith(this.ngControl.value), filter((value) => Array.isArray(value)), tap((items) => {
716
591
  this._dirty = false;
717
592
  // React on ngForOf changes only once all inputs have been initialized
718
593
  const value = items;
@@ -743,7 +618,10 @@ class ChipListIteratorDirective {
743
618
  // NgForOf is never "null" or "undefined" here because the differ detected
744
619
  // that a new item needs to be inserted from the iterable. This implies that
745
620
  // there is an iterable value for "_ngForOf".
746
- const view = this.viewContainerRef.createEmbeddedView(this.template, { $implicit: item.item, onRemoved: this.onRemoved.bind(this) }, currentIndex === null ? undefined : currentIndex);
621
+ const view = this.viewContainerRef.createEmbeddedView(this.template, {
622
+ $implicit: item.item,
623
+ onRemoved: this.onRemoved.bind(this),
624
+ }, currentIndex === null ? undefined : currentIndex);
747
625
  const tuple = new RecordViewTuple(item, view);
748
626
  insertTuples.push(tuple);
749
627
  }
@@ -771,31 +649,20 @@ class ChipListIteratorDirective {
771
649
  perViewChange(view, record) {
772
650
  view.context.$implicit = record.item;
773
651
  }
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 }); }
652
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ChipListIteratorDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: i2$1.NgControl }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive }); }
653
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.4", type: ChipListIteratorDirective, isStandalone: true, selector: "[rxapChipListIterator]", ngImport: i0 }); }
776
654
  }
777
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ChipListIteratorDirective, decorators: [{
655
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: ChipListIteratorDirective, decorators: [{
778
656
  type: Directive,
779
657
  args: [{
780
- selector: '[rxapChipListIterator]'
658
+ selector: '[rxapChipListIterator]',
659
+ standalone: true,
781
660
  }]
782
661
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ViewContainerRef }, { type: i2$1.NgControl }, { type: i0.IterableDiffers }]; } });
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 }); }
787
- }
788
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.2", ngImport: i0, type: ChipListIteratorDirectiveModule, decorators: [{
789
- type: NgModule,
790
- args: [{
791
- exports: [ChipListIteratorDirective],
792
- declarations: [ChipListIteratorDirective]
793
- }]
794
- }] });
795
662
 
796
663
  /**
797
664
  * Generated bundle index. Do not edit.
798
665
  */
799
666
 
800
- export { ChipInputAdapterDirective, ChipInputAdapterDirectiveModule, ChipListIteratorDirective, ChipListIteratorDirectiveModule, CompareWithDirective, CompareWithDirectiveModule, ControlErrorDirective, ControlErrorDirectiveModule, ControlErrorsDirective, ControlErrorsDirectiveModule, ExtractHideShowMixin, FormControlsComponent, FormControlsComponentModule, FormFieldHideShowDirective, FormFieldHideShowDirectiveModule, InputClearButtonDirective, InputClearButtonDirectiveModule, MaterialFormSystemModule, RequiredDirective, RequiredDirectiveModule };
667
+ export { ChipInputAdapterDirective, ChipListIteratorDirective, CompareWithDirective, ControlErrorDirective, ControlErrorsDirective, ExtractHideShowMixin, FormControlsComponent, FormFieldHideShowDirective, InputClearButtonDirective, RequiredDirective };
801
668
  //# sourceMappingURL=rxap-material-form-system.mjs.map