@bizdoc/core 1.14.0-next.9 → 1.14.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.
Files changed (86) hide show
  1. package/assets/themes/brown.min.css +1 -1
  2. package/assets/themes/dark.min.css +78 -1
  3. package/assets/themes/deep-purple-light-blue.min.css +1 -1
  4. package/assets/themes/deep-purple-teal.min.css +1 -1
  5. package/assets/themes/default.min.css +1 -1
  6. package/assets/themes/green.min.css +1 -1
  7. package/assets/themes/indigo.min.css +1 -1
  8. package/esm2020/lib/admin/diff/configuration-diff.component.mjs +2 -2
  9. package/esm2020/lib/admin/document-trace/document-trace.component.mjs +122 -61
  10. package/esm2020/lib/admin/document-trace/trace-element.component.mjs +52 -34
  11. package/esm2020/lib/admin/form/form.service.mjs +20 -3
  12. package/esm2020/lib/admin/form/workflow/role-node.component.mjs +3 -3
  13. package/esm2020/lib/admin/form/workflow/workflow.component.mjs +4 -2
  14. package/esm2020/lib/admin/positions/positions.component.mjs +19 -17
  15. package/esm2020/lib/admin/profiler/outofoffice.component.mjs +86 -0
  16. package/esm2020/lib/admin/profiler/profiler.component.mjs +65 -43
  17. package/esm2020/lib/bizdoc.module.mjs +10 -4
  18. package/esm2020/lib/browse/browse-items.component.mjs +8 -1
  19. package/esm2020/lib/chat/conversation.component.mjs +2 -2
  20. package/esm2020/lib/compose/compose.mobile.component.mjs +2 -2
  21. package/esm2020/lib/compose/trace/trace.component.mjs +3 -3
  22. package/esm2020/lib/compose/version-compare/version-compare.directive.mjs +3 -3
  23. package/esm2020/lib/compose/version-compare/version.pane.component.mjs +3 -3
  24. package/esm2020/lib/core/component-factory-resolver.mjs +1 -1
  25. package/esm2020/lib/core/configuration.mjs +6 -6
  26. package/esm2020/lib/core/controls/address.input.mjs +18 -5
  27. package/esm2020/lib/core/controls/combination-picker-body.mjs +2 -2
  28. package/esm2020/lib/core/models.mjs +1 -1
  29. package/esm2020/lib/core/slots/router.service.mjs +1 -4
  30. package/esm2020/lib/core/slots/slots.component.mjs +60 -35
  31. package/esm2020/lib/core/translate.service.mjs +5 -5
  32. package/esm2020/lib/core/translations.mjs +11 -3
  33. package/esm2020/lib/cube/accum/accum.component.mjs +1 -1
  34. package/esm2020/lib/cube/chart/chart.component.mjs +1 -1
  35. package/esm2020/lib/cube/cube.service.mjs +2 -2
  36. package/esm2020/lib/cube/explore/explore-items.component.mjs +2 -2
  37. package/esm2020/lib/cube/explore/explore.pane.component.mjs +6 -4
  38. package/esm2020/lib/cube/matrix/matrix.pane.component.mjs +3 -3
  39. package/esm2020/lib/cube/matrix/table.component.mjs +3 -3
  40. package/esm2020/lib/cube/parallel/parallel.component.mjs +3 -4
  41. package/esm2020/lib/cube/pivot/pivot.component.mjs +15 -19
  42. package/esm2020/lib/dashboard/cube/cube-analysis.base.mjs +3 -3
  43. package/esm2020/lib/dashboard/recents/recents.widget.mjs +2 -2
  44. package/esm2020/lib/dashboard/score/personal-score.widget.mjs +3 -3
  45. package/esm2020/lib/home/home.desktop.component.mjs +7 -13
  46. package/esm2020/lib/modules/chart.module.mjs +12 -10
  47. package/esm2020/lib/modules/dayjs.module.mjs +2 -2
  48. package/esm2020/lib/modules/diagram.module.mjs +4 -4
  49. package/esm2020/lib/modules/pivot.module.mjs +3 -2
  50. package/esm2020/lib/modules/spreadsheet.module.mjs +5 -3
  51. package/esm2020/lib/modules/texteditor.module.mjs +4 -4
  52. package/esm2020/lib/notifications/types/notification-base.mjs +2 -2
  53. package/esm2020/lib/reports/cube/usage-pivot.component.mjs +2 -3
  54. package/esm2020/lib/reports/report-viewer.component.mjs +2 -2
  55. package/esm2020/lib/routes.desktop.mjs +17 -17
  56. package/esm2020/lib/shared.module.mjs +6 -5
  57. package/esm2020/lib/system.module.mjs +4 -3
  58. package/esm2020/lib/views/cube/cube-base.mjs +2 -2
  59. package/esm2020/lib/views/cube/parallel.component.mjs +3 -2
  60. package/esm2020/lib/views/cube/sum.component.mjs +3 -3
  61. package/esm2020/public-api.mjs +1 -1
  62. package/fesm2015/bizdoc-core.mjs +555 -322
  63. package/fesm2015/bizdoc-core.mjs.map +1 -1
  64. package/fesm2020/bizdoc-core.mjs +523 -297
  65. package/fesm2020/bizdoc-core.mjs.map +1 -1
  66. package/lib/admin/document-trace/document-trace.component.d.ts +33 -18
  67. package/lib/admin/document-trace/trace-element.component.d.ts +22 -8
  68. package/lib/admin/form/form.service.d.ts +19 -2
  69. package/lib/admin/form/workflow/workflow.component.d.ts +2 -1
  70. package/lib/admin/profiler/outofoffice.component.d.ts +30 -0
  71. package/lib/admin/profiler/profiler.component.d.ts +17 -11
  72. package/lib/core/component-factory-resolver.d.ts +1 -1
  73. package/lib/core/configuration.d.ts +6 -5
  74. package/lib/core/controls/address.input.d.ts +5 -3
  75. package/lib/core/models.d.ts +1 -1
  76. package/lib/core/slots/router.service.d.ts +2 -1
  77. package/lib/core/slots/slots.component.d.ts +11 -4
  78. package/lib/core/translations.d.ts +8 -0
  79. package/lib/cube/explore/explore.pane.component.d.ts +1 -0
  80. package/lib/home/home.desktop.component.d.ts +4 -3
  81. package/lib/modules/chart.module.d.ts +1 -1
  82. package/lib/system.module.d.ts +24 -23
  83. package/lib/views/cube/cube-base.d.ts +1 -1
  84. package/lib/views/cube/sum.component.d.ts +1 -1
  85. package/package.json +1 -2
  86. package/public-api.d.ts +1 -1
@@ -1,36 +1,39 @@
1
- import { OnInit, OnDestroy, ElementRef, ChangeDetectorRef } from '@angular/core';
1
+ import { OnInit, OnDestroy, ElementRef, ChangeDetectorRef, TemplateRef } from '@angular/core';
2
2
  import { DiagramConstraints, ScrollSettingsModel, SelectorModel, ToolBase, Diagram, ConnectorModel, NodeModel, SnapSettingsModel, DiagramTools, ISelectionChangeEventArgs, LayoutModel } from '@syncfusion/ej2-angular-diagrams';
3
3
  import { FormBuilder } from '@angular/forms';
4
- import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
5
- import { MatDialog } from "@angular/material/dialog";
6
- import { Observable } from 'rxjs';
7
- import { Recipient, HeaderModel, DocumentModel } from '../../core/models';
4
+ import { MatTableDataSource } from '@angular/material/table';
5
+ import { ProgressBarMode } from '@angular/material/progress-bar';
6
+ import { MatSort } from '@angular/material/sort';
7
+ import { MatInput } from '@angular/material/input';
8
+ import { IChangedEventArgs, RangeNavigator } from '@syncfusion/ej2-angular-charts';
8
9
  import { PromptService } from '../../core/prompt.service';
9
10
  import { UtilityRef } from '../utility-ref';
10
- import { FormService } from '../form/form.service';
11
+ import { DocumentInfo, FormService, RangeModel } from '../form/form.service';
11
12
  import { TranslateService } from '../../core/translate.service';
12
13
  import { GuideService } from '../../core/guide/guide.service';
13
14
  import { PanesRouter } from '../../core/slots/router.service';
14
15
  import { PaneRef } from '../../core/slots/pane-ref';
15
16
  import { SessionService } from '../../core/session.service';
16
17
  import { DiagramInfo, MoveModel, Timeline } from './timeline';
18
+ import { Popup } from '../../core/popup/popup.service';
17
19
  import * as i0 from "@angular/core";
18
20
  export declare class DocumentTraceComponent implements OnInit, OnDestroy {
19
21
  private _utilityRef;
20
22
  private _service;
21
23
  private _session;
22
- private _slot;
24
+ private _pane;
23
25
  private _router;
24
26
  private _sb;
25
27
  private _translate;
26
- private _dialog;
28
+ private _popup;
27
29
  private _guide;
28
30
  private _cd;
29
31
  private _fb;
30
32
  diagramElement: ElementRef<HTMLDivElement>;
33
+ theme: string;
34
+ accent: string;
31
35
  diagram: Diagram;
32
- readonly search: import("@angular/forms").FormControl;
33
- documents$: Observable<DocumentModel[]>;
36
+ readonly form: import("@angular/forms").FormGroup;
34
37
  model: DiagramInfo;
35
38
  timeline: Timeline;
36
39
  diagramConstraints: DiagramConstraints;
@@ -43,20 +46,36 @@ export declare class DocumentTraceComponent implements OnInit, OnDestroy {
43
46
  readonly selectedItems: SelectorModel;
44
47
  getCustomTool: Function;
45
48
  node: NodeModel;
49
+ private _start;
50
+ private _end;
51
+ private _infoRef;
46
52
  getTool(action: string): ToolBase;
47
- mode: 'diagram' | 'search' | null;
53
+ mode: 'diagram' | 'browse' | null;
54
+ range: (Date | number)[];
55
+ rangeData: RangeModel[];
56
+ loading: ProgressBarMode;
57
+ filterArgs: TemplateRef<any>;
58
+ searchInput: MatInput;
59
+ dataSource: MatTableDataSource<DocumentInfo>;
60
+ sort: MatSort;
61
+ rangeNavigator: RangeNavigator;
62
+ readonly displayedColumns: string[];
48
63
  private _highLightedIds;
49
64
  private readonly _tap;
50
65
  private readonly _destroy;
66
+ private readonly _dateschange;
51
67
  /** workflow ctor */
52
- constructor(_utilityRef: UtilityRef<DiagramInfo, MoveModel, DiagramInfo, number>, _service: FormService, _session: SessionService, _slot: PaneRef<DocumentTraceComponent>, _router: PanesRouter, _sb: PromptService, _translate: TranslateService, _dialog: MatDialog, _guide: GuideService, _cd: ChangeDetectorRef, _fb: FormBuilder);
68
+ constructor(_utilityRef: UtilityRef<DiagramInfo, MoveModel, DiagramInfo, number>, _service: FormService, _session: SessionService, _pane: PaneRef<DocumentTraceComponent>, _router: PanesRouter, _sb: PromptService, _translate: TranslateService, _popup: Popup, _guide: GuideService, _cd: ChangeDetectorRef, _fb: FormBuilder);
53
69
  ngOnInit(): void;
70
+ openFilter(evt: Event): void;
71
+ private _list;
72
+ rangeChanged(args: IChangedEventArgs): void;
54
73
  guide(evt?: Event | KeyboardEvent): void;
74
+ browse(): void;
55
75
  private _open;
56
76
  nodeDefaults: (node: NodeModel) => NodeModel;
57
77
  connDefaults: (connector: ConnectorModel) => void;
58
- display(item: HeaderModel): string;
59
- change(evt: MatAutocompleteSelectedEvent): void;
78
+ open(item: DocumentInfo): void;
60
79
  private _timeline;
61
80
  /**
62
81
  *
@@ -67,11 +86,7 @@ export declare class DocumentTraceComponent implements OnInit, OnDestroy {
67
86
  private _decorateNode;
68
87
  private _decorateConnector;
69
88
  private _version;
70
- fileName(fileId: number): string;
71
89
  selectionChange(evt: ISelectionChangeEventArgs): void;
72
- /** */
73
- assign(recipient: Recipient): void;
74
- private _info;
75
90
  highlightTime(time: Date): void;
76
91
  pan(): void;
77
92
  cursor(): void;
@@ -1,21 +1,32 @@
1
- import { EventEmitter, OnChanges } from "@angular/core";
1
+ import { MatDialog } from "@angular/material/dialog";
2
2
  import { Observable } from "rxjs";
3
- import { Log, Recipient } from "../../core/models";
4
3
  import { NodeModel } from "@syncfusion/ej2-angular-diagrams";
4
+ import { Log, Recipient } from "../../core/models";
5
5
  import { TranslateService } from '../../core/translate.service';
6
6
  import { AccountService } from '../../core/account.service';
7
7
  import { ChatInfo } from '../../chat/chat-info';
8
8
  import { Timeline, DiagramInfo } from "./timeline";
9
9
  import { SessionService } from "../../core/session.service";
10
10
  import { PanesRouter } from "../../core/slots/router.service";
11
+ import { PaneRef } from "../../core/slots/pane-ref";
12
+ import { PromptService } from "../../core/prompt.service";
13
+ import { UtilityRef } from "../utility-ref";
11
14
  import * as i0 from "@angular/core";
12
- export declare class TraceElementComponent implements OnChanges {
15
+ export interface ElementData {
16
+ model: DiagramInfo;
17
+ timeline: Timeline;
18
+ node: NodeModel;
19
+ utilityRef: UtilityRef;
20
+ }
21
+ export declare class TraceElementComponent {
22
+ private _pane;
13
23
  private _chat;
24
+ private _sb;
14
25
  private _router;
15
26
  private _translate;
16
27
  private _accounts;
28
+ private _dialog;
17
29
  private _session;
18
- readonly assign: EventEmitter<Recipient>;
19
30
  model: DiagramInfo;
20
31
  timeline: Timeline;
21
32
  node: NodeModel;
@@ -25,13 +36,16 @@ export declare class TraceElementComponent implements OnChanges {
25
36
  recurring: boolean;
26
37
  none: boolean;
27
38
  skip: boolean;
28
- nodeType: any;
29
- constructor(_chat: ChatInfo, _router: PanesRouter, _translate: TranslateService, _accounts: AccountService, _session: SessionService);
30
- ngOnChanges(): void;
39
+ private _utilityRef;
40
+ constructor(_pane: PaneRef, _chat: ChatInfo, _sb: PromptService, _router: PanesRouter, _translate: TranslateService, _accounts: AccountService, _dialog: MatDialog, _session: SessionService);
41
+ change(state: ElementData): void;
42
+ fileName(fileId: number): string;
43
+ /** */
44
+ assign(recipient: Recipient): void;
31
45
  recipientInfo(recipient: Recipient): Promise<string>;
32
46
  logInfo(log: Log): Observable<string>;
33
47
  compare(item: Log): void;
34
48
  chat(e: MouseEvent): void;
35
49
  static ɵfac: i0.ɵɵFactoryDeclaration<TraceElementComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<TraceElementComponent, "bizdoc-document-trace-element", never, { "model": "model"; "timeline": "timeline"; "node": "node"; }, { "assign": "assign"; }, never, never>;
50
+ static ɵcmp: i0.ɵɵComponentDeclaration<TraceElementComponent, "bizdoc-document-trace-element", never, {}, {}, never, never>;
37
51
  }
@@ -1,13 +1,30 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
- import { Form, DocumentModel } from '../../core/models';
3
+ import { Form } from '../../core/models';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class FormService {
6
6
  private _http;
7
- findAll(value: string): Observable<DocumentModel[]>;
7
+ findAll(search?: string): any;
8
+ findAll(options: {
9
+ search?: string;
10
+ start?: Date;
11
+ end?: Date;
12
+ formId?: string;
13
+ }): any;
14
+ range(): Observable<RangeModel[]>;
8
15
  get(name: string): Observable<Form>;
9
16
  save(form: Form): Observable<number>;
10
17
  constructor(_http: HttpClient);
11
18
  static ɵfac: i0.ɵɵFactoryDeclaration<FormService, never>;
12
19
  static ɵprov: i0.ɵɵInjectableDeclaration<FormService>;
13
20
  }
21
+ export interface RangeModel {
22
+ count: number;
23
+ date: Date;
24
+ }
25
+ export interface DocumentInfo {
26
+ id: number;
27
+ number: string;
28
+ subject: string;
29
+ stateId: string;
30
+ }
@@ -7,6 +7,7 @@ import { TranslateService } from '../../../core/translate.service';
7
7
  import { PaneRef } from '../../../core/slots/pane-ref';
8
8
  import { PanesRouter } from '../../../core/slots/router.service';
9
9
  import { AdminComponent } from '../../admin-dismiss.service';
10
+ import { ISelectionChangeEventArgs } from '@syncfusion/ej2-angular-diagrams';
10
11
  import * as i0 from "@angular/core";
11
12
  export declare class WorkflowComponent implements OnInit, AfterViewInit, OnDestroy, AdminComponent {
12
13
  private ps;
@@ -53,7 +54,7 @@ export declare class WorkflowComponent implements OnInit, AfterViewInit, OnDestr
53
54
  getSymbolDefaults(symbol: NodeModel): void;
54
55
  pan(): void;
55
56
  cursor(): void;
56
- selectionChange(): void;
57
+ selectionChange(evt: ISelectionChangeEventArgs): void;
57
58
  align(value: AlignmentOptions): void;
58
59
  dragEnter(args: IDragEnterEventArgs): void;
59
60
  propertyChange(e: any): void;
@@ -0,0 +1,30 @@
1
+ import { OnInit } from "@angular/core";
2
+ import { FormGroup, FormBuilder } from "@angular/forms";
3
+ import { MatAutocompleteSelectedEvent } from "@angular/material/autocomplete";
4
+ import { MatDialogRef } from "@angular/material/dialog";
5
+ import { MatInput } from "@angular/material/input";
6
+ import { Observable } from "rxjs";
7
+ import { AccountService } from "../../core/account.service";
8
+ import { OutOfOfficeSettings, UserInfo } from "../../core/models";
9
+ import * as i0 from "@angular/core";
10
+ export interface OutOfOfficeData {
11
+ userId: string;
12
+ outOfOffice: OutOfOfficeSettings;
13
+ }
14
+ export declare class OutOfOfficeDialog implements OnInit {
15
+ private _accounts;
16
+ private _dialogRef;
17
+ private _fb;
18
+ private _data;
19
+ readonly userCtrl: import("@angular/forms").FormControl;
20
+ userInput: MatInput;
21
+ readonly form: FormGroup;
22
+ users$: Observable<UserInfo[]>;
23
+ get model(): OutOfOfficeSettings;
24
+ constructor(_accounts: AccountService, _dialogRef: MatDialogRef<OutOfOfficeDialog>, _fb: FormBuilder, _data: OutOfOfficeData);
25
+ ngOnInit(): void;
26
+ userDisplay: (item: UserInfo) => string;
27
+ setId(event: MatAutocompleteSelectedEvent): void;
28
+ static ɵfac: i0.ɵɵFactoryDeclaration<OutOfOfficeDialog, never>;
29
+ static ɵcmp: i0.ɵɵComponentDeclaration<OutOfOfficeDialog, "ng-component", never, {}, {}, never, never>;
30
+ }
@@ -1,11 +1,11 @@
1
- import { OnInit, OnDestroy, TemplateRef, ElementRef } from '@angular/core';
1
+ import { OnInit, OnDestroy, TemplateRef, ElementRef, ChangeDetectorRef } from '@angular/core';
2
2
  import { FormBuilder } from '@angular/forms';
3
3
  import { MatDialog } from '@angular/material/dialog';
4
4
  import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
5
5
  import { MediaObserver } from '@angular/flex-layout';
6
6
  import { AxisModel, BorderModel, ChartComponent, IPointEventArgs, ITooltipRenderEventArgs, LegendSeriesModel, MarkerOptionsModel, TooltipSettingsModel, ZoomSettingsModel } from '@syncfusion/ej2-angular-charts';
7
7
  import { Observable } from 'rxjs';
8
- import { UserInfo } from '../../core/models';
8
+ import { OutOfOfficeSettings, UserInfo } from '../../core/models';
9
9
  import { UtilityRef } from '../utility-ref';
10
10
  import { PromptService } from '../../core/prompt.service';
11
11
  import { AccountService } from '../../core/account.service';
@@ -26,14 +26,15 @@ export declare class ProfilerComponent implements OnInit, OnDestroy {
26
26
  private _chat;
27
27
  private _guide;
28
28
  private _router;
29
- private _slot;
29
+ private _cd;
30
+ private _pane;
30
31
  private _translate;
31
32
  private _accounts;
32
33
  private _fb;
33
34
  readonly search: import("@angular/forms").FormControl;
34
35
  chart: ChartComponent;
35
36
  chartElement: ElementRef;
36
- assign: TemplateRef<any>;
37
+ assignTpl: TemplateRef<any>;
37
38
  readonly who: import("@angular/forms").FormControl;
38
39
  readonly primaryXAxis: AxisModel;
39
40
  readonly primaryYAxis: AxisModel;
@@ -50,7 +51,7 @@ export declare class ProfilerComponent implements OnInit, OnDestroy {
50
51
  cols: number;
51
52
  private readonly _destroy;
52
53
  /** ctor */
53
- constructor(_sb: PromptService, _utilityRef: UtilityRef<boolean, ReassignModel, ProfileInfo, string>, _session: SessionService, _dialog: MatDialog, _documentInfo: DocumentInfo, media: MediaObserver, _chat: ChatInfo, _guide: GuideService, _router: PanesRouter, _slot: PaneRef<ProfilerComponent>, _translate: TranslateService, _accounts: AccountService, _fb: FormBuilder);
54
+ constructor(_sb: PromptService, _utilityRef: UtilityRef<boolean, ProfilerModel, ProfileInfo, string>, _session: SessionService, _dialog: MatDialog, _documentInfo: DocumentInfo, media: MediaObserver, _chat: ChatInfo, _guide: GuideService, _router: PanesRouter, _cd: ChangeDetectorRef, _pane: PaneRef<ProfilerComponent>, _translate: TranslateService, _accounts: AccountService, _fb: FormBuilder);
54
55
  ngOnInit(): void;
55
56
  guide(evt?: Event | KeyboardEvent): void;
56
57
  change(evt: MatAutocompleteSelectedEvent): void;
@@ -64,10 +65,11 @@ export declare class ProfilerComponent implements OnInit, OnDestroy {
64
65
  private _actionName;
65
66
  resize(): void;
66
67
  pointClick(evt: IPointEventArgs): void;
67
- display(item: UserInfo): string;
68
+ userDisplay(item: UserInfo): string;
68
69
  trace(id: number): void;
69
- chat(userId: any): void;
70
+ chat(): void;
70
71
  reassign(position?: PositionInfo): void;
72
+ outOfOffice(): void;
71
73
  /** */
72
74
  private _reassign;
73
75
  tooltipRender(e: ITooltipRenderEventArgs): void;
@@ -76,6 +78,7 @@ export declare class ProfilerComponent implements OnInit, OnDestroy {
76
78
  static ɵcmp: i0.ɵɵComponentDeclaration<ProfilerComponent, "ng-component", never, {}, {}, never, never>;
77
79
  }
78
80
  interface ProfileInfo {
81
+ outOfOffice?: OutOfOfficeSettings;
79
82
  positions: PositionInfo[];
80
83
  activity: {
81
84
  [action: string]: {
@@ -99,10 +102,13 @@ interface PositionInfo {
99
102
  value: string;
100
103
  role: string;
101
104
  }
102
- interface ReassignModel {
105
+ interface ProfilerModel {
106
+ outOfOffice?: OutOfOfficeSettings;
103
107
  userId: string;
104
- who: string;
105
- role?: string;
106
- key?: any;
108
+ reassign?: {
109
+ who: string;
110
+ role?: string;
111
+ key?: any;
112
+ };
107
113
  }
108
114
  export {};
@@ -1,6 +1,6 @@
1
1
  import { ComponentFactoryResolver } from "@angular/core";
2
2
  import * as i0 from "@angular/core";
3
- export declare function registerComponents(components: any): void;
3
+ export declare function registerComponents(components: any[]): void;
4
4
  export declare class BizDocComponentFactoryResolver {
5
5
  private _componentFactoryResolver;
6
6
  private _factories;
@@ -29,16 +29,17 @@ export declare enum OpenPolicy {
29
29
  Clear = 2,
30
30
  Defer = 4,
31
31
  Pinnable = 8,
32
- Expandable = 16,
33
- Tab = 48,
34
- Dialog = 112,
35
- Dismissable = 128,
32
+ Stretch = 16,
33
+ Tab = 32,
34
+ Dialog = 96,
35
+ Expandable = 128,
36
36
  Toggle = 256,
37
- Stretch = 256
37
+ Dismissable = 512
38
38
  }
39
39
  export declare const DEFAULT_POLICY: OpenPolicy;
40
40
  export interface BizDocChildConfig {
41
41
  components: Type<any>[];
42
+ routes?: PaneRoute[];
42
43
  }
43
44
  export interface Theme {
44
45
  name: string;
@@ -1,10 +1,10 @@
1
1
  /// <reference types="google.maps" />
2
2
  import { OnDestroy, OnInit, ElementRef, EventEmitter } from '@angular/core';
3
3
  import { NgControl, ControlValueAccessor, FormControl } from '@angular/forms';
4
- import { Subject } from 'rxjs';
4
+ import { FocusMonitor } from '@angular/cdk/a11y';
5
5
  import { MatFormFieldControl } from '@angular/material/form-field';
6
6
  import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
7
- import { FocusMonitor } from '@angular/cdk/a11y';
7
+ import { Subject } from 'rxjs';
8
8
  import * as i0 from "@angular/core";
9
9
  export declare class AddressInput implements MatFormFieldControl<string>, ControlValueAccessor, OnDestroy, OnInit {
10
10
  ngControl: NgControl;
@@ -24,6 +24,8 @@ export declare class AddressInput implements MatFormFieldControl<string>, Contro
24
24
  inputElement: ElementRef;
25
25
  readonly optionSelected: EventEmitter<AddressChangeEvent>;
26
26
  debounce: number;
27
+ location?: google.maps.LatLng;
28
+ country?: string | string[];
27
29
  get placeholder(): string;
28
30
  set placeholder(plh: string);
29
31
  focused: boolean;
@@ -55,7 +57,7 @@ export declare class AddressInput implements MatFormFieldControl<string>, Contro
55
57
  ngOnInit(): void;
56
58
  ngOnDestroy(): void;
57
59
  static ɵfac: i0.ɵɵFactoryDeclaration<AddressInput, [{ optional: true; self: true; }, null, null]>;
58
- static ɵcmp: i0.ɵɵComponentDeclaration<AddressInput, "bizdoc-address", never, { "debounce": "debounce"; "placeholder": "placeholder"; "required": "required"; "disabled": "disabled"; "value": "value"; }, { "optionSelected": "optionSelected"; }, never, never>;
60
+ static ɵcmp: i0.ɵɵComponentDeclaration<AddressInput, "bizdoc-address", never, { "debounce": "debounce"; "location": "location"; "country": "country"; "placeholder": "placeholder"; "required": "required"; "disabled": "disabled"; "value": "value"; }, { "optionSelected": "optionSelected"; }, never, never>;
59
61
  }
60
62
  export interface AddressChangeEvent {
61
63
  address: string;
@@ -625,7 +625,7 @@ export declare type ChartType = 'Pie' |
625
625
  'Radar' |
626
626
  /** Define the Pareto series */
627
627
  'Pareto' | 'Doughnut' | 'HalfDoughnut' | 'Funnel' | 'Pyramid' | 'StackingStepArea';
628
- interface OutOfOfficeSettings {
628
+ export interface OutOfOfficeSettings {
629
629
  from?: Date;
630
630
  to?: Date;
631
631
  active: boolean;
@@ -13,7 +13,8 @@ export declare class PanesRouter {
13
13
  component?: ComponentType<any>;
14
14
  } & NavigationOptions>;
15
15
  constructor();
16
- navigate(commands: any[] | ComponentType<any>, options?: NavigationOptions): Promise<PaneRef<any>>;
16
+ navigate(commands: (string | number)[], options?: NavigationOptions): any;
17
+ navigate<T>(commands: ComponentType<T>, options?: NavigationOptions): any;
17
18
  get events(): import("rxjs").Observable<NavigationBase>;
18
19
  collapse(): void;
19
20
  static ɵfac: i0.ɵɵFactoryDeclaration<PanesRouter, never>;
@@ -1,4 +1,4 @@
1
- import { ChangeDetectorRef, Injector, OnDestroy, OnInit, ViewContainerRef, ElementRef } from '@angular/core';
1
+ import { ChangeDetectorRef, EventEmitter, Injector, OnDestroy, OnInit, ViewContainerRef, ElementRef } from '@angular/core';
2
2
  import { RippleConfig } from '@angular/material/core/ripple';
3
3
  import { CdkDragDrop } from '@angular/cdk/drag-drop';
4
4
  import { PaneRef, PaneOptions } from './pane-ref';
@@ -21,6 +21,7 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
21
21
  private _title;
22
22
  private _guide;
23
23
  private _injector;
24
+ readonly dialogChange: EventEmitter<boolean>;
24
25
  _panesContainerRef: ViewContainerRef;
25
26
  _tabsElement: ElementRef;
26
27
  _scrollable: CdkScrollable;
@@ -152,7 +153,6 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
152
153
  collapse(): void;
153
154
  onResize(): void;
154
155
  private _resize;
155
- dismiss(): void;
156
156
  closeTab(position: number): void;
157
157
  expandPane(): void;
158
158
  private _getHistoryStep;
@@ -169,7 +169,14 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
169
169
  * @param pane
170
170
  */
171
171
  private _discardPane;
172
- private _clear;
172
+ private _clearPending;
173
+ /** */
174
+ private _clearPanes;
175
+ private _clearTabs;
176
+ /**
177
+ *
178
+ * @param panes
179
+ */
173
180
  private _dismissAll;
174
181
  /**
175
182
  *
@@ -187,7 +194,7 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
187
194
  private _destroyPane;
188
195
  ngOnDestroy(): void;
189
196
  static ɵfac: i0.ɵɵFactoryDeclaration<SlotsComponent, never>;
190
- static ɵcmp: i0.ɵɵComponentDeclaration<SlotsComponent, "bizdoc-panes", never, {}, {}, never, never>;
197
+ static ɵcmp: i0.ɵɵComponentDeclaration<SlotsComponent, "bizdoc-panes-outlet", never, {}, { "dialogChange": "dialogChange"; }, never, never>;
191
198
  }
192
199
  interface ExtendedRoute extends PaneRoute {
193
200
  fullPath: string;
@@ -84,8 +84,11 @@ export declare const STRINGS: {
84
84
  ar: {};
85
85
  ru: {};
86
86
  en: {
87
+ OutOfOfficeHelp: string;
88
+ LastDay: string;
87
89
  TodayAt: string;
88
90
  Tomorrow: string;
91
+ TomorrowAt: string;
89
92
  Editing: string;
90
93
  CheckOut: string;
91
94
  CheckIn: string;
@@ -200,6 +203,7 @@ export declare const STRINGS: {
200
203
  YouSubmittedNoteBy: string;
201
204
  Today: string;
202
205
  Yesterday: string;
206
+ YesterdayAt: string;
203
207
  Forget: string;
204
208
  SomeoneTyping: string;
205
209
  Typing: string;
@@ -546,8 +550,11 @@ export declare const STRINGS: {
546
550
  Working: string;
547
551
  };
548
552
  he: {
553
+ OutOfOfficeHelp: string;
554
+ LastDay: string;
549
555
  TodayAt: string;
550
556
  Tomorrow: string;
557
+ TomorrowAt: string;
551
558
  Editing: string;
552
559
  EditingMale: string;
553
560
  EditingFemale: string;
@@ -749,6 +756,7 @@ export declare const STRINGS: {
749
756
  YouSubmittedNoteBy: string;
750
757
  Today: string;
751
758
  Yesterday: string;
759
+ YesterdayAt: string;
752
760
  SomeoneTyping: string;
753
761
  Typing: string;
754
762
  TypingFemale: string;
@@ -21,6 +21,7 @@ export declare class CubeExplorePaneComponent {
21
21
  index?: string;
22
22
  scope?: ScopeType;
23
23
  loading: boolean;
24
+ private _cube;
24
25
  constructor(_pane: PaneRef<CubeExplorePaneComponent>, _sb: PromptService, _session: SessionService, _service: CubeService, _translate: TranslateService, _router: PanesRouter);
25
26
  resize(): void;
26
27
  item(evt: ExploreItemEvent): void;
@@ -2,7 +2,7 @@ import { Injector } from '@angular/core';
2
2
  import { MatSidenav } from '@angular/material/sidenav';
3
3
  import { MatSnackBar } from '@angular/material/snack-bar';
4
4
  import { BizDocConfig } from '../core/configuration';
5
- import { Form, RecipientModel } from '../core/models';
5
+ import { RecipientModel } from '../core/models';
6
6
  import { SessionService } from '../core/session.service';
7
7
  import { PanesRouter } from '../core/slots/router.service';
8
8
  import { Popup } from '../core/popup/popup.service';
@@ -17,10 +17,12 @@ export declare class HomeComponent extends HomeBase {
17
17
  private _router;
18
18
  private _mailbox;
19
19
  private _sb;
20
+ dialog: boolean;
20
21
  readonly sysAdmin: boolean;
21
22
  private _submenuMode;
22
- readonly forms: Form[];
23
+ readonly forms: import("../core/models").Form[];
23
24
  creating: boolean;
25
+ private _collapseToggle;
24
26
  get submenuMode(): 'full' | 'shrink';
25
27
  set submenuMode(value: 'full' | 'shrink');
26
28
  private _submenu;
@@ -48,7 +50,6 @@ export declare class HomeComponent extends HomeBase {
48
50
  collapsesubmenu(): void;
49
51
  togglePinned(): void;
50
52
  mails(): void;
51
- private _collapseToggle;
52
53
  /**
53
54
  * Alt + n/N, Ctrl + .
54
55
  * @param event
@@ -2,6 +2,6 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "@syncfusion/ej2-angular-charts";
3
3
  export declare class SyncfusionChartModule {
4
4
  static ɵfac: i0.ɵɵFactoryDeclaration<SyncfusionChartModule, never>;
5
- static ɵmod: i0.ɵɵNgModuleDeclaration<SyncfusionChartModule, never, [typeof i1.ChartModule, typeof i1.AccumulationChartAllModule, typeof i1.SparklineAllModule, typeof i1.RangeNavigatorModule], [typeof i1.ChartModule, typeof i1.AccumulationChartAllModule, typeof i1.SparklineAllModule, typeof i1.RangeNavigatorModule]>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SyncfusionChartModule, never, [typeof i1.ChartModule, typeof i1.AccumulationChartModule, typeof i1.SparklineModule, typeof i1.RangeNavigatorModule], [typeof i1.ChartModule, typeof i1.AccumulationChartModule, typeof i1.SparklineModule, typeof i1.RangeNavigatorModule]>;
6
6
  static ɵinj: i0.ɵɵInjectorDeclaration<SyncfusionChartModule>;
7
7
  }
@@ -2,32 +2,33 @@ import { ModuleWithProviders } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  import * as i1 from "./admin/permissions/permissions.component";
4
4
  import * as i2 from "./admin/indices/manage-cube-index.component";
5
- import * as i3 from "./admin/utility-wrapper.component";
6
- import * as i4 from "./admin/utility.pane.component";
7
- import * as i5 from "./admin/core/search.input";
8
- import * as i6 from "./admin/document-trace/reassign.dialog";
9
- import * as i7 from "./admin/diff/configuration-diff.component";
10
- import * as i8 from "./admin/document-trace/document-trace.component";
11
- import * as i9 from "./admin/document-trace/trace-element.component";
12
- import * as i10 from "./admin/profiler/profiler.component";
13
- import * as i11 from "./admin/positions/positions.component";
14
- import * as i12 from "./admin/positions/positions-popup.component";
15
- import * as i13 from "./admin/form/workflow/workflow.component";
16
- import * as i14 from "./admin/form/workflow/node.component";
17
- import * as i15 from "./admin/form/workflow/role-node.component";
18
- import * as i16 from "./admin/patterns/patterns.component";
19
- import * as i17 from "@angular/common";
20
- import * as i18 from "@angular/common/http";
21
- import * as i19 from "@angular/forms";
22
- import * as i20 from "@angular/flex-layout";
23
- import * as i21 from "@angular/router";
24
- import * as i22 from "./modules/diagram.module";
25
- import * as i23 from "./modules/chart.module";
26
- import * as i24 from "./shared.module";
5
+ import * as i3 from "./admin/profiler/outofoffice.component";
6
+ import * as i4 from "./admin/utility-wrapper.component";
7
+ import * as i5 from "./admin/utility.pane.component";
8
+ import * as i6 from "./admin/core/search.input";
9
+ import * as i7 from "./admin/document-trace/reassign.dialog";
10
+ import * as i8 from "./admin/diff/configuration-diff.component";
11
+ import * as i9 from "./admin/document-trace/document-trace.component";
12
+ import * as i10 from "./admin/document-trace/trace-element.component";
13
+ import * as i11 from "./admin/profiler/profiler.component";
14
+ import * as i12 from "./admin/positions/positions.component";
15
+ import * as i13 from "./admin/positions/positions-popup.component";
16
+ import * as i14 from "./admin/form/workflow/workflow.component";
17
+ import * as i15 from "./admin/form/workflow/node.component";
18
+ import * as i16 from "./admin/form/workflow/role-node.component";
19
+ import * as i17 from "./admin/patterns/patterns.component";
20
+ import * as i18 from "@angular/common";
21
+ import * as i19 from "@angular/common/http";
22
+ import * as i20 from "@angular/forms";
23
+ import * as i21 from "@angular/flex-layout";
24
+ import * as i22 from "@angular/router";
25
+ import * as i23 from "./modules/diagram.module";
26
+ import * as i24 from "./modules/chart.module";
27
+ import * as i25 from "./shared.module";
27
28
  /** administrative utilities */
28
29
  export declare class SystemModule {
29
30
  static forChild(): ModuleWithProviders<SystemModule>;
30
31
  static ɵfac: i0.ɵɵFactoryDeclaration<SystemModule, never>;
31
- static ɵmod: i0.ɵɵNgModuleDeclaration<SystemModule, [typeof i1.PermissionsUtility, typeof i2.ManageCubeIndexUtility, typeof i3.UtilityWrapperComponent, typeof i4.UtilityPaneComponent, typeof i5.SearchInput, typeof i6.ReassignDialog, typeof i7.SystemDiffComponent, typeof i8.DocumentTraceComponent, typeof i9.TraceElementComponent, typeof i10.ProfilerComponent, typeof i11.PositionsComponent, typeof i12.PositionsPopup, typeof i13.WorkflowComponent, typeof i14.WorkflowNodeComponent, typeof i15.RoleNodeComponent, typeof i16.PatternsComponent], [typeof i17.CommonModule, typeof i18.HttpClientModule, typeof i19.ReactiveFormsModule, typeof i20.FlexLayoutModule, typeof i21.RouterModule, typeof i22.SyncfusionDiagramModule, typeof i23.SyncfusionChartModule, typeof i24.SharedModule], [typeof i1.PermissionsUtility, typeof i2.ManageCubeIndexUtility, typeof i3.UtilityWrapperComponent, typeof i4.UtilityPaneComponent, typeof i7.SystemDiffComponent, typeof i8.DocumentTraceComponent, typeof i9.TraceElementComponent, typeof i10.ProfilerComponent, typeof i11.PositionsComponent, typeof i13.WorkflowComponent, typeof i14.WorkflowNodeComponent, typeof i15.RoleNodeComponent, typeof i16.PatternsComponent]>;
32
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SystemModule, [typeof i1.PermissionsUtility, typeof i2.ManageCubeIndexUtility, typeof i3.OutOfOfficeDialog, typeof i4.UtilityWrapperComponent, typeof i5.UtilityPaneComponent, typeof i6.SearchInput, typeof i7.ReassignDialog, typeof i8.SystemDiffComponent, typeof i9.DocumentTraceComponent, typeof i10.TraceElementComponent, typeof i11.ProfilerComponent, typeof i12.PositionsComponent, typeof i13.PositionsPopup, typeof i14.WorkflowComponent, typeof i15.WorkflowNodeComponent, typeof i16.RoleNodeComponent, typeof i17.PatternsComponent], [typeof i18.CommonModule, typeof i19.HttpClientModule, typeof i20.ReactiveFormsModule, typeof i21.FlexLayoutModule, typeof i22.RouterModule, typeof i23.SyncfusionDiagramModule, typeof i24.SyncfusionChartModule, typeof i25.SharedModule], [typeof i1.PermissionsUtility, typeof i2.ManageCubeIndexUtility, typeof i4.UtilityWrapperComponent, typeof i5.UtilityPaneComponent, typeof i8.SystemDiffComponent, typeof i9.DocumentTraceComponent, typeof i10.TraceElementComponent, typeof i11.ProfilerComponent, typeof i12.PositionsComponent, typeof i14.WorkflowComponent, typeof i15.WorkflowNodeComponent, typeof i16.RoleNodeComponent, typeof i17.PatternsComponent]>;
32
33
  static ɵinj: i0.ɵɵInjectorDeclaration<SystemModule>;
33
34
  }
@@ -27,7 +27,7 @@ export declare abstract class CubeBase<O extends Options> implements DocumentVie
27
27
  onBind(model: DocumentModel<any>): void;
28
28
  abstract onViewBind(): any;
29
29
  switchAxes(axes?: AxesMap): void;
30
- drop(axes: string | string[]): void;
30
+ protected _drop(axes: string | string[]): void;
31
31
  /**
32
32
  *
33
33
  * @param cube
@@ -27,7 +27,7 @@ export interface Options {
27
27
  indices: string[] | string;
28
28
  aggregate: string[];
29
29
  xAxis: string;
30
- parentAxis?: string;
30
+ series?: string;
31
31
  periodPolicy?: 'Strict' | 'Fish';
32
32
  scope?: ScopeType;
33
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "1.14.0-next.9",
3
+ "version": "1.14.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",
@@ -24,7 +24,6 @@
24
24
  "@syncfusion/ej2-angular-spreadsheet": "^20.1.47",
25
25
  "@syncfusion/ej2-base": "^20.1.47",
26
26
  "@teamhive/lottie-player": "^1.0.0",
27
- "@types/google.maps": "^3.48.3",
28
27
  "brace": "^0.11.1",
29
28
  "cookie": "^0.4.2",
30
29
  "dayjs": "^1.11.0",