@bizdoc/core 3.8.10 → 3.9.2

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
@@ -150,8 +150,8 @@ interface HeaderModel<T = any> {
150
150
  documentId: number;
151
151
  substituteId?: string;
152
152
  ownerId: string;
153
- action?: string;
154
- ownerById?: string;
153
+ actionId?: string;
154
+ ownerBy?: string;
155
155
  id: number;
156
156
  version: number;
157
157
  formId: string;
@@ -160,12 +160,14 @@ interface HeaderModel<T = any> {
160
160
  value?: number;
161
161
  received: Date;
162
162
  replied?: Date;
163
+ repliedBy?: string;
163
164
  folderId: string;
164
165
  read: boolean;
165
166
  note?: string;
166
- /** sender id */
167
+ /** author of note */
167
168
  noteBy?: string;
168
169
  senderId?: string;
170
+ senderBy?: string;
169
171
  stateId: string;
170
172
  currencyCode?: string;
171
173
  flag?: boolean;
@@ -182,7 +184,7 @@ interface DocumentModel<T = any> {
182
184
  currencyCode?: string;
183
185
  value?: number;
184
186
  ownerId: string;
185
- ownerById?: string;
187
+ ownerBy?: string;
186
188
  documentId: number;
187
189
  version: number;
188
190
  formId: string;
@@ -232,7 +234,7 @@ interface RecipientModel<T = any> extends HeaderModel<T>, DocumentModel<T> {
232
234
  roleId?: string;
233
235
  escalated?: boolean;
234
236
  tags?: string[];
235
- byId?: string;
237
+ repliedBy?: string;
236
238
  substituteId?: string;
237
239
  }
238
240
  interface ConnectorInfo {
@@ -279,7 +281,8 @@ declare type LogType = 'Submit' | 'Download' | 'StateChange' | 'ActionTaken' | '
279
281
  interface Recipient {
280
282
  originId?: number;
281
283
  substituteId?: string;
282
- byId?: string;
284
+ senderId?: string;
285
+ senderBy?: string;
283
286
  nodeId?: string;
284
287
  userId: string;
285
288
  pending: boolean;
@@ -287,8 +290,9 @@ interface Recipient {
287
290
  role?: string;
288
291
  received: Date;
289
292
  replied?: Date;
293
+ repliedBy?: string;
290
294
  estimate?: boolean;
291
- action?: string;
295
+ actionId?: string;
292
296
  fyi?: boolean;
293
297
  id: number;
294
298
  note?: string;
@@ -412,7 +416,6 @@ interface Profile {
412
416
  byId?: string;
413
417
  byName?: string;
414
418
  name: string;
415
- impersonating?: string;
416
419
  available?: AvailabilityState | null;
417
420
  gender?: Gender;
418
421
  byGender?: Gender;
@@ -432,11 +435,12 @@ interface Profile {
432
435
  widgets: Widget[];
433
436
  notifications: Notification[];
434
437
  options: Options$5;
435
- inbox: HeaderModel[];
436
- inboxCount?: number;
438
+ /** unread */
439
+ inboxCount: number;
437
440
  messages: Message[];
438
- messagesCount?: number;
439
- recents?: HeaderModel[];
441
+ /** unread */
442
+ messagesCount: number;
443
+ /** chat */
440
444
  conversations: Contact[];
441
445
  conversationsCount: number;
442
446
  license?: License;
@@ -1188,8 +1192,8 @@ declare class SessionService {
1188
1192
  */
1189
1193
  listImpersonate(search?: string): Observable<PersonInfo[]>;
1190
1194
  impersonate(userId: string): Observable<PersonInfo>;
1191
- markInboxAsTouched(): Promise<WatermarkInfo>;
1192
- markNotificationsAsTouched(): Promise<WatermarkInfo>;
1195
+ markInboxAsTouched(): Promise<void> | Promise<WatermarkInfo>;
1196
+ markNotificationsAsTouched(): Promise<void> | Promise<WatermarkInfo>;
1193
1197
  private _constructPalette;
1194
1198
  private _getBrowserLang;
1195
1199
  /**
@@ -3907,7 +3911,7 @@ declare class CommentsComponent implements OnInit, OnDestroy, OnChanges, AfterVi
3907
3911
  threadElement: ElementRef;
3908
3912
  input: EditInputComponent;
3909
3913
  typing?: string | null;
3910
- replyName?: string;
3914
+ replyName?: string | null;
3911
3915
  readonly showDeleted: Set<number>;
3912
3916
  private _replyTo?;
3913
3917
  private _inFocus;
@@ -7591,6 +7595,7 @@ declare class MaskComponent {
7591
7595
  declare class FlowViewComponent extends TraceBase implements AfterViewInit, OnDestroy {
7592
7596
  private _accounts;
7593
7597
  private _translate;
7598
+ private _popup;
7594
7599
  private _duration;
7595
7600
  private _elementRef;
7596
7601
  model: DocumentModel<any>;
@@ -7616,7 +7621,7 @@ declare class FlowViewComponent extends TraceBase implements AfterViewInit, OnDe
7616
7621
  connectors: ConnectorModel[];
7617
7622
  indicators: NodeModel[];
7618
7623
  /** workflow-view ctor */
7619
- constructor(_accounts: AccountService, _translate: TranslateService, _duration: DurationFormatPipe, _elementRef: ElementRef<HTMLDivElement>, session: SessionService, hub: HubService);
7624
+ constructor(_accounts: AccountService, _translate: TranslateService, _popup: Popup, _duration: DurationFormatPipe, _elementRef: ElementRef<HTMLDivElement>, session: SessionService, hub: HubService);
7620
7625
  /** */
7621
7626
  ngAfterViewInit(): void;
7622
7627
  ngOnChanges(_changes: SimpleChanges): void;
@@ -7624,6 +7629,7 @@ declare class FlowViewComponent extends TraceBase implements AfterViewInit, OnDe
7624
7629
  protected _initialize(): Promise<void>;
7625
7630
  private _addIndicators;
7626
7631
  private _refresh;
7632
+ private _mouseEnter;
7627
7633
  /** */
7628
7634
  private _prepare;
7629
7635
  /**
@@ -7840,7 +7846,7 @@ declare class ExpandedItemComponent implements OnInit, OnDestroy {
7840
7846
  actions?: Action[];
7841
7847
  newComments?: number;
7842
7848
  typing?: boolean;
7843
- note: string;
7849
+ note?: string | null;
7844
7850
  sender?: string;
7845
7851
  awaiting?: string;
7846
7852
  tags?: Tag$1[];
@@ -7850,13 +7856,16 @@ declare class ExpandedItemComponent implements OnInit, OnDestroy {
7850
7856
  private readonly _destroy;
7851
7857
  constructor(_sb: PromptService, _chat: ChatInfo, _accounts: AccountService, _mailbox: MailboxService, _session: SessionService, _dir: Directionality, _dialog: MatDialog, _translate: TranslateService, _messaging: HubService);
7852
7858
  ngOnInit(): void;
7859
+ /** */
7860
+ private _refresh;
7861
+ /** */
7853
7862
  private _note;
7854
7863
  private _target;
7855
7864
  private _actionName;
7856
7865
  private _fromNow;
7857
7866
  private _duration;
7858
7867
  /** */
7859
- private _refresh;
7868
+ private _sender;
7860
7869
  private _comments;
7861
7870
  private _awaiting;
7862
7871
  /**
@@ -7870,7 +7879,6 @@ declare class ExpandedItemComponent implements OnInit, OnDestroy {
7870
7879
  * @param action
7871
7880
  */
7872
7881
  send(action: string): void;
7873
- private _getActionAdjective;
7874
7882
  /**
7875
7883
  *
7876
7884
  * @param response
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "3.8.10",
3
+ "version": "3.9.2",
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",