dolfo-angular 1.213.0 → 1.215.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,12 +1,12 @@
1
1
  {
2
2
  "name": "dolfo-angular",
3
- "version": "1.213.0",
3
+ "version": "1.215.0",
4
4
  "peerDependencies": {
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
- "@angular/router": "^21.2.14"
5
+ "@angular/common": "^22.0.5",
6
+ "@angular/core": "^22.0.5",
7
+ "@angular/forms": "^22.0.5",
8
+ "@angular/platform-browser": "^22.0.5",
9
+ "@angular/router": "^22.0.5"
10
10
  },
11
11
  "dependencies": {
12
12
  "tslib": "^2.8.1"
@@ -264,30 +264,24 @@ declare class ContextMenuService {
264
264
  static ɵprov: i0.ɵɵInjectableDeclaration<ContextMenuService>;
265
265
  }
266
266
 
267
- declare class TranslateService {
268
- private lang$;
269
- private langContent;
270
- private langs;
271
- private httpClient;
272
- constructor(langConfig: ILanguageToken);
273
- changeLanguage$: (langName: string) => rxjs.Observable<Record<string, string>>;
274
- loadFromStorage$: () => rxjs.Observable<Record<string, string>>;
275
- private load$;
276
- translate: (key: string, params?: Record<string, string>) => string;
277
- getLang: () => ILanguage;
278
- getLang$: () => rxjs.Observable<ILanguage>;
279
- private getLocale;
280
- formatDate: (d: string) => string;
281
- formatDateTime: (d: string) => string;
282
- static ɵfac: i0.ɵɵFactoryDeclaration<TranslateService, never>;
283
- static ɵprov: i0.ɵɵInjectableDeclaration<TranslateService>;
267
+ declare class DialogUtilsService {
268
+ private dialogService;
269
+ private translateService;
270
+ showLoading$: <T, T2>(obs: (res: T2) => Observable<T>) => rxjs.OperatorFunction<T2, T>;
271
+ hideLoading: () => void;
272
+ closeLatestDialog: () => void;
273
+ closeWithAction: <T>(data: T) => void;
274
+ openDialogComponent: (component: DialogComponentInput) => Observable<dolfo_angular.DialogOutput>;
275
+ openDialog: (input: IDialogInput) => Observable<dolfo_angular.DialogOutput>;
276
+ askConfirmAndLoad: <T>(input: Pick<IDialogInput, "title" | "message" | "hideCloseX" | "width">, obs: (resp: DialogActionType) => Observable<T>, getDialogResp?: boolean) => Observable<T>;
277
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogUtilsService, never>;
278
+ static ɵprov: i0.ɵɵInjectableDeclaration<DialogUtilsService>;
284
279
  }
285
280
 
286
281
  declare class DialogService {
287
- private ts;
288
282
  private dialog$;
289
283
  private waiters;
290
- constructor(ts: TranslateService);
284
+ private ts;
291
285
  private getLastWaiter;
292
286
  getDialog: () => (IDialogInput & {
293
287
  _dialogId: number;
@@ -304,21 +298,6 @@ declare class DialogService {
304
298
  static ɵprov: i0.ɵɵInjectableDeclaration<DialogService>;
305
299
  }
306
300
 
307
- declare class DialogUtilsService {
308
- private dialogService;
309
- private translateService;
310
- constructor(dialogService: DialogService, translateService: TranslateService);
311
- showLoading$: <T, T2>(obs: (res: T2) => Observable<T>) => rxjs.OperatorFunction<T2, T>;
312
- hideLoading: () => void;
313
- closeLatestDialog: () => void;
314
- closeWithAction: <T>(data: T) => void;
315
- openDialogComponent: (component: DialogComponentInput) => Observable<dolfo_angular.DialogOutput>;
316
- openDialog: (input: IDialogInput) => Observable<dolfo_angular.DialogOutput>;
317
- askConfirmAndLoad: <T>(input: Pick<IDialogInput, "title" | "message" | "hideCloseX" | "width">, obs: (resp: DialogActionType) => Observable<T>, getDialogResp?: boolean) => Observable<T>;
318
- static ɵfac: i0.ɵɵFactoryDeclaration<DialogUtilsService, never>;
319
- static ɵprov: i0.ɵɵInjectableDeclaration<DialogUtilsService>;
320
- }
321
-
322
301
  declare class NotificationService {
323
302
  private notification$;
324
303
  private history$;
@@ -376,6 +355,26 @@ declare class TooltipService {
376
355
  static ɵprov: i0.ɵɵInjectableDeclaration<TooltipService>;
377
356
  }
378
357
 
358
+ declare class TranslateService {
359
+ private lang$;
360
+ private langContent;
361
+ private langs;
362
+ private httpClient;
363
+ private langConfig;
364
+ constructor();
365
+ changeLanguage$: (langName: string) => rxjs.Observable<Record<string, string>>;
366
+ loadFromStorage$: () => rxjs.Observable<Record<string, string>>;
367
+ private load$;
368
+ translate: (key: string, params?: Record<string, string>) => string;
369
+ getLang: () => ILanguage;
370
+ getLang$: () => rxjs.Observable<ILanguage>;
371
+ private getLocale;
372
+ formatDate: (d: string) => string;
373
+ formatDateTime: (d: string) => string;
374
+ static ɵfac: i0.ɵɵFactoryDeclaration<TranslateService, never>;
375
+ static ɵprov: i0.ɵɵInjectableDeclaration<TranslateService>;
376
+ }
377
+
379
378
  declare class InputContainerComponent {
380
379
  input: BaseFormInput<unknown>;
381
380
  private elRef;
@@ -533,11 +532,12 @@ declare abstract class Formable<T = object> extends Subscriptable implements OnD
533
532
  loading$: BehaviorSubject<boolean>;
534
533
  protected notificationService: NotificationService;
535
534
  protected translateService: TranslateService;
536
- private cdr;
535
+ protected cdr: ChangeDetectorRef;
537
536
  private subForm;
538
537
  protected abstract submit: (_formValue: T) => Observable<unknown>;
539
538
  ngAfterViewInit(): void;
540
539
  ngAfterViewChecked(): void;
540
+ private findInForm;
541
541
  protected manualSubmit: () => void;
542
542
  static ɵfac: i0.ɵɵFactoryDeclaration<Formable<any>, never>;
543
543
  static ɵdir: i0.ɵɵDirectiveDeclaration<Formable<any>, never, never, {}, {}, never, never, true, never>;
@@ -779,13 +779,13 @@ declare class DialogContentComponent implements OnInit {
779
779
  }
780
780
 
781
781
  declare class DialogFooterComponent implements OnInit, AfterViewChecked {
782
- private cdr;
783
782
  template: TemplateRef<unknown>;
784
783
  childrenButtons: QueryList<ButtonComponent>;
785
784
  buttons: DialogFooterButton[];
786
785
  private focused;
787
- constructor(cdr: ChangeDetectorRef);
788
- ngOnInit(): void;
786
+ private cdr;
787
+ private injector;
788
+ ngOnInit(): Promise<void>;
789
789
  ngAfterViewChecked(): void;
790
790
  static ɵfac: i0.ɵɵFactoryDeclaration<DialogFooterComponent, never>;
791
791
  static ɵcmp: i0.ɵɵComponentDeclaration<DialogFooterComponent, "dolfo-dialog-footer", never, { "buttons": { "alias": "buttons"; "required": true; }; }, {}, never, never, false, never>;