@esfaenza/forms-and-validations 11.2.104 → 11.2.107

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.
@@ -6,8 +6,12 @@ import { LocalizationService } from "@esfaenza/localizations";
6
6
  /** Componente rappresentante una checkbox */
7
7
  export declare class FormCheckboxComponent extends BaseFormControl implements ControlValueAccessor {
8
8
  private lc;
9
+ private FAV_SLIDER_MODE;
10
+ /** Mostra l'input checkbox con lo stile di uno slider */
11
+ SliderMode: boolean;
9
12
  /** @ignore Costruttore */
10
- constructor(lc: LocalizationService, cdr: ChangeDetectorRef, ngControl: NgControl, _validators: Array<any>, ac: AccessControlService, AppContext: ComponentContext, ACO_CUSTOMKEY: string);
13
+ constructor(lc: LocalizationService, cdr: ChangeDetectorRef, ngControl: NgControl, _validators: Array<any>, ac: AccessControlService, AppContext: ComponentContext, ACO_CUSTOMKEY: string, FAV_SLIDER_MODE: boolean);
14
+ ngOnInit(): void;
11
15
  /** @ignore */
12
16
  writeValue(obj: any): void;
13
17
  changed(): void;
@@ -8,4 +8,6 @@ export declare class FormsAndValidationsModuleConfig {
8
8
  acocustom?: string;
9
9
  /** Abilita o meno la modalità di debug */
10
10
  debugMode?: boolean;
11
+ /** Abilita o meno la modalità slider delle checkbox */
12
+ sliderMode?: boolean;
11
13
  }
package/lib/tokens.d.ts CHANGED
@@ -5,3 +5,5 @@ export declare const FAV_LOCALE: InjectionToken<string>;
5
5
  export declare const ACO_CUSTOMKEY: InjectionToken<string>;
6
6
  /** Token che indica la lingua da utilizzare, sono supportate "it-IT" ed "en-US" */
7
7
  export declare const FAV_DEBUG_MODE: InjectionToken<boolean>;
8
+ /** Token che indica se far apparire l'input delle checkbox come slider o come input nativi */
9
+ export declare const FAV_SLIDER_MODE: InjectionToken<boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@esfaenza/forms-and-validations",
3
- "version": "11.2.104",
3
+ "version": "11.2.107",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "tslib": "^2.0.0"
package/public-api.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from './lib/models/AppFile';
2
2
  export * from './lib/models/FormsAndValidationsModuleConfig';
3
3
  export * from './lib/models/dayjs-adapter/dayjs-date-adapter';
4
+ export * from './lib/tokens';
4
5
  export * from './lib/forms-and-validations.module';
5
6
  export * from './lib/validations/validation-datetime/validation-datetime.component';
6
7
  export * from './lib/validations/validation-input/validation-input.component';