@bizdoc/core 1.9.9 → 1.9.10
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.
- package/esm2020/lib/admin/positions/positions.component.mjs +44 -5
- package/esm2020/lib/browse/browse-items.component.mjs +7 -2
- package/esm2020/lib/browse/folders-menu.component.mjs +2 -2
- package/esm2020/lib/core/models.mjs +1 -1
- package/esm2020/lib/cube/accum/accum.component.mjs +10 -5
- package/esm2020/lib/cube/grid/spreadsheet.component.mjs +72 -72
- package/esm2020/lib/dashboard/cube/accum-cube.widget.mjs +2 -2
- package/fesm2015/bizdoc-core.mjs +133 -82
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +131 -82
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/admin/positions/positions.component.d.ts +3 -1
- package/lib/browse/browse-items.component.d.ts +1 -1
- package/lib/core/models.d.ts +2 -2
- package/lib/cube/grid/spreadsheet.component.d.ts +5 -1
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { OnInit, OnDestroy, TemplateRef } from '@angular/core';
|
1
|
+
import { OnInit, OnDestroy, TemplateRef, ElementRef } from '@angular/core';
|
2
2
|
import { MatDialog } from '@angular/material/dialog';
|
3
3
|
import { FormGroup } from '@angular/forms';
|
4
4
|
import { MatSort } from '@angular/material/sort';
|
@@ -25,6 +25,7 @@ export declare class PositionsComponent implements OnInit, OnDestroy, UtilityCom
|
|
25
25
|
private _translate;
|
26
26
|
private _popup;
|
27
27
|
private _dialog;
|
28
|
+
_fileElement: ElementRef<HTMLInputElement>;
|
28
29
|
dataSource: MatTableDataSource<any>;
|
29
30
|
sort: MatSort;
|
30
31
|
readonly types: Type[];
|
@@ -78,6 +79,7 @@ export declare class PositionsComponent implements OnInit, OnDestroy, UtilityCom
|
|
78
79
|
editPattern(name: string): void;
|
79
80
|
save(): Promise<any>;
|
80
81
|
download(): Promise<void>;
|
82
|
+
upload(evt: InputEvent): Promise<void>;
|
81
83
|
ngOnDestroy(): void;
|
82
84
|
static ɵfac: i0.ɵɵFactoryDeclaration<PositionsComponent, never>;
|
83
85
|
static ɵcmp: i0.ɵɵComponentDeclaration<PositionsComponent, "ng-component", never, {}, {}, never, never>;
|
@@ -52,7 +52,7 @@ export declare class BrowseItemsComponent implements OnInit, OnChanges, OnDestro
|
|
52
52
|
/** browse ctor */
|
53
53
|
constructor(_mailbox: MailboxService, _cube: CubeService, _session: SessionService, _sb: PromptService, _translate: TranslateService, _cd: ChangeDetectorRef, _router: RouterImpl, _messaging: HubService, _config: BizDocConfig);
|
54
54
|
ngOnInit(): void;
|
55
|
-
ngOnChanges(
|
55
|
+
ngOnChanges(_: SimpleChanges): void;
|
56
56
|
private _assign;
|
57
57
|
get folder(): Folder;
|
58
58
|
dragStarted(event: any): void;
|
package/lib/core/models.d.ts
CHANGED
@@ -411,9 +411,9 @@ export interface Folder {
|
|
411
411
|
columns?: FolderColumn[];
|
412
412
|
}
|
413
413
|
export interface FolderColumn {
|
414
|
-
name: string;
|
414
|
+
name: string | 'number' | 'subject' | 'value' | 'owner' | 'sender' | 'received' | 'receivedAgo' | 'replied' | 'state' | 'issued' | 'issuedAgo';
|
415
415
|
title: string;
|
416
|
-
type
|
416
|
+
type?: 'Boolean' | 'Date' | 'Decimal' | 'String';
|
417
417
|
}
|
418
418
|
export declare type LicenseMode = 'Evaluation' | 'Valid' | 'Grace' | 'Invalid' | 'Limit' | 'Expired';
|
419
419
|
export interface Action {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { EventEmitter, OnInit, ElementRef, OnDestroy, SimpleChanges, OnChanges } from "@angular/core";
|
2
|
-
import { ColumnModel, RowModel, Spreadsheet, SelectEventArgs } from "@syncfusion/ej2-angular-spreadsheet";
|
2
|
+
import { ColumnModel, RowModel, Spreadsheet, CellStyleModel, SelectEventArgs, AutoFillSettingsModel } from "@syncfusion/ej2-angular-spreadsheet";
|
3
3
|
import { AxisClickEvent, CubeViewerComponent } from "../declarations";
|
4
4
|
import { AxesMap, YAxis } from "../../core/models";
|
5
5
|
import { CubeService } from "../cube.service";
|
@@ -32,6 +32,8 @@ export declare class CubeSpreadsheetComponent implements OnInit, CubeViewerCompo
|
|
32
32
|
spreadsheet: Spreadsheet;
|
33
33
|
dataSource: RowModel[];
|
34
34
|
columns: ColumnModel[];
|
35
|
+
readonly numberStyle: CellStyleModel;
|
36
|
+
readonly autoFillSettings: AutoFillSettingsModel;
|
35
37
|
private _xAxis;
|
36
38
|
private _series?;
|
37
39
|
private _indices?;
|
@@ -47,6 +49,8 @@ export declare class CubeSpreadsheetComponent implements OnInit, CubeViewerCompo
|
|
47
49
|
ngOnInit(): void;
|
48
50
|
ngOnChanges(changes: SimpleChanges): void;
|
49
51
|
private execute;
|
52
|
+
private _datatable;
|
53
|
+
private _dataseries;
|
50
54
|
private _draw;
|
51
55
|
select(evt: SelectEventArgs): void;
|
52
56
|
exportToExcel(title: string): void;
|