@bizdoc/core 1.13.0-next.15 → 1.13.0-next.16

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.
@@ -35,6 +35,7 @@ export declare class ExpandedItemComponent implements OnInit, OnDestroy {
35
35
  constructor(_sb: PromptService, _chat: ChatInfo, _accounts: AccountService, _mailbox: MailboxService, _session: SessionService, _dir: Directionality, _dialog: MatDialog, _translate: TranslateService, _messaging: HubService);
36
36
  ngOnInit(): void;
37
37
  private _note;
38
+ private _target;
38
39
  private _actionName;
39
40
  private _fromNow;
40
41
  private _duration;
@@ -6,6 +6,7 @@ import { SessionService } from '../../core/session.service';
6
6
  import { ActionBase } from './action.base';
7
7
  import { PromptService } from '../../core/prompt.service';
8
8
  import { AccountService } from '../../core/account.service';
9
+ import { TranslateService } from '../../core/translate.service';
9
10
  import * as i0 from "@angular/core";
10
11
  export declare class ActionPicker extends ActionBase implements OnChanges, AfterViewInit {
11
12
  model: RecipientModel<any>;
@@ -14,7 +15,7 @@ export declare class ActionPicker extends ActionBase implements OnChanges, After
14
15
  working: boolean;
15
16
  readonly workingChange: EventEmitter<boolean>;
16
17
  actions: Action[];
17
- constructor(model: RecipientModel<any>, _session: SessionService, mailbox: MailboxService, _dialog: MatDialog, accounts: AccountService, sb: PromptService);
18
+ constructor(model: RecipientModel<any>, _session: SessionService, mailbox: MailboxService, _dialog: MatDialog, accounts: AccountService, translate: TranslateService, sb: PromptService);
18
19
  ngAfterViewInit(): void;
19
20
  ngOnChanges(changes: SimpleChanges): void;
20
21
  private _sortActions;
@@ -1,13 +1,15 @@
1
+ import { Action, RecipientModel } from '../../core/models';
1
2
  import { AccountService } from '../../core/account.service';
2
3
  import { MailboxService } from '../../core/mailbox.service';
3
- import { Action, RecipientModel } from '../../core/models';
4
4
  import { PromptService } from '../../core/prompt.service';
5
+ import { TranslateService } from '../../core/translate.service';
5
6
  export declare abstract class ActionBase {
6
7
  private _mailbox;
7
8
  private _accounts;
8
9
  protected _sb: PromptService;
10
+ private _translate;
9
11
  model: RecipientModel<any>;
10
- constructor(_mailbox: MailboxService, _accounts: AccountService, _sb: PromptService);
12
+ constructor(_mailbox: MailboxService, _accounts: AccountService, _sb: PromptService, _translate: TranslateService);
11
13
  protected _ok(action: Action, args: any): import("rxjs").Observable<RecipientModel<any>>;
12
14
  private _handleError;
13
15
  }
@@ -8,6 +8,7 @@ import { PromptService } from '../../core/prompt.service';
8
8
  import { ParamMap } from '../../core/configuration';
9
9
  import { ActionBase } from './action.base';
10
10
  import { AccountService } from '../../core/account.service';
11
+ import { TranslateService } from '../../core/translate.service';
11
12
  import * as i0 from "@angular/core";
12
13
  export declare class ActionPaneComponent extends ActionBase implements OnInit, OnDestroy {
13
14
  private _pane;
@@ -20,7 +21,7 @@ export declare class ActionPaneComponent extends ActionBase implements OnInit, O
20
21
  readonly okChange: EventEmitter<ParamMap>;
21
22
  private readonly _destroy;
22
23
  /** action-dialog ctor */
23
- constructor(_pane: PaneRef<ActionPaneComponent>, mailbox: MailboxService, _fr: BizDocComponentFactoryResolver, _fr2: ComponentFactoryResolver, accounts: AccountService, sb: PromptService, session: SessionService);
24
+ constructor(_pane: PaneRef<ActionPaneComponent>, mailbox: MailboxService, _fr: BizDocComponentFactoryResolver, _fr2: ComponentFactoryResolver, accounts: AccountService, sb: PromptService, translate: TranslateService, session: SessionService);
24
25
  close(): void;
25
26
  ok(): void;
26
27
  ngOnInit(): void;
@@ -61,7 +61,6 @@ export interface DocumentModel<T = any> {
61
61
  };
62
62
  parent?: Chain;
63
63
  children?: Chain[];
64
- toId?: string;
65
64
  }
66
65
  export interface Chain {
67
66
  completed: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "1.13.0-next.15",
3
+ "version": "1.13.0-next.16",
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",