@bizdoc/core 3.7.2 → 3.8.1

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
@@ -1295,6 +1295,7 @@ declare class GuideService {
1295
1295
  private _injector;
1296
1296
  private _session;
1297
1297
  private _guides;
1298
+ private _overlayRef;
1298
1299
  constructor(_overlay: Overlay, _injector: Injector, _session: SessionService);
1299
1300
  get guides(): Guide[];
1300
1301
  /**
@@ -1474,7 +1475,7 @@ declare class OptionsComponent implements OnInit, OnDestroy {
1474
1475
  sectionTmpl: TemplateRef<any>;
1475
1476
  saveing: boolean;
1476
1477
  private _requiredValidator;
1477
- private _laterThan;
1478
+ private _sameDate;
1478
1479
  readonly grantUserIds: _angular_forms.FormControl<never[] | null>;
1479
1480
  readonly oooId: _angular_forms.FormControl<string | PersonInfo | null>;
1480
1481
  readonly form: FormGroup<{
@@ -3176,11 +3177,11 @@ declare class MailboxService {
3176
3177
  findAll(filter: {
3177
3178
  type?: FilterType;
3178
3179
  contains?: string;
3179
- stateId?: string;
3180
+ stateId?: string | string[];
3180
3181
  formId?: string;
3181
3182
  folderId?: string;
3182
3183
  senderId?: string;
3183
- tags?: string[];
3184
+ tags?: string | string[];
3184
3185
  fromDate?: Date;
3185
3186
  toDate?: Date;
3186
3187
  }, options?: {
@@ -3308,26 +3309,25 @@ declare class DocumentInfoPageComponent {
3308
3309
  }
3309
3310
 
3310
3311
  declare abstract class HomeBase implements OnInit {
3312
+ private _messaging;
3313
+ protected _session: SessionService;
3314
+ protected _translate: TranslateService;
3315
+ protected _snackBar: MatSnackBar;
3316
+ private _injector;
3311
3317
  chatEnabled: boolean;
3312
3318
  schedulerEnabled: boolean;
3313
3319
  profile: Profile;
3314
3320
  loading: boolean;
3315
3321
  enableAnalysis: boolean;
3316
3322
  appLogo?: SafeResourceUrl;
3317
- private _notifications;
3318
- private _messaging;
3319
- protected _session: SessionService;
3320
- protected _translate: TranslateService;
3321
- protected _snackBar: MatSnackBar;
3322
- private _injector;
3323
3323
  constructor(config: BizDocConfig);
3324
3324
  ngOnInit(): void;
3325
3325
  resize(): void;
3326
3326
  abstract onNewMessage(model: RecipientModel): void;
3327
- mails(): void;
3328
- notifs(_?: Event): void;
3329
- protected _is(name: string, val?: boolean): boolean | undefined;
3330
- protected _isOrDefault(name: string, defaultValue: any): any;
3327
+ protected _markInboxAsTouched(): void;
3328
+ protected _markNotificationsAsTouched(_?: Event): void;
3329
+ protected _set(name: string, val?: boolean): boolean | undefined;
3330
+ protected _is(name: string, defaultValue: any): any;
3331
3331
  static ɵfac: i0.ɵɵFactoryDeclaration<HomeBase, never>;
3332
3332
  static ɵdir: i0.ɵɵDirectiveDeclaration<HomeBase, never, never, {}, {}, never, never, true, never>;
3333
3333
  }
@@ -3404,13 +3404,14 @@ declare class HomeMobileComponent extends HomeBase implements OnInit {
3404
3404
  private _router;
3405
3405
  private _bs;
3406
3406
  private _dir;
3407
+ private _chat;
3407
3408
  mode: 'chat' | 'notifications';
3408
3409
  composeState: 'working' | 'done';
3409
3410
  contact?: Contact;
3410
3411
  composeEnabled: boolean;
3411
3412
  menuDrawer: MatSidenav;
3412
3413
  secondaryDrawer: MatSidenav;
3413
- constructor(_router: Router, _bs: MatBottomSheet, _dir: Directionality, chat: ChatInfo, config: BizDocConfig);
3414
+ constructor(_router: Router, _bs: MatBottomSheet, _dir: Directionality, _chat: ChatInfo, config: BizDocConfig);
3414
3415
  ngOnInit(): void;
3415
3416
  compose(): void;
3416
3417
  onNewMessage(model: RecipientModel<any>): void;
@@ -3421,7 +3422,7 @@ declare class HomeMobileComponent extends HomeBase implements OnInit {
3421
3422
  /** options */
3422
3423
  options(_?: Event): void;
3423
3424
  signout(): void;
3424
- notifs(_: Event): void;
3425
+ openNotifs(_: Event): void;
3425
3426
  static ɵfac: i0.ɵɵFactoryDeclaration<HomeMobileComponent, never>;
3426
3427
  static ɵcmp: i0.ɵɵComponentDeclaration<HomeMobileComponent, "bizdoc-mobile-home", never, {}, {}, never, never, false, never>;
3427
3428
  }
@@ -3442,7 +3443,7 @@ declare class BrowseFilterComponent implements OnInit, AfterViewInit, OnDestroy
3442
3443
  readonly form: _angular_forms.FormGroup<{
3443
3444
  contains: _angular_forms.FormControl<string | null>;
3444
3445
  formId: _angular_forms.FormControl<string | null>;
3445
- stateId: _angular_forms.FormControl<string | null>;
3446
+ stateId: _angular_forms.FormControl<string | string[] | null>;
3446
3447
  senderId: _angular_forms.FormControl<string | null>;
3447
3448
  tags: _angular_forms.FormControl<string[] | null>;
3448
3449
  fromDate: _angular_forms.FormControl<Date | null>;
@@ -3469,7 +3470,7 @@ declare class BrowseFilterComponent implements OnInit, AfterViewInit, OnDestroy
3469
3470
  constructor(_fb: FormBuilder, _session: SessionService, _cd: ChangeDetectorRef, _mailbox: MailboxService, _accounts: AccountService, _config: BizDocConfig);
3470
3471
  ngOnInit(): void;
3471
3472
  ngAfterViewInit(): void;
3472
- displayValue(val: any): any;
3473
+ displayName(val: any): any;
3473
3474
  change(axis: string, evt: MatAutocompleteSelectedEvent): void;
3474
3475
  clearSender(): void;
3475
3476
  axesChange(axes: AxesMap): void;
@@ -3485,7 +3486,7 @@ declare class BrowseFilterComponent implements OnInit, AfterViewInit, OnDestroy
3485
3486
  interface BrowseFilterArgs {
3486
3487
  formId?: string;
3487
3488
  flag?: boolean;
3488
- stateId?: string;
3489
+ stateId?: string | string[];
3489
3490
  contains?: string;
3490
3491
  senderId?: string;
3491
3492
  tags?: string[];
@@ -3629,6 +3630,7 @@ declare class BrowseMobileComponent implements OnInit, OnDestroy {
3629
3630
  constructor(_router: Router, _title: WindowTitleService, _session: SessionService, _route: ActivatedRoute, _directionality: Directionality, _dialog: MatDialog);
3630
3631
  ngOnInit(): void;
3631
3632
  get folder(): Folder | undefined;
3633
+ get anyFilters(): boolean;
3632
3634
  filterChange(filters: BrowseFilterArgs): void;
3633
3635
  open(item: RecipientModel<any>): void;
3634
3636
  insights(item: RecipientModel<any>): void;
@@ -6968,13 +6970,13 @@ declare class GuideComponent implements OnInit {
6968
6970
  private _data;
6969
6971
  private _session;
6970
6972
  private _overlay;
6971
- private _ngRouter;
6973
+ private _router;
6972
6974
  private _overlayRef;
6973
6975
  step: GuideStep;
6974
6976
  index: number;
6975
6977
  readonly count: number;
6976
6978
  working: boolean;
6977
- constructor(_data: Guide, _session: SessionService, _overlay: Overlay, _ngRouter: Router, _overlayRef: OverlayRef);
6979
+ constructor(_data: Guide, _session: SessionService, _overlay: Overlay, _router: RouterImpl, _overlayRef: OverlayRef);
6978
6980
  ngOnInit(): void;
6979
6981
  /**
6980
6982
  *
@@ -7049,6 +7051,7 @@ declare class NotificationsTableComponent extends NotificationsComponentBase imp
7049
7051
  /** notifications ctor */
7050
7052
  constructor(_popup: Popup);
7051
7053
  ngOnInit(): void;
7054
+ get anyFilters(): boolean;
7052
7055
  private _query;
7053
7056
  discardAll(): void;
7054
7057
  read(item: Message, read: boolean): void;
@@ -7471,8 +7474,9 @@ declare class TraceViewComponent extends TraceBase {
7471
7474
  readonly CALENDAR_SPEC: CalendarSpec;
7472
7475
  constructor(session: SessionService, _translate: TranslateService, _accounts: AccountService, _chat: ChatInfo, hub: HubService);
7473
7476
  ngOnChanges(_: SimpleChanges): void;
7474
- protected _initialize(): Promise<void>;
7477
+ _initialize(): Promise<void>;
7475
7478
  private _filter;
7479
+ get anyFilters(): boolean;
7476
7480
  private _showMode;
7477
7481
  get showMode(): ShowMode;
7478
7482
  set showMode(value: ShowMode);
@@ -7531,7 +7535,7 @@ declare class TagsComponent implements OnInit, OnDestroy, AfterViewInit {
7531
7535
  tags: Tag$1[];
7532
7536
  inputElement: ElementRef<HTMLInputElement>;
7533
7537
  auto: MatAutocomplete;
7534
- options: Observable<Tag$1[]>;
7538
+ options$: Observable<Tag$1[]>;
7535
7539
  readonly separatorKeysCodes: number[];
7536
7540
  private readonly _options;
7537
7541
  private readonly _destroy;
@@ -8293,7 +8297,8 @@ declare class WidgetItemComponent implements OnInit, AfterViewInit, OnDestroy {
8293
8297
  ngAfterViewInit(): void;
8294
8298
  private _dim;
8295
8299
  refresh(args?: any): void;
8296
- filter(evt: Event): void;
8300
+ get anyFilters(): boolean;
8301
+ openFilter(evt: Event): void;
8297
8302
  resize(): void;
8298
8303
  ngOnDestroy(): void;
8299
8304
  static ɵfac: i0.ɵɵFactoryDeclaration<WidgetItemComponent, never>;
@@ -9620,19 +9625,19 @@ declare class HomeComponent extends HomeBase {
9620
9625
  private _guide;
9621
9626
  private _auth;
9622
9627
  constructor(_router: PanesRouter, _service: SearchService, _factory: DocumentFactory, _popup: Popup, _guide: GuideService, _auth: AuthenticationImpl, config: BizDocConfig);
9623
- isDialogMode: boolean;
9624
9628
  readonly isSysAdmin: boolean;
9625
9629
  readonly canSignOut: boolean;
9626
- readonly forms: _bizdoc_core.Form[];
9630
+ readonly forms: Form[];
9627
9631
  creating: boolean;
9628
- private _submenuMode;
9629
- get submenuMode(): 'full' | 'shrink';
9630
- set submenuMode(value: 'full' | 'shrink');
9631
- private _submenu;
9632
- private _path;
9632
+ isDialogMode: boolean;
9633
+ private _subMenuMode;
9634
+ get subMenuMode(): 'full' | 'shrink';
9635
+ set subMenuMode(value: 'full' | 'shrink');
9636
+ private _subMenu;
9637
+ private _activeSegment;
9633
9638
  get activeMenu(): string;
9634
- get submenu(): string | null;
9635
- set submenu(value: string | null);
9639
+ get subMenu(): string | null;
9640
+ set subMenu(value: string | null);
9636
9641
  private _collapsed;
9637
9642
  get collapsed(): any;
9638
9643
  set collapsed(value: any);
@@ -9655,20 +9660,20 @@ declare class HomeComponent extends HomeBase {
9655
9660
  signout(evt: Event): void;
9656
9661
  nav(path: string): void;
9657
9662
  onNewMessage(model: RecipientModel): void;
9658
- closesubmenu(): void;
9659
- opennew(): void;
9663
+ closeSubMenu(): void;
9664
+ openNew(): void;
9660
9665
  private _create;
9661
- opensubmenu(menu: string): void;
9662
- collapsesubmenu(): void;
9666
+ openSubMenu(menu: string): void;
9667
+ collapseSubMenu(): void;
9663
9668
  togglePinned(): void;
9664
- mails(): void;
9669
+ openMailbox(): void;
9665
9670
  /**
9666
9671
  * Alt+n, Alt+a, Ctrl + .
9667
9672
  * @param event
9668
9673
  */
9669
9674
  handleKeyboardEvent(event: KeyboardEvent): void;
9670
- openguide(name: string): void;
9671
- notifs(evt: Event): void;
9675
+ openGuide(name: string): void;
9676
+ openNotifs(evt: Event): void;
9672
9677
  toggle(evt: Event): void;
9673
9678
  collapse(evt: Event): void;
9674
9679
  focus(): void;
@@ -9924,8 +9929,8 @@ declare class BrowsePaneComponent implements OnInit {
9924
9929
  constructor(_pane: PaneRef<BrowsePaneComponent>, _session: SessionService, _popup: Popup, _router: PanesRouter, _directionality: Directionality, _translate: TranslateService, _breakpointObserver: BreakpointObserver, _dialog: MatDialog);
9925
9930
  ngOnInit(): void;
9926
9931
  get folder(): Folder | undefined;
9927
- get hasFilters(): boolean;
9928
- openFilter(evt?: Event): void;
9932
+ get anyFilters(): boolean;
9933
+ openFilter(_evt?: Event): void;
9929
9934
  /**
9930
9935
  * Alt-s, Alt-q
9931
9936
  * @param event
@@ -11118,11 +11123,11 @@ declare class ConfigurationDesignerComponent implements UtilityComponent, OnInit
11118
11123
  */
11119
11124
  handleKeyboardEvent(event: KeyboardEvent): void;
11120
11125
  clearSearch(): void;
11121
- /**
11126
+ get anyFilters(): boolean; /**
11122
11127
  *
11123
11128
  * @param evt
11124
11129
  */
11125
- openFilter(evt?: Event): void;
11130
+ openFilter(_evt?: Event): void;
11126
11131
  /**
11127
11132
  *
11128
11133
  * @param section
@@ -11413,24 +11418,25 @@ declare class ProfileSettingsDialog implements OnInit {
11413
11418
  readonly grants: _angular_forms.FormControl<never[] | null>;
11414
11419
  substitueInput: MatInput;
11415
11420
  grantInput: MatChipInput;
11416
- readonly outOfOffice: _angular_forms.FormGroup<{
11421
+ private _sameDate;
11422
+ readonly outOfOffice: FormGroup<{
11417
11423
  active: _angular_forms.FormControl<boolean | null>;
11418
11424
  substitueId: _angular_forms.FormControl<string | null>;
11419
11425
  from: _angular_forms.FormControl<Date | null>;
11420
11426
  to: _angular_forms.FormControl<Date | null>;
11421
11427
  }>;
11422
- readonly grantAccess: _angular_forms.FormGroup<{
11428
+ readonly grantAccess: FormGroup<{
11423
11429
  active: _angular_forms.FormControl<boolean | null>;
11424
11430
  users: _angular_forms.FormControl<string[] | null>;
11425
11431
  }>;
11426
- readonly form: _angular_forms.FormGroup<{
11427
- outOfOffice: _angular_forms.FormGroup<{
11432
+ readonly form: FormGroup<{
11433
+ outOfOffice: FormGroup<{
11428
11434
  active: _angular_forms.FormControl<boolean | null>;
11429
11435
  substitueId: _angular_forms.FormControl<string | null>;
11430
11436
  from: _angular_forms.FormControl<Date | null>;
11431
11437
  to: _angular_forms.FormControl<Date | null>;
11432
11438
  }>;
11433
- grantAccess: _angular_forms.FormGroup<{
11439
+ grantAccess: FormGroup<{
11434
11440
  active: _angular_forms.FormControl<boolean | null>;
11435
11441
  users: _angular_forms.FormControl<string[] | null>;
11436
11442
  }>;
@@ -11702,6 +11708,7 @@ declare class DocumentTraceComponent implements OnInit, OnDestroy {
11702
11708
  /** workflow ctor */
11703
11709
  constructor(_utilityRef: UtilityRef<DiagramInfo, MoveModel, DiagramInfo, number>, _service: SystemService, _session: SessionService, _pane: PaneRef<DocumentTraceComponent>, _router: PanesRouter, _sb: PromptService, _translate: TranslateService, _popup: Popup, _guide: GuideService, _cd: ChangeDetectorRef, _fb: FormBuilder);
11704
11710
  ngOnInit(): void;
11711
+ get anyFilters(): boolean;
11705
11712
  openFilter(evt: Event): void;
11706
11713
  private _list;
11707
11714
  rangeChanged(args: IChangedEventArgs): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "3.7.2",
3
+ "version": "3.8.1",
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",
@@ -34,7 +34,7 @@
34
34
  "ace-builds": "1.43",
35
35
  "cookie": "^1.0.2",
36
36
  "dayjs": "^1.11.13",
37
- "firebase": "11.9",
37
+ "firebase": "12.0",
38
38
  "hammerjs": "~2",
39
39
  "ngx-cookie-service": "20",
40
40
  "zone.js": "0.15",