@bizdoc/core 1.11.1 → 1.12.0-next.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 (42) hide show
  1. package/esm2020/lib/admin/positions/positions.component.mjs +16 -3
  2. package/esm2020/lib/compose/action/return-action.component.mjs +11 -5
  3. package/esm2020/lib/compose/compose.pane.component.mjs +3 -3
  4. package/esm2020/lib/compose/trace/flow.component.mjs +29 -10
  5. package/esm2020/lib/compose/trace/people.component.mjs +3 -2
  6. package/esm2020/lib/compose/trace/trace.component.mjs +12 -1
  7. package/esm2020/lib/core/controls/combination-picker.mjs +3 -3
  8. package/esm2020/lib/core/controls/file.input.mjs +7 -4
  9. package/esm2020/lib/core/mailbox.service.mjs +4 -6
  10. package/esm2020/lib/core/models.mjs +1 -1
  11. package/esm2020/lib/core/slots/slots.component.mjs +4 -4
  12. package/esm2020/lib/core/translations.mjs +7 -5
  13. package/esm2020/lib/cube/accum/accum.component.mjs +2 -2
  14. package/esm2020/lib/cube/chart/chart.component.mjs +2 -2
  15. package/esm2020/lib/cube/explore/explore-items.component.mjs +4 -4
  16. package/esm2020/lib/cube/explore/explore.pane.component.mjs +6 -5
  17. package/esm2020/lib/cube/grid/grid.component.mjs +2 -2
  18. package/esm2020/lib/cube/grid/spreadsheet.component.mjs +6 -6
  19. package/esm2020/lib/cube/matrix/matrix.base.mjs +2 -5
  20. package/esm2020/lib/cube/matrix/matrix.pane.component.mjs +6 -3
  21. package/esm2020/lib/cube/matrix/popup.component.mjs +5 -5
  22. package/esm2020/lib/cube/matrix/table.component.mjs +8 -7
  23. package/esm2020/lib/cube/parallel/parallel.component.mjs +2 -2
  24. package/esm2020/lib/cube/pivot/pivot.component.mjs +2 -2
  25. package/esm2020/lib/cube/view.mobile.component.mjs +2 -2
  26. package/esm2020/lib/dashboard/recents/recents.widget.mjs +24 -26
  27. package/esm2020/lib/home/options/options.component.mjs +4 -3
  28. package/esm2020/lib/views/cube/explore.component.mjs +8 -5
  29. package/fesm2015/bizdoc-core.mjs +168 -112
  30. package/fesm2015/bizdoc-core.mjs.map +1 -1
  31. package/fesm2020/bizdoc-core.mjs +167 -112
  32. package/fesm2020/bizdoc-core.mjs.map +1 -1
  33. package/lib/admin/positions/positions.component.d.ts +5 -0
  34. package/lib/compose/action/return-action.component.d.ts +3 -1
  35. package/lib/core/models.d.ts +1 -0
  36. package/lib/core/translations.d.ts +2 -0
  37. package/lib/cube/explore/explore-items.component.d.ts +1 -1
  38. package/lib/cube/matrix/matrix.base.d.ts +0 -1
  39. package/lib/dashboard/recents/recents.widget.d.ts +10 -9
  40. package/lib/home/options/options.component.d.ts +2 -1
  41. package/lib/views/cube/explore.component.d.ts +2 -0
  42. package/package.json +1 -1
@@ -77,6 +77,11 @@ export declare class PositionsComponent implements OnInit, OnDestroy, UtilityCom
77
77
  deletePattern(name: string): void;
78
78
  editGroup(name: string): void;
79
79
  editPattern(name: string): void;
80
+ /**
81
+ * Ctrl-s save
82
+ * @param event
83
+ */
84
+ handleKeyboardEvent(event: KeyboardEvent): void;
80
85
  save(): Promise<any>;
81
86
  download(): Promise<void>;
82
87
  ngOnDestroy(): void;
@@ -4,11 +4,13 @@ import { Recipient } from '../../core/models';
4
4
  import { ActionRef } from './action-ref';
5
5
  import { SessionService } from '../../core/session.service';
6
6
  import { AccountService } from '../../core/account.service';
7
+ import { OnInit } from '@angular/core';
7
8
  import * as i0 from "@angular/core";
8
- export declare class ReturnActionComponent implements ArgumentsComponent {
9
+ export declare class ReturnActionComponent implements ArgumentsComponent, OnInit {
9
10
  private _fb;
10
11
  readonly recipients: Recipient[];
11
12
  constructor(_fb: FormBuilder, actionRef: ActionRef, session: SessionService, accounts: AccountService);
13
+ ngOnInit(): void;
12
14
  readonly form: import("@angular/forms").FormGroup;
13
15
  static ɵfac: i0.ɵɵFactoryDeclaration<ReturnActionComponent, never>;
14
16
  static ɵcmp: i0.ɵɵComponentDeclaration<ReturnActionComponent, "ng-component", never, {}, {}, never, never>;
@@ -247,6 +247,7 @@ export interface Profile {
247
247
  photo?: string;
248
248
  userId: string;
249
249
  byId?: string;
250
+ byName?: string;
250
251
  name: string;
251
252
  impersonating?: string;
252
253
  available?: AvailabilityState;
@@ -516,6 +516,8 @@ export declare const STRINGS: {
516
516
  'he-IL': {
517
517
  Condition: string;
518
518
  DragFile: string;
519
+ DragFileMale: string;
520
+ DragFileFemale: string;
519
521
  Mention: string;
520
522
  Working: string;
521
523
  WorkingMale: string;
@@ -39,7 +39,6 @@ export declare class ExploreItemsComponent implements OnInit, OnChanges, OnDestr
39
39
  /** drill-down ctor */
40
40
  constructor(_service: CubeService, _sb: PromptService, _session: SessionService, _translate: TranslateService);
41
41
  ngOnInit(): void;
42
- ngOnDestroy(): void;
43
42
  refresh(): void;
44
43
  ngOnChanges(_: SimpleChanges): void;
45
44
  /** */
@@ -48,6 +47,7 @@ export declare class ExploreItemsComponent implements OnInit, OnChanges, OnDestr
48
47
  private _datasource;
49
48
  expand(item: any): void;
50
49
  exportExcel(): void;
50
+ ngOnDestroy(): void;
51
51
  static ɵfac: i0.ɵɵFactoryDeclaration<ExploreItemsComponent, never>;
52
52
  static ɵcmp: i0.ɵɵComponentDeclaration<ExploreItemsComponent, "bizdoc-cube-explore", never, { "pageSize": "pageSize"; "cube": "cube"; "index": "index"; "scope": "scope"; "axes": "axes"; "loading": "loading"; }, { "explore": "explore"; "load": "load"; "loadingChange": "loadingChange"; }, never, never>;
53
53
  }
@@ -63,7 +63,6 @@ export declare abstract class CubeMatrixBase {
63
63
  * @param pattern
64
64
  */
65
65
  aggregate(pattern: Pattern): void;
66
- private _copyAxesToFilterValues;
67
66
  reset(): void;
68
67
  refresh(): void;
69
68
  static ɵfac: i0.ɵɵFactoryDeclaration<CubeMatrixBase, never>;
@@ -7,33 +7,34 @@ import { FormControl } from '@angular/forms';
7
7
  import { BizDocConfig } from '../../core/configuration';
8
8
  import { RouterImpl } from '../../core/router';
9
9
  import { SessionService } from '../../core/session.service';
10
+ import { PromptService } from '../../core/prompt.service';
10
11
  import * as i0 from "@angular/core";
11
- export declare class RecentsWidget implements WidgetComponent<MailInfo[]>, OnInit, OnDestroy {
12
+ export declare class RecentsWidget implements WidgetComponent<RecipientInfo[]>, OnInit, OnDestroy {
12
13
  private _router;
13
14
  private _service;
14
- dataSource: MatTableDataSource<MailInfo>;
15
- loading: boolean;
15
+ private _ps;
16
+ dataSource: MatTableDataSource<RecipientInfo>;
16
17
  height: string;
17
18
  readonly search: FormControl;
18
19
  readonly enableAnalysis: boolean;
19
20
  readonly columns: string[];
20
21
  private readonly _destroy;
21
- private readonly _loading;
22
- constructor(_router: RouterImpl, _service: MailboxService, ref: WidgetRef, session: SessionService, config: BizDocConfig);
22
+ constructor(_router: RouterImpl, _service: MailboxService, _ps: PromptService, ref: WidgetRef, session: SessionService, config: BizDocConfig);
23
23
  ngOnInit(): void;
24
- onBind(data: MailInfo[]): void;
24
+ onBind(data: RecipientInfo[]): void;
25
25
  private _navigate;
26
- open(item: MailInfo): void;
27
- view(item: MailInfo, evt: Event): void;
26
+ open(item: RecipientInfo): void;
27
+ view(item: RecipientInfo, evt: Event): void;
28
28
  ngOnDestroy(): void;
29
29
  static ɵfac: i0.ɵɵFactoryDeclaration<RecentsWidget, never>;
30
30
  static ɵcmp: i0.ɵɵComponentDeclaration<RecentsWidget, "ng-component", never, {}, {}, never, never>;
31
31
  }
32
- interface MailInfo {
32
+ interface RecipientInfo {
33
33
  id: number;
34
34
  formId: string;
35
35
  number?: string;
36
36
  subject?: string;
37
37
  stateId: string;
38
+ loading?: boolean;
38
39
  }
39
40
  export {};
@@ -18,9 +18,10 @@ export declare class QuickOptionsComponent implements OnInit, OnDestroy {
18
18
  private _session;
19
19
  private _dialog;
20
20
  readonly name: string;
21
- available: AvailabilityState;
21
+ readonly by: string;
22
22
  online: boolean;
23
23
  theme: string;
24
+ available: AvailabilityState;
24
25
  readonly languages: string[];
25
26
  readonly themes: Theme[];
26
27
  readonly guides: Guide[];
@@ -21,6 +21,7 @@ export declare class CubeExploreViewComponent extends CubeBase<Options> {
21
21
  }[]>;
22
22
  };
23
23
  filters: CubeAxis[];
24
+ pageSize: number;
24
25
  constructor(viewRef: DocumentViewRef<Options>, _sb: PromptService, _router: RouterImpl, service: CubeService, _ds: DatasourceService, session: SessionService);
25
26
  onViewBind(): void;
26
27
  /**
@@ -37,5 +38,6 @@ interface Options {
37
38
  aggregate?: string[];
38
39
  filters: string[];
39
40
  scope?: ScopeType;
41
+ pageSize?: number;
40
42
  }
41
43
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bizdoc/core",
3
- "version": "1.11.1",
3
+ "version": "1.12.0-next.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",