@bizdoc/core 1.12.4 → 1.13.0-next.12

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.
Files changed (41) hide show
  1. package/assets/bizdoc-schema.json +1 -14
  2. package/esm2020/lib/admin/diff/configuration-diff.component.mjs +5 -2
  3. package/esm2020/lib/admin/document-trace/trace-element.component.mjs +24 -28
  4. package/esm2020/lib/admin/form/workflow/node.component.mjs +3 -2
  5. package/esm2020/lib/admin/positions/positions-popup.component.mjs +1 -1
  6. package/esm2020/lib/app.component.mjs +1 -1
  7. package/esm2020/lib/browse/browse-items.component.mjs +3 -3
  8. package/esm2020/lib/browse/expanded-item/expanded-item.component.mjs +61 -49
  9. package/esm2020/lib/compose/action/assign-action.component.mjs +52 -26
  10. package/esm2020/lib/compose/compose.pane.component.mjs +3 -4
  11. package/esm2020/lib/compose/trace/flow.component.mjs +139 -150
  12. package/esm2020/lib/compose/trace/trace.component.mjs +62 -61
  13. package/esm2020/lib/core/configuration.mjs +1 -2
  14. package/esm2020/lib/core/mailbox.service.mjs +29 -6
  15. package/esm2020/lib/core/models.mjs +1 -1
  16. package/esm2020/lib/core/slots/router.service.mjs +16 -4
  17. package/esm2020/lib/core/slots/slots.component.mjs +4 -6
  18. package/esm2020/lib/core/translations.mjs +19 -2
  19. package/esm2020/lib/cube/cube.service.mjs +3 -3
  20. package/esm2020/lib/cube/explore/explore-items.component.mjs +2 -3
  21. package/esm2020/lib/cube/pivot/pivot.component.mjs +78 -76
  22. package/esm2020/lib/routes.desktop.mjs +2 -2
  23. package/fesm2015/bizdoc-core.mjs +558 -490
  24. package/fesm2015/bizdoc-core.mjs.map +1 -1
  25. package/fesm2020/bizdoc-core.mjs +561 -487
  26. package/fesm2020/bizdoc-core.mjs.map +1 -1
  27. package/lib/admin/diff/configuration-diff.component.d.ts +1 -0
  28. package/lib/admin/document-trace/trace-element.component.d.ts +1 -1
  29. package/lib/app.component.d.ts +2 -2
  30. package/lib/browse/expanded-item/expanded-item.component.d.ts +6 -6
  31. package/lib/compose/action/assign-action.component.d.ts +16 -5
  32. package/lib/compose/trace/flow.component.d.ts +0 -1
  33. package/lib/compose/trace/trace.component.d.ts +5 -4
  34. package/lib/core/configuration.d.ts +1 -2
  35. package/lib/core/mailbox.service.d.ts +4 -1
  36. package/lib/core/models.d.ts +6 -4
  37. package/lib/core/slots/router.service.d.ts +4 -0
  38. package/lib/core/translations.d.ts +18 -1
  39. package/lib/cube/cube.service.d.ts +1 -1
  40. package/lib/cube/pivot/pivot.component.d.ts +1 -2
  41. package/package.json +10 -10
@@ -105,6 +105,7 @@ export declare class SystemDiffComponent implements OnInit, OnDestroy, UtilityCo
105
105
  interface VersionInfo {
106
106
  time: Date;
107
107
  author: string;
108
+ file?: string;
108
109
  }
109
110
  interface ConfigurtionInfo {
110
111
  }
@@ -29,7 +29,7 @@ export declare class TraceElementComponent implements OnChanges {
29
29
  nodeType: any;
30
30
  constructor(_chat: ChatInfo, _router: PanesRouter, _translate: TranslateService, _accounts: AccountService, _session: SessionService);
31
31
  ngOnChanges(): void;
32
- recipientInfo(recipient: Recipient): Observable<string>;
32
+ recipientInfo(recipient: Recipient): Promise<string>;
33
33
  logInfo(log: Log): Observable<string>;
34
34
  compare(item: Log): void;
35
35
  chat(e: MouseEvent): void;
@@ -14,8 +14,8 @@ export declare class BizDocApp implements OnInit {
14
14
  private _cfr;
15
15
  private _session;
16
16
  private _messaging;
17
- dir: Direction;
18
- private _refresh;
17
+ readonly dir: Direction;
18
+ private readonly _refresh;
19
19
  constructor(_vc: ViewContainerRef, _cfr: ComponentFactoryResolver, _session: SessionService, _messaging: HubService, iconRegistry: MatIconRegistry, sanitizer: DomSanitizer);
20
20
  private _initialize;
21
21
  ngOnInit(): void;
@@ -14,13 +14,13 @@ export declare class ExpandedItemComponent implements OnInit, OnDestroy {
14
14
  private _sb;
15
15
  private _chat;
16
16
  private _accounts;
17
- private _dir;
18
- private _translate;
19
17
  private _mailbox;
20
- private _dialog;
21
18
  private _session;
19
+ private _dir;
20
+ private _dialog;
21
+ private _translate;
22
22
  private _messaging;
23
- item: RecipientModel<any>;
23
+ model: RecipientModel<any>;
24
24
  readonly sent: EventEmitter<RecipientModel<any>>;
25
25
  actions?: Action[];
26
26
  newComments?: number;
@@ -32,7 +32,7 @@ export declare class ExpandedItemComponent implements OnInit, OnDestroy {
32
32
  private _typingTask;
33
33
  private _refreshTask;
34
34
  private readonly _destroy;
35
- constructor(_sb: PromptService, _chat: ChatInfo, _accounts: AccountService, _dir: Directionality, _translate: TranslateService, _mailbox: MailboxService, _dialog: MatDialog, _session: SessionService, _messaging: HubService);
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
38
  private _actionName;
@@ -62,5 +62,5 @@ export declare class ExpandedItemComponent implements OnInit, OnDestroy {
62
62
  private _handleResponse;
63
63
  ngOnDestroy(): void;
64
64
  static ɵfac: i0.ɵɵFactoryDeclaration<ExpandedItemComponent, never>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<ExpandedItemComponent, "bizdoc-expanded-item", never, { "item": "item"; }, { "sent": "sent"; }, never, never>;
65
+ static ɵcmp: i0.ɵɵComponentDeclaration<ExpandedItemComponent, "bizdoc-expanded-item", never, { "model": "model"; }, { "sent": "sent"; }, never, never>;
66
66
  }
@@ -1,4 +1,4 @@
1
- import { OnDestroy, OnInit } from '@angular/core';
1
+ import { ElementRef, OnDestroy, OnInit } from '@angular/core';
2
2
  import { FormBuilder } from '@angular/forms';
3
3
  import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
4
4
  import { Observable } from 'rxjs';
@@ -11,14 +11,25 @@ export declare class AssignActionComponent implements ArgumentsComponent, OnInit
11
11
  private _fb;
12
12
  private _session;
13
13
  private _accounts;
14
+ readonly separatorKeysCodes: number[];
15
+ nameInput: ElementRef<HTMLInputElement>;
14
16
  readonly form: import("@angular/forms").FormGroup;
15
- readonly userId: import("@angular/forms").FormControl;
16
- users: Observable<UserInfo[]>;
17
+ readonly userIds: import("@angular/forms").FormControl;
18
+ users$: Observable<UserInfo[]>;
17
19
  private _destroy;
18
20
  constructor(_fb: FormBuilder, _session: SessionService, _accounts: AccountService);
19
21
  ngOnInit(): void;
20
- display(v: UserInfo): string;
21
- change(evt: MatAutocompleteSelectedEvent): void;
22
+ /**
23
+ *
24
+ * @param inp
25
+ * @param event
26
+ */
27
+ userSelected(inp: HTMLInputElement, event: MatAutocompleteSelectedEvent): void;
28
+ /**
29
+ *
30
+ * @param id
31
+ */
32
+ removed(id: string): void;
22
33
  ngOnDestroy(): void;
23
34
  static ɵfac: i0.ɵɵFactoryDeclaration<AssignActionComponent, never>;
24
35
  static ɵcmp: i0.ɵɵComponentDeclaration<AssignActionComponent, "ng-component", never, {}, {}, never, never>;
@@ -23,7 +23,6 @@ export declare class FlowViewComponent extends TraceBase implements OnChanges, O
23
23
  readonly scrollSettings: ScrollSettingsModel;
24
24
  readonly snapSettings: SnapSettingsModel;
25
25
  private readonly _configuration;
26
- private _issued;
27
26
  private _accentColor;
28
27
  /** workflow-view ctor */
29
28
  constructor(_accounts: AccountService, _session: SessionService, _translate: TranslateService, _duration: DurationFormatPipe, _elementRef: ElementRef<HTMLDivElement>, hub: HubService);
@@ -21,11 +21,11 @@ export declare class TraceViewComponent extends TraceBase implements OnChanges {
21
21
  readonly CALENDAR_SPEC: CalendarSpec;
22
22
  constructor(_session: SessionService, _translate: TranslateService, _accounts: AccountService, _chat: ChatInfo, hub: HubService);
23
23
  ngOnChanges(_changes: SimpleChanges): void;
24
- private _initialise;
24
+ private _initialize;
25
25
  private _filter;
26
- private _showAll;
27
- get showAll(): boolean;
28
- set showAll(value: boolean);
26
+ private _showMode;
27
+ get showMode(): ShowMode;
28
+ set showMode(value: ShowMode);
29
29
  private _roleName;
30
30
  chat(e: MouseEvent): void;
31
31
  /**
@@ -51,4 +51,5 @@ interface Trace {
51
51
  fileName?: string;
52
52
  time?: Date;
53
53
  }
54
+ declare type ShowMode = 'everything' | 'active' | 'route';
54
55
  export {};
@@ -32,8 +32,7 @@ export declare enum OpenPolicy {
32
32
  Expandable = 16,
33
33
  Tab = 48,
34
34
  Dialog = 112,
35
- Dismissable = 128,
36
- Toggle = 256
35
+ Dismissable = 128
37
36
  }
38
37
  export declare const DEFAULT_POLICY: OpenPolicy;
39
38
  export interface BizDocChildConfig {
@@ -132,7 +132,10 @@ export interface AttachmentExtra extends Attachment {
132
132
  viewed?: Date;
133
133
  failed?: boolean;
134
134
  }
135
- export interface UploadEvent {
135
+ export declare class UploadEvent {
136
+ readonly fileName: string;
136
137
  progress: number;
138
+ total: number;
137
139
  state: 'pending' | 'progress' | 'done';
140
+ constructor(options: any);
138
141
  }
@@ -83,20 +83,22 @@ export interface WorkflowInfo {
83
83
  connectors: ConnectorInfo[];
84
84
  }
85
85
  export interface RecipientModel<T = any> extends HeaderModel<T>, DocumentModel<T> {
86
+ extra?: any;
86
87
  actions?: string[];
87
88
  fyi: boolean;
88
89
  originId?: number;
90
+ escalated?: boolean;
89
91
  tags?: string[];
90
92
  }
91
93
  export interface ConnectorInfo {
92
- virtualizing?: boolean;
94
+ originId?: number;
93
95
  estimate: boolean;
94
96
  time?: Date;
95
97
  sourceId: string;
96
98
  targetId: string;
97
99
  }
98
100
  export interface NodeInfo {
99
- virtualizing?: boolean;
101
+ originId?: number;
100
102
  id: string;
101
103
  /** node */
102
104
  type: string;
@@ -110,7 +112,7 @@ export interface Log {
110
112
  recipientId?: number;
111
113
  userId: string;
112
114
  byId?: string;
113
- toId?: string;
115
+ originId?: string;
114
116
  time: Date;
115
117
  model?: {};
116
118
  type: LogType;
@@ -139,10 +141,10 @@ export interface Recipient {
139
141
  replied?: Date;
140
142
  estimate?: boolean;
141
143
  action?: string;
142
- toId?: string;
143
144
  fyi?: boolean;
144
145
  id: number;
145
146
  note?: string;
147
+ escalated?: boolean;
146
148
  }
147
149
  export interface ScheduledEvent {
148
150
  id: number;
@@ -1,4 +1,5 @@
1
1
  import { ComponentType } from '@angular/cdk/portal';
2
+ import { Type } from '@angular/core';
2
3
  import { Subject } from 'rxjs';
3
4
  import { OpenPolicy } from '../configuration';
4
5
  import { NavigationBase, PaneRef } from './pane-ref';
@@ -11,8 +12,11 @@ export declare class PanesRouter {
11
12
  readonly _navigate$: Subject<{
12
13
  commands?: any[];
13
14
  component?: ComponentType<any>;
15
+ toggle?: boolean;
14
16
  } & NavigationOptions>;
15
17
  constructor();
18
+ toggle(commands: any[] | Type<any>, options?: NavigationOptions): Promise<PaneRef<any>>;
19
+ replace(url: string): void;
16
20
  navigate(commands: any[] | ComponentType<any>, options?: NavigationOptions): Promise<PaneRef<any>>;
17
21
  get events(): import("rxjs").Observable<NavigationBase>;
18
22
  collapse(): void;
@@ -141,6 +141,10 @@ export declare const STRINGS: {
141
141
  EverybodyRange: string;
142
142
  YourRange: string;
143
143
  Introduction: string;
144
+ AssignTo: string;
145
+ AssignRoundtrip: string;
146
+ AssignFYI: string;
147
+ AssignNoteHint: string;
144
148
  Welcome: string;
145
149
  WelcomeMsg: string;
146
150
  WelcomeHide: string;
@@ -246,6 +250,9 @@ export declare const STRINGS: {
246
250
  YouRepliedTo: string;
247
251
  ReplyingToYou: string;
248
252
  ByYou: string;
253
+ ActionBy: string;
254
+ ActionByBy: string;
255
+ ActionByYou: string;
249
256
  Received: string;
250
257
  ChangeLanguage: string;
251
258
  NewMail: string;
@@ -517,6 +524,8 @@ export declare const STRINGS: {
517
524
  Votes: string;
518
525
  Tasks: string;
519
526
  System: string;
527
+ ActiveRoute: string;
528
+ Everything: string;
520
529
  NothingHere: string;
521
530
  Matrix: string;
522
531
  Working: string;
@@ -553,7 +562,8 @@ export declare const STRINGS: {
553
562
  Skipped: string;
554
563
  Route: string;
555
564
  Trace: string;
556
- Log: string;
565
+ ActiveRoute: string;
566
+ Everything: string;
557
567
  ProfilerSearchHelp: string;
558
568
  TraceSearchHelp: string;
559
569
  DiagramVersion: string;
@@ -580,6 +590,10 @@ export declare const STRINGS: {
580
590
  Message: string;
581
591
  ProgrammableExpression: string;
582
592
  FYI: string;
593
+ AssignTo: string;
594
+ AssignFYI: string;
595
+ AssignNoteHint: string;
596
+ AssignRoundtrip: string;
583
597
  SkipInRoute: string;
584
598
  StandardTime: string;
585
599
  EscalateRole: string;
@@ -911,6 +925,9 @@ export declare const STRINGS: {
911
925
  YouRepliedTo: string;
912
926
  ReplyingToYou: string;
913
927
  ByYou: string;
928
+ ActionByYou: string;
929
+ ActionByBy: string;
930
+ ActionBy: string;
914
931
  EscalatedTo: string;
915
932
  EscalatedFrom: string;
916
933
  EscalatedBy: string;
@@ -188,7 +188,7 @@ export declare class CubeService {
188
188
  * get segments
189
189
  * @param cube
190
190
  */
191
- segments(cube: string, type: string): Observable<SegmentMap>;
191
+ segments(cube: string, name: string): Observable<SegmentMap>;
192
192
  /**
193
193
  * get user patterns
194
194
  * @param cube
@@ -92,8 +92,7 @@ export declare class CubePivotComponent implements CubeViewerComponent, OnInit,
92
92
  * @param e
93
93
  */
94
94
  pointClick(e: IPointEventArgs): void;
95
- exportToExcel(title: string): Promise<void>;
96
- private _exportExcel;
95
+ exportToExcel(title: string): any;
97
96
  private _draw;
98
97
  dataBound(_: any): void;
99
98
  resize(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "1.12.4",
3
+ "version": "1.13.0-next.12",
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",
@@ -11,17 +11,17 @@
11
11
  "dependencies": {
12
12
  "@ctrl/ngx-emoji-mart": "^6.1.1",
13
13
  "@microsoft/signalr": "^6.0.1",
14
- "@syncfusion/ej2": "^19.4.38",
15
- "@syncfusion/ej2-angular-charts": "^19.4.38",
14
+ "@syncfusion/ej2": "^19.4.40",
15
+ "@syncfusion/ej2-angular-charts": "^19.4.40",
16
16
  "@syncfusion/ej2-angular-circulargauge": "^19.4.38",
17
- "@syncfusion/ej2-angular-diagrams": "^19.4.38",
18
- "@syncfusion/ej2-angular-gantt": "^19.4.38",
19
- "@syncfusion/ej2-angular-grids": "^19.4.38",
17
+ "@syncfusion/ej2-angular-diagrams": "^19.4.40",
18
+ "@syncfusion/ej2-angular-gantt": "^19.4.40",
19
+ "@syncfusion/ej2-angular-grids": "^19.4.40",
20
20
  "@syncfusion/ej2-angular-kanban": "^19.4.38",
21
- "@syncfusion/ej2-angular-pivotview": "^19.4.38",
22
- "@syncfusion/ej2-angular-richtexteditor": "^19.4.38",
23
- "@syncfusion/ej2-angular-schedule": "^19.4.38",
24
- "@syncfusion/ej2-angular-spreadsheet": "^19.4.38",
21
+ "@syncfusion/ej2-angular-pivotview": "^19.4.40",
22
+ "@syncfusion/ej2-angular-richtexteditor": "^19.4.40",
23
+ "@syncfusion/ej2-angular-schedule": "^19.4.40",
24
+ "@syncfusion/ej2-angular-spreadsheet": "^19.4.40",
25
25
  "@syncfusion/ej2-base": "^19.4.38",
26
26
  "@teamhive/lottie-player": "^1.0.0",
27
27
  "brace": "^0.11.1",