@bizdoc/core 1.14.0-next.8 → 1.14.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.
Files changed (82) hide show
  1. package/assets/themes/brown.min.css +17 -17
  2. package/assets/themes/dark.min.css +17 -17
  3. package/assets/themes/deep-purple-light-blue.min.css +19 -19
  4. package/assets/themes/deep-purple-teal.min.css +19 -19
  5. package/assets/themes/default.min.css +19 -19
  6. package/assets/themes/green.min.css +17 -17
  7. package/assets/themes/indigo.min.css +17 -17
  8. package/esm2020/lib/admin/diff/configuration-diff.component.mjs +2 -2
  9. package/esm2020/lib/admin/document-trace/document-trace.component.mjs +120 -59
  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/bizdoc.module.mjs +10 -4
  16. package/esm2020/lib/browse/browse-items.component.mjs +8 -1
  17. package/esm2020/lib/chat/conversation.component.mjs +2 -2
  18. package/esm2020/lib/compose/compose.mobile.component.mjs +2 -2
  19. package/esm2020/lib/compose/trace/trace.component.mjs +3 -3
  20. package/esm2020/lib/compose/version-compare/version.pane.component.mjs +3 -3
  21. package/esm2020/lib/core/component-factory-resolver.mjs +1 -1
  22. package/esm2020/lib/core/configuration.mjs +6 -5
  23. package/esm2020/lib/core/controls/address.input.mjs +18 -5
  24. package/esm2020/lib/core/controls/combination-picker-body.mjs +2 -2
  25. package/esm2020/lib/core/session.service.mjs +17 -6
  26. package/esm2020/lib/core/slots/pane-ref.mjs +4 -1
  27. package/esm2020/lib/core/slots/router.service.mjs +1 -4
  28. package/esm2020/lib/core/slots/slots.component.mjs +102 -52
  29. package/esm2020/lib/core/translate.service.mjs +5 -5
  30. package/esm2020/lib/core/translations.mjs +9 -3
  31. package/esm2020/lib/cube/accum/accum.component.mjs +1 -1
  32. package/esm2020/lib/cube/chart/chart.component.mjs +1 -1
  33. package/esm2020/lib/cube/cube.service.mjs +2 -2
  34. package/esm2020/lib/cube/explore/explore.pane.component.mjs +6 -4
  35. package/esm2020/lib/cube/matrix/matrix.pane.component.mjs +3 -3
  36. package/esm2020/lib/cube/matrix/table.component.mjs +3 -3
  37. package/esm2020/lib/cube/parallel/parallel.component.mjs +3 -4
  38. package/esm2020/lib/cube/pivot/pivot.component.mjs +15 -19
  39. package/esm2020/lib/cube/view.pane.component.mjs +5 -1
  40. package/esm2020/lib/dashboard/cube/cube-analysis.base.mjs +3 -3
  41. package/esm2020/lib/dashboard/recents/recents.widget.mjs +2 -2
  42. package/esm2020/lib/dashboard/score/personal-score.widget.mjs +17 -13
  43. package/esm2020/lib/home/home.desktop.component.mjs +7 -13
  44. package/esm2020/lib/modules/chart.module.mjs +12 -10
  45. package/esm2020/lib/modules/dayjs.module.mjs +2 -2
  46. package/esm2020/lib/modules/diagram.module.mjs +4 -4
  47. package/esm2020/lib/modules/pivot.module.mjs +3 -2
  48. package/esm2020/lib/modules/spreadsheet.module.mjs +5 -3
  49. package/esm2020/lib/modules/texteditor.module.mjs +4 -4
  50. package/esm2020/lib/notifications/types/notification-base.mjs +2 -2
  51. package/esm2020/lib/reports/cube/usage-pivot.component.mjs +2 -3
  52. package/esm2020/lib/routes.desktop.mjs +18 -18
  53. package/esm2020/lib/shared.module.mjs +9 -6
  54. package/esm2020/lib/views/cube/cube-base.mjs +2 -2
  55. package/esm2020/lib/views/cube/parallel.component.mjs +3 -2
  56. package/esm2020/lib/views/cube/sum.component.mjs +3 -3
  57. package/esm2020/lib/views/view-item.component.mjs +7 -11
  58. package/esm2020/public-api.mjs +1 -1
  59. package/fesm2015/bizdoc-core.mjs +507 -324
  60. package/fesm2015/bizdoc-core.mjs.map +1 -1
  61. package/fesm2020/bizdoc-core.mjs +481 -297
  62. package/fesm2020/bizdoc-core.mjs.map +1 -1
  63. package/lib/admin/document-trace/document-trace.component.d.ts +33 -18
  64. package/lib/admin/document-trace/trace-element.component.d.ts +22 -8
  65. package/lib/admin/form/form.service.d.ts +19 -2
  66. package/lib/admin/form/workflow/workflow.component.d.ts +2 -1
  67. package/lib/core/component-factory-resolver.d.ts +1 -1
  68. package/lib/core/configuration.d.ts +7 -5
  69. package/lib/core/controls/address.input.d.ts +5 -3
  70. package/lib/core/session.service.d.ts +3 -1
  71. package/lib/core/slots/pane-ref.d.ts +3 -0
  72. package/lib/core/slots/router.service.d.ts +2 -1
  73. package/lib/core/slots/slots.component.d.ts +25 -7
  74. package/lib/core/translations.d.ts +6 -0
  75. package/lib/cube/explore/explore.pane.component.d.ts +1 -0
  76. package/lib/home/home.desktop.component.d.ts +4 -3
  77. package/lib/modules/chart.module.d.ts +1 -1
  78. package/lib/views/cube/cube-base.d.ts +1 -1
  79. package/lib/views/cube/sum.component.d.ts +1 -1
  80. package/lib/views/view-item.component.d.ts +2 -4
  81. package/package.json +1 -2
  82. 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;
@@ -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,15 +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,
36
- Toggle = 256
32
+ Stretch = 16,
33
+ Tab = 32,
34
+ Dialog = 96,
35
+ Expandable = 128,
36
+ Toggle = 256,
37
+ Dismissable = 512
37
38
  }
38
39
  export declare const DEFAULT_POLICY: OpenPolicy;
39
40
  export interface BizDocChildConfig {
40
41
  components: Type<any>[];
42
+ routes?: PaneRoute[];
41
43
  }
42
44
  export interface Theme {
43
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;
@@ -7,11 +7,13 @@ import { Profile, UserInfo, AvailabilityState, Options, Gender } from './models'
7
7
  import { HubService } from './hub.service';
8
8
  import { MaterialMode } from './functions';
9
9
  import * as i0 from "@angular/core";
10
+ export declare function SessionProviderFactory(provider: SessionService): () => Promise<any[]>;
10
11
  export declare class SessionService {
11
12
  private _config;
12
13
  private _http;
13
14
  private _cookies;
14
15
  private _hub;
16
+ prepare(): Promise<any[]>;
15
17
  readonly Themes: Theme[];
16
18
  constructor(_config: BizDocConfig, _http: HttpClient, _cookies: CookieService, _hub: HubService);
17
19
  private readonly _loaded;
@@ -70,7 +72,7 @@ export declare class SessionService {
70
72
  */
71
73
  private _changeTheme;
72
74
  private _loadSw;
73
- private _loadMaps;
75
+ private _googleMaps;
74
76
  static ɵfac: i0.ɵɵFactoryDeclaration<SessionService, never>;
75
77
  static ɵprov: i0.ɵɵInjectableDeclaration<SessionService>;
76
78
  }
@@ -82,6 +82,8 @@ export declare class PaneRef<T = any> {
82
82
  get modeChange(): import("rxjs").Observable<"tab" | "pane">;
83
83
  get mode(): "tab" | "pane";
84
84
  get parent(): PaneRef<any>;
85
+ get stretch(): boolean;
86
+ set stretch(val: boolean);
85
87
  get dialog(): boolean;
86
88
  get dismissable(): boolean;
87
89
  get route(): PaneRoute;
@@ -96,6 +98,7 @@ export declare class PaneRef<T = any> {
96
98
  help?: string;
97
99
  fullscreen?: boolean;
98
100
  dialog?: boolean;
101
+ stretch?: boolean;
99
102
  parent?: PaneRef<any>;
100
103
  queryString?: string;
101
104
  data?: ParamMap;
@@ -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;
@@ -32,6 +33,7 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
32
33
  readonly panes: PaneRef<any>[];
33
34
  readonly tabs: PaneRef<any>[];
34
35
  private _selectedTabIndex;
36
+ dialog: boolean;
35
37
  get selectedTabIndex(): number;
36
38
  set selectedTabIndex(value: number);
37
39
  private _setTabAnimation;
@@ -39,7 +41,6 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
39
41
  next: boolean;
40
42
  prev: boolean;
41
43
  dragging: boolean;
42
- dialog: boolean;
43
44
  tabsAnimation: {
44
45
  value: number;
45
46
  params: {
@@ -48,7 +49,6 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
48
49
  };
49
50
  readonly ripple: RippleConfig;
50
51
  accent: string;
51
- private _width;
52
52
  private _navigating;
53
53
  private _repository;
54
54
  private readonly _pending;
@@ -83,7 +83,7 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
83
83
  */
84
84
  private _navParams;
85
85
  /** */
86
- private _replaceUrl;
86
+ private _sync;
87
87
  /**
88
88
  *
89
89
  * @param mode
@@ -130,17 +130,28 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
130
130
  * @param options
131
131
  */
132
132
  private _constract;
133
+ /**
134
+ *
135
+ * @param component
136
+ * @param options
137
+ */
133
138
  private _insertTab;
134
139
  guide(name: string): void;
135
140
  back(): void;
136
141
  private _back;
137
142
  tabBack(): void;
143
+ /**
144
+ *
145
+ * @param e
146
+ * @param pane
147
+ */
138
148
  private _action;
139
149
  /**
140
150
  * escape
141
151
  * @param event
142
152
  */
143
153
  collapse(): void;
154
+ onResize(): void;
144
155
  private _resize;
145
156
  closeTab(position: number): void;
146
157
  expandPane(): void;
@@ -158,7 +169,14 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
158
169
  * @param pane
159
170
  */
160
171
  private _discardPane;
161
- private _clear;
172
+ private _clearPending;
173
+ /** */
174
+ private _clearPanes;
175
+ private _clearTabs;
176
+ /**
177
+ *
178
+ * @param panes
179
+ */
162
180
  private _dismissAll;
163
181
  /**
164
182
  *
@@ -171,12 +189,12 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
171
189
  navigationArrows(_?: Event): void;
172
190
  scrollBy(n: number): void;
173
191
  focus(index: any): void;
174
- onResize(pane: PaneRef<any>, event: MouseEvent): void;
192
+ onPaneResize(pane: PaneRef<any>, event: MouseEvent): void;
175
193
  onTabResize(event: MouseEvent): void;
176
194
  private _destroyPane;
177
195
  ngOnDestroy(): void;
178
196
  static ɵfac: i0.ɵɵFactoryDeclaration<SlotsComponent, never>;
179
- static ɵcmp: i0.ɵɵComponentDeclaration<SlotsComponent, "bizdoc-panes", never, {}, {}, never, never>;
197
+ static ɵcmp: i0.ɵɵComponentDeclaration<SlotsComponent, "bizdoc-panes-outlet", never, {}, { "dialogChange": "dialogChange"; }, never, never>;
180
198
  }
181
199
  interface ExtendedRoute extends PaneRoute {
182
200
  fullPath: string;
@@ -84,8 +84,10 @@ export declare const STRINGS: {
84
84
  ar: {};
85
85
  ru: {};
86
86
  en: {
87
+ LastDay: string;
87
88
  TodayAt: string;
88
89
  Tomorrow: string;
90
+ TomorrowAt: string;
89
91
  Editing: string;
90
92
  CheckOut: string;
91
93
  CheckIn: string;
@@ -200,6 +202,7 @@ export declare const STRINGS: {
200
202
  YouSubmittedNoteBy: string;
201
203
  Today: string;
202
204
  Yesterday: string;
205
+ YesterdayAt: string;
203
206
  Forget: string;
204
207
  SomeoneTyping: string;
205
208
  Typing: string;
@@ -546,8 +549,10 @@ export declare const STRINGS: {
546
549
  Working: string;
547
550
  };
548
551
  he: {
552
+ LastDay: string;
549
553
  TodayAt: string;
550
554
  Tomorrow: string;
555
+ TomorrowAt: string;
551
556
  Editing: string;
552
557
  EditingMale: string;
553
558
  EditingFemale: string;
@@ -749,6 +754,7 @@ export declare const STRINGS: {
749
754
  YouSubmittedNoteBy: string;
750
755
  Today: string;
751
756
  Yesterday: string;
757
+ YesterdayAt: string;
752
758
  SomeoneTyping: string;
753
759
  Typing: string;
754
760
  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
  }
@@ -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
  }
@@ -2,10 +2,8 @@ import { AfterViewInit, Injector, OnDestroy, ViewContainerRef } from "@angular/c
2
2
  import { HttpClient } from "@angular/common/http";
3
3
  import { BizDocComponentFactoryResolver } from "../core/component-factory-resolver";
4
4
  import { DocumentModel, View } from "../core/models";
5
- import { PaneRef } from "../core/slots/pane-ref";
6
5
  import * as i0 from "@angular/core";
7
6
  export declare class ViewItemComponent implements AfterViewInit, OnDestroy {
8
- private _pane;
9
7
  private _http;
10
8
  private _vc;
11
9
  private _injector;
@@ -18,11 +16,11 @@ export declare class ViewItemComponent implements AfterViewInit, OnDestroy {
18
16
  private _instance;
19
17
  private readonly _resizing;
20
18
  private readonly _destroy;
21
- constructor(_pane: PaneRef<any>, _http: HttpClient, _vc: ViewContainerRef, _injector: Injector, _cf: BizDocComponentFactoryResolver);
19
+ constructor(_http: HttpClient, _vc: ViewContainerRef, _injector: Injector, _cf: BizDocComponentFactoryResolver);
22
20
  ngAfterViewInit(): void;
23
21
  private _dim;
24
22
  resize(): void;
25
23
  ngOnDestroy(): void;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewItemComponent, [{ optional: true; }, null, null, null, null]>;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<ViewItemComponent, never>;
27
25
  static ɵcmp: i0.ɵɵComponentDeclaration<ViewItemComponent, "bizdoc-document-view-item", never, { "model": "model"; "view": "view"; }, {}, never, never>;
28
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "1.14.0-next.8",
3
+ "version": "1.14.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",
@@ -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",
package/public-api.d.ts CHANGED
@@ -136,7 +136,7 @@ export { CubeParallelComponent } from './lib/cube/parallel/parallel.component';
136
136
  export { CheckboxComponent } from './lib/core/layout/checkbox';
137
137
  export { DifferencePipe } from './lib/core/pipes/difference.pipe';
138
138
  export { DateFormatPipe } from './lib/core/pipes/date-format.pipe';
139
- export { CalendarPipe } from './lib/core/pipes/calendar.pipe';
139
+ export { CalendarPipe, CalendarSpec } from './lib/core/pipes/calendar.pipe';
140
140
  export { TimeAgoPipe } from './lib/core/pipes/time-ago.pipe';
141
141
  export { DurationFormatPipe } from './lib/core/pipes/duration-format.pipe';
142
142
  export { DurationPipe } from './lib/core/pipes/duration.pipe';