@falcon-ng/core 0.0.39 → 0.0.41

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 (24) hide show
  1. package/fesm2022/{falcon-ng-core-autocomplete.component-B45kyG9y.mjs → falcon-ng-core-autocomplete.component-pwEjS0th.mjs} +8 -8
  2. package/fesm2022/falcon-ng-core-autocomplete.component-pwEjS0th.mjs.map +1 -0
  3. package/fesm2022/{falcon-ng-core-checkbox.component-ndHL1tL3.mjs → falcon-ng-core-checkbox.component-kxUIF67g.mjs} +6 -6
  4. package/fesm2022/falcon-ng-core-checkbox.component-kxUIF67g.mjs.map +1 -0
  5. package/fesm2022/{falcon-ng-core-datepicker.component-By51i_14.mjs → falcon-ng-core-datepicker.component-DQNvhpkq.mjs} +6 -6
  6. package/fesm2022/falcon-ng-core-datepicker.component-DQNvhpkq.mjs.map +1 -0
  7. package/fesm2022/{falcon-ng-core-falcon-ng-core-XahzcHGw.mjs → falcon-ng-core-falcon-ng-core-DyR85wUA.mjs} +305 -195
  8. package/fesm2022/falcon-ng-core-falcon-ng-core-DyR85wUA.mjs.map +1 -0
  9. package/fesm2022/{falcon-ng-core-radio.component-BawVGW5S.mjs → falcon-ng-core-radio.component-DnN-21Ne.mjs} +6 -6
  10. package/fesm2022/falcon-ng-core-radio.component-DnN-21Ne.mjs.map +1 -0
  11. package/fesm2022/{falcon-ng-core-textarea.component-DoPCIW3D.mjs → falcon-ng-core-textarea.component-BsEkUWPy.mjs} +6 -6
  12. package/fesm2022/falcon-ng-core-textarea.component-BsEkUWPy.mjs.map +1 -0
  13. package/fesm2022/{falcon-ng-core-textbox.component-D9RxleN8.mjs → falcon-ng-core-textbox.component-CBd_DCMZ.mjs} +6 -6
  14. package/fesm2022/falcon-ng-core-textbox.component-CBd_DCMZ.mjs.map +1 -0
  15. package/fesm2022/falcon-ng-core.mjs +1 -1
  16. package/package.json +5 -5
  17. package/{index.d.ts → types/falcon-ng-core.d.ts} +3 -3
  18. package/fesm2022/falcon-ng-core-autocomplete.component-B45kyG9y.mjs.map +0 -1
  19. package/fesm2022/falcon-ng-core-checkbox.component-ndHL1tL3.mjs.map +0 -1
  20. package/fesm2022/falcon-ng-core-datepicker.component-By51i_14.mjs.map +0 -1
  21. package/fesm2022/falcon-ng-core-falcon-ng-core-XahzcHGw.mjs.map +0 -1
  22. package/fesm2022/falcon-ng-core-radio.component-BawVGW5S.mjs.map +0 -1
  23. package/fesm2022/falcon-ng-core-textarea.component-DoPCIW3D.mjs.map +0 -1
  24. package/fesm2022/falcon-ng-core-textbox.component-D9RxleN8.mjs.map +0 -1
@@ -56,8 +56,8 @@ import { merge, fromEvent, iif, EMPTY, startWith, skip, of, from, tap } from 'rx
56
56
  import { MatFormFieldModule } from '@angular/material/form-field';
57
57
 
58
58
  class AngularmaterialModule {
59
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AngularmaterialModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
60
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: AngularmaterialModule, exports: [A11yModule,
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
61
  ClipboardModule,
62
62
  CdkStepperModule,
63
63
  CdkTableModule,
@@ -100,8 +100,8 @@ class AngularmaterialModule {
100
100
  MatTreeModule,
101
101
  OverlayModule,
102
102
  PortalModule,
103
- ScrollingModule] }); }
104
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AngularmaterialModule, imports: [A11yModule,
103
+ ScrollingModule] });
104
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AngularmaterialModule, imports: [A11yModule,
105
105
  ClipboardModule,
106
106
  CdkStepperModule,
107
107
  CdkTableModule,
@@ -144,9 +144,9 @@ class AngularmaterialModule {
144
144
  MatTreeModule,
145
145
  OverlayModule,
146
146
  PortalModule,
147
- ScrollingModule] }); }
147
+ ScrollingModule] });
148
148
  }
149
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: AngularmaterialModule, decorators: [{
149
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AngularmaterialModule, decorators: [{
150
150
  type: NgModule,
151
151
  args: [{
152
152
  declarations: [],
@@ -202,9 +202,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
202
202
  const CONTROL_DATA = new InjectionToken('Control Data');
203
203
 
204
204
  class ControlInjectionPipe {
205
- constructor() {
206
- this.injector = inject(Injector);
207
- }
205
+ injector = inject(Injector);
208
206
  transform(formControlName, config) {
209
207
  return Injector.create({
210
208
  parent: this.injector,
@@ -216,10 +214,10 @@ class ControlInjectionPipe {
216
214
  ]
217
215
  });
218
216
  }
219
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ControlInjectionPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
220
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: ControlInjectionPipe, isStandalone: true, name: "controlInjection" }); }
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" });
221
219
  }
222
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ControlInjectionPipe, decorators: [{
220
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ControlInjectionPipe, decorators: [{
223
221
  type: Pipe,
224
222
  args: [{
225
223
  name: 'controlInjection',
@@ -247,9 +245,7 @@ const VALIDATION_ERROR_MESSAGES = new InjectionToken(`Validation Messages`, {
247
245
  });
248
246
 
249
247
  class ErrorMessagePipe {
250
- constructor() {
251
- this.errorMessages = inject(VALIDATION_ERROR_MESSAGES);
252
- }
248
+ errorMessages = inject(VALIDATION_ERROR_MESSAGES);
253
249
  transform(key, errorValue) {
254
250
  if (!this.errorMessages[key]) {
255
251
  console.warn(`Missing message for ${key} validator...`);
@@ -257,10 +253,10 @@ class ErrorMessagePipe {
257
253
  }
258
254
  return this.errorMessages[key](errorValue);
259
255
  }
260
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ErrorMessagePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
261
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: ErrorMessagePipe, isStandalone: true, name: "errorMessage" }); }
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" });
262
258
  }
263
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ErrorMessagePipe, decorators: [{
259
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ErrorMessagePipe, decorators: [{
264
260
  type: Pipe,
265
261
  args: [{
266
262
  name: 'errorMessage',
@@ -269,23 +265,21 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
269
265
  }] });
270
266
 
271
267
  class ValidationErrorComponent {
272
- constructor() {
273
- this.errors = null;
274
- }
268
+ errors = null;
275
269
  trackByFn(index, item) {
276
270
  return item.key;
277
271
  }
278
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ValidationErrorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
279
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", type: ValidationErrorComponent, isStandalone: true, selector: "falcon-error", inputs: { errors: "errors" }, ngImport: i0, template: `
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: `
280
274
  @if (errors) { @for (error of errors | keyvalue; track trackByFn($index,
281
275
  error)) {
282
276
  <mat-error [style.bottom.px]="18" [style.position]="'relative'">{{
283
277
  error.key | errorMessage : error.value
284
278
  }}</mat-error>
285
279
  } }
286
- `, 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 }); }
280
+ `, 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 });
287
281
  }
288
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ValidationErrorComponent, decorators: [{
282
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ValidationErrorComponent, decorators: [{
289
283
  type: Component,
290
284
  args: [{
291
285
  selector: 'falcon-error',
@@ -308,10 +302,10 @@ class ErrorStateMatcherService {
308
302
  isErrorState(control, form) {
309
303
  return Boolean(control && control.invalid && form && form.touched);
310
304
  }
311
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ErrorStateMatcherService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
312
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ErrorStateMatcherService, providedIn: 'root' }); }
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' });
313
307
  }
314
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ErrorStateMatcherService, decorators: [{
308
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ErrorStateMatcherService, decorators: [{
315
309
  type: Injectable,
316
310
  args: [{
317
311
  providedIn: 'root',
@@ -319,15 +313,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
319
313
  }] });
320
314
 
321
315
  class ValidationMessageDirective {
322
- constructor() {
323
- this.ngControl = inject(NgControl, { self: true, optional: true }) ||
324
- inject(ControlContainer, { self: true });
325
- this.elementRef = inject(ElementRef);
326
- this.errorStateMatcher = inject(ErrorStateMatcherService);
327
- this.container = inject(ViewContainerRef);
328
- this.parentContainer = inject(ControlContainer, { optional: true });
329
- this.componentRef = null;
330
- }
316
+ ngControl = inject(NgControl, { self: true, optional: true }) ||
317
+ inject(ControlContainer, { self: true });
318
+ elementRef = inject(ElementRef);
319
+ errorStateMatcher = inject(ErrorStateMatcherService);
320
+ container = inject(ViewContainerRef);
321
+ parentContainer = inject(ControlContainer, { optional: true });
322
+ errorMessageTrigger;
323
+ componentRef = null;
331
324
  get form() {
332
325
  return this.parentContainer?.formDirective;
333
326
  }
@@ -354,10 +347,10 @@ class ValidationMessageDirective {
354
347
  ngOnDestroy() {
355
348
  this.errorMessageTrigger.unsubscribe();
356
349
  }
357
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ValidationMessageDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
358
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.3", type: ValidationMessageDirective, isStandalone: true, selector: "[formControl]:not([withoutValidationErrors]),[formControlName]:not([withoutValidationErrors]),[formGroupName]:not([withoutValidationErrors]))", inputs: { errorStateMatcher: "errorStateMatcher", container: "container" }, ngImport: i0 }); }
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 });
359
352
  }
360
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ValidationMessageDirective, decorators: [{
353
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ValidationMessageDirective, decorators: [{
361
354
  type: Directive,
362
355
  args: [{
363
356
  standalone: true,
@@ -370,13 +363,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
370
363
  }] } });
371
364
 
372
365
  class ValidationMessageContainerDirective {
373
- constructor() {
374
- this.container = inject(ViewContainerRef);
375
- }
376
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ValidationMessageContainerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
377
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.3", type: ValidationMessageContainerDirective, isStandalone: true, selector: "[falconValidationMessageContainer]", exportAs: ["falconValidationMessageContainer"], ngImport: i0 }); }
366
+ 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 });
378
369
  }
379
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ValidationMessageContainerDirective, decorators: [{
370
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ValidationMessageContainerDirective, decorators: [{
380
371
  type: Directive,
381
372
  args: [{
382
373
  selector: '[falconValidationMessageContainer]',
@@ -396,11 +387,9 @@ const controlProvider = {
396
387
  useFactory: () => inject(ControlContainer, { skipSelf: true }),
397
388
  };
398
389
  class BaseControlBuilder {
399
- constructor() {
400
- this.parentGroupDir = inject(ControlContainer);
401
- this.control = inject(CONTROL_DATA);
402
- this.formControl = new FormControl(this.control.config.value, this.bindValidators(this.control.config.validations));
403
- }
390
+ parentGroupDir = inject(ControlContainer);
391
+ control = inject(CONTROL_DATA);
392
+ formControl = new FormControl(this.control.config.value, this.bindValidators(this.control.config.validations));
404
393
  get parentFormGroup() {
405
394
  return this.parentGroupDir.control;
406
395
  }
@@ -417,43 +406,41 @@ class BaseControlBuilder {
417
406
  }
418
407
  return Validators.nullValidator;
419
408
  }
420
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: BaseControlBuilder, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
421
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.1.3", type: BaseControlBuilder, isStandalone: true, ngImport: i0 }); }
409
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BaseControlBuilder, deps: [], target: i0.ɵɵFactoryTarget.Directive });
410
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.0.6", type: BaseControlBuilder, isStandalone: true, ngImport: i0 });
422
411
  }
423
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: BaseControlBuilder, decorators: [{
412
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: BaseControlBuilder, decorators: [{
424
413
  type: Directive
425
414
  }] });
426
415
 
427
416
  class ComponentResolver {
428
- constructor() {
429
- this.loadedControlCompoments = new Map();
430
- this.lazyControlComponents = {
431
- textbox: () => import('./falcon-ng-core-textbox.component-D9RxleN8.mjs').then(c => c.TextboxComponent),
432
- textarea: () => import('./falcon-ng-core-textarea.component-DoPCIW3D.mjs').then(c => c.TextareaComponent),
433
- select: () => Promise.resolve().then(function () { return select_component; }).then(c => c.SelectComponent),
434
- datepicker: () => import('./falcon-ng-core-datepicker.component-By51i_14.mjs').then(c => c.DatepickerComponent),
435
- radio: () => import('./falcon-ng-core-radio.component-BawVGW5S.mjs').then(c => c.RadioComponent),
436
- checkbox: () => import('./falcon-ng-core-checkbox.component-ndHL1tL3.mjs').then(c => c.CheckboxComponent),
437
- button: () => Promise.resolve().then(function () { return button_component; }).then(c => c.ButtonComponent),
438
- slideToggle: () => import('./falcon-ng-core-textarea.component-DoPCIW3D.mjs').then(c => c.TextareaComponent),
439
- slider: () => import('./falcon-ng-core-textarea.component-DoPCIW3D.mjs').then(c => c.TextareaComponent),
440
- buttonToggle: () => import('./falcon-ng-core-textarea.component-DoPCIW3D.mjs').then(c => c.TextareaComponent),
441
- autocomplete: () => import('./falcon-ng-core-autocomplete.component-B45kyG9y.mjs').then(c => c.AutocompleteComponent),
442
- chip: () => import('./falcon-ng-core-textarea.component-DoPCIW3D.mjs').then(c => c.TextareaComponent),
443
- editor: () => import('./falcon-ng-core-textarea.component-DoPCIW3D.mjs').then(c => c.TextareaComponent),
444
- divider: () => import('./falcon-ng-core-textarea.component-DoPCIW3D.mjs').then(c => c.TextareaComponent),
445
- };
446
- }
417
+ loadedControlCompoments = new Map();
418
+ lazyControlComponents = {
419
+ textbox: () => import('./falcon-ng-core-textbox.component-CBd_DCMZ.mjs').then(c => c.TextboxComponent),
420
+ textarea: () => import('./falcon-ng-core-textarea.component-BsEkUWPy.mjs').then(c => c.TextareaComponent),
421
+ select: () => Promise.resolve().then(function () { return select_component; }).then(c => c.SelectComponent),
422
+ datepicker: () => import('./falcon-ng-core-datepicker.component-DQNvhpkq.mjs').then(c => c.DatepickerComponent),
423
+ radio: () => import('./falcon-ng-core-radio.component-DnN-21Ne.mjs').then(c => c.RadioComponent),
424
+ checkbox: () => import('./falcon-ng-core-checkbox.component-kxUIF67g.mjs').then(c => c.CheckboxComponent),
425
+ button: () => Promise.resolve().then(function () { return button_component; }).then(c => c.ButtonComponent),
426
+ slideToggle: () => import('./falcon-ng-core-textarea.component-BsEkUWPy.mjs').then(c => c.TextareaComponent),
427
+ slider: () => import('./falcon-ng-core-textarea.component-BsEkUWPy.mjs').then(c => c.TextareaComponent),
428
+ buttonToggle: () => import('./falcon-ng-core-textarea.component-BsEkUWPy.mjs').then(c => c.TextareaComponent),
429
+ autocomplete: () => import('./falcon-ng-core-autocomplete.component-pwEjS0th.mjs').then(c => c.AutocompleteComponent),
430
+ chip: () => import('./falcon-ng-core-textarea.component-BsEkUWPy.mjs').then(c => c.TextareaComponent),
431
+ editor: () => import('./falcon-ng-core-textarea.component-BsEkUWPy.mjs').then(c => c.TextareaComponent),
432
+ divider: () => import('./falcon-ng-core-textarea.component-BsEkUWPy.mjs').then(c => c.TextareaComponent),
433
+ };
447
434
  resolver(controlType) {
448
435
  const loadedComponent = this.loadedControlCompoments.get(controlType);
449
436
  if (loadedComponent)
450
437
  return of(loadedComponent);
451
438
  return from(this.lazyControlComponents[controlType]()).pipe(tap(comp => this.loadedControlCompoments.set(controlType, comp)));
452
439
  }
453
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ComponentResolver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
454
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ComponentResolver, providedIn: 'root' }); }
440
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ComponentResolver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
441
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ComponentResolver, providedIn: 'root' });
455
442
  }
456
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ComponentResolver, decorators: [{
443
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ComponentResolver, decorators: [{
457
444
  type: Injectable,
458
445
  args: [{
459
446
  providedIn: 'root',
@@ -461,6 +448,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
461
448
  }] });
462
449
 
463
450
  class ControlBuilderComponent {
451
+ componentResolver;
452
+ cdref;
453
+ control;
464
454
  constructor(componentResolver, cdref) {
465
455
  this.componentResolver = componentResolver;
466
456
  this.cdref = cdref;
@@ -468,11 +458,11 @@ class ControlBuilderComponent {
468
458
  ngAfterContentChecked() {
469
459
  this.cdref.detectChanges();
470
460
  }
471
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ControlBuilderComponent, deps: [{ token: ComponentResolver }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
472
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: ControlBuilderComponent, isStandalone: false, selector: "falcon-control", inputs: { control: "control" }, ngImport: i0, template: `<ng-container class="w-full" [ngComponentOutlet]="componentResolver.resolver(control.controlType) | async"
473
- [ngComponentOutletInjector]="control.formControlName | controlInjection: control"></ng-container>`, isInline: true, dependencies: [{ kind: "directive", type: i2.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"], exportAs: ["ngComponentOutlet"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "pipe", type: ControlInjectionPipe, name: "controlInjection" }], viewProviders: [controlProvider] }); }
461
+ 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 });
462
+ 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"
463
+ [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] });
474
464
  }
475
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ControlBuilderComponent, decorators: [{
465
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ControlBuilderComponent, decorators: [{
476
466
  type: Component,
477
467
  args: [{
478
468
  selector: 'falcon-control',
@@ -487,20 +477,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
487
477
  }] } });
488
478
 
489
479
  class CardComponent {
490
- constructor() {
491
- this.backgroundColor = undefined;
492
- this.class = undefined;
493
- }
494
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
495
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", 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: `
480
+ backgroundColor = undefined;
481
+ class = undefined;
482
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
483
+ 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: `
496
484
  <mat-card [ngClass]="class" [style.backgroundColor]="backgroundColor">
497
485
  <mat-card-content>
498
486
  <ng-content></ng-content>
499
487
  </mat-card-content>
500
488
  </mat-card>
501
- `, 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"] }] }); }
489
+ `, 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"] }] });
502
490
  }
503
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: CardComponent, decorators: [{
491
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: CardComponent, decorators: [{
504
492
  type: Component,
505
493
  args: [{
506
494
  selector: 'fal-card',
@@ -526,12 +514,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
526
514
  }] } });
527
515
 
528
516
  class ButtonComponent {
529
- constructor() {
530
- this.type = 'submit';
531
- this.appearance = '';
532
- this.disabled = false;
533
- this.click = new EventEmitter();
534
- }
517
+ label;
518
+ type = 'submit';
519
+ appearance = '';
520
+ disabled = false;
521
+ click = new EventEmitter();
535
522
  ngOnDestroy() {
536
523
  this.click.complete();
537
524
  }
@@ -542,31 +529,23 @@ class ButtonComponent {
542
529
  }
543
530
  return false;
544
531
  }
545
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
546
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: ButtonComponent, isStandalone: false, selector: "fal-button", inputs: { label: "label", type: "type", appearance: "appearance", disabled: "disabled" }, outputs: { click: "click" }, ngImport: i0, template: `
547
- <button
548
- [matButton]="appearance"
549
- [type]="type"
550
- (click)="onClick($event)"
551
- [disabled]="disabled">
552
- <span class="flex items-center justify-center gap-2 mdc-button__label">
532
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
533
+ 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: `
534
+ <button [matButton]="appearance" [type]="type" (click)="onClick($event)" [disabled]="disabled">
535
+ <span class="flex items-center justify-center gap-2 mdc-button__label w-full">
553
536
  <ng-content></ng-content>
554
537
  <span class="mt-1">{{ label }}</span>
555
538
  </span>
556
539
  </button>
557
- `, 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"] }] }); }
540
+ `, 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"] }] });
558
541
  }
559
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: ButtonComponent, decorators: [{
542
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: ButtonComponent, decorators: [{
560
543
  type: Component,
561
544
  args: [{
562
545
  selector: 'fal-button',
563
546
  template: `
564
- <button
565
- [matButton]="appearance"
566
- [type]="type"
567
- (click)="onClick($event)"
568
- [disabled]="disabled">
569
- <span class="flex items-center justify-center gap-2 mdc-button__label">
547
+ <button [matButton]="appearance" [type]="type" (click)="onClick($event)" [disabled]="disabled">
548
+ <span class="flex items-center justify-center gap-2 mdc-button__label w-full">
570
549
  <ng-content></ng-content>
571
550
  <span class="mt-1">{{ label }}</span>
572
551
  </span>
@@ -594,14 +573,12 @@ var button_component = /*#__PURE__*/Object.freeze({
594
573
  });
595
574
 
596
575
  class GroupControlBuilderComponent {
597
- constructor() {
598
- this.formGroupName = undefined;
599
- this.innerGroup = new FormGroup({});
600
- this.parentContainer = inject(ControlContainer, {
601
- optional: true,
602
- skipSelf: true,
603
- });
604
- }
576
+ formGroupName = undefined;
577
+ innerGroup = new FormGroup({});
578
+ parentContainer = inject(ControlContainer, {
579
+ optional: true,
580
+ skipSelf: true,
581
+ });
605
582
  get getParentFormGroup() {
606
583
  return this.parentContainer?.control;
607
584
  }
@@ -617,12 +594,12 @@ class GroupControlBuilderComponent {
617
594
  parent.removeControl(this.formGroupName);
618
595
  }
619
596
  }
620
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: GroupControlBuilderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
621
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.3", type: GroupControlBuilderComponent, isStandalone: false, selector: "falcon-group-control", inputs: { formGroupName: "formGroupName" }, ngImport: i0, template: `<div [formGroup]="innerGroup">
597
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: GroupControlBuilderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
598
+ 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">
622
599
  <ng-content></ng-content>
623
- </div>`, isInline: true, dependencies: [{ kind: "directive", type: i4.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i4.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }] }); }
600
+ </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"] }] });
624
601
  }
625
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: GroupControlBuilderComponent, decorators: [{
602
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: GroupControlBuilderComponent, decorators: [{
626
603
  type: Component,
627
604
  args: [{
628
605
  selector: 'falcon-group-control',
@@ -637,8 +614,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
637
614
  }] } });
638
615
 
639
616
  class FalconCoreModule {
640
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: FalconCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
641
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.1.3", ngImport: i0, type: FalconCoreModule, declarations: [ControlBuilderComponent,
617
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FalconCoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
618
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.0.6", ngImport: i0, type: FalconCoreModule, declarations: [ControlBuilderComponent,
642
619
  CardComponent,
643
620
  ButtonComponent,
644
621
  GroupControlBuilderComponent], imports: [AngularmaterialModule,
@@ -648,12 +625,12 @@ class FalconCoreModule {
648
625
  ControlBuilderComponent,
649
626
  CardComponent,
650
627
  ButtonComponent,
651
- GroupControlBuilderComponent] }); }
652
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: FalconCoreModule, imports: [AngularmaterialModule,
628
+ GroupControlBuilderComponent] });
629
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FalconCoreModule, imports: [AngularmaterialModule,
653
630
  CommonModule,
654
- ReactiveFormsModule, AngularmaterialModule] }); }
631
+ ReactiveFormsModule, AngularmaterialModule] });
655
632
  }
656
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: FalconCoreModule, decorators: [{
633
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: FalconCoreModule, decorators: [{
657
634
  type: NgModule,
658
635
  args: [{
659
636
  declarations: [
@@ -678,6 +655,158 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
678
655
  }]
679
656
  }] });
680
657
 
658
+ /**
659
+ * @description
660
+ * Enum use for setting the form control Types.
661
+ * @usageNotes
662
+ * ```ts
663
+ * export class Textbox extends BaseControl<string>{
664
+ * override controlType = ControlType.Select;
665
+ * }
666
+ * ```
667
+ */
668
+ var Control;
669
+ (function (Control) {
670
+ Control["TextBox"] = "textbox";
671
+ Control["TextArea"] = "textarea";
672
+ Control["Select"] = "select";
673
+ Control["DatePicker"] = "datepicker";
674
+ Control["Radio"] = "radio";
675
+ Control["Checkbox"] = "checkbox";
676
+ Control["Button"] = "button";
677
+ Control["SlideToggle"] = "slideToggle";
678
+ Control["Slider"] = "slider";
679
+ Control["ButtonToggle"] = "buttonToggle";
680
+ Control["AutoComplete"] = "autocomplete";
681
+ Control["Chip"] = "chip";
682
+ Control["Editor"] = "editor";
683
+ Control["Divider"] = "divider";
684
+ })(Control || (Control = {}));
685
+ /**
686
+ * @description
687
+ * Enum use for Appearance of the control.
688
+ * @usageNotes
689
+ * Before and After property should be only use for Checkbox and Radio button
690
+ * ```ts
691
+ * if (componentType == ComponentType.Radio && componentType == ComponentType.Checkbox) THEN
692
+ * only use Appearance Before and After
693
+ * ```
694
+ */
695
+ var Appearance;
696
+ (function (Appearance) {
697
+ /**
698
+ * @usageNotes Should be only use for input, textbox, and select
699
+ */
700
+ Appearance["Plain"] = "plain";
701
+ Appearance["Legacy"] = "legacy";
702
+ Appearance["Standard"] = "standard";
703
+ Appearance["Fill"] = "fill";
704
+ Appearance["Outline"] = "outline";
705
+ /**
706
+ * @usageNotes Should be only use for label position
707
+ */
708
+ Appearance["Before"] = "before";
709
+ Appearance["After"] = "after";
710
+ /**
711
+ * @usageNotes Should be only use for select
712
+ */
713
+ Appearance["Multiple"] = "true";
714
+ /**
715
+ * @usageNotes Should be only use for Buttom
716
+ */
717
+ Appearance[Appearance["Basic"] = 0] = "Basic";
718
+ Appearance[Appearance["Raised"] = 1] = "Raised";
719
+ Appearance[Appearance["Stroked"] = 2] = "Stroked";
720
+ Appearance[Appearance["Flat"] = 3] = "Flat";
721
+ Appearance[Appearance["Icon"] = 4] = "Icon";
722
+ Appearance[Appearance["FAB"] = 5] = "FAB";
723
+ Appearance[Appearance["MiniFAB"] = 6] = "MiniFAB";
724
+ Appearance[Appearance["routeLink"] = 7] = "routeLink";
725
+ Appearance[Appearance["routeHref"] = 8] = "routeHref";
726
+ })(Appearance || (Appearance = {}));
727
+ /**
728
+ * @description
729
+ * Enum use for setting the attribute Types.
730
+ * @usageNotes
731
+ * ```ts
732
+ * componentProperty: {
733
+ * attrType: InputTypes.Text
734
+ * }
735
+ * ```
736
+ */
737
+ var InputTypes;
738
+ (function (InputTypes) {
739
+ InputTypes["Color"] = "color";
740
+ InputTypes["Date"] = "date";
741
+ InputTypes["DatetimeLocal"] = "datetime-local";
742
+ InputTypes["Email"] = "email";
743
+ InputTypes["Month"] = "month";
744
+ InputTypes["Number"] = "number";
745
+ InputTypes["Password"] = "password";
746
+ InputTypes["Search"] = "search";
747
+ InputTypes["Tel"] = "tel";
748
+ InputTypes["Text"] = "text";
749
+ InputTypes["Time"] = "time";
750
+ InputTypes["Url"] = "url";
751
+ InputTypes["Week"] = "week";
752
+ /**
753
+ * @usageNotes Should be only use for Buttom
754
+ */
755
+ InputTypes["Button"] = "button";
756
+ InputTypes["Submit"] = "submit";
757
+ InputTypes["DragDrop"] = "dragDrop";
758
+ })(InputTypes || (InputTypes = {}));
759
+ /**
760
+ * @description
761
+ * Enum use for setting HTTP method.
762
+ * @usageNotes
763
+ * ```ts
764
+ * this.genericHttpClientService.Delete(this.deleteUserUrl).subscribe(item => {}, error => {});
765
+ * ```
766
+ */
767
+ var HttpMethod;
768
+ (function (HttpMethod) {
769
+ HttpMethod["Get"] = "GET";
770
+ HttpMethod["Post"] = "POST";
771
+ HttpMethod["Put"] = "PUT";
772
+ HttpMethod["Patch"] = "PATCH";
773
+ HttpMethod["Delete"] = "DELETE";
774
+ })(HttpMethod || (HttpMethod = {}));
775
+ /**
776
+ * @description
777
+ * Enum use for Table actions
778
+ */
779
+ var TableAction;
780
+ (function (TableAction) {
781
+ TableAction[TableAction["View"] = 0] = "View";
782
+ TableAction[TableAction["Edit"] = 1] = "Edit";
783
+ TableAction[TableAction["Delete"] = 2] = "Delete";
784
+ TableAction[TableAction["RightArrow"] = 3] = "RightArrow";
785
+ })(TableAction || (TableAction = {}));
786
+ /**
787
+ * @description
788
+ * Enum use for setting the Floating label.
789
+ * @usageNotes
790
+ * ```ts
791
+ * componentProperty: {
792
+ * floatLabel: Floatinglabel.Always
793
+ * }
794
+ * ```
795
+ */
796
+ var Floatinglabel;
797
+ (function (Floatinglabel) {
798
+ Floatinglabel["Auto"] = "auto";
799
+ Floatinglabel["Always"] = "always";
800
+ })(Floatinglabel || (Floatinglabel = {}));
801
+ var LoggingLevel;
802
+ (function (LoggingLevel) {
803
+ LoggingLevel["None"] = "None";
804
+ LoggingLevel["Verbose"] = "Verbose";
805
+ LoggingLevel["Info"] = "Info";
806
+ LoggingLevel["Warnings"] = "Warnings";
807
+ LoggingLevel["Errors"] = "Errors";
808
+ })(LoggingLevel || (LoggingLevel = {}));
809
+
681
810
  /**
682
811
  * @description
683
812
  * Class use for setting the control properties.
@@ -697,13 +826,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImpor
697
826
  ** ```
698
827
  */
699
828
  class BaseControl {
829
+ value;
830
+ formControlName;
831
+ label;
832
+ labelPosition;
833
+ order;
834
+ controlType;
835
+ type;
836
+ disabled;
837
+ options;
838
+ validations;
839
+ appearance;
840
+ class;
841
+ style;
842
+ placeHolder;
843
+ floatLabel;
844
+ hint;
845
+ suffix;
846
+ prefix;
847
+ textAreaProperty;
848
+ event;
849
+ selectProperty;
850
+ color;
851
+ sliderProperty;
852
+ chipSelectedOptions;
853
+ editorProperty;
854
+ formArray;
700
855
  constructor(options) {
701
856
  this.value = options.value;
702
857
  this.formControlName = options.formControlName || '';
703
858
  this.label = options.label || undefined;
704
859
  this.labelPosition = options.labelPosition || 'before' || 'after';
705
860
  this.order = options.order === undefined ? 1 : options.order;
706
- this.controlType = options.controlType || "button" /* Control.Button */;
861
+ this.controlType = options.controlType || Control.Button;
707
862
  this.type = options.type || '';
708
863
  this.disabled = options.disabled || false;
709
864
  this.options = options.options || [];
@@ -729,116 +884,71 @@ class BaseControl {
729
884
  }
730
885
 
731
886
  class AutoComplete extends BaseControl {
732
- constructor() {
733
- super(...arguments);
734
- this.controlType = "autocomplete" /* Control.AutoComplete */;
735
- }
887
+ controlType = Control.AutoComplete;
736
888
  }
737
889
 
738
890
  class Button extends BaseControl {
739
- constructor() {
740
- super(...arguments);
741
- this.controlType = "button" /* Control.Button */;
742
- }
891
+ controlType = Control.Button;
743
892
  }
744
893
 
745
894
  class ButtonToggle extends BaseControl {
746
- constructor() {
747
- super(...arguments);
748
- this.controlType = "buttonToggle" /* Control.ButtonToggle */;
749
- }
895
+ controlType = Control.ButtonToggle;
750
896
  }
751
897
 
752
898
  class CheckBox extends BaseControl {
753
- constructor() {
754
- super(...arguments);
755
- this.controlType = "checkbox" /* Control.Checkbox */;
756
- }
899
+ controlType = Control.Checkbox;
757
900
  }
758
901
 
759
902
  class Chip extends BaseControl {
760
- constructor() {
761
- super(...arguments);
762
- this.controlType = "chip" /* Control.Chip */;
763
- }
903
+ controlType = Control.Chip;
764
904
  }
765
905
 
766
906
  class DatePicker extends BaseControl {
767
- constructor() {
768
- super(...arguments);
769
- this.controlType = "datepicker" /* Control.DatePicker */;
770
- }
907
+ controlType = Control.DatePicker;
771
908
  }
772
909
 
773
910
  class Divider extends BaseControl {
774
- constructor() {
775
- super(...arguments);
776
- this.controlType = "divider" /* Control.Divider */;
777
- }
911
+ controlType = Control.Divider;
778
912
  }
779
913
 
780
914
  class Editor extends BaseControl {
781
- constructor() {
782
- super(...arguments);
783
- this.controlType = "editor" /* Control.Editor */;
784
- }
915
+ controlType = Control.Editor;
785
916
  }
786
917
 
787
918
  class Radio extends BaseControl {
788
- constructor() {
789
- super(...arguments);
790
- this.controlType = "radio" /* Control.Radio */;
791
- }
919
+ controlType = Control.Radio;
792
920
  }
793
921
 
794
922
  class RichTextEditor extends BaseControl {
795
- constructor() {
796
- super(...arguments);
797
- this.controlType = "editor" /* Control.Editor */;
798
- }
923
+ controlType = Control.Editor;
799
924
  }
800
925
 
801
926
  class Select extends BaseControl {
802
- constructor() {
803
- super(...arguments);
804
- this.controlType = "select" /* Control.Select */;
805
- }
927
+ controlType = Control.Select;
806
928
  }
807
929
 
808
930
  class Slider extends BaseControl {
809
- constructor() {
810
- super(...arguments);
811
- this.controlType = "slider" /* Control.Slider */;
812
- }
931
+ controlType = Control.Slider;
813
932
  }
814
933
 
815
934
  class SliderToggle extends BaseControl {
816
- constructor() {
817
- super(...arguments);
818
- this.controlType = "slideToggle" /* Control.SlideToggle */;
819
- }
935
+ controlType = Control.SlideToggle;
820
936
  }
821
937
 
822
938
  class Textarea extends BaseControl {
823
- constructor() {
824
- super(...arguments);
825
- this.controlType = "textarea" /* Control.TextArea */;
826
- }
939
+ controlType = Control.TextArea;
827
940
  }
828
941
 
829
942
  class Textbox extends BaseControl {
830
- constructor() {
831
- super(...arguments);
832
- this.controlType = "textbox" /* Control.TextBox */;
833
- }
943
+ controlType = Control.TextBox;
834
944
  }
835
945
 
836
946
  class SelectComponent extends BaseControlBuilder {
837
947
  selectionChange(event) {
838
948
  this.control.config.event.change?.emit(event);
839
949
  }
840
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: SelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
841
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.1.3", type: SelectComponent, isStandalone: true, selector: "fal-select", usesInheritance: true, ngImport: i0, template: `<mat-form-field
950
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SelectComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
951
+ 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
842
952
  [appearance]="control.config.appearance"
843
953
  class="w-full">
844
954
  @if(control.config.label){
@@ -859,9 +969,9 @@ class SelectComponent extends BaseControlBuilder {
859
969
  </mat-form-field>
860
970
  <ng-container
861
971
  falconValidationMessageContainer
862
- #containerDir="falconValidationMessageContainer" />`, 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] }); }
972
+ #containerDir="falconValidationMessageContainer" />`, 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] });
863
973
  }
864
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.3", ngImport: i0, type: SelectComponent, decorators: [{
974
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: SelectComponent, decorators: [{
865
975
  type: Component,
866
976
  args: [{ selector: 'fal-select', imports: [
867
977
  MatInputModule,
@@ -905,5 +1015,5 @@ var select_component = /*#__PURE__*/Object.freeze({
905
1015
  * Generated bundle index. Do not edit.
906
1016
  */
907
1017
 
908
- export { AutoComplete as A, BaseControlBuilder as B, CheckBox as C, DatePicker as D, Editor as E, FalconCoreModule as F, GroupControlBuilderComponent as G, Radio as R, Select as S, Textarea as T, ValidationMessageDirective as V, ValidationMessageContainerDirective as a, BaseControl as b, controlProvider as c, Button as d, ButtonToggle as e, Chip as f, Divider as g, RichTextEditor as h, Slider as i, SliderToggle as j, Textbox as k, ControlBuilderComponent as l, AngularmaterialModule as m, CardComponent as n, ButtonComponent as o, SelectComponent as p, sharedControlDeps as s };
909
- //# sourceMappingURL=falcon-ng-core-falcon-ng-core-XahzcHGw.mjs.map
1018
+ 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 };
1019
+ //# sourceMappingURL=falcon-ng-core-falcon-ng-core-DyR85wUA.mjs.map