@bizdoc/core 3.6.7 → 3.6.8

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/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as _angular_forms from '@angular/forms';
2
2
  import { FormGroup, FormBuilder, ControlValueAccessor, NgControl, AbstractControl, FormControl, ValidationErrors, FormArray } from '@angular/forms';
3
3
  import * as i0 from '@angular/core';
4
- import { Type as Type$1, InjectionToken, Injector, TemplateRef, ElementRef, OnInit, OnDestroy, ViewContainerRef, DoCheck, EventEmitter, OnChanges, AfterViewInit, SimpleChanges, ChangeDetectorRef, PipeTransform, ComponentRef, NgZone, QueryList, Renderer2, ModuleWithProviders } from '@angular/core';
4
+ import { Type as Type$1, InjectionToken, Injector, TemplateRef, ElementRef, OnInit, OnDestroy, ViewContainerRef, DoCheck, EventEmitter, OnChanges, AfterViewInit, SimpleChanges, ChangeDetectorRef, PipeTransform, NgZone, ComponentRef, QueryList, Renderer2, ModuleWithProviders } from '@angular/core';
5
5
  import * as rxjs from 'rxjs';
6
6
  import { Subject, Observable, BehaviorSubject } from 'rxjs';
7
7
  import * as i8 from '@angular/material/chips';
@@ -1343,6 +1343,7 @@ declare class OptionsComponent implements OnInit, OnDestroy {
1343
1343
  sectionTmpl: TemplateRef<any>;
1344
1344
  saveing: boolean;
1345
1345
  private _requiredValidator;
1346
+ private _laterThan;
1346
1347
  readonly grantUserIds: _angular_forms.FormControl<never[] | null>;
1347
1348
  readonly oooId: _angular_forms.FormControl<string | PersonInfo | null>;
1348
1349
  readonly form: FormGroup<{
@@ -3487,6 +3488,31 @@ interface BrowseFilterArgs {
3487
3488
  tag?: string;
3488
3489
  }
3489
3490
 
3491
+ declare class CalendarPipe implements PipeTransform {
3492
+ private cdRef;
3493
+ private ngZone;
3494
+ private static refs;
3495
+ private static timer;
3496
+ private static midnight;
3497
+ private midnightSub;
3498
+ transform(value: any, ...args: any[]): string;
3499
+ constructor(cdRef: ChangeDetectorRef, ngZone: NgZone);
3500
+ private static initTimer;
3501
+ private static removeTimer;
3502
+ ngOnDestroy(): void;
3503
+ static ɵfac: i0.ɵɵFactoryDeclaration<CalendarPipe, never>;
3504
+ static ɵpipe: i0.ɵɵPipeDeclaration<CalendarPipe, "amCalendar", false>;
3505
+ }
3506
+ type CalendarSpecVal = string;
3507
+ interface CalendarSpec {
3508
+ sameDay?: CalendarSpecVal;
3509
+ nextDay?: CalendarSpecVal;
3510
+ lastDay?: CalendarSpecVal;
3511
+ nextWeek?: CalendarSpecVal;
3512
+ lastWeek?: CalendarSpecVal;
3513
+ sameElse?: CalendarSpecVal;
3514
+ }
3515
+
3490
3516
  declare class BrowseItemsComponent implements OnInit, OnChanges, OnDestroy {
3491
3517
  private _mailbox;
3492
3518
  private _accounts;
@@ -3503,6 +3529,7 @@ declare class BrowseItemsComponent implements OnInit, OnChanges, OnDestroy {
3503
3529
  folderId: string;
3504
3530
  filterType: FilterType;
3505
3531
  filters: BrowseFilterArgs;
3532
+ readonly CALENDAR_SPEC: CalendarSpec;
3506
3533
  sort: MatSort;
3507
3534
  paginator: MatPaginator;
3508
3535
  dataSource: MatTableDataSource<HeaderModel>;
@@ -3889,6 +3916,7 @@ declare class CommentsComponent implements OnInit, OnDestroy, OnChanges, AfterVi
3889
3916
 
3890
3917
  declare class AttachmentsComponent implements OnChanges {
3891
3918
  private _mailbox;
3919
+ private _translate;
3892
3920
  private _session;
3893
3921
  private _vc;
3894
3922
  private _sb;
@@ -3899,8 +3927,9 @@ declare class AttachmentsComponent implements OnChanges {
3899
3927
  viewedIndicator: boolean;
3900
3928
  includeDeleted: boolean;
3901
3929
  attachments: AttachmentExtra[];
3930
+ readonly CALENDAR_SPEC: CalendarSpec;
3902
3931
  /** mail-attachments ctor */
3903
- constructor(_mailbox: MailboxService, _session: SessionService, _vc: ViewContainerRef, _sb: PromptService, _overlay: Overlay, _injector: Injector, _dir: Directionality);
3932
+ constructor(_mailbox: MailboxService, _translate: TranslateService, _session: SessionService, _vc: ViewContainerRef, _sb: PromptService, _overlay: Overlay, _injector: Injector, _dir: Directionality);
3904
3933
  ngOnChanges(): void;
3905
3934
  hasVersion(item: Attachment): boolean;
3906
3935
  getVersions(item: Attachment): Attachment[];
@@ -4846,31 +4875,6 @@ declare class DateFormatPipe implements PipeTransform {
4846
4875
  static ɵpipe: i0.ɵɵPipeDeclaration<DateFormatPipe, "amDateFormat", false>;
4847
4876
  }
4848
4877
 
4849
- declare class CalendarPipe implements PipeTransform {
4850
- private cdRef;
4851
- private ngZone;
4852
- private static refs;
4853
- private static timer;
4854
- private static midnight;
4855
- private midnightSub;
4856
- transform(value: any, ...args: any[]): string;
4857
- constructor(cdRef: ChangeDetectorRef, ngZone: NgZone);
4858
- private static initTimer;
4859
- private static removeTimer;
4860
- ngOnDestroy(): void;
4861
- static ɵfac: i0.ɵɵFactoryDeclaration<CalendarPipe, never>;
4862
- static ɵpipe: i0.ɵɵPipeDeclaration<CalendarPipe, "amCalendar", false>;
4863
- }
4864
- type CalendarSpecVal = string;
4865
- interface CalendarSpec {
4866
- sameDay?: CalendarSpecVal;
4867
- nextDay?: CalendarSpecVal;
4868
- lastDay?: CalendarSpecVal;
4869
- nextWeek?: CalendarSpecVal;
4870
- lastWeek?: CalendarSpecVal;
4871
- sameElse?: CalendarSpecVal;
4872
- }
4873
-
4874
4878
  declare class DifferencePipe implements PipeTransform {
4875
4879
  transform(value: any, ...args: any[]): number;
4876
4880
  static ɵfac: i0.ɵɵFactoryDeclaration<DifferencePipe, never>;
@@ -6986,13 +6990,13 @@ declare class OutOfOfficeToast {
6986
6990
  private _accounts;
6987
6991
  private _ref;
6988
6992
  substitute: PersonInfo;
6989
- constructor(_router: RouterImpl, _accounts: AccountService, data: OutOfOfficeData$1, _ref: MatSnackBarRef<OutOfOfficeToast>);
6993
+ constructor(_router: RouterImpl, _accounts: AccountService, data: OutOfOfficeData, _ref: MatSnackBarRef<OutOfOfficeToast>);
6990
6994
  options(): void;
6991
6995
  dismiss(): void;
6992
6996
  static ɵfac: i0.ɵɵFactoryDeclaration<OutOfOfficeToast, never>;
6993
6997
  static ɵcmp: i0.ɵɵComponentDeclaration<OutOfOfficeToast, "bizdoc-outofoffice", never, {}, {}, never, never, false, never>;
6994
6998
  }
6995
- interface OutOfOfficeData$1 {
6999
+ interface OutOfOfficeData {
6996
7000
  substituteId: string;
6997
7001
  }
6998
7002
 
@@ -11393,7 +11397,7 @@ interface Options$1 {
11393
11397
  axes?: string[];
11394
11398
  }
11395
11399
 
11396
- interface OutOfOfficeData {
11400
+ interface OptionsData {
11397
11401
  userId: string;
11398
11402
  outOfOffice: OutOfOfficeSettings;
11399
11403
  grantAccess: GrantSettings;
@@ -11402,7 +11406,7 @@ declare class ProfileSettingsDialog implements OnInit {
11402
11406
  private _accounts;
11403
11407
  private _dialogRef;
11404
11408
  private _fb;
11405
- model: OutOfOfficeData;
11409
+ model: OptionsData;
11406
11410
  readonly separatorKeysCodes: number[];
11407
11411
  readonly today: Date;
11408
11412
  readonly isMobile: boolean;
@@ -11434,7 +11438,7 @@ declare class ProfileSettingsDialog implements OnInit {
11434
11438
  }>;
11435
11439
  ousers$: Observable<PersonInfo[]>;
11436
11440
  gusers$: Observable<PersonInfo[]>;
11437
- constructor(_accounts: AccountService, _dialogRef: MatDialogRef<ProfileSettingsDialog>, _fb: FormBuilder, model: OutOfOfficeData);
11441
+ constructor(_accounts: AccountService, _dialogRef: MatDialogRef<ProfileSettingsDialog>, _fb: FormBuilder, model: OptionsData);
11438
11442
  ngOnInit(): void;
11439
11443
  userDisplay: (item: PersonInfo) => string | null;
11440
11444
  setId(event: MatAutocompleteSelectedEvent): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "3.6.7",
3
+ "version": "3.6.8",
4
4
  "author": "Moding Ltd.",
5
5
  "homepage": "https://github.com/moding-il/bizdoc.core",
6
6
  "license": "https://github.com/moding-il/bizdoc.core/blob/master/License.md",