@bizdoc/core 1.14.2 → 1.14.6

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 (57) hide show
  1. package/assets/themes/brown.min.css +1 -1
  2. package/assets/themes/dark.min.css +1 -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/document-trace/document-trace.component.mjs +4 -2
  9. package/esm2020/lib/admin/form/workflow/workflow.component.mjs +2 -2
  10. package/esm2020/lib/admin/profiler/outofoffice.component.mjs +106 -37
  11. package/esm2020/lib/admin/profiler/profiler.component.mjs +24 -25
  12. package/esm2020/lib/browse/browse.pane.component.mjs +3 -4
  13. package/esm2020/lib/compose/compose.pane.component.mjs +3 -2
  14. package/esm2020/lib/compose/trace/trace.pane.component.mjs +2 -2
  15. package/esm2020/lib/core/models.mjs +1 -1
  16. package/esm2020/lib/core/slots/pane-ref.mjs +57 -38
  17. package/esm2020/lib/core/slots/router.directive.mjs +3 -5
  18. package/esm2020/lib/core/slots/router.service.mjs +1 -4
  19. package/esm2020/lib/core/slots/slots.component.mjs +134 -95
  20. package/esm2020/lib/core/translations.mjs +2 -2
  21. package/esm2020/lib/cube/cube-info.service.mjs +2 -2
  22. package/esm2020/lib/cube/cube-view.component.mjs +2 -2
  23. package/esm2020/lib/cube/matrix/matrix.base.mjs +1 -1
  24. package/esm2020/lib/cube/matrix/matrix.pane.component.mjs +1 -1
  25. package/esm2020/lib/cube/view.pane.component.mjs +5 -5
  26. package/esm2020/lib/dashboard/dashboard.component.mjs +25 -17
  27. package/esm2020/lib/dashboard/widget-item.component.mjs +2 -1
  28. package/esm2020/lib/options/options.component.mjs +37 -16
  29. package/esm2020/lib/reports/report-viewer.component.mjs +1 -1
  30. package/esm2020/lib/reports/report.pane.component.mjs +2 -2
  31. package/esm2020/lib/scheduler/scheduler.pane.component.mjs +2 -2
  32. package/esm2020/lib/system.module.mjs +8 -7
  33. package/esm2020/lib/views/view-item.component.mjs +3 -2
  34. package/esm2020/lib/views/views.component.mjs +11 -3
  35. package/esm2020/lib/views/views.pane.component.mjs +14 -10
  36. package/esm2020/public-api.mjs +2 -2
  37. package/fesm2015/bizdoc-core.mjs +462 -310
  38. package/fesm2015/bizdoc-core.mjs.map +1 -1
  39. package/fesm2020/bizdoc-core.mjs +458 -307
  40. package/fesm2020/bizdoc-core.mjs.map +1 -1
  41. package/lib/admin/profiler/outofoffice.component.d.ts +29 -11
  42. package/lib/admin/profiler/profiler.component.d.ts +6 -4
  43. package/lib/core/models.d.ts +1 -1
  44. package/lib/core/slots/pane-ref.d.ts +55 -37
  45. package/lib/core/slots/router.service.d.ts +2 -3
  46. package/lib/core/slots/slots.component.d.ts +22 -15
  47. package/lib/cube/matrix/matrix.base.d.ts +2 -2
  48. package/lib/cube/matrix/matrix.pane.component.d.ts +14 -1
  49. package/lib/dashboard/dashboard.component.d.ts +6 -2
  50. package/lib/dashboard/widget-item.component.d.ts +2 -0
  51. package/lib/options/options.component.d.ts +4 -3
  52. package/lib/system.module.d.ts +1 -1
  53. package/lib/views/view-item.component.d.ts +2 -0
  54. package/lib/views/views.component.d.ts +4 -0
  55. package/lib/views/views.pane.component.d.ts +3 -2
  56. package/package.json +16 -16
  57. package/public-api.d.ts +1 -1
@@ -1,30 +1,48 @@
1
1
  import { OnInit } from "@angular/core";
2
- import { FormGroup, FormBuilder } from "@angular/forms";
2
+ import { FormBuilder, FormGroup } from "@angular/forms";
3
3
  import { MatAutocompleteSelectedEvent } from "@angular/material/autocomplete";
4
+ import { MatChipInput } from "@angular/material/chips";
4
5
  import { MatDialogRef } from "@angular/material/dialog";
5
6
  import { MatInput } from "@angular/material/input";
6
7
  import { Observable } from "rxjs";
7
8
  import { AccountService } from "../../core/account.service";
8
- import { OutOfOfficeSettings, UserInfo } from "../../core/models";
9
+ import { OutOfOfficeSettings, GrantSettings, UserInfo } from "../../core/models";
9
10
  import * as i0 from "@angular/core";
10
11
  export interface OutOfOfficeData {
11
12
  userId: string;
12
13
  outOfOffice: OutOfOfficeSettings;
14
+ grantAccess: GrantSettings;
13
15
  }
14
- export declare class OutOfOfficeDialog implements OnInit {
16
+ export declare class ProfileSettingsDialog implements OnInit {
15
17
  private _accounts;
16
18
  private _dialogRef;
17
19
  private _fb;
18
- private _data;
19
- readonly userCtrl: import("@angular/forms").FormControl;
20
- userInput: MatInput;
20
+ model: OutOfOfficeData;
21
+ readonly separatorKeysCodes: number[];
22
+ readonly substitute: import("@angular/forms").FormControl;
23
+ readonly grants: import("@angular/forms").FormControl;
24
+ substitueInput: MatInput;
25
+ grantInput: MatChipInput;
26
+ readonly outOfOffice: FormGroup;
27
+ readonly grantAccess: FormGroup;
21
28
  readonly form: FormGroup;
22
- users$: Observable<UserInfo[]>;
23
- get model(): OutOfOfficeSettings;
24
- constructor(_accounts: AccountService, _dialogRef: MatDialogRef<OutOfOfficeDialog>, _fb: FormBuilder, _data: OutOfOfficeData);
29
+ ousers$: Observable<UserInfo[]>;
30
+ gusers$: Observable<UserInfo[]>;
31
+ constructor(_accounts: AccountService, _dialogRef: MatDialogRef<ProfileSettingsDialog>, _fb: FormBuilder, model: OutOfOfficeData);
25
32
  ngOnInit(): void;
26
33
  userDisplay: (item: UserInfo) => string;
27
34
  setId(event: MatAutocompleteSelectedEvent): void;
28
- static ɵfac: i0.ɵɵFactoryDeclaration<OutOfOfficeDialog, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<OutOfOfficeDialog, "ng-component", never, {}, {}, never, never>;
35
+ /**
36
+ *
37
+ * @param id
38
+ */
39
+ removeGrant(id: string): void;
40
+ /**
41
+ *
42
+ * @param inp
43
+ * @param event
44
+ */
45
+ addGrant(inp: HTMLInputElement, event: MatAutocompleteSelectedEvent): void;
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<ProfileSettingsDialog, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<ProfileSettingsDialog, "ng-component", never, {}, {}, never, never>;
30
48
  }
@@ -5,7 +5,7 @@ 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 { OutOfOfficeSettings, UserInfo } from '../../core/models';
8
+ import { GrantSettings, 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';
@@ -50,6 +50,7 @@ export declare class ProfilerComponent implements OnInit, OnDestroy {
50
50
  data: ProfileInfo;
51
51
  cols: number;
52
52
  private readonly _destroy;
53
+ readonly separatorKeysCodes: number[];
53
54
  /** ctor */
54
55
  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);
55
56
  ngOnInit(): void;
@@ -63,13 +64,12 @@ export declare class ProfilerComponent implements OnInit, OnDestroy {
63
64
  /** */
64
65
  private _series;
65
66
  private _actionName;
66
- resize(): void;
67
67
  pointClick(evt: IPointEventArgs): void;
68
68
  userDisplay(item: UserInfo): string;
69
69
  trace(id: number): void;
70
70
  chat(): void;
71
71
  reassign(position?: PositionInfo): void;
72
- outOfOffice(): void;
72
+ settings(): void;
73
73
  /** */
74
74
  private _reassign;
75
75
  tooltipRender(e: ITooltipRenderEventArgs): void;
@@ -78,7 +78,8 @@ export declare class ProfilerComponent implements OnInit, OnDestroy {
78
78
  static ɵcmp: i0.ɵɵComponentDeclaration<ProfilerComponent, "ng-component", never, {}, {}, never, never>;
79
79
  }
80
80
  interface ProfileInfo {
81
- outOfOffice?: OutOfOfficeSettings;
81
+ outOfOffice: OutOfOfficeSettings;
82
+ grantAccess: GrantSettings;
82
83
  positions: PositionInfo[];
83
84
  activity: {
84
85
  [action: string]: {
@@ -104,6 +105,7 @@ interface PositionInfo {
104
105
  }
105
106
  interface ProfilerModel {
106
107
  outOfOffice?: OutOfOfficeSettings;
108
+ grantAccess?: GrantSettings;
107
109
  userId: string;
108
110
  reassign?: {
109
111
  who: string;
@@ -456,7 +456,7 @@ export interface Options {
456
456
  notificationsView?: Date;
457
457
  tags?: string[];
458
458
  }
459
- interface GrantSettings {
459
+ export interface GrantSettings {
460
460
  active: boolean;
461
461
  users?: string[];
462
462
  }
@@ -1,4 +1,3 @@
1
- import { ComponentPortal } from "@angular/cdk/portal";
2
1
  import { Type, Injector, InjectionToken } from "@angular/core";
3
2
  import { BehaviorSubject, Subject } from "rxjs";
4
3
  import { ParamMap, PaneRoute, OpenPolicy } from "../configuration";
@@ -6,51 +5,65 @@ import { Dimentions } from "../models";
6
5
  export declare const QUERY_CHAR = ":", PATH_CHAR = ";", ARG_CHAR = "&", PANE_CHAR = "~";
7
6
  export declare const PANES_DATA: InjectionToken<PaneRoute[]>;
8
7
  export declare abstract class NavigationBase {
8
+ _preventDefault: boolean;
9
+ preventDefault(): void;
9
10
  }
10
11
  export declare class CollapseNavigation extends NavigationBase {
11
12
  }
12
13
  export declare class BackNavigation extends NavigationBase {
13
14
  }
14
- export declare abstract class NavigationPaneBase extends NavigationBase {
15
+ export declare abstract class NavigationPaneBase<T = any> extends NavigationBase {
15
16
  private _pane;
16
- constructor(_pane: PaneRef<any>);
17
- get pane(): PaneRef<any>;
17
+ constructor(_pane: PaneRef<T>);
18
+ get pane(): PaneRef<T>;
18
19
  }
19
20
  export declare class NavigationStart extends NavigationPaneBase {
20
21
  }
21
- export declare class NavigationSelected extends NavigationPaneBase {
22
+ /** pane fucus change */
23
+ export declare class NavigationFocus extends NavigationPaneBase {
22
24
  }
23
- export declare class NavigationEnd extends NavigationPaneBase {
25
+ export declare class NavigationEnd<T = any> extends NavigationPaneBase<T> {
24
26
  }
25
- export declare class ParamNavigation extends NavigationPaneBase {
27
+ export declare class NavigationMode<T = any> extends NavigationPaneBase<T> {
28
+ readonly mode: PaneMode;
29
+ constructor(mode: PaneMode, pane: PaneRef<T>);
30
+ }
31
+ export declare class NavigationExpand<T = any> extends NavigationPaneBase<T> {
32
+ readonly expended: boolean;
33
+ constructor(expended: boolean, pane: PaneRef<T>);
34
+ }
35
+ export declare class NavigationResize<T = any> extends NavigationPaneBase<T> {
36
+ readonly dimentions: Dimentions;
37
+ constructor(dimentions: Dimentions, pane: PaneRef<T>);
38
+ }
39
+ export declare class NavigationClose<T = any> extends NavigationPaneBase<T> {
40
+ }
41
+ export declare class ParamNavigation<T = any> extends NavigationPaneBase<T> {
26
42
  readonly params: ParamMap;
27
- constructor(params: ParamMap, slot: PaneRef<any>);
43
+ constructor(params: ParamMap, pane: PaneRef<T>);
28
44
  }
29
- export declare class QueryParamNavigation extends NavigationPaneBase {
45
+ export declare class QueryParamNavigation<T = any> extends NavigationPaneBase<T> {
30
46
  readonly queryParams: ParamMap;
31
- constructor(queryParams: ParamMap, slot: PaneRef<any>);
47
+ constructor(queryParams: ParamMap, pane: PaneRef<T>);
32
48
  }
49
+ export declare type PaneMode = 'tab' | 'pane';
33
50
  export interface PaneOptions {
34
51
  title?: string;
35
52
  group?: string;
36
53
  help?: string;
37
- state?: {
38
- [name: string]: any;
39
- };
54
+ state?: any;
40
55
  openPolicy?: OpenPolicy;
41
56
  }
42
- export declare type PaneAction = 'expand' | 'focus' | 'close' | 'refresh';
43
- export declare class PaneRef<T = any> {
57
+ export declare type PaneCommand = 'expand' | 'focus' | 'close' | 'refresh';
58
+ export declare class PaneRef<T = any, D = ParamMap> {
44
59
  component: Type<any>;
45
60
  private _options;
46
- readonly _comm$: Subject<string>;
61
+ readonly _comm$: Subject<PaneCommand>;
47
62
  /** */
48
- readonly _data$: BehaviorSubject<ParamMap>;
63
+ readonly _data$: BehaviorSubject<D>;
49
64
  readonly _params$: BehaviorSubject<ParamMap>;
50
65
  readonly _queryParams$: BehaviorSubject<ParamMap>;
51
- readonly _resize$: BehaviorSubject<Dimentions>;
52
- _fullscreen$: BehaviorSubject<boolean>;
53
- _mode$: BehaviorSubject<'tab' | 'pane'>;
66
+ readonly _events$: Subject<NavigationBase>;
54
67
  title: string;
55
68
  icon?: string;
56
69
  guide?: string;
@@ -59,35 +72,39 @@ export declare class PaneRef<T = any> {
59
72
  animation: string;
60
73
  group: string;
61
74
  help: string;
62
- expandable: boolean;
75
+ _expanded: boolean;
63
76
  _instance: T;
64
77
  _path: string;
65
78
  _queryString: string;
66
- _injector: Injector;
67
- _portal: ComponentPortal<T>;
79
+ _mode: PaneMode;
80
+ private _injector;
81
+ private _expandable;
82
+ private _stretchable;
83
+ get expandable(): boolean;
68
84
  get injector(): Injector;
69
- get fullscreen(): boolean;
70
- get fullscreenChange(): import("rxjs").Observable<boolean>;
85
+ get expanded(): boolean;
71
86
  get fullPath(): string;
72
87
  get instance(): T;
73
- get data(): any;
74
- get dataChange(): import("rxjs").Observable<ParamMap>;
88
+ get data(): D;
89
+ get dataChange(): import("rxjs").Observable<D>;
75
90
  get params(): ParamMap;
76
- get resize(): import("rxjs").Observable<Dimentions>;
77
91
  get paramsChange(): import("rxjs").Observable<ParamMap>;
78
92
  get queryString(): string;
79
93
  get queryParams(): ParamMap;
80
94
  get queryParamsChange(): import("rxjs").Observable<ParamMap>;
95
+ get events(): import("rxjs").Observable<NavigationBase>;
96
+ get resized(): import("rxjs").Observable<NavigationBase>;
97
+ get closing(): import("rxjs").Observable<NavigationBase>;
98
+ get expandeding(): import("rxjs").Observable<NavigationBase>;
81
99
  get path(): string;
82
- get modeChange(): import("rxjs").Observable<"tab" | "pane">;
83
- get mode(): "tab" | "pane";
84
- get parent(): PaneRef<any>;
85
- get stretch(): boolean;
86
- set stretch(val: boolean);
100
+ get mode(): PaneMode;
101
+ get parent(): PaneRef<any, ParamMap>;
102
+ get stretchable(): boolean;
103
+ set stretchable(val: boolean);
87
104
  get dialog(): boolean;
88
105
  get dismissable(): boolean;
89
106
  get route(): PaneRoute;
90
- constructor(component: Type<any>, mode: 'tab' | 'pane', _options: {
107
+ constructor(component: Type<any>, injector: Injector, _options: {
91
108
  path?: string;
92
109
  route?: PaneRoute;
93
110
  title?: string;
@@ -96,12 +113,13 @@ export declare class PaneRef<T = any> {
96
113
  icon?: string;
97
114
  animation?: string;
98
115
  help?: string;
99
- fullscreen?: boolean;
116
+ mode: PaneMode;
117
+ expanded?: boolean;
100
118
  dialog?: boolean;
101
- stretch?: boolean;
119
+ stretchable?: boolean;
102
120
  parent?: PaneRef<any>;
103
121
  queryString?: string;
104
- data?: ParamMap;
122
+ data?: D;
105
123
  params?: ParamMap;
106
124
  queryParams?: ParamMap;
107
125
  expandable?: boolean;
@@ -3,11 +3,10 @@ import { Subject } from 'rxjs';
3
3
  import { OpenPolicy } from '../configuration';
4
4
  import { NavigationBase, PaneRef } from './pane-ref';
5
5
  import * as i0 from "@angular/core";
6
+ export declare type RouterCommand = 'collapse';
6
7
  export declare class PanesRouter {
7
8
  readonly _events$: Subject<NavigationBase>;
8
- readonly _comm$: Subject<string>;
9
- _active: PaneRef;
10
- get active(): PaneRef;
9
+ readonly _comm$: Subject<"collapse">;
11
10
  readonly _navigate$: Subject<{
12
11
  commands?: any[];
13
12
  component?: ComponentType<any>;
@@ -6,7 +6,7 @@ import { PanesRouter } from './router.service';
6
6
  import { SessionService } from '../session.service';
7
7
  import { CdkScrollable, ComponentType } from '@angular/cdk/overlay';
8
8
  import { WindowTitleService } from '../window-title.service';
9
- import { PaneRoute } from '../configuration';
9
+ import { PaneRoute, ParamMap } from '../configuration';
10
10
  import { GuideService } from '../guide/guide.service';
11
11
  import * as i0 from "@angular/core";
12
12
  declare global {
@@ -49,10 +49,11 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
49
49
  };
50
50
  readonly ripple: RippleConfig;
51
51
  accent: string;
52
- private _navigating;
52
+ private _navigationInProcess;
53
53
  private _repository;
54
54
  private readonly _pending;
55
55
  private readonly _rtl;
56
+ private readonly _resizing;
56
57
  private readonly _destroy;
57
58
  constructor(data: ExtendedRoute[], _session: SessionService, _cd: ChangeDetectorRef, _router: PanesRouter, _title: WindowTitleService, _guide: GuideService, _injector: Injector);
58
59
  ngOnInit(): void;
@@ -83,12 +84,8 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
83
84
  */
84
85
  private _navParams;
85
86
  /** */
86
- private _sync;
87
- /**
88
- *
89
- * @param mode
90
- */
91
- private _history;
87
+ private _syncBrowserHistory;
88
+ private _constructHistoryState;
92
89
  drop(evt: CdkDragDrop<string, string>): void;
93
90
  togglePinned(pane: PaneRef<any>): void;
94
91
  private _queryString;
@@ -121,8 +118,8 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
121
118
  */
122
119
  private _parentstate;
123
120
  private _resolve;
124
- add<T>(component: ComponentType<T>, options?: PaneOptions): PaneRef<T>;
125
- insert<T>(position: number, component: ComponentType<T>, options?: PaneOptions): PaneRef<T>;
121
+ add<T>(component: ComponentType<T>, options?: PaneOptions): PaneRef<T, ParamMap>;
122
+ insert<T>(position: number, component: ComponentType<T>, options?: PaneOptions): PaneRef<T, ParamMap>;
126
123
  private _insertPane;
127
124
  /**
128
125
  *
@@ -138,22 +135,32 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
138
135
  private _insertTab;
139
136
  guide(name: string): void;
140
137
  back(): void;
141
- private _back;
138
+ /**
139
+ *
140
+ * @param steps
141
+ */
142
+ private _navBack;
142
143
  tabBack(): void;
143
144
  /**
144
145
  *
145
- * @param e
146
+ * @param command
146
147
  * @param pane
147
148
  */
148
- private _action;
149
+ private _paneCommand;
149
150
  /**
150
151
  * escape
151
152
  * @param event
152
153
  */
153
- collapse(): void;
154
+ collapse(): Promise<void>;
154
155
  onResize(): void;
156
+ /** */
155
157
  private _resize;
156
158
  closeTab(position: number): void;
159
+ /**
160
+ *
161
+ * @param pane
162
+ */
163
+ private _closing;
157
164
  expandPane(): void;
158
165
  private _getHistoryStep;
159
166
  expandTab(): void;
@@ -186,7 +193,7 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
186
193
  scrollTo(index: number): void;
187
194
  private get _children();
188
195
  done(): void;
189
- navigationArrows(_?: Event): void;
196
+ enableNavigationArrows(_?: Event): void;
190
197
  scrollBy(n: number): void;
191
198
  focus(index: any): void;
192
199
  onPaneResize(pane: PaneRef<any>, event: MouseEvent): void;
@@ -10,8 +10,8 @@ export declare abstract class CubeMatrixBase {
10
10
  private _ds;
11
11
  protected _session: SessionService;
12
12
  table: CubeMatrixComponent;
13
- seriesTotalLabel: string;
14
- xAxisTotalLabel: string;
13
+ seriesTotalLabel?: string;
14
+ xAxisTotalLabel?: string;
15
15
  indexAt?: 'series' | 'xAxis';
16
16
  placeAt?: 'leading' | 'trailing';
17
17
  loading: boolean;
@@ -8,16 +8,29 @@ import { AxesMap } from '../../core/models';
8
8
  import { CubeMatrixBase } from './matrix.base';
9
9
  import { TranslateService } from '../../core/translate.service';
10
10
  import { AxisClickEvent } from '../declarations';
11
+ import { SumSettings } from './table.component';
11
12
  import * as i0 from "@angular/core";
12
13
  export declare class CubeMatrixPaneComponent extends CubeMatrixBase implements OnInit {
13
14
  private _pane;
14
15
  private _router;
15
16
  private _translate;
16
17
  /** cube-info ctor */
17
- constructor(_pane: PaneRef<CubeMatrixPaneComponent>, _router: PanesRouter, _translate: TranslateService, service: CubeService, ds: DatasourceService, session: SessionService);
18
+ constructor(_pane: PaneRef<CubeMatrixPaneComponent, Data>, _router: PanesRouter, _translate: TranslateService, service: CubeService, ds: DatasourceService, session: SessionService);
18
19
  ngOnInit(): void;
19
20
  onFilter(queryParams: AxesMap): void;
20
21
  explore(evt: AxisClickEvent): void;
21
22
  static ɵfac: i0.ɵɵFactoryDeclaration<CubeMatrixPaneComponent, never>;
22
23
  static ɵcmp: i0.ɵɵComponentDeclaration<CubeMatrixPaneComponent, "ng-component", never, {}, {}, never, never>;
23
24
  }
25
+ interface Data {
26
+ indices: string | string[];
27
+ /** */
28
+ aggregation: string[];
29
+ sum: SumSettings | SumSettings[];
30
+ indexAt?: 'series' | 'xAxis';
31
+ placeAt?: 'leading' | 'trailing';
32
+ selection?: string | string[];
33
+ xAxisTotalLabel?: string;
34
+ seriesTotalLabel?: string;
35
+ }
36
+ export {};
@@ -5,16 +5,20 @@ import { MediaObserver } from '@angular/flex-layout';
5
5
  import { WindowTitleService } from '../core/window-title.service';
6
6
  import { TranslateService } from '../core/translate.service';
7
7
  import { GuideService } from '../core/guide/guide.service';
8
+ import { WidgetItemComponent } from './widget-item.component';
9
+ import { PaneRef } from '../core/slots/pane-ref';
10
+ import { QueryList } from '@angular/core';
8
11
  import * as i0 from "@angular/core";
9
12
  export declare class DashboardComponent implements OnDestroy {
10
13
  private _guide;
14
+ components: QueryList<WidgetItemComponent>;
11
15
  private readonly _destroy;
12
16
  /** dashboard ctor */
13
17
  readonly widgets: Widget[];
14
18
  cols: number;
15
- constructor(_guide: GuideService, observableMedia: MediaObserver, session: SessionService, title: WindowTitleService, translate: TranslateService);
19
+ constructor(_guide: GuideService, observableMedia: MediaObserver, session: SessionService, pane: PaneRef, title: WindowTitleService, translate: TranslateService);
16
20
  guide(name: string): void;
17
21
  ngOnDestroy(): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<DashboardComponent, never>;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<DashboardComponent, [null, null, null, { optional: true; }, null, null]>;
19
23
  static ɵcmp: i0.ɵɵComponentDeclaration<DashboardComponent, "bizdoc-dashboard", never, {}, {}, never, never>;
20
24
  }
@@ -1,6 +1,7 @@
1
1
  import { ViewContainerRef, OnDestroy, Injector, AfterViewInit, OnInit } from '@angular/core';
2
2
  import { HttpClient } from '@angular/common/http';
3
3
  import { Widget } from '../core/models';
4
+ import { WidgetRef } from "./widget-ref";
4
5
  import { BizDocComponentFactoryResolver } from '../core/component-factory-resolver';
5
6
  import { PromptService } from '../core/prompt.service';
6
7
  import { Popup } from '../core/popup/popup.service';
@@ -20,6 +21,7 @@ export declare class WidgetItemComponent implements OnInit, AfterViewInit, OnDes
20
21
  args: any;
21
22
  constructor(_popup: Popup, _http: HttpClient, _sb: PromptService, _injector: Injector, _vc: ViewContainerRef, _cf: BizDocComponentFactoryResolver);
22
23
  ngOnInit(): void;
24
+ get widgetRef(): WidgetRef<any>;
23
25
  ngAfterViewInit(): void;
24
26
  private _dim;
25
27
  refresh(args?: any): void;
@@ -3,13 +3,14 @@ import { FormBuilder, FormGroup } from '@angular/forms';
3
3
  import { Observable } from 'rxjs';
4
4
  import { OverlayRef } from '@angular/cdk/overlay';
5
5
  import { MatExpansionPanel } from '@angular/material/expansion';
6
- import { MatChipInputEvent } from '@angular/material/chips';
6
+ import { MatChipInput, MatChipInputEvent } from '@angular/material/chips';
7
7
  import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
8
8
  import { BizDocConfig } from '../core/configuration';
9
9
  import { Options, UserInfo } from '../core/models';
10
10
  import { AccountService } from '../core/account.service';
11
11
  import { SessionService } from '../core/session.service';
12
12
  import { PromptService } from '../core/prompt.service';
13
+ import { MatInput } from '@angular/material/input';
13
14
  import * as i0 from "@angular/core";
14
15
  export declare type OptionType = 'notifications' | 'outofoffice' | 'emails' | 'grantaccess';
15
16
  export declare const OPTION_PANEL: InjectionToken<OptionData>;
@@ -24,6 +25,8 @@ export declare class OptionsComponent implements OnInit, OnDestroy {
24
25
  private _session;
25
26
  private readonly _destroy;
26
27
  private _requiredValidator;
28
+ substitueInput: MatInput;
29
+ grantInput: MatChipInput;
27
30
  readonly language: import("@angular/forms").FormControl;
28
31
  readonly aRIA: import("@angular/forms").FormControl;
29
32
  readonly languages: string[];
@@ -37,13 +40,11 @@ export declare class OptionsComponent implements OnInit, OnDestroy {
37
40
  readonly separatorKeysCodes: number[];
38
41
  outOfOffice: MatExpansionPanel;
39
42
  notifications: MatExpansionPanel;
40
- private readonly _me;
41
43
  /** options ctor */
42
44
  constructor(_option: OptionData, overlayRef: OverlayRef, _fb: FormBuilder, _accounts: AccountService, _sb: PromptService, _session: SessionService, config: BizDocConfig);
43
45
  ngOnInit(): void;
44
46
  private _toggle;
45
47
  toggleSound(): void;
46
- nameOf(id: string): Observable<string>;
47
48
  display: (item: UserInfo) => string;
48
49
  addTag(event: MatChipInputEvent): void;
49
50
  removeTag(tag: string): void;
@@ -29,6 +29,6 @@ import * as i25 from "./shared.module";
29
29
  export declare class SystemModule {
30
30
  static forChild(): ModuleWithProviders<SystemModule>;
31
31
  static ɵfac: i0.ɵɵFactoryDeclaration<SystemModule, never>;
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
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SystemModule, [typeof i1.PermissionsUtility, typeof i2.ManageCubeIndexUtility, typeof i3.ProfileSettingsDialog, 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]>;
33
33
  static ɵinj: i0.ɵɵInjectorDeclaration<SystemModule>;
34
34
  }
@@ -2,6 +2,7 @@ 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 { DocumentViewRef } from "./document-view-ref";
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class ViewItemComponent implements AfterViewInit, OnDestroy {
7
8
  private _http;
@@ -12,6 +13,7 @@ export declare class ViewItemComponent implements AfterViewInit, OnDestroy {
12
13
  view: View;
13
14
  args: any;
14
15
  get hidden(): boolean;
16
+ get viewRef(): DocumentViewRef<unknown, any, any>;
15
17
  private _viewRef;
16
18
  private _instance;
17
19
  private readonly _resizing;
@@ -1,14 +1,18 @@
1
+ import { QueryList } from "@angular/core";
1
2
  import { ChangeDetectorRef, OnChanges, SimpleChanges } from "@angular/core";
2
3
  import { DocumentModel, View } from "../core/models";
3
4
  import { SessionService } from "../core/session.service";
5
+ import { ViewItemComponent } from "./view-item.component";
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class DocumentViewsComponent implements OnChanges {
6
8
  private _cd;
7
9
  private _session;
10
+ components: QueryList<ViewItemComponent>;
8
11
  model: DocumentModel;
9
12
  views: View[];
10
13
  constructor(_cd: ChangeDetectorRef, _session: SessionService);
11
14
  ngOnChanges(_: SimpleChanges): void;
15
+ resize(): void;
12
16
  static ɵfac: i0.ɵɵFactoryDeclaration<DocumentViewsComponent, never>;
13
17
  static ɵcmp: i0.ɵɵComponentDeclaration<DocumentViewsComponent, "bizdoc-document-views", never, { "model": "model"; }, {}, never, never>;
14
18
  }
@@ -2,11 +2,12 @@ import { DocumentModel } from "../core/models";
2
2
  import { SessionService } from "../core/session.service";
3
3
  import { PaneRef } from "../core/slots/pane-ref";
4
4
  import { TranslateService } from "../core/translate.service";
5
+ import { DocumentViewsComponent } from "./views.component";
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class DocumentViewPaneComponent {
7
- private _pane;
8
+ views: DocumentViewsComponent;
8
9
  model: DocumentModel;
9
- constructor(session: SessionService, translate: TranslateService, _pane: PaneRef);
10
+ constructor(session: SessionService, translate: TranslateService, pane: PaneRef);
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<DocumentViewPaneComponent, never>;
11
12
  static ɵcmp: i0.ɵɵComponentDeclaration<DocumentViewPaneComponent, "ng-component", never, {}, {}, never, never>;
12
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "1.14.2",
3
+ "version": "1.14.6",
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",
@@ -10,26 +10,26 @@
10
10
  },
11
11
  "dependencies": {
12
12
  "@ctrl/ngx-emoji-mart": "^6.2.0",
13
- "@microsoft/signalr": "^6.0.3",
14
- "@syncfusion/ej2": "^20.1.47",
15
- "@syncfusion/ej2-angular-charts": "^20.1.47",
13
+ "@microsoft/signalr": "^6.0.4",
14
+ "@syncfusion/ej2": "^20.1.51",
15
+ "@syncfusion/ej2-angular-charts": "^20.1.51",
16
16
  "@syncfusion/ej2-angular-circulargauge": "^20.1.47",
17
- "@syncfusion/ej2-angular-diagrams": "^20.1.47",
18
- "@syncfusion/ej2-angular-gantt": "^20.1.47",
19
- "@syncfusion/ej2-angular-grids": "^20.1.47",
17
+ "@syncfusion/ej2-angular-diagrams": "^20.1.51",
18
+ "@syncfusion/ej2-angular-gantt": "^20.1.51",
19
+ "@syncfusion/ej2-angular-grids": "^20.1.51",
20
20
  "@syncfusion/ej2-angular-kanban": "^20.1.47",
21
- "@syncfusion/ej2-angular-pivotview": "^20.1.47",
22
- "@syncfusion/ej2-angular-richtexteditor": "^20.1.47",
23
- "@syncfusion/ej2-angular-schedule": "^20.1.47",
24
- "@syncfusion/ej2-angular-spreadsheet": "^20.1.47",
25
- "@syncfusion/ej2-base": "^20.1.47",
21
+ "@syncfusion/ej2-angular-pivotview": "^20.1.48",
22
+ "@syncfusion/ej2-angular-richtexteditor": "^20.1.51",
23
+ "@syncfusion/ej2-angular-schedule": "^20.1.50",
24
+ "@syncfusion/ej2-angular-spreadsheet": "^20.1.51",
25
+ "@syncfusion/ej2-base": "^20.1.50",
26
26
  "@teamhive/lottie-player": "^1.0.0",
27
27
  "brace": "^0.11.1",
28
- "cookie": "^0.4.2",
29
- "dayjs": "^1.11.0",
30
- "firebase": "^9.6.10",
28
+ "cookie": "^0.5.0",
29
+ "dayjs": "^1.11.1",
30
+ "firebase": "^9.6.11",
31
31
  "hammerjs": "~2",
32
- "lottie-web": "^5.9.1",
32
+ "lottie-web": "^5.9.3",
33
33
  "ngx-cookie-service": "13",
34
34
  "zone.js": "^0.11.5",
35
35
  "tslib": "^2.3.0"
package/public-api.d.ts CHANGED
@@ -53,7 +53,7 @@ export { ActionPipe } from './lib/core/pipes/action.pipe';
53
53
  export { StatePipe } from './lib/core/pipes/state.pipe';
54
54
  export { UserNamePipe } from './lib/core/pipes/user-name.pipe';
55
55
  export { DateRangePipe, AgoPipe } from './lib/core/pipes/daterange.pipe';
56
- export { PaneRef, PaneOptions, QueryParamNavigation, ParamNavigation, NavigationStart, NavigationEnd, NavigationSelected } from './lib/core/slots/pane-ref';
56
+ export { PaneRef, PaneOptions, QueryParamNavigation, ParamNavigation, NavigationStart, NavigationEnd, NavigationFocus, NavigationResize, NavigationMode, NavigationExpand, NavigationClose, CollapseNavigation, BackNavigation } from './lib/core/slots/pane-ref';
57
57
  export { PanesRouter } from './lib/core/slots/router.service';
58
58
  export { SlotRouterDirective } from './lib/core/slots/router.directive';
59
59
  export { Popup } from './lib/core/popup/popup.service';