@bizdoc/core 3.7.1 → 3.8.0
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/assets/themes/default.min.css +1 -1
- package/fesm2022/bizdoc-core.mjs +1666 -1699
- package/fesm2022/bizdoc-core.mjs.map +1 -1
- package/index.d.ts +65 -53
- package/package.json +2 -2
package/index.d.ts
CHANGED
@@ -162,6 +162,8 @@ interface HeaderModel<T = any> {
|
|
162
162
|
folderId: string;
|
163
163
|
read: boolean;
|
164
164
|
note?: string;
|
165
|
+
/** sender id */
|
166
|
+
noteBy?: string;
|
165
167
|
senderId?: string;
|
166
168
|
stateId: string;
|
167
169
|
currencyCode?: string;
|
@@ -361,8 +363,8 @@ interface Notification {
|
|
361
363
|
contentType: string;
|
362
364
|
}
|
363
365
|
interface Message {
|
366
|
+
/** document number */
|
364
367
|
number?: string;
|
365
|
-
muted?: boolean;
|
366
368
|
deleted?: boolean;
|
367
369
|
id: number;
|
368
370
|
type: NotificationType;
|
@@ -1283,6 +1285,7 @@ declare class PromptService {
|
|
1283
1285
|
declare class GuideRef {
|
1284
1286
|
private _guide;
|
1285
1287
|
private _overlayRef;
|
1288
|
+
get guide(): Guide;
|
1286
1289
|
constructor(_guide: Guide, _overlayRef: OverlayRef);
|
1287
1290
|
closed(): rxjs.Observable<void>;
|
1288
1291
|
}
|
@@ -1291,12 +1294,9 @@ declare class GuideService {
|
|
1291
1294
|
private _overlay;
|
1292
1295
|
private _injector;
|
1293
1296
|
private _session;
|
1294
|
-
private _translate;
|
1295
|
-
private _config;
|
1296
1297
|
private _guides;
|
1297
|
-
|
1298
|
-
|
1299
|
-
private _intro;
|
1298
|
+
private _overlayRef;
|
1299
|
+
constructor(_overlay: Overlay, _injector: Injector, _session: SessionService);
|
1300
1300
|
get guides(): Guide[];
|
1301
1301
|
/**
|
1302
1302
|
*
|
@@ -3177,11 +3177,13 @@ declare class MailboxService {
|
|
3177
3177
|
findAll(filter: {
|
3178
3178
|
type?: FilterType;
|
3179
3179
|
contains?: string;
|
3180
|
-
|
3181
|
-
|
3180
|
+
stateId?: string | string[];
|
3181
|
+
formId?: string;
|
3182
3182
|
folderId?: string;
|
3183
3183
|
senderId?: string;
|
3184
|
-
|
3184
|
+
tags?: string | string[];
|
3185
|
+
fromDate?: Date;
|
3186
|
+
toDate?: Date;
|
3185
3187
|
}, options?: {
|
3186
3188
|
skip?: number;
|
3187
3189
|
take?: number;
|
@@ -3307,26 +3309,25 @@ declare class DocumentInfoPageComponent {
|
|
3307
3309
|
}
|
3308
3310
|
|
3309
3311
|
declare abstract class HomeBase implements OnInit {
|
3312
|
+
private _messaging;
|
3313
|
+
protected _session: SessionService;
|
3314
|
+
protected _translate: TranslateService;
|
3315
|
+
protected _snackBar: MatSnackBar;
|
3316
|
+
private _injector;
|
3310
3317
|
chatEnabled: boolean;
|
3311
3318
|
schedulerEnabled: boolean;
|
3312
3319
|
profile: Profile;
|
3313
3320
|
loading: boolean;
|
3314
3321
|
enableAnalysis: boolean;
|
3315
3322
|
appLogo?: SafeResourceUrl;
|
3316
|
-
private _notifications;
|
3317
|
-
private _messaging;
|
3318
|
-
protected _session: SessionService;
|
3319
|
-
protected _translate: TranslateService;
|
3320
|
-
protected _snackBar: MatSnackBar;
|
3321
|
-
private _injector;
|
3322
3323
|
constructor(config: BizDocConfig);
|
3323
3324
|
ngOnInit(): void;
|
3324
3325
|
resize(): void;
|
3325
3326
|
abstract onNewMessage(model: RecipientModel): void;
|
3326
|
-
|
3327
|
-
|
3328
|
-
protected
|
3329
|
-
protected
|
3327
|
+
protected _markInboxAsTouched(): void;
|
3328
|
+
protected _markNotificationsAsTouched(_?: Event): void;
|
3329
|
+
protected _set(name: string, val?: boolean): boolean | undefined;
|
3330
|
+
protected _is(name: string, defaultValue: any): any;
|
3330
3331
|
static ɵfac: i0.ɵɵFactoryDeclaration<HomeBase, never>;
|
3331
3332
|
static ɵdir: i0.ɵɵDirectiveDeclaration<HomeBase, never, never, {}, {}, never, never, true, never>;
|
3332
3333
|
}
|
@@ -3403,13 +3404,14 @@ declare class HomeMobileComponent extends HomeBase implements OnInit {
|
|
3403
3404
|
private _router;
|
3404
3405
|
private _bs;
|
3405
3406
|
private _dir;
|
3407
|
+
private _chat;
|
3406
3408
|
mode: 'chat' | 'notifications';
|
3407
3409
|
composeState: 'working' | 'done';
|
3408
3410
|
contact?: Contact;
|
3409
3411
|
composeEnabled: boolean;
|
3410
3412
|
menuDrawer: MatSidenav;
|
3411
3413
|
secondaryDrawer: MatSidenav;
|
3412
|
-
constructor(_router: Router, _bs: MatBottomSheet, _dir: Directionality,
|
3414
|
+
constructor(_router: Router, _bs: MatBottomSheet, _dir: Directionality, _chat: ChatInfo, config: BizDocConfig);
|
3413
3415
|
ngOnInit(): void;
|
3414
3416
|
compose(): void;
|
3415
3417
|
onNewMessage(model: RecipientModel<any>): void;
|
@@ -3420,7 +3422,7 @@ declare class HomeMobileComponent extends HomeBase implements OnInit {
|
|
3420
3422
|
/** options */
|
3421
3423
|
options(_?: Event): void;
|
3422
3424
|
signout(): void;
|
3423
|
-
|
3425
|
+
openNotifs(_: Event): void;
|
3424
3426
|
static ɵfac: i0.ɵɵFactoryDeclaration<HomeMobileComponent, never>;
|
3425
3427
|
static ɵcmp: i0.ɵɵComponentDeclaration<HomeMobileComponent, "bizdoc-mobile-home", never, {}, {}, never, never, false, never>;
|
3426
3428
|
}
|
@@ -3440,10 +3442,12 @@ declare class BrowseFilterComponent implements OnInit, AfterViewInit, OnDestroy
|
|
3440
3442
|
readonly sendername: _angular_forms.FormControl<string | PersonInfo | null>;
|
3441
3443
|
readonly form: _angular_forms.FormGroup<{
|
3442
3444
|
contains: _angular_forms.FormControl<string | null>;
|
3443
|
-
|
3444
|
-
|
3445
|
+
formId: _angular_forms.FormControl<string | null>;
|
3446
|
+
stateId: _angular_forms.FormControl<string | string[] | null>;
|
3445
3447
|
senderId: _angular_forms.FormControl<string | null>;
|
3446
|
-
|
3448
|
+
tags: _angular_forms.FormControl<string[] | null>;
|
3449
|
+
fromDate: _angular_forms.FormControl<Date | null>;
|
3450
|
+
toDate: _angular_forms.FormControl<Date | null>;
|
3447
3451
|
}>;
|
3448
3452
|
forms: Form[];
|
3449
3453
|
states: State[];
|
@@ -3466,7 +3470,7 @@ declare class BrowseFilterComponent implements OnInit, AfterViewInit, OnDestroy
|
|
3466
3470
|
constructor(_fb: FormBuilder, _session: SessionService, _cd: ChangeDetectorRef, _mailbox: MailboxService, _accounts: AccountService, _config: BizDocConfig);
|
3467
3471
|
ngOnInit(): void;
|
3468
3472
|
ngAfterViewInit(): void;
|
3469
|
-
|
3473
|
+
displayName(val: any): any;
|
3470
3474
|
change(axis: string, evt: MatAutocompleteSelectedEvent): void;
|
3471
3475
|
clearSender(): void;
|
3472
3476
|
axesChange(axes: AxesMap): void;
|
@@ -3480,12 +3484,14 @@ declare class BrowseFilterComponent implements OnInit, AfterViewInit, OnDestroy
|
|
3480
3484
|
static ɵcmp: i0.ɵɵComponentDeclaration<BrowseFilterComponent, "bizdoc-browse-filter", never, { "values": { "alias": "values"; "required": false; }; "folderId": { "alias": "folderId"; "required": false; }; "exclude": { "alias": "exclude"; "required": false; }; }, { "valuesChange": "valuesChange"; }, never, never, false, never>;
|
3481
3485
|
}
|
3482
3486
|
interface BrowseFilterArgs {
|
3483
|
-
|
3487
|
+
formId?: string;
|
3484
3488
|
flag?: boolean;
|
3485
|
-
|
3489
|
+
stateId?: string | string[];
|
3486
3490
|
contains?: string;
|
3487
3491
|
senderId?: string;
|
3488
|
-
|
3492
|
+
tags?: string[];
|
3493
|
+
fromDate?: Date;
|
3494
|
+
toDate?: Date;
|
3489
3495
|
}
|
3490
3496
|
|
3491
3497
|
declare class CalendarPipe implements PipeTransform {
|
@@ -3624,6 +3630,7 @@ declare class BrowseMobileComponent implements OnInit, OnDestroy {
|
|
3624
3630
|
constructor(_router: Router, _title: WindowTitleService, _session: SessionService, _route: ActivatedRoute, _directionality: Directionality, _dialog: MatDialog);
|
3625
3631
|
ngOnInit(): void;
|
3626
3632
|
get folder(): Folder | undefined;
|
3633
|
+
get anyFilters(): boolean;
|
3627
3634
|
filterChange(filters: BrowseFilterArgs): void;
|
3628
3635
|
open(item: RecipientModel<any>): void;
|
3629
3636
|
insights(item: RecipientModel<any>): void;
|
@@ -6963,13 +6970,13 @@ declare class GuideComponent implements OnInit {
|
|
6963
6970
|
private _data;
|
6964
6971
|
private _session;
|
6965
6972
|
private _overlay;
|
6966
|
-
private
|
6973
|
+
private _router;
|
6967
6974
|
private _overlayRef;
|
6968
6975
|
step: GuideStep;
|
6969
6976
|
index: number;
|
6970
6977
|
readonly count: number;
|
6971
6978
|
working: boolean;
|
6972
|
-
constructor(_data: Guide, _session: SessionService, _overlay: Overlay,
|
6979
|
+
constructor(_data: Guide, _session: SessionService, _overlay: Overlay, _router: RouterImpl, _overlayRef: OverlayRef);
|
6973
6980
|
ngOnInit(): void;
|
6974
6981
|
/**
|
6975
6982
|
*
|
@@ -7044,6 +7051,7 @@ declare class NotificationsTableComponent extends NotificationsComponentBase imp
|
|
7044
7051
|
/** notifications ctor */
|
7045
7052
|
constructor(_popup: Popup);
|
7046
7053
|
ngOnInit(): void;
|
7054
|
+
get anyFilters(): boolean;
|
7047
7055
|
private _query;
|
7048
7056
|
discardAll(): void;
|
7049
7057
|
read(item: Message, read: boolean): void;
|
@@ -7219,7 +7227,7 @@ declare class CubeDocumentsGridComponent implements ReportComponent<Model$9>, On
|
|
7219
7227
|
static ɵcmp: i0.ɵɵComponentDeclaration<CubeDocumentsGridComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
7220
7228
|
}
|
7221
7229
|
|
7222
|
-
declare class NotificationRef<T> {
|
7230
|
+
declare class NotificationRef<T = any> {
|
7223
7231
|
private _message;
|
7224
7232
|
constructor(_message: Message);
|
7225
7233
|
get message(): T & Message;
|
@@ -7466,8 +7474,9 @@ declare class TraceViewComponent extends TraceBase {
|
|
7466
7474
|
readonly CALENDAR_SPEC: CalendarSpec;
|
7467
7475
|
constructor(session: SessionService, _translate: TranslateService, _accounts: AccountService, _chat: ChatInfo, hub: HubService);
|
7468
7476
|
ngOnChanges(_: SimpleChanges): void;
|
7469
|
-
|
7477
|
+
_initialize(): Promise<void>;
|
7470
7478
|
private _filter;
|
7479
|
+
get anyFilters(): boolean;
|
7471
7480
|
private _showMode;
|
7472
7481
|
get showMode(): ShowMode;
|
7473
7482
|
set showMode(value: ShowMode);
|
@@ -7526,7 +7535,7 @@ declare class TagsComponent implements OnInit, OnDestroy, AfterViewInit {
|
|
7526
7535
|
tags: Tag$1[];
|
7527
7536
|
inputElement: ElementRef<HTMLInputElement>;
|
7528
7537
|
auto: MatAutocomplete;
|
7529
|
-
options
|
7538
|
+
options$: Observable<Tag$1[]>;
|
7530
7539
|
readonly separatorKeysCodes: number[];
|
7531
7540
|
private readonly _options;
|
7532
7541
|
private readonly _destroy;
|
@@ -8288,7 +8297,8 @@ declare class WidgetItemComponent implements OnInit, AfterViewInit, OnDestroy {
|
|
8288
8297
|
ngAfterViewInit(): void;
|
8289
8298
|
private _dim;
|
8290
8299
|
refresh(args?: any): void;
|
8291
|
-
|
8300
|
+
get anyFilters(): boolean;
|
8301
|
+
openFilter(evt: Event): void;
|
8292
8302
|
resize(): void;
|
8293
8303
|
ngOnDestroy(): void;
|
8294
8304
|
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetItemComponent, never>;
|
@@ -9615,19 +9625,19 @@ declare class HomeComponent extends HomeBase {
|
|
9615
9625
|
private _guide;
|
9616
9626
|
private _auth;
|
9617
9627
|
constructor(_router: PanesRouter, _service: SearchService, _factory: DocumentFactory, _popup: Popup, _guide: GuideService, _auth: AuthenticationImpl, config: BizDocConfig);
|
9618
|
-
isDialogMode: boolean;
|
9619
9628
|
readonly isSysAdmin: boolean;
|
9620
9629
|
readonly canSignOut: boolean;
|
9621
|
-
readonly forms:
|
9630
|
+
readonly forms: Form[];
|
9622
9631
|
creating: boolean;
|
9623
|
-
|
9624
|
-
|
9625
|
-
|
9626
|
-
|
9627
|
-
private
|
9632
|
+
isDialogMode: boolean;
|
9633
|
+
private _subMenuMode;
|
9634
|
+
get subMenuMode(): 'full' | 'shrink';
|
9635
|
+
set subMenuMode(value: 'full' | 'shrink');
|
9636
|
+
private _subMenu;
|
9637
|
+
private _activeSegment;
|
9628
9638
|
get activeMenu(): string;
|
9629
|
-
get
|
9630
|
-
set
|
9639
|
+
get subMenu(): string | null;
|
9640
|
+
set subMenu(value: string | null);
|
9631
9641
|
private _collapsed;
|
9632
9642
|
get collapsed(): any;
|
9633
9643
|
set collapsed(value: any);
|
@@ -9650,20 +9660,20 @@ declare class HomeComponent extends HomeBase {
|
|
9650
9660
|
signout(evt: Event): void;
|
9651
9661
|
nav(path: string): void;
|
9652
9662
|
onNewMessage(model: RecipientModel): void;
|
9653
|
-
|
9654
|
-
|
9663
|
+
closeSubMenu(): void;
|
9664
|
+
openNew(): void;
|
9655
9665
|
private _create;
|
9656
|
-
|
9657
|
-
|
9666
|
+
openSubMenu(menu: string): void;
|
9667
|
+
collapseSubMenu(): void;
|
9658
9668
|
togglePinned(): void;
|
9659
|
-
|
9669
|
+
openMailbox(): void;
|
9660
9670
|
/**
|
9661
9671
|
* Alt+n, Alt+a, Ctrl + .
|
9662
9672
|
* @param event
|
9663
9673
|
*/
|
9664
9674
|
handleKeyboardEvent(event: KeyboardEvent): void;
|
9665
|
-
|
9666
|
-
|
9675
|
+
openGuide(name: string): void;
|
9676
|
+
openNotifs(evt: Event): void;
|
9667
9677
|
toggle(evt: Event): void;
|
9668
9678
|
collapse(evt: Event): void;
|
9669
9679
|
focus(): void;
|
@@ -9919,7 +9929,8 @@ declare class BrowsePaneComponent implements OnInit {
|
|
9919
9929
|
constructor(_pane: PaneRef<BrowsePaneComponent>, _session: SessionService, _popup: Popup, _router: PanesRouter, _directionality: Directionality, _translate: TranslateService, _breakpointObserver: BreakpointObserver, _dialog: MatDialog);
|
9920
9930
|
ngOnInit(): void;
|
9921
9931
|
get folder(): Folder | undefined;
|
9922
|
-
|
9932
|
+
get anyFilters(): boolean;
|
9933
|
+
openFilter(_evt?: Event): void;
|
9923
9934
|
/**
|
9924
9935
|
* Alt-s, Alt-q
|
9925
9936
|
* @param event
|
@@ -11112,11 +11123,11 @@ declare class ConfigurationDesignerComponent implements UtilityComponent, OnInit
|
|
11112
11123
|
*/
|
11113
11124
|
handleKeyboardEvent(event: KeyboardEvent): void;
|
11114
11125
|
clearSearch(): void;
|
11115
|
-
/**
|
11126
|
+
get anyFilters(): boolean; /**
|
11116
11127
|
*
|
11117
11128
|
* @param evt
|
11118
11129
|
*/
|
11119
|
-
openFilter(
|
11130
|
+
openFilter(_evt?: Event): void;
|
11120
11131
|
/**
|
11121
11132
|
*
|
11122
11133
|
* @param section
|
@@ -11696,6 +11707,7 @@ declare class DocumentTraceComponent implements OnInit, OnDestroy {
|
|
11696
11707
|
/** workflow ctor */
|
11697
11708
|
constructor(_utilityRef: UtilityRef<DiagramInfo, MoveModel, DiagramInfo, number>, _service: SystemService, _session: SessionService, _pane: PaneRef<DocumentTraceComponent>, _router: PanesRouter, _sb: PromptService, _translate: TranslateService, _popup: Popup, _guide: GuideService, _cd: ChangeDetectorRef, _fb: FormBuilder);
|
11698
11709
|
ngOnInit(): void;
|
11710
|
+
get anyFilters(): boolean;
|
11699
11711
|
openFilter(evt: Event): void;
|
11700
11712
|
private _list;
|
11701
11713
|
rangeChanged(args: IChangedEventArgs): void;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@bizdoc/core",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.8.0",
|
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",
|
@@ -34,7 +34,7 @@
|
|
34
34
|
"ace-builds": "1.43",
|
35
35
|
"cookie": "^1.0.2",
|
36
36
|
"dayjs": "^1.11.13",
|
37
|
-
"firebase": "
|
37
|
+
"firebase": "12.0",
|
38
38
|
"hammerjs": "~2",
|
39
39
|
"ngx-cookie-service": "20",
|
40
40
|
"zone.js": "0.15",
|