@falcon-ng/core 0.0.47 → 0.0.49

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 (23) hide show
  1. package/fesm2022/falcon-ng-core-autocomplete.component-bJTo-SDa.mjs +155 -0
  2. package/fesm2022/falcon-ng-core-autocomplete.component-bJTo-SDa.mjs.map +1 -0
  3. package/fesm2022/{falcon-ng-core-checkbox.component-2YzXJXbU.mjs → falcon-ng-core-checkbox.component-BIVXYAP8.mjs} +7 -7
  4. package/fesm2022/{falcon-ng-core-checkbox.component-2YzXJXbU.mjs.map → falcon-ng-core-checkbox.component-BIVXYAP8.mjs.map} +1 -1
  5. package/fesm2022/{falcon-ng-core-datepicker.component-BEOwVPkQ.mjs → falcon-ng-core-datepicker.component-BjSeeYDs.mjs} +7 -7
  6. package/fesm2022/falcon-ng-core-datepicker.component-BjSeeYDs.mjs.map +1 -0
  7. package/fesm2022/{falcon-ng-core-falcon-ng-core-7AQm4kA-.mjs → falcon-ng-core-falcon-ng-core-CAfgIE9c.mjs} +135 -70
  8. package/fesm2022/falcon-ng-core-falcon-ng-core-CAfgIE9c.mjs.map +1 -0
  9. package/fesm2022/{falcon-ng-core-radio.component-DfgtKvuL.mjs → falcon-ng-core-radio.component-CdffPBzx.mjs} +7 -7
  10. package/fesm2022/{falcon-ng-core-radio.component-DfgtKvuL.mjs.map → falcon-ng-core-radio.component-CdffPBzx.mjs.map} +1 -1
  11. package/fesm2022/{falcon-ng-core-textarea.component-jeIawd80.mjs → falcon-ng-core-textarea.component-zAbyp2K_.mjs} +28 -8
  12. package/fesm2022/falcon-ng-core-textarea.component-zAbyp2K_.mjs.map +1 -0
  13. package/fesm2022/{falcon-ng-core-textbox.component-CLOBWekm.mjs → falcon-ng-core-textbox.component-qkhpRC0Q.mjs} +7 -7
  14. package/fesm2022/falcon-ng-core-textbox.component-qkhpRC0Q.mjs.map +1 -0
  15. package/fesm2022/falcon-ng-core.mjs +1 -1
  16. package/package.json +3 -3
  17. package/types/falcon-ng-core.d.ts +35 -2
  18. package/fesm2022/falcon-ng-core-autocomplete.component-C_IefUbx.mjs +0 -110
  19. package/fesm2022/falcon-ng-core-autocomplete.component-C_IefUbx.mjs.map +0 -1
  20. package/fesm2022/falcon-ng-core-datepicker.component-BEOwVPkQ.mjs.map +0 -1
  21. package/fesm2022/falcon-ng-core-falcon-ng-core-7AQm4kA-.mjs.map +0 -1
  22. package/fesm2022/falcon-ng-core-textarea.component-jeIawd80.mjs.map +0 -1
  23. package/fesm2022/falcon-ng-core-textbox.component-CLOBWekm.mjs.map +0 -1
@@ -6,12 +6,14 @@ import { ScrollingModule } from '@angular/cdk/scrolling';
6
6
  import { PortalModule } from '@angular/cdk/portal';
7
7
  import { OverlayModule } from '@angular/cdk/overlay';
8
8
  import { MatTreeModule } from '@angular/material/tree';
9
+ import * as i3 from '@angular/material/tooltip';
9
10
  import { MatTooltipModule } from '@angular/material/tooltip';
10
11
  import { MatToolbarModule } from '@angular/material/toolbar';
11
12
  import { MatTabsModule } from '@angular/material/tabs';
12
13
  import { MatTableModule } from '@angular/material/table';
13
14
  import { MatSortModule } from '@angular/material/sort';
14
15
  import { MatSnackBarModule } from '@angular/material/snack-bar';
16
+ import * as i1$3 from '@angular/material/slide-toggle';
15
17
  import { MatSlideToggleModule } from '@angular/material/slide-toggle';
16
18
  import { MatSliderModule } from '@angular/material/slider';
17
19
  import { MatSidenavModule } from '@angular/material/sidenav';
@@ -50,14 +52,14 @@ import { CdkTableModule } from '@angular/cdk/table';
50
52
  import { CdkStepperModule } from '@angular/cdk/stepper';
51
53
  import { ClipboardModule } from '@angular/cdk/clipboard';
52
54
  import { A11yModule } from '@angular/cdk/a11y';
53
- import * as i4 from '@angular/forms';
55
+ import * as i5 from '@angular/forms';
54
56
  import { NgControl, ControlContainer, NgModel, ReactiveFormsModule, FormControl, Validators, FormGroup } from '@angular/forms';
55
57
  import { merge, fromEvent, iif, EMPTY, startWith, skip, of, from, tap } from 'rxjs';
56
58
  import { MatFormFieldModule } from '@angular/material/form-field';
57
59
 
58
60
  class AngularmaterialModule {
59
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AngularmaterialModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
60
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: AngularmaterialModule, exports: [A11yModule,
61
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AngularmaterialModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
62
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.8", ngImport: i0, type: AngularmaterialModule, exports: [A11yModule,
61
63
  ClipboardModule,
62
64
  CdkStepperModule,
63
65
  CdkTableModule,
@@ -101,7 +103,7 @@ class AngularmaterialModule {
101
103
  OverlayModule,
102
104
  PortalModule,
103
105
  ScrollingModule] });
104
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AngularmaterialModule, imports: [A11yModule,
106
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AngularmaterialModule, imports: [A11yModule,
105
107
  ClipboardModule,
106
108
  CdkStepperModule,
107
109
  CdkTableModule,
@@ -146,7 +148,7 @@ class AngularmaterialModule {
146
148
  PortalModule,
147
149
  ScrollingModule] });
148
150
  }
149
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AngularmaterialModule, decorators: [{
151
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AngularmaterialModule, decorators: [{
150
152
  type: NgModule,
151
153
  args: [{
152
154
  declarations: [],
@@ -214,10 +216,10 @@ class ControlInjectionPipe {
214
216
  ]
215
217
  });
216
218
  }
217
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ControlInjectionPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
218
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: ControlInjectionPipe, isStandalone: true, name: "controlInjection" });
219
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ControlInjectionPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
220
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.8", ngImport: i0, type: ControlInjectionPipe, isStandalone: true, name: "controlInjection" });
219
221
  }
220
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ControlInjectionPipe, decorators: [{
222
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ControlInjectionPipe, decorators: [{
221
223
  type: Pipe,
222
224
  args: [{
223
225
  name: 'controlInjection',
@@ -253,10 +255,10 @@ class ErrorMessagePipe {
253
255
  }
254
256
  return this.errorMessages[key](errorValue);
255
257
  }
256
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ErrorMessagePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
257
- static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: ErrorMessagePipe, isStandalone: true, name: "errorMessage" });
258
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ErrorMessagePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
259
+ static ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "21.2.8", ngImport: i0, type: ErrorMessagePipe, isStandalone: true, name: "errorMessage" });
258
260
  }
259
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ErrorMessagePipe, decorators: [{
261
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ErrorMessagePipe, decorators: [{
260
262
  type: Pipe,
261
263
  args: [{
262
264
  name: 'errorMessage',
@@ -269,8 +271,8 @@ class ValidationErrorComponent {
269
271
  trackByFn(index, item) {
270
272
  return item.key;
271
273
  }
272
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ValidationErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
273
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: ValidationErrorComponent, isStandalone: true, selector: "falcon-error", inputs: { errors: "errors" }, ngImport: i0, template: `
274
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ValidationErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
275
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: ValidationErrorComponent, isStandalone: true, selector: "falcon-error", inputs: { errors: "errors" }, ngImport: i0, template: `
274
276
  @if (errors) { @for (error of errors | keyvalue; track trackByFn($index,
275
277
  error)) {
276
278
  <mat-error [style.bottom.px]="18" [style.position]="'relative'">{{
@@ -279,7 +281,7 @@ class ValidationErrorComponent {
279
281
  } }
280
282
  `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i1.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "pipe", type: i2.KeyValuePipe, name: "keyvalue" }, { kind: "pipe", type: ErrorMessagePipe, name: "errorMessage" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
281
283
  }
282
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ValidationErrorComponent, decorators: [{
284
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ValidationErrorComponent, decorators: [{
283
285
  type: Component,
284
286
  args: [{
285
287
  selector: 'falcon-error',
@@ -302,10 +304,10 @@ class ErrorStateMatcherService {
302
304
  isErrorState(control, form) {
303
305
  return Boolean(control && control.invalid && form && form.touched);
304
306
  }
305
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ErrorStateMatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
306
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ErrorStateMatcherService, providedIn: 'root' });
307
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ErrorStateMatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
308
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ErrorStateMatcherService, providedIn: 'root' });
307
309
  }
308
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ErrorStateMatcherService, decorators: [{
310
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ErrorStateMatcherService, decorators: [{
309
311
  type: Injectable,
310
312
  args: [{
311
313
  providedIn: 'root',
@@ -347,10 +349,10 @@ class ValidationMessageDirective {
347
349
  ngOnDestroy() {
348
350
  this.errorMessageTrigger.unsubscribe();
349
351
  }
350
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ValidationMessageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
351
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: ValidationMessageDirective, isStandalone: true, selector: "[formControl]:not([withoutValidationErrors]),[formControlName]:not([withoutValidationErrors]),[formGroupName]:not([withoutValidationErrors]))", inputs: { errorStateMatcher: "errorStateMatcher", container: "container" }, ngImport: i0 });
352
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ValidationMessageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
353
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: ValidationMessageDirective, isStandalone: true, selector: "[formControl]:not([withoutValidationErrors]),[formControlName]:not([withoutValidationErrors]),[formGroupName]:not([withoutValidationErrors]))", inputs: { errorStateMatcher: "errorStateMatcher", container: "container" }, ngImport: i0 });
352
354
  }
353
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ValidationMessageDirective, decorators: [{
355
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ValidationMessageDirective, decorators: [{
354
356
  type: Directive,
355
357
  args: [{
356
358
  standalone: true,
@@ -364,10 +366,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
364
366
 
365
367
  class ValidationMessageContainerDirective {
366
368
  container = inject(ViewContainerRef);
367
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ValidationMessageContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
368
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: ValidationMessageContainerDirective, isStandalone: true, selector: "[falconValidationMessageContainer]", exportAs: ["falconValidationMessageContainer"], ngImport: i0 });
369
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ValidationMessageContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
370
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: ValidationMessageContainerDirective, isStandalone: true, selector: "[falconValidationMessageContainer]", exportAs: ["falconValidationMessageContainer"], ngImport: i0 });
369
371
  }
370
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ValidationMessageContainerDirective, decorators: [{
372
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ValidationMessageContainerDirective, decorators: [{
371
373
  type: Directive,
372
374
  args: [{
373
375
  selector: '[falconValidationMessageContainer]',
@@ -409,41 +411,41 @@ class BaseControlBuilder {
409
411
  }
410
412
  return Validators.nullValidator;
411
413
  }
412
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BaseControlBuilder, deps: [], target: i0.ɵɵFactoryTarget.Directive });
413
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: BaseControlBuilder, isStandalone: true, ngImport: i0 });
414
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: BaseControlBuilder, deps: [], target: i0.ɵɵFactoryTarget.Directive });
415
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.8", type: BaseControlBuilder, isStandalone: true, ngImport: i0 });
414
416
  }
415
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BaseControlBuilder, decorators: [{
417
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: BaseControlBuilder, decorators: [{
416
418
  type: Directive
417
419
  }] });
418
420
 
419
421
  class ComponentResolver {
420
422
  loadedControlCompoments = new Map();
421
423
  lazyControlComponents = {
422
- textbox: () => import('./falcon-ng-core-textbox.component-CLOBWekm.mjs').then(c => c.TextboxComponent),
423
- textarea: () => import('./falcon-ng-core-textarea.component-jeIawd80.mjs').then(c => c.TextareaComponent),
424
- select: () => Promise.resolve().then(function () { return select_component; }).then(c => c.SelectComponent),
425
- datepicker: () => import('./falcon-ng-core-datepicker.component-BEOwVPkQ.mjs').then(c => c.DatepickerComponent),
426
- radio: () => import('./falcon-ng-core-radio.component-DfgtKvuL.mjs').then(c => c.RadioComponent),
427
- checkbox: () => import('./falcon-ng-core-checkbox.component-2YzXJXbU.mjs').then(c => c.CheckboxComponent),
428
- button: () => Promise.resolve().then(function () { return button_component; }).then(c => c.ButtonComponent),
429
- slideToggle: () => import('./falcon-ng-core-textarea.component-jeIawd80.mjs').then(c => c.TextareaComponent),
430
- slider: () => import('./falcon-ng-core-textarea.component-jeIawd80.mjs').then(c => c.TextareaComponent),
431
- buttonToggle: () => import('./falcon-ng-core-textarea.component-jeIawd80.mjs').then(c => c.TextareaComponent),
432
- autocomplete: () => import('./falcon-ng-core-autocomplete.component-C_IefUbx.mjs').then(c => c.AutocompleteComponent),
433
- chip: () => import('./falcon-ng-core-textarea.component-jeIawd80.mjs').then(c => c.TextareaComponent),
434
- editor: () => import('./falcon-ng-core-textarea.component-jeIawd80.mjs').then(c => c.TextareaComponent),
435
- divider: () => import('./falcon-ng-core-textarea.component-jeIawd80.mjs').then(c => c.TextareaComponent),
424
+ textbox: () => import('./falcon-ng-core-textbox.component-qkhpRC0Q.mjs').then((c) => c.TextboxComponent),
425
+ textarea: () => import('./falcon-ng-core-textarea.component-zAbyp2K_.mjs').then((c) => c.TextareaComponent),
426
+ select: () => Promise.resolve().then(function () { return select_component; }).then((c) => c.SelectComponent),
427
+ datepicker: () => import('./falcon-ng-core-datepicker.component-BjSeeYDs.mjs').then((c) => c.DatepickerComponent),
428
+ radio: () => import('./falcon-ng-core-radio.component-CdffPBzx.mjs').then((c) => c.RadioComponent),
429
+ checkbox: () => import('./falcon-ng-core-checkbox.component-BIVXYAP8.mjs').then((c) => c.CheckboxComponent),
430
+ button: () => Promise.resolve().then(function () { return button_component; }).then((c) => c.ButtonComponent),
431
+ slideToggle: () => Promise.resolve().then(function () { return slideToggle; }).then((c) => c.SlideToggle),
432
+ slider: () => import('./falcon-ng-core-textarea.component-zAbyp2K_.mjs').then((c) => c.TextareaComponent),
433
+ buttonToggle: () => import('./falcon-ng-core-textarea.component-zAbyp2K_.mjs').then((c) => c.TextareaComponent),
434
+ autocomplete: () => import('./falcon-ng-core-autocomplete.component-bJTo-SDa.mjs').then((c) => c.AutocompleteComponent),
435
+ chip: () => import('./falcon-ng-core-textarea.component-zAbyp2K_.mjs').then((c) => c.TextareaComponent),
436
+ editor: () => import('./falcon-ng-core-textarea.component-zAbyp2K_.mjs').then((c) => c.TextareaComponent),
437
+ divider: () => import('./falcon-ng-core-textarea.component-zAbyp2K_.mjs').then((c) => c.TextareaComponent),
436
438
  };
437
439
  resolver(controlType) {
438
440
  const loadedComponent = this.loadedControlCompoments.get(controlType);
439
441
  if (loadedComponent)
440
442
  return of(loadedComponent);
441
- return from(this.lazyControlComponents[controlType]()).pipe(tap(comp => this.loadedControlCompoments.set(controlType, comp)));
443
+ return from(this.lazyControlComponents[controlType]()).pipe(tap((comp) => this.loadedControlCompoments.set(controlType, comp)));
442
444
  }
443
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ComponentResolver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
444
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ComponentResolver, providedIn: 'root' });
445
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ComponentResolver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
446
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ComponentResolver, providedIn: 'root' });
445
447
  }
446
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ComponentResolver, decorators: [{
448
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ComponentResolver, decorators: [{
447
449
  type: Injectable,
448
450
  args: [{
449
451
  providedIn: 'root',
@@ -461,11 +463,11 @@ class ControlBuilderComponent {
461
463
  ngAfterContentChecked() {
462
464
  this.cdref.detectChanges();
463
465
  }
464
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ControlBuilderComponent, deps: [{ token: ComponentResolver }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
465
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: ControlBuilderComponent, isStandalone: false, selector: "falcon-control", inputs: { control: "control" }, ngImport: i0, template: `<ng-container class="w-full" [ngComponentOutlet]="componentResolver.resolver(control.controlType) | async"
466
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ControlBuilderComponent, deps: [{ token: ComponentResolver }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
467
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.8", type: ControlBuilderComponent, isStandalone: false, selector: "falcon-control", inputs: { control: "control" }, ngImport: i0, template: `<ng-container class="w-full" [ngComponentOutlet]="componentResolver.resolver(control.controlType) | async"
466
468
  [ngComponentOutletInjector]="control.formControlName | controlInjection: control"></ng-container>`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: ControlInjectionPipe, name: "controlInjection" }], viewProviders: [controlProvider] });
467
469
  }
468
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ControlBuilderComponent, decorators: [{
470
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ControlBuilderComponent, decorators: [{
469
471
  type: Component,
470
472
  args: [{
471
473
  selector: 'falcon-control',
@@ -482,8 +484,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
482
484
  class CardComponent {
483
485
  backgroundColor = undefined;
484
486
  class = undefined;
485
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
486
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: CardComponent, isStandalone: false, selector: "fal-card", inputs: { backgroundColor: "backgroundColor", class: "class" }, host: { properties: { "style.--mat-card-elevated-container-shape": "\"10px\"", "style.--mat-card-elevated-container-elevation": "\"0px 0px 0px 0px rgba(0, 0, 0, 0.12), 0px 0px 0px 1px rgba(0, 0, 0, 0.12), 0px 0px 1px 1px rgba(0.12, 0.12, 0.12, 0.12)\"" } }, ngImport: i0, template: `
487
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
488
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.8", type: CardComponent, isStandalone: false, selector: "fal-card", inputs: { backgroundColor: "backgroundColor", class: "class" }, host: { properties: { "style.--mat-card-elevated-container-shape": "\"10px\"", "style.--mat-card-elevated-container-elevation": "\"0px 0px 0px 0px rgba(0, 0, 0, 0.12), 0px 0px 0px 1px rgba(0, 0, 0, 0.12), 0px 0px 1px 1px rgba(0.12, 0.12, 0.12, 0.12)\"" } }, ngImport: i0, template: `
487
489
  <mat-card [ngClass]="class" [style.backgroundColor]="backgroundColor">
488
490
  <mat-card-content>
489
491
  <ng-content></ng-content>
@@ -491,7 +493,7 @@ class CardComponent {
491
493
  </mat-card>
492
494
  `, isInline: true, dependencies: [{ kind: "component", type: i1$1.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i1$1.MatCardContent, selector: "mat-card-content" }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
493
495
  }
494
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: CardComponent, decorators: [{
496
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: CardComponent, decorators: [{
495
497
  type: Component,
496
498
  args: [{
497
499
  selector: 'fal-card',
@@ -532,8 +534,8 @@ class ButtonComponent {
532
534
  }
533
535
  return false;
534
536
  }
535
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
536
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: ButtonComponent, isStandalone: false, selector: "fal-button", inputs: { label: "label", type: "type", appearance: "appearance", disabled: "disabled" }, outputs: { click: "click" }, ngImport: i0, template: `
537
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
538
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.8", type: ButtonComponent, isStandalone: false, selector: "fal-button", inputs: { label: "label", type: "type", appearance: "appearance", disabled: "disabled" }, outputs: { click: "click" }, ngImport: i0, template: `
537
539
  <button
538
540
  [matButton]="appearance"
539
541
  [type]="type"
@@ -548,7 +550,7 @@ class ButtonComponent {
548
550
  </button>
549
551
  `, isInline: true, dependencies: [{ kind: "component", type: i1$2.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }] });
550
552
  }
551
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ButtonComponent, decorators: [{
553
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: ButtonComponent, decorators: [{
552
554
  type: Component,
553
555
  args: [{
554
556
  selector: 'fal-button',
@@ -609,12 +611,12 @@ class GroupControlBuilderComponent {
609
611
  parent.removeControl(this.formGroupName);
610
612
  }
611
613
  }
612
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: GroupControlBuilderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
613
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: GroupControlBuilderComponent, isStandalone: false, selector: "falcon-group-control", inputs: { formGroupName: "formGroupName" }, ngImport: i0, template: `<div [formGroup]="innerGroup">
614
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: GroupControlBuilderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
615
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.8", type: GroupControlBuilderComponent, isStandalone: false, selector: "falcon-group-control", inputs: { formGroupName: "formGroupName" }, ngImport: i0, template: `<div [formGroup]="innerGroup">
614
616
  <ng-content></ng-content>
615
- </div>`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }] });
617
+ </div>`, isInline: true, dependencies: [{ kind: "directive", type: i5.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],[formArray],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i5.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }] });
616
618
  }
617
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: GroupControlBuilderComponent, decorators: [{
619
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: GroupControlBuilderComponent, decorators: [{
618
620
  type: Component,
619
621
  args: [{
620
622
  selector: 'falcon-group-control',
@@ -629,8 +631,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
629
631
  }] } });
630
632
 
631
633
  class FalconCoreModule {
632
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FalconCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
633
- static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: FalconCoreModule, declarations: [ControlBuilderComponent,
634
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FalconCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
635
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.8", ngImport: i0, type: FalconCoreModule, declarations: [ControlBuilderComponent,
634
636
  CardComponent,
635
637
  ButtonComponent,
636
638
  GroupControlBuilderComponent], imports: [AngularmaterialModule,
@@ -641,11 +643,11 @@ class FalconCoreModule {
641
643
  CardComponent,
642
644
  ButtonComponent,
643
645
  GroupControlBuilderComponent] });
644
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FalconCoreModule, imports: [AngularmaterialModule,
646
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FalconCoreModule, imports: [AngularmaterialModule,
645
647
  CommonModule,
646
648
  ReactiveFormsModule, AngularmaterialModule] });
647
649
  }
648
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FalconCoreModule, decorators: [{
650
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: FalconCoreModule, decorators: [{
649
651
  type: NgModule,
650
652
  args: [{
651
653
  declarations: [
@@ -850,6 +852,7 @@ class BaseControl {
850
852
  type;
851
853
  disabled;
852
854
  options;
855
+ optionGroup;
853
856
  validations;
854
857
  appearance;
855
858
  class;
@@ -877,6 +880,7 @@ class BaseControl {
877
880
  this.type = options.type || '';
878
881
  this.disabled = options.disabled || false;
879
882
  this.options = options.options || [];
883
+ this.optionGroup = options.optionGroup || [];
880
884
  this.validations = options.validations || [];
881
885
  this.appearance = options.appearance || 'outline';
882
886
  this.class = options.class || '';
@@ -886,8 +890,7 @@ class BaseControl {
886
890
  this.hint = options.hint || {};
887
891
  this.prefix = options.prefix || {};
888
892
  this.suffix = options.suffix || {};
889
- this.textAreaProperty =
890
- options.textAreaProperty || {};
893
+ this.textAreaProperty = options.textAreaProperty || {};
891
894
  this.event = options.event || {};
892
895
  this.selectProperty = options.selectProperty || {};
893
896
  this.color = options.color || undefined;
@@ -962,8 +965,8 @@ class SelectComponent extends BaseControlBuilder {
962
965
  selectionChange(event) {
963
966
  this.control.config.event.change?.emit(event);
964
967
  }
965
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
966
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: SelectComponent, isStandalone: true, selector: "fal-select", usesInheritance: true, ngImport: i0, template: `<mat-form-field [appearance]="control.config.appearance" class="w-full">
968
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
969
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: SelectComponent, isStandalone: true, selector: "fal-select", usesInheritance: true, ngImport: i0, template: `<mat-form-field [appearance]="control.config.appearance" class="w-full">
967
970
  @if(control.config.label){
968
971
  <mat-label>{{ control.config.label }}</mat-label>
969
972
  }
@@ -981,15 +984,30 @@ class SelectComponent extends BaseControlBuilder {
981
984
  <mat-option [value]="option.key">{{ option.value }}</mat-option>
982
985
  }
983
986
  </mat-select>
987
+ @if(control.config.prefix && control.config.prefix.isIcon){
988
+ <mat-icon matPrefix [matTooltip]="control.config.prefix.toolTipText!">{{
989
+ control.config.prefix.text
990
+ }}</mat-icon>
991
+ } @if(control.config.suffix && control.config.suffix.isIcon){
992
+ <mat-icon matSuffix [matTooltip]="control.config.suffix.toolTipText!">{{
993
+ control.config.suffix.text
994
+ }}</mat-icon>
995
+ }
984
996
  </mat-form-field>
985
997
  <ng-container
986
998
  falconValidationMessageContainer
987
999
  #containerDir="falconValidationMessageContainer"
988
- />`, isInline: true, styles: [".w-full{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: MatInputModule }, { kind: "component", type: i1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i1.MatLabel, selector: "mat-label" }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i2$1.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i2$2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: i2.CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: i4.ReactiveFormsModule }, { kind: "directive", type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i4.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: ValidationMessageDirective, selector: "[formControl]:not([withoutValidationErrors]),[formControlName]:not([withoutValidationErrors]),[formGroupName]:not([withoutValidationErrors]))", inputs: ["errorStateMatcher", "container"] }, { kind: "directive", type: ValidationMessageContainerDirective, selector: "[falconValidationMessageContainer]", exportAs: ["falconValidationMessageContainer"] }], viewProviders: [controlProvider] });
1000
+ />`, isInline: true, styles: [".w-full{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: MatInputModule }, { kind: "component", type: i1.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i1.MatLabel, selector: "mat-label" }, { kind: "directive", type: i1.MatPrefix, selector: "[matPrefix], [matIconPrefix], [matTextPrefix]", inputs: ["matTextPrefix"] }, { kind: "directive", type: i1.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatFormFieldModule }, { kind: "ngmodule", type: MatSelectModule }, { kind: "component", type: i2$1.MatSelect, selector: "mat-select", inputs: ["aria-describedby", "panelClass", "disabled", "disableRipple", "tabIndex", "hideSingleSelectionIndicator", "placeholder", "required", "multiple", "disableOptionCentering", "compareWith", "value", "aria-label", "aria-labelledby", "errorStateMatcher", "typeaheadDebounceInterval", "sortComparator", "id", "panelWidth", "canSelectNullableOptions"], outputs: ["openedChange", "opened", "closed", "selectionChange", "valueChange"], exportAs: ["matSelect"] }, { kind: "component", type: i2$2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i3.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: i2.CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: i5.ReactiveFormsModule }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: ValidationMessageDirective, selector: "[formControl]:not([withoutValidationErrors]),[formControlName]:not([withoutValidationErrors]),[formGroupName]:not([withoutValidationErrors]))", inputs: ["errorStateMatcher", "container"] }, { kind: "directive", type: ValidationMessageContainerDirective, selector: "[falconValidationMessageContainer]", exportAs: ["falconValidationMessageContainer"] }], viewProviders: [controlProvider] });
989
1001
  }
990
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SelectComponent, decorators: [{
1002
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SelectComponent, decorators: [{
991
1003
  type: Component,
992
- args: [{ selector: 'fal-select', imports: [MatInputModule, MatFormFieldModule, MatSelectModule, ...sharedControlDeps], viewProviders: [controlProvider], template: `<mat-form-field [appearance]="control.config.appearance" class="w-full">
1004
+ args: [{ selector: 'fal-select', imports: [
1005
+ MatInputModule,
1006
+ MatFormFieldModule,
1007
+ MatSelectModule,
1008
+ MatTooltipModule,
1009
+ ...sharedControlDeps,
1010
+ ], viewProviders: [controlProvider], template: `<mat-form-field [appearance]="control.config.appearance" class="w-full">
993
1011
  @if(control.config.label){
994
1012
  <mat-label>{{ control.config.label }}</mat-label>
995
1013
  }
@@ -1007,6 +1025,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
1007
1025
  <mat-option [value]="option.key">{{ option.value }}</mat-option>
1008
1026
  }
1009
1027
  </mat-select>
1028
+ @if(control.config.prefix && control.config.prefix.isIcon){
1029
+ <mat-icon matPrefix [matTooltip]="control.config.prefix.toolTipText!">{{
1030
+ control.config.prefix.text
1031
+ }}</mat-icon>
1032
+ } @if(control.config.suffix && control.config.suffix.isIcon){
1033
+ <mat-icon matSuffix [matTooltip]="control.config.suffix.toolTipText!">{{
1034
+ control.config.suffix.text
1035
+ }}</mat-icon>
1036
+ }
1010
1037
  </mat-form-field>
1011
1038
  <ng-container
1012
1039
  falconValidationMessageContainer
@@ -1019,6 +1046,44 @@ var select_component = /*#__PURE__*/Object.freeze({
1019
1046
  SelectComponent: SelectComponent
1020
1047
  });
1021
1048
 
1049
+ class SlideToggle extends BaseControlBuilder {
1050
+ change($event) {
1051
+ this.control.config.event.change?.emit($event);
1052
+ }
1053
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SlideToggle, deps: null, target: i0.ɵɵFactoryTarget.Component });
1054
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.8", type: SlideToggle, isStandalone: true, selector: "fal-slide-toggle", usesInheritance: true, ngImport: i0, template: ` <mat-slide-toggle
1055
+ [ngStyle]="control.config.style"
1056
+ [ngClass]="control.config.class"
1057
+ [labelPosition]="control.config.labelPosition"
1058
+ [formControlName]="control.config.formControlName"
1059
+ (change)="change($event)"
1060
+ >
1061
+ {{ control.config.label }}
1062
+ </mat-slide-toggle>`, isInline: true, dependencies: [{ kind: "ngmodule", type: MatSlideToggleModule }, { kind: "component", type: i1$3.MatSlideToggle, selector: "mat-slide-toggle", inputs: ["name", "id", "labelPosition", "aria-label", "aria-labelledby", "aria-describedby", "required", "color", "disabled", "disableRipple", "tabIndex", "checked", "hideIcon", "disabledInteractive"], outputs: ["change", "toggleChange"], exportAs: ["matSlideToggle"] }, { kind: "ngmodule", type: i2.CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: i5.ReactiveFormsModule }, { kind: "directive", type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i5.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "directive", type: ValidationMessageDirective, selector: "[formControl]:not([withoutValidationErrors]),[formControlName]:not([withoutValidationErrors]),[formGroupName]:not([withoutValidationErrors]))", inputs: ["errorStateMatcher", "container"] }], viewProviders: [controlProvider] });
1063
+ }
1064
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: SlideToggle, decorators: [{
1065
+ type: Component,
1066
+ args: [{
1067
+ selector: 'fal-slide-toggle',
1068
+ imports: [MatSlideToggleModule, ...sharedControlDeps],
1069
+ viewProviders: [controlProvider],
1070
+ template: ` <mat-slide-toggle
1071
+ [ngStyle]="control.config.style"
1072
+ [ngClass]="control.config.class"
1073
+ [labelPosition]="control.config.labelPosition"
1074
+ [formControlName]="control.config.formControlName"
1075
+ (change)="change($event)"
1076
+ >
1077
+ {{ control.config.label }}
1078
+ </mat-slide-toggle>`,
1079
+ }]
1080
+ }] });
1081
+
1082
+ var slideToggle = /*#__PURE__*/Object.freeze({
1083
+ __proto__: null,
1084
+ SlideToggle: SlideToggle
1085
+ });
1086
+
1022
1087
  /*
1023
1088
  * Public API Surface of core
1024
1089
  */
@@ -1027,5 +1092,5 @@ var select_component = /*#__PURE__*/Object.freeze({
1027
1092
  * Generated bundle index. Do not edit.
1028
1093
  */
1029
1094
 
1030
- export { Appearance as A, BaseControlBuilder as B, Control as C, DatePicker as D, Editor as E, FalconCoreModule as F, GroupControlBuilderComponent as G, HttpMethod as H, InputTypes as I, LoggingLevel as L, Radio as R, Select as S, TableAction as T, ValidationMessageDirective as V, ValidationMessageContainerDirective as a, Floatinglabel as b, controlProvider as c, BaseControl as d, AutoComplete as e, Button as f, ButtonToggle as g, CheckBox as h, Chip as i, Divider as j, RichTextEditor as k, Slider as l, SliderToggle as m, Textarea as n, Textbox as o, ControlBuilderComponent as p, AngularmaterialModule as q, CardComponent as r, sharedControlDeps as s, ButtonComponent as t, SelectComponent as u };
1031
- //# sourceMappingURL=falcon-ng-core-falcon-ng-core-7AQm4kA-.mjs.map
1095
+ export { Appearance as A, BaseControlBuilder as B, Control as C, DatePicker as D, Editor as E, FalconCoreModule as F, GroupControlBuilderComponent as G, HttpMethod as H, InputTypes as I, LoggingLevel as L, Radio as R, Select as S, TableAction as T, ValidationMessageDirective as V, ValidationMessageContainerDirective as a, Floatinglabel as b, controlProvider as c, BaseControl as d, AutoComplete as e, Button as f, ButtonToggle as g, CheckBox as h, Chip as i, Divider as j, RichTextEditor as k, Slider as l, SliderToggle as m, Textarea as n, Textbox as o, ControlBuilderComponent as p, AngularmaterialModule as q, CardComponent as r, sharedControlDeps as s, ButtonComponent as t, SelectComponent as u, SlideToggle as v };
1096
+ //# sourceMappingURL=falcon-ng-core-falcon-ng-core-CAfgIE9c.mjs.map