@falcon-ng/core 0.0.48 → 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 (19) hide show
  1. package/fesm2022/{falcon-ng-core-autocomplete.component-CXmRfeGP.mjs → falcon-ng-core-autocomplete.component-bJTo-SDa.mjs} +38 -13
  2. package/fesm2022/falcon-ng-core-autocomplete.component-bJTo-SDa.mjs.map +1 -0
  3. package/fesm2022/{falcon-ng-core-checkbox.component-xGni-EkP.mjs → falcon-ng-core-checkbox.component-BIVXYAP8.mjs} +5 -5
  4. package/fesm2022/{falcon-ng-core-checkbox.component-xGni-EkP.mjs.map → falcon-ng-core-checkbox.component-BIVXYAP8.mjs.map} +1 -1
  5. package/fesm2022/{falcon-ng-core-datepicker.component-VT5HeYpx.mjs → falcon-ng-core-datepicker.component-BjSeeYDs.mjs} +5 -5
  6. package/fesm2022/{falcon-ng-core-datepicker.component-VT5HeYpx.mjs.map → falcon-ng-core-datepicker.component-BjSeeYDs.mjs.map} +1 -1
  7. package/fesm2022/{falcon-ng-core-falcon-ng-core-D98G4xYA.mjs → falcon-ng-core-falcon-ng-core-CAfgIE9c.mjs} +65 -64
  8. package/fesm2022/falcon-ng-core-falcon-ng-core-CAfgIE9c.mjs.map +1 -0
  9. package/fesm2022/{falcon-ng-core-radio.component-BQTIlfHb.mjs → falcon-ng-core-radio.component-CdffPBzx.mjs} +5 -5
  10. package/fesm2022/{falcon-ng-core-radio.component-BQTIlfHb.mjs.map → falcon-ng-core-radio.component-CdffPBzx.mjs.map} +1 -1
  11. package/fesm2022/{falcon-ng-core-textarea.component-2mJguCUE.mjs → falcon-ng-core-textarea.component-zAbyp2K_.mjs} +5 -5
  12. package/fesm2022/{falcon-ng-core-textarea.component-2mJguCUE.mjs.map → falcon-ng-core-textarea.component-zAbyp2K_.mjs.map} +1 -1
  13. package/fesm2022/{falcon-ng-core-textbox.component-B0x9UH3X.mjs → falcon-ng-core-textbox.component-qkhpRC0Q.mjs} +5 -5
  14. package/fesm2022/{falcon-ng-core-textbox.component-B0x9UH3X.mjs.map → falcon-ng-core-textbox.component-qkhpRC0Q.mjs.map} +1 -1
  15. package/fesm2022/falcon-ng-core.mjs +1 -1
  16. package/package.json +3 -3
  17. package/types/falcon-ng-core.d.ts +27 -1
  18. package/fesm2022/falcon-ng-core-autocomplete.component-CXmRfeGP.mjs.map +0 -1
  19. package/fesm2022/falcon-ng-core-falcon-ng-core-D98G4xYA.mjs.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component } from '@angular/core';
3
- import { B as BaseControlBuilder, c as controlProvider, V as ValidationMessageDirective, a as ValidationMessageContainerDirective, s as sharedControlDeps } from './falcon-ng-core-falcon-ng-core-D98G4xYA.mjs';
3
+ import { B as BaseControlBuilder, c as controlProvider, V as ValidationMessageDirective, a as ValidationMessageContainerDirective, s as sharedControlDeps } from './falcon-ng-core-falcon-ng-core-CAfgIE9c.mjs';
4
4
  import * as i1 from '@angular/material/input';
5
5
  import { MatInputModule } from '@angular/material/input';
6
6
  import * as i2 from '@angular/material/autocomplete';
@@ -11,12 +11,13 @@ import * as i2$1 from '@angular/common';
11
11
  import * as i5 from '@angular/forms';
12
12
 
13
13
  class AutocompleteComponent extends BaseControlBuilder {
14
- originalOptions = [];
15
14
  filteredOptions = [];
15
+ filteredOptionGroup = [];
16
16
  constructor() {
17
17
  super();
18
- this.originalOptions = [...this.control.config.options];
19
- this.filteredOptions = [...this.originalOptions];
18
+ this.filteredOptions = [...this.control.config.options];
19
+ if (this.control.config?.selectProperty?.optionGroups)
20
+ this.filteredOptionGroup = [...this.control.config.optionGroup];
20
21
  }
21
22
  displayFn(option) {
22
23
  return option && option.value ? option.value : '';
@@ -24,6 +25,8 @@ class AutocompleteComponent extends BaseControlBuilder {
24
25
  onInputChange(event) {
25
26
  const target = event.target;
26
27
  this.filteredOptions = this._filter(target.value || '');
28
+ if (this.control.config?.selectProperty?.optionGroups)
29
+ this.filteredOptionGroup = this._filterGroup(target.value || '');
27
30
  this.control.config.event.inputChange?.emit(target.value || '');
28
31
  }
29
32
  _filter(value) {
@@ -34,8 +37,16 @@ class AutocompleteComponent extends BaseControlBuilder {
34
37
  this.control.config.event.keyboardEnter?.emit(event);
35
38
  this.control.config.event.change?.emit(event);
36
39
  }
37
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AutocompleteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
38
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: AutocompleteComponent, isStandalone: true, selector: "fal-autocomplete", usesInheritance: true, ngImport: i0, template: `<mat-form-field
40
+ _filterGroup(value) {
41
+ if (value) {
42
+ return this.control.config.optionGroup
43
+ .map((groupOption) => ({ label: groupOption.label, options: this._filter(value) }))
44
+ .filter((group) => group.label.length > 0);
45
+ }
46
+ return this.control.config.optionGroup;
47
+ }
48
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AutocompleteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
49
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: AutocompleteComponent, isStandalone: true, selector: "fal-autocomplete", usesInheritance: true, ngImport: i0, template: `<mat-form-field
39
50
  [appearance]="control.config.appearance"
40
51
  [ngStyle]="control.config.style"
41
52
  [ngClass]="control.config.class"
@@ -60,9 +71,16 @@ class AutocompleteComponent extends BaseControlBuilder {
60
71
  (optionSelected)="optionSelected($event.option.viewValue)"
61
72
  [displayWith]="displayFn"
62
73
  >
63
- @for(option of filteredOptions; track option){
74
+ @if(control.config.selectProperty.optionGroups) { @for(group of filteredOptionGroup; track
75
+ group) {
76
+ <mat-optgroup [label]="group.label">
77
+ @for(option of group.options; track option) {
78
+ <mat-option [value]="option">{{ option.value }}</mat-option>
79
+ }
80
+ </mat-optgroup>
81
+ } } @else { @for(option of filteredOptions; track option) {
64
82
  <mat-option [value]="option">{{ option.value }}</mat-option>
65
- }
83
+ } }
66
84
  </mat-autocomplete>
67
85
  @if(control.config.prefix && control.config.prefix.isIcon){
68
86
  <mat-icon matPrefix [matTooltip]="control.config.prefix.toolTipText!">{{
@@ -77,9 +95,9 @@ class AutocompleteComponent extends BaseControlBuilder {
77
95
  <ng-container
78
96
  falconValidationMessageContainer
79
97
  #containerDir="falconValidationMessageContainer"
80
- />`, isInline: true, styles: [".w-full{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { 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: MatAutocompleteModule }, { kind: "component", type: i2.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "directive", type: i2.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { 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$1.CommonModule }, { kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: i5.ReactiveFormsModule }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: 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] });
98
+ />`, isInline: true, styles: [".w-full{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { 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: MatAutocompleteModule }, { kind: "component", type: i2.MatAutocomplete, selector: "mat-autocomplete", inputs: ["aria-label", "aria-labelledby", "displayWith", "autoActiveFirstOption", "autoSelectActiveOption", "requireSelection", "panelWidth", "disableRipple", "class", "hideSingleSelectionIndicator"], outputs: ["optionSelected", "opened", "closed", "optionActivated"], exportAs: ["matAutocomplete"] }, { kind: "component", type: i2.MatOption, selector: "mat-option", inputs: ["value", "id", "disabled"], outputs: ["onSelectionChange"], exportAs: ["matOption"] }, { kind: "component", type: i2.MatOptgroup, selector: "mat-optgroup", inputs: ["label", "disabled"], exportAs: ["matOptgroup"] }, { kind: "directive", type: i2.MatAutocompleteTrigger, selector: "input[matAutocomplete], textarea[matAutocomplete]", inputs: ["matAutocomplete", "matAutocompletePosition", "matAutocompleteConnectedTo", "autocomplete", "matAutocompleteDisabled"], exportAs: ["matAutocompleteTrigger"] }, { 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$1.CommonModule }, { kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: i5.ReactiveFormsModule }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: 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] });
81
99
  }
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: AutocompleteComponent, decorators: [{
100
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: AutocompleteComponent, decorators: [{
83
101
  type: Component,
84
102
  args: [{ selector: 'fal-autocomplete', imports: [MatInputModule, MatAutocompleteModule, MatTooltipModule, ...sharedControlDeps], viewProviders: [controlProvider], template: `<mat-form-field
85
103
  [appearance]="control.config.appearance"
@@ -106,9 +124,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
106
124
  (optionSelected)="optionSelected($event.option.viewValue)"
107
125
  [displayWith]="displayFn"
108
126
  >
109
- @for(option of filteredOptions; track option){
127
+ @if(control.config.selectProperty.optionGroups) { @for(group of filteredOptionGroup; track
128
+ group) {
129
+ <mat-optgroup [label]="group.label">
130
+ @for(option of group.options; track option) {
131
+ <mat-option [value]="option">{{ option.value }}</mat-option>
132
+ }
133
+ </mat-optgroup>
134
+ } } @else { @for(option of filteredOptions; track option) {
110
135
  <mat-option [value]="option">{{ option.value }}</mat-option>
111
- }
136
+ } }
112
137
  </mat-autocomplete>
113
138
  @if(control.config.prefix && control.config.prefix.isIcon){
114
139
  <mat-icon matPrefix [matTooltip]="control.config.prefix.toolTipText!">{{
@@ -127,4 +152,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
127
152
  }], ctorParameters: () => [] });
128
153
 
129
154
  export { AutocompleteComponent };
130
- //# sourceMappingURL=falcon-ng-core-autocomplete.component-CXmRfeGP.mjs.map
155
+ //# sourceMappingURL=falcon-ng-core-autocomplete.component-bJTo-SDa.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"falcon-ng-core-autocomplete.component-bJTo-SDa.mjs","sources":["../../../../projects/falcon-ng/core/src/lib/falcon-core/component/autocomplete/autocomplete.component.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport {\n BaseControlBuilder,\n controlProvider,\n sharedControlDeps,\n} from '../../control-builder/base-control-builder';\nimport { MatInputModule } from '@angular/material/input';\nimport { MatAutocompleteModule } from '@angular/material/autocomplete';\nimport { IOptions, IOptionGroup } from '../../model/interface';\nimport { MatTooltipModule } from '@angular/material/tooltip';\n\n@Component({\n selector: 'fal-autocomplete',\n imports: [MatInputModule, MatAutocompleteModule, MatTooltipModule, ...sharedControlDeps],\n viewProviders: [controlProvider],\n template: `<mat-form-field\n [appearance]=\"control.config.appearance\"\n [ngStyle]=\"control.config.style\"\n [ngClass]=\"control.config.class\"\n class=\"w-full\"\n >\n @if(control.config.label){\n <mat-label>{{ control.config.label }}</mat-label>\n }\n <input\n matInput\n type=\"text\"\n [formControlName]=\"control.formControlName\"\n [placeholder]=\"control.config.placeHolder\"\n [ngStyle]=\"control.config.style\"\n [ngClass]=\"control.config.class\"\n [matAutocomplete]=\"auto\"\n (input)=\"onInputChange($event)\"\n [container]=\"containerDir.container\"\n />\n <mat-autocomplete\n #auto=\"matAutocomplete\"\n (optionSelected)=\"optionSelected($event.option.viewValue)\"\n [displayWith]=\"displayFn\"\n >\n @if(control.config.selectProperty.optionGroups) { @for(group of filteredOptionGroup; track\n group) {\n <mat-optgroup [label]=\"group.label\">\n @for(option of group.options; track option) {\n <mat-option [value]=\"option\">{{ option.value }}</mat-option>\n }\n </mat-optgroup>\n } } @else { @for(option of filteredOptions; track option) {\n <mat-option [value]=\"option\">{{ option.value }}</mat-option>\n } }\n </mat-autocomplete>\n @if(control.config.prefix && control.config.prefix.isIcon){\n <mat-icon matPrefix [matTooltip]=\"control.config.prefix.toolTipText!\">{{\n control.config.prefix.text\n }}</mat-icon>\n } @if(control.config.suffix && control.config.suffix.isIcon){\n <mat-icon matSuffix [matTooltip]=\"control.config.suffix.toolTipText!\">{{\n control.config.suffix.text\n }}</mat-icon>\n }\n </mat-form-field>\n <ng-container\n falconValidationMessageContainer\n #containerDir=\"falconValidationMessageContainer\"\n />`,\n styles: `.w-full {\n width: 100%\n }`,\n})\nexport class AutocompleteComponent extends BaseControlBuilder {\n filteredOptions: IOptions[] = [];\n filteredOptionGroup: IOptionGroup[] = [];\n constructor() {\n super();\n this.filteredOptions = [...this.control.config.options];\n if (this.control.config?.selectProperty?.optionGroups)\n this.filteredOptionGroup = [...this.control.config.optionGroup];\n }\n\n displayFn(option: IOptions): string {\n return option && option.value ? option.value : '';\n }\n\n onInputChange(event: Event) {\n const target = event.target as HTMLInputElement;\n this.filteredOptions = this._filter(target.value || '');\n if (this.control.config?.selectProperty?.optionGroups)\n this.filteredOptionGroup = this._filterGroup(target.value || '');\n this.control.config.event.inputChange?.emit(target.value || '');\n }\n\n private _filter(value: string): IOptions[] {\n const filterValue = value.toLowerCase();\n return this.control.config.options.filter((option: IOptions) =>\n option?.key?.toLowerCase().includes(filterValue)\n );\n }\n\n optionSelected(event: any) {\n this.control.config.event.keyboardEnter?.emit(event);\n this.control.config.event.change?.emit(event);\n }\n private _filterGroup(value: string): IOptionGroup[] {\n if (value) {\n return this.control.config.optionGroup\n .map(\n (groupOption: IOptionGroup) =>\n ({ label: groupOption.label, options: this._filter(value) } as IOptionGroup)\n )\n .filter((group: IOptionGroup) => group.label.length > 0);\n }\n\n return this.control.config.optionGroup;\n }\n}\n"],"names":["i4","i6.ValidationMessageDirective","i7.ValidationMessageContainerDirective"],"mappings":";;;;;;;;;;;;AAqEM,MAAO,qBAAsB,SAAQ,kBAAkB,CAAA;IAC3D,eAAe,GAAe,EAAE;IAChC,mBAAmB,GAAmB,EAAE;AACxC,IAAA,WAAA,GAAA;AACE,QAAA,KAAK,EAAE;AACP,QAAA,IAAI,CAAC,eAAe,GAAG,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC;QACvD,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,cAAc,EAAE,YAAY;AACnD,YAAA,IAAI,CAAC,mBAAmB,GAAG,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC;IACnE;AAEA,IAAA,SAAS,CAAC,MAAgB,EAAA;AACxB,QAAA,OAAO,MAAM,IAAI,MAAM,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,GAAG,EAAE;IACnD;AAEA,IAAA,aAAa,CAAC,KAAY,EAAA;AACxB,QAAA,MAAM,MAAM,GAAG,KAAK,CAAC,MAA0B;AAC/C,QAAA,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;QACvD,IAAI,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE,cAAc,EAAE,YAAY;AACnD,YAAA,IAAI,CAAC,mBAAmB,GAAG,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;AAClE,QAAA,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,WAAW,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,IAAI,EAAE,CAAC;IACjE;AAEQ,IAAA,OAAO,CAAC,KAAa,EAAA;AAC3B,QA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A,EAAA,WAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,mCAAA,EAAA,QAAA,EAAA,oCAAA,EAAA,QAAA,EAAA,CAAA,kCAAA,CAAA,EAAA,CAAA,EAAA,aAAA,EAClD,CAAC,eAAe,CAAC,EAAA,CAAA;;2FAuDrB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBA1DjC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,kBAAkB,EAAA,OAAA,EACnB,CAAC,cAAc,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,GAAG,iBAAiB,CAAC,EAAA,aAAA,EACzE,CAAC,eAAe,CAAC,EAAA,QAAA,EACtB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiDL,MAAA,CAAA,EAAA,MAAA,EAAA,CAAA,uBAAA,CAAA,EAAA;;;;;"}
@@ -1,6 +1,6 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Component } from '@angular/core';
3
- import { B as BaseControlBuilder, c as controlProvider, V as ValidationMessageDirective, s as sharedControlDeps } from './falcon-ng-core-falcon-ng-core-D98G4xYA.mjs';
3
+ import { B as BaseControlBuilder, c as controlProvider, V as ValidationMessageDirective, s as sharedControlDeps } from './falcon-ng-core-falcon-ng-core-CAfgIE9c.mjs';
4
4
  import * as i1 from '@angular/material/checkbox';
5
5
  import { MatCheckboxModule } from '@angular/material/checkbox';
6
6
  import * as i2 from '@angular/common';
@@ -10,8 +10,8 @@ class CheckboxComponent extends BaseControlBuilder {
10
10
  change($event) {
11
11
  this.control.config.event.change?.emit($event);
12
12
  }
13
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: CheckboxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
14
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.6", type: CheckboxComponent, isStandalone: true, selector: "fal-checkbox", usesInheritance: true, ngImport: i0, template: ` <mat-checkbox
13
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: CheckboxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
14
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.8", type: CheckboxComponent, isStandalone: true, selector: "fal-checkbox", usesInheritance: true, ngImport: i0, template: ` <mat-checkbox
15
15
  [ngStyle]="control.config.style"
16
16
  [ngClass]="control.config.class"
17
17
  [labelPosition]="control.config.labelPosition"
@@ -21,7 +21,7 @@ class CheckboxComponent extends BaseControlBuilder {
21
21
  {{ control.config.label }}
22
22
  </mat-checkbox>`, isInline: true, dependencies: [{ kind: "ngmodule", type: MatCheckboxModule }, { kind: "component", type: i1.MatCheckbox, selector: "mat-checkbox", inputs: ["aria-label", "aria-labelledby", "aria-describedby", "aria-expanded", "aria-controls", "aria-owns", "id", "required", "labelPosition", "name", "value", "disableRipple", "tabIndex", "color", "disabledInteractive", "checked", "disabled", "indeterminate"], outputs: ["change", "indeterminateChange"], exportAs: ["matCheckbox"] }, { 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] });
23
23
  }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: CheckboxComponent, decorators: [{
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: CheckboxComponent, decorators: [{
25
25
  type: Component,
26
26
  args: [{
27
27
  selector: 'fal-checkbox',
@@ -40,4 +40,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
40
40
  }] });
41
41
 
42
42
  export { CheckboxComponent };
43
- //# sourceMappingURL=falcon-ng-core-checkbox.component-xGni-EkP.mjs.map
43
+ //# sourceMappingURL=falcon-ng-core-checkbox.component-BIVXYAP8.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"falcon-ng-core-checkbox.component-xGni-EkP.mjs","sources":["../../../../projects/falcon-ng/core/src/lib/falcon-core/component/checkbox/checkbox.component.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport {\n BaseControlBuilder,\n controlProvider,\n sharedControlDeps,\n} from '../../control-builder/base-control-builder';\nimport { MatCheckboxChange, MatCheckboxModule } from '@angular/material/checkbox';\n\n@Component({\n selector: 'fal-checkbox',\n imports: [MatCheckboxModule, ...sharedControlDeps],\n viewProviders: [controlProvider],\n template: ` <mat-checkbox\n [ngStyle]=\"control.config.style\"\n [ngClass]=\"control.config.class\"\n [labelPosition]=\"control.config.labelPosition\"\n [formControlName]=\"control.config.formControlName\"\n (change)=\"change($event)\"\n >\n {{ control.config.label }}\n </mat-checkbox>`,\n})\nexport class CheckboxComponent extends BaseControlBuilder {\n change($event: MatCheckboxChange) {\n this.control.config.event.change?.emit($event);\n }\n}\n"],"names":["i3","i4.ValidationMessageDirective"],"mappings":";;;;;;;;AAsBM,MAAO,iBAAkB,SAAQ,kBAAkB,CAAA;AACvD,IAAA,MAAM,CAAC,MAAyB,EAAA;AAC9B,QAAA,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;IAChD;uGAHW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AA,SAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,mBAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,2CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAA,EAAA,CAAA,eAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,CAAA,iBAAA,EAAA,UAAA,EAAA,SAAA,CAAA,EAAA,OAAA,EAAA,CAAA,eAAA,CAAA,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAAC,0BAAA,EAAA,QAAA,EAAA,+IAAA,EAAA,MAAA,EAAA,CAAA,mBAAA,EAAA,WAAA,CAAA,EAAA,CAAA,EAAA,aAAA,EACZ,CAAC,eAAe,CAAC,EAAA,CAAA;;2FAWrB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAd7B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACT,oBAAA,QAAQ,EAAE,cAAc;AACxB,oBAAA,OAAO,EAAE,CAAC,iBAAiB,EAAE,GAAG,iBAAiB,CAAC;oBAClD,aAAa,EAAE,CAAC,eAAe,CAAC;AAChC,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;AAQM,iBAAA,CAAA;AACjB,iBAAA;;;;;"}
1
+ {"version":3,"file":"falcon-ng-core-checkbox.component-BIVXYAP8.mjs","sources":["../../../../projects/falcon-ng/core/src/lib/falcon-core/component/checkbox/checkbox.component.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport {\n BaseControlBuilder,\n controlProvider,\n sharedControlDeps,\n} from '../../control-builder/base-control-builder';\nimport { MatCheckboxChange, MatCheckboxModule } from '@angular/material/checkbox';\n\n@Component({\n selector: 'fal-checkbox',\n imports: [MatCheckboxModule, ...sharedControlDeps],\n viewProviders: [controlProvider],\n template: ` <mat-checkbox\n [ngStyle]=\"control.config.style\"\n [ngClass]=\"control.config.class\"\n [labelPosition]=\"control.config.labelPosition\"\n [formControlName]=\"control.config.formControlName\"\n (change)=\"change($event)\"\n >\n {{ control.config.label }}\n </mat-checkbox>`,\n})\nexport class CheckboxComponent extends BaseControlBuilder {\n change($event: MatCheckboxChange) {\n this.control.config.event.change?.emit($event);\n }\n}\n"],"names":["i3","i4.ValidationMessageDirective"],"mappings":";;;;;;;;AAsBM,MAAO,iBAAkB,SAAQ,kBAAkB,CAAA;AACvD,IAAA,MAAM,CAAC,MAAyB,EAAA;AAC9B,QAAA,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;IAChD;uGAHW,iBAAiB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAjB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAVlB,CAAA;;;;;;;;AAQM,iBAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EAVN,iBAAiB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,WAAA,EAAA,QAAA,EAAA,cAAA,EAAA,MAAA,EAAA,CAAA,YAAA,EAAA,iBAAA,EAAA,kBAAA,EAAA,eAAA,EAAA,eAAA,EAAA,WAAA,EAAA,IAAA,EAAA,UAAA,EAAA,eAAA,EAAA,MAAA,EAAA,OAAA,EAAA,eAAA,EAAA,UAAA,EAAA,OAAA,EAAA,qB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oBAClD,aAAa,EAAE,CAAC,eAAe,CAAC;AAChC,oBAAA,QAAQ,EAAE,CAAA;;;;;;;;AAQM,iBAAA,CAAA;AACjB,iBAAA;;;;;"}
@@ -6,13 +6,13 @@ import { MatDatepickerModule } from '@angular/material/datepicker';
6
6
  import { MatFormFieldModule } from '@angular/material/form-field';
7
7
  import * as i1 from '@angular/material/input';
8
8
  import { MatInputModule } from '@angular/material/input';
9
- import { B as BaseControlBuilder, c as controlProvider, V as ValidationMessageDirective, a as ValidationMessageContainerDirective, s as sharedControlDeps } from './falcon-ng-core-falcon-ng-core-D98G4xYA.mjs';
9
+ import { B as BaseControlBuilder, c as controlProvider, V as ValidationMessageDirective, a as ValidationMessageContainerDirective, s as sharedControlDeps } from './falcon-ng-core-falcon-ng-core-CAfgIE9c.mjs';
10
10
  import * as i2$1 from '@angular/common';
11
11
  import * as i5 from '@angular/forms';
12
12
 
13
13
  class DatepickerComponent extends BaseControlBuilder {
14
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DatepickerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
15
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.0.6", type: DatepickerComponent, isStandalone: true, selector: "fal-datepicker", providers: [provideNativeDateAdapter()], usesInheritance: true, ngImport: i0, template: `<mat-form-field [appearance]="control.config.appearance" class="w-full">
14
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: DatepickerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
15
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.8", type: DatepickerComponent, isStandalone: true, selector: "fal-datepicker", providers: [provideNativeDateAdapter()], usesInheritance: true, ngImport: i0, template: `<mat-form-field [appearance]="control.config.appearance" class="w-full">
16
16
  @if(control.config.label){
17
17
  <mat-label>{{ control.config.label }}</mat-label>
18
18
  }
@@ -33,7 +33,7 @@ class DatepickerComponent extends BaseControlBuilder {
33
33
  #containerDir="falconValidationMessageContainer"
34
34
  /> `, isInline: true, styles: [".w-full{width:100%}\n"], dependencies: [{ kind: "ngmodule", type: MatFormFieldModule }, { 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.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]", inputs: ["matTextSuffix"] }, { kind: "ngmodule", type: MatInputModule }, { kind: "directive", type: i1.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly", "disabledInteractive"], exportAs: ["matInput"] }, { kind: "ngmodule", type: MatDatepickerModule }, { kind: "component", type: i2.MatDatepicker, selector: "mat-datepicker", exportAs: ["matDatepicker"] }, { kind: "directive", type: i2.MatDatepickerInput, selector: "input[matDatepicker]", inputs: ["matDatepicker", "min", "max", "matDatepickerFilter"], exportAs: ["matDatepickerInput"] }, { kind: "component", type: i2.MatDatepickerToggle, selector: "mat-datepicker-toggle", inputs: ["for", "tabIndex", "aria-label", "disabled", "disableRipple"], exportAs: ["matDatepickerToggle"] }, { kind: "ngmodule", type: i2$1.CommonModule }, { kind: "directive", type: i2$1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i2$1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "ngmodule", type: i5.ReactiveFormsModule }, { kind: "directive", type: i5.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: 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] });
35
35
  }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImport: i0, type: DatepickerComponent, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.8", ngImport: i0, type: DatepickerComponent, decorators: [{
37
37
  type: Component,
38
38
  args: [{ selector: 'fal-datepicker', providers: [provideNativeDateAdapter()], imports: [MatFormFieldModule, MatInputModule, MatDatepickerModule, ...sharedControlDeps], viewProviders: [controlProvider], template: `<mat-form-field [appearance]="control.config.appearance" class="w-full">
39
39
  @if(control.config.label){
@@ -58,4 +58,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.6", ngImpor
58
58
  }] });
59
59
 
60
60
  export { DatepickerComponent };
61
- //# sourceMappingURL=falcon-ng-core-datepicker.component-VT5HeYpx.mjs.map
61
+ //# sourceMappingURL=falcon-ng-core-datepicker.component-BjSeeYDs.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"falcon-ng-core-datepicker.component-VT5HeYpx.mjs","sources":["../../../../projects/falcon-ng/core/src/lib/falcon-core/component/datepicker/datepicker.component.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { provideNativeDateAdapter } from '@angular/material/core';\nimport { MatDatepickerModule } from '@angular/material/datepicker';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatInputModule } from '@angular/material/input';\nimport {\n BaseControlBuilder,\n controlProvider,\n sharedControlDeps,\n} from '../../control-builder/base-control-builder';\n\n@Component({\n selector: 'fal-datepicker',\n providers: [provideNativeDateAdapter()],\n imports: [MatFormFieldModule, MatInputModule, MatDatepickerModule, ...sharedControlDeps],\n viewProviders: [controlProvider],\n template: `<mat-form-field [appearance]=\"control.config.appearance\" class=\"w-full\">\n @if(control.config.label){\n <mat-label>{{ control.config.label }}</mat-label>\n }\n <input\n matInput\n [matDatepicker]=\"picker\"\n [formControlName]=\"control.formControlName\"\n [placeholder]=\"control.config.placeHolder\"\n [ngStyle]=\"control.config.style\"\n [ngClass]=\"control.config.class\"\n [container]=\"containerDir.container\"\n />\n <mat-datepicker-toggle matIconSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n </mat-form-field>\n <ng-container\n falconValidationMessageContainer\n #containerDir=\"falconValidationMessageContainer\"\n /> `,\n styles: `.w-full {\n width: 100%\n }`,\n})\nexport class DatepickerComponent extends BaseControlBuilder {}\n"],"names":["i3","i4","i5.ValidationMessageDirective","i6.ValidationMessageContainerDirective"],"mappings":";;;;;;;;;;;;AAwCM,MAAO,mBAAoB,SAAQ,kBAAkB,CAAA;uGAA9C,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAnB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,SAAA,EA3BnB,CAAC,wBAAwB,EAAE,CAAC,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAG7B,CAAA;;;;;;;;;;;;;;;;;;;QAmBJ,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,uBAAA,CAAA,EAAA,YAAA,EA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AAA,EAAA;;;;;"}
1
+ {"version":3,"file":"falcon-ng-core-datepicker.component-BjSeeYDs.mjs","sources":["../../../../projects/falcon-ng/core/src/lib/falcon-core/component/datepicker/datepicker.component.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { provideNativeDateAdapter } from '@angular/material/core';\nimport { MatDatepickerModule } from '@angular/material/datepicker';\nimport { MatFormFieldModule } from '@angular/material/form-field';\nimport { MatInputModule } from '@angular/material/input';\nimport {\n BaseControlBuilder,\n controlProvider,\n sharedControlDeps,\n} from '../../control-builder/base-control-builder';\n\n@Component({\n selector: 'fal-datepicker',\n providers: [provideNativeDateAdapter()],\n imports: [MatFormFieldModule, MatInputModule, MatDatepickerModule, ...sharedControlDeps],\n viewProviders: [controlProvider],\n template: `<mat-form-field [appearance]=\"control.config.appearance\" class=\"w-full\">\n @if(control.config.label){\n <mat-label>{{ control.config.label }}</mat-label>\n }\n <input\n matInput\n [matDatepicker]=\"picker\"\n [formControlName]=\"control.formControlName\"\n [placeholder]=\"control.config.placeHolder\"\n [ngStyle]=\"control.config.style\"\n [ngClass]=\"control.config.class\"\n [container]=\"containerDir.container\"\n />\n <mat-datepicker-toggle matIconSuffix [for]=\"picker\"></mat-datepicker-toggle>\n <mat-datepicker #picker></mat-datepicker>\n </mat-form-field>\n <ng-container\n falconValidationMessageContainer\n #containerDir=\"falconValidationMessageContainer\"\n /> `,\n styles: `.w-full {\n width: 100%\n }`,\n})\nexport class DatepickerComponent extends BaseControlBuilder {}\n"],"names":["i3","i4","i5.ValidationMessageDirective","i6.ValidationMessageContainerDirective"],"mappings":";;;;;;;;;;;;AAwCM,MAAO,mBAAoB,SAAQ,kBAAkB,CAAA;uGAA9C,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAnB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAA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