dolfo-angular 1.201.0 → 1.202.0

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.
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "dolfo-angular",
3
- "version": "1.201.0",
3
+ "version": "1.202.0",
4
4
  "peerDependencies": {
5
- "@angular/common": "^20.3.3",
6
- "@angular/core": "^20.3.3",
7
- "@angular/forms": "^20.3.3",
8
- "@angular/platform-browser": "^20.3.4"
5
+ "@angular/common": "^21.2.9",
6
+ "@angular/core": "^21.2.9",
7
+ "@angular/forms": "^21.2.9",
8
+ "@angular/platform-browser": "^21.2.9"
9
9
  },
10
10
  "dependencies": {
11
11
  "tslib": "^2.8.1"
@@ -21,5 +21,6 @@
21
21
  "types": "./types/dolfo-angular.d.ts",
22
22
  "default": "./fesm2022/dolfo-angular.mjs"
23
23
  }
24
- }
24
+ },
25
+ "type": "module"
25
26
  }
@@ -31,7 +31,7 @@ button{
31
31
  &:not([disabled]):focus{
32
32
  $newColor: color.adjust($color, $lightness: -10%);
33
33
  background-color: $newColor;
34
- color: getButtonTextColor($newColor);
34
+ color: getButtonTextColor($newColor)
35
35
  }
36
36
  }
37
37
  }
@@ -2,11 +2,10 @@ import * as i0 from '@angular/core';
2
2
  import { InjectionToken, Type, ElementRef, TemplateRef, EventEmitter, ValueProvider, OnDestroy, AfterViewInit, OnInit, OnChanges, ChangeDetectorRef, SimpleChanges, PipeTransform, AfterViewChecked, QueryList, Injector, ViewContainerRef } from '@angular/core';
3
3
  import * as rxjs from 'rxjs';
4
4
  import { Observable, Subscription, BehaviorSubject } from 'rxjs';
5
- import * as i9$1 from '@angular/forms';
6
- import { FormControl, ValidationErrors, ControlValueAccessor, Validator, AbstractControl, FormGroupDirective, FormGroup } from '@angular/forms';
5
+ import * as i10 from '@angular/forms';
6
+ import { FormControl, ValidationErrors, ControlValueAccessor, Validator, AbstractControl, FormGroup, FormGroupDirective } from '@angular/forms';
7
7
  import * as i9 from '@angular/common';
8
8
  import { DecimalPipe } from '@angular/common';
9
- import { HttpClient } from '@angular/common/http';
10
9
  import * as _angular_platform_browser from '@angular/platform-browser';
11
10
  import { DomSanitizer } from '@angular/platform-browser';
12
11
 
@@ -216,6 +215,7 @@ declare const LANGUAGE_TOKEN: InjectionToken<ILanguageToken>;
216
215
  declare const provideDolfoLanguages: (langs: ILanguage[], defaultLanguage: string) => ValueProvider;
217
216
 
218
217
  declare const isDeepEqual: (objA: any, objB: any, map?: WeakMap<object, any>) => boolean;
218
+ declare const passwordValidator: (control: FormControl) => ValidationErrors;
219
219
 
220
220
  declare abstract class Subscriptable implements OnDestroy {
221
221
  private subs;
@@ -234,11 +234,11 @@ declare class ContextMenuService {
234
234
  }
235
235
 
236
236
  declare class TranslateService {
237
- private httpClient;
238
237
  private lang$;
239
238
  private langContent;
240
239
  private langs;
241
- constructor(langConfig: ILanguageToken, httpClient: HttpClient);
240
+ private httpClient;
241
+ constructor(langConfig: ILanguageToken);
242
242
  changeLanguage$: (langName: string) => rxjs.Observable<Record<string, string>>;
243
243
  loadFromStorage$: () => rxjs.Observable<Record<string, string>>;
244
244
  private load$;
@@ -400,6 +400,14 @@ declare class DatepickerComponent extends BaseFormInput<Date> implements OnFocus
400
400
  static ngAcceptInputType_selectTime: unknown;
401
401
  }
402
402
 
403
+ declare class FormComponent {
404
+ formGroup: FormGroup;
405
+ hiddenSubmit: boolean;
406
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormComponent, never>;
407
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormComponent, "dolfo-form", never, { "formGroup": { "alias": "formGroup"; "required": true; }; "hiddenSubmit": { "alias": "hiddenSubmit"; "required": false; }; }, {}, never, ["*"], false, never>;
408
+ static ngAcceptInputType_hiddenSubmit: unknown;
409
+ }
410
+
403
411
  declare class InputTextComponent extends BaseFormInput<string> implements OnFocus, OnBlur {
404
412
  type: InputType;
405
413
  placeHolder: string;
@@ -641,7 +649,7 @@ declare class LayoutModule {
641
649
 
642
650
  declare class FormModule {
643
651
  static ɵfac: i0.ɵɵFactoryDeclaration<FormModule, never>;
644
- static ɵmod: i0.ɵɵNgModuleDeclaration<FormModule, [typeof InputTextComponent, typeof InputContainerComponent, typeof ComboboxComponent, typeof DatepickerComponent, typeof AutocompleteComponent, typeof InputRadioComponent, typeof InputCheckboxComponent], [typeof i9.CommonModule, typeof i9$1.ReactiveFormsModule, typeof TranslatePipe, typeof DirectivesModule, typeof LayoutModule], [typeof i9$1.ReactiveFormsModule, typeof InputTextComponent, typeof InputContainerComponent, typeof ComboboxComponent, typeof DatepickerComponent, typeof AutocompleteComponent, typeof InputRadioComponent, typeof InputCheckboxComponent]>;
652
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FormModule, [typeof InputTextComponent, typeof InputContainerComponent, typeof ComboboxComponent, typeof DatepickerComponent, typeof AutocompleteComponent, typeof InputRadioComponent, typeof InputCheckboxComponent, typeof FormComponent], [typeof i9.CommonModule, typeof i10.ReactiveFormsModule, typeof TranslatePipe, typeof DirectivesModule, typeof LayoutModule], [typeof i10.ReactiveFormsModule, typeof InputTextComponent, typeof InputContainerComponent, typeof ComboboxComponent, typeof DatepickerComponent, typeof AutocompleteComponent, typeof InputRadioComponent, typeof InputCheckboxComponent, typeof FormComponent]>;
645
653
  static ɵinj: i0.ɵɵInjectorDeclaration<FormModule>;
646
654
  }
647
655
 
@@ -716,7 +724,7 @@ declare class DialogComponent extends Formable implements Required<IDialogInput>
716
724
 
717
725
  declare class DialogLayoutModule {
718
726
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogLayoutModule, never>;
719
- static ɵmod: i0.ɵɵNgModuleDeclaration<DialogLayoutModule, [typeof DialogComponent, typeof DialogContentComponent, typeof DialogHeaderComponent, typeof DialogFooterComponent, typeof DialogLayoutComponent], [typeof i9.CommonModule, typeof DirectivesModule, typeof LayoutModule, typeof i9$1.ReactiveFormsModule, typeof TranslatePipe, typeof FormModule], [typeof DialogComponent, typeof DialogContentComponent, typeof DialogHeaderComponent, typeof DialogFooterComponent, typeof DialogLayoutComponent]>;
727
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DialogLayoutModule, [typeof DialogComponent, typeof DialogContentComponent, typeof DialogHeaderComponent, typeof DialogFooterComponent, typeof DialogLayoutComponent], [typeof i9.CommonModule, typeof DirectivesModule, typeof LayoutModule, typeof i10.ReactiveFormsModule, typeof TranslatePipe, typeof FormModule], [typeof DialogComponent, typeof DialogContentComponent, typeof DialogHeaderComponent, typeof DialogFooterComponent, typeof DialogLayoutComponent]>;
720
728
  static ɵinj: i0.ɵɵInjectorDeclaration<DialogLayoutModule>;
721
729
  }
722
730
 
@@ -736,5 +744,5 @@ declare class GridModule {
736
744
  static ɵinj: i0.ɵɵInjectorDeclaration<GridModule>;
737
745
  }
738
746
 
739
- export { AutocompleteComponent, BaseFormInput, ButtonComponent, CONTEXT_MENU_DESTROY_TOKEN, ColumnAlign, ColumnDataType, ComboboxComponent, ContextMenuComponent, ContextMenuDirective, ContextMenuService, DatepickerComponent, DialogActionType, DialogComponent, DialogContentComponent, DialogFooterComponent, DialogHeaderComponent, DialogLayoutComponent, DialogLayoutModule, DialogService, DirectivesModule, FormModule, Formable, GridComponent, GridConfig, GridModule, ICON_COMPONENT, IconComponent, IconWrapperComponent, InputCheckboxComponent, InputContainerComponent, InputRadioComponent, InputTextComponent, LANGUAGE_TOKEN, LayoutModule, LoaderComponent, NotificationComponent, NotificationService, OverlayManager, POPOVER_DESTROY_TOKEN, PopoverComponent, PopoverDirective, PopoverService, ScrollDragDirective, Subscriptable, TOOLTIP_DESTROY_TOKEN, TRANSLATE_STORAGE_KEY, TooltipComponent, TooltipDirective, TooltipService, TranslatePipe, TranslateService, isDeepEqual, provideDolfoLanguages };
747
+ export { AutocompleteComponent, BaseFormInput, ButtonComponent, CONTEXT_MENU_DESTROY_TOKEN, ColumnAlign, ColumnDataType, ComboboxComponent, ContextMenuComponent, ContextMenuDirective, ContextMenuService, DatepickerComponent, DialogActionType, DialogComponent, DialogContentComponent, DialogFooterComponent, DialogHeaderComponent, DialogLayoutComponent, DialogLayoutModule, DialogService, DirectivesModule, FormComponent, FormModule, Formable, GridComponent, GridConfig, GridModule, ICON_COMPONENT, IconComponent, IconWrapperComponent, InputCheckboxComponent, InputContainerComponent, InputRadioComponent, InputTextComponent, LANGUAGE_TOKEN, LayoutModule, LoaderComponent, NotificationComponent, NotificationService, OverlayManager, POPOVER_DESTROY_TOKEN, PopoverComponent, PopoverDirective, PopoverService, ScrollDragDirective, Subscriptable, TOOLTIP_DESTROY_TOKEN, TRANSLATE_STORAGE_KEY, TooltipComponent, TooltipDirective, TooltipService, TranslatePipe, TranslateService, isDeepEqual, passwordValidator, provideDolfoLanguages };
740
748
  export type { AutocompleteConfig, ButtonColor, ButtonSize, ComboInput, ComboOption, ContextMenuItem, DialogComponentInput, DialogFooterButton, DialogForm, DialogIcon, DialogOutput, DialogType, GridAction, GridColumn, IContextMenu, IDialogInput, IGridConfig, ILanguage, ILanguageToken, INotificationInput, IPopover, ITooltip, IconName, InputType, NotificationAction, NotificationType, OnBlur, OnClick, OnFocus, TooltipDirection };