@bizdoc/core 1.13.0-next.8 → 1.13.4
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/bizdoc-schema.json +1 -14
- package/esm2020/lib/admin/diff/configuration-diff.component.mjs +5 -2
- package/esm2020/lib/admin/form/workflow/node.component.mjs +3 -2
- package/esm2020/lib/admin/positions/positions-popup.component.mjs +1 -1
- package/esm2020/lib/browse/browse-items.component.mjs +11 -8
- package/esm2020/lib/browse/expanded-item/expanded-item.component.mjs +39 -30
- package/esm2020/lib/compose/action/action-picker.component.mjs +15 -14
- package/esm2020/lib/compose/action/action.base.mjs +8 -7
- package/esm2020/lib/compose/action/action.pane.dialog.exp.mjs +12 -11
- package/esm2020/lib/compose/action/assign-action.component.mjs +52 -26
- package/esm2020/lib/compose/attachments/attachments.component.mjs +3 -4
- package/esm2020/lib/compose/form.component.mjs +5 -6
- package/esm2020/lib/compose/trace/flow.component.mjs +78 -81
- package/esm2020/lib/compose/trace/trace.component.mjs +44 -36
- package/esm2020/lib/core/controls/file.input.mjs +6 -7
- package/esm2020/lib/core/layout/layout.component.mjs +2 -2
- package/esm2020/lib/core/mailbox.service.mjs +1 -1
- package/esm2020/lib/core/models.mjs +2 -9
- package/esm2020/lib/core/translations.mjs +12 -2
- package/esm2020/lib/cube/cube.service.mjs +13 -5
- package/esm2020/lib/cube/explore/explore-items.component.mjs +25 -14
- package/esm2020/lib/cube/grid/spreadsheet.component.mjs +62 -62
- package/fesm2015/bizdoc-core.mjs +485 -413
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +479 -412
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/admin/diff/configuration-diff.component.d.ts +1 -0
- package/lib/browse/expanded-item/expanded-item.component.d.ts +1 -0
- package/lib/compose/action/action-picker.component.d.ts +2 -1
- package/lib/compose/action/action.base.d.ts +4 -2
- package/lib/compose/action/action.pane.dialog.exp.d.ts +2 -1
- package/lib/compose/action/assign-action.component.d.ts +16 -5
- package/lib/compose/trace/flow.component.d.ts +0 -1
- package/lib/compose/trace/trace.component.d.ts +5 -4
- package/lib/core/mailbox.service.d.ts +0 -1
- package/lib/core/models.d.ts +5 -13
- package/lib/core/translations.d.ts +10 -0
- package/lib/cube/cube.service.d.ts +7 -1
- package/package.json +1 -2
@@ -35,6 +35,7 @@ export declare class ExpandedItemComponent implements OnInit, OnDestroy {
|
|
35
35
|
constructor(_sb: PromptService, _chat: ChatInfo, _accounts: AccountService, _mailbox: MailboxService, _session: SessionService, _dir: Directionality, _dialog: MatDialog, _translate: TranslateService, _messaging: HubService);
|
36
36
|
ngOnInit(): void;
|
37
37
|
private _note;
|
38
|
+
private _target;
|
38
39
|
private _actionName;
|
39
40
|
private _fromNow;
|
40
41
|
private _duration;
|
@@ -6,6 +6,7 @@ import { SessionService } from '../../core/session.service';
|
|
6
6
|
import { ActionBase } from './action.base';
|
7
7
|
import { PromptService } from '../../core/prompt.service';
|
8
8
|
import { AccountService } from '../../core/account.service';
|
9
|
+
import { TranslateService } from '../../core/translate.service';
|
9
10
|
import * as i0 from "@angular/core";
|
10
11
|
export declare class ActionPicker extends ActionBase implements OnChanges, AfterViewInit {
|
11
12
|
model: RecipientModel<any>;
|
@@ -14,7 +15,7 @@ export declare class ActionPicker extends ActionBase implements OnChanges, After
|
|
14
15
|
working: boolean;
|
15
16
|
readonly workingChange: EventEmitter<boolean>;
|
16
17
|
actions: Action[];
|
17
|
-
constructor(model: RecipientModel<any>, _session: SessionService, mailbox: MailboxService, _dialog: MatDialog, accounts: AccountService, sb: PromptService);
|
18
|
+
constructor(model: RecipientModel<any>, _session: SessionService, mailbox: MailboxService, _dialog: MatDialog, accounts: AccountService, translate: TranslateService, sb: PromptService);
|
18
19
|
ngAfterViewInit(): void;
|
19
20
|
ngOnChanges(changes: SimpleChanges): void;
|
20
21
|
private _sortActions;
|
@@ -1,13 +1,15 @@
|
|
1
|
+
import { Action, RecipientModel } from '../../core/models';
|
1
2
|
import { AccountService } from '../../core/account.service';
|
2
3
|
import { MailboxService } from '../../core/mailbox.service';
|
3
|
-
import { Action, RecipientModel } from '../../core/models';
|
4
4
|
import { PromptService } from '../../core/prompt.service';
|
5
|
+
import { TranslateService } from '../../core/translate.service';
|
5
6
|
export declare abstract class ActionBase {
|
6
7
|
private _mailbox;
|
7
8
|
private _accounts;
|
8
9
|
protected _sb: PromptService;
|
10
|
+
private _translate;
|
9
11
|
model: RecipientModel<any>;
|
10
|
-
constructor(_mailbox: MailboxService, _accounts: AccountService, _sb: PromptService);
|
12
|
+
constructor(_mailbox: MailboxService, _accounts: AccountService, _sb: PromptService, _translate: TranslateService);
|
11
13
|
protected _ok(action: Action, args: any): import("rxjs").Observable<RecipientModel<any>>;
|
12
14
|
private _handleError;
|
13
15
|
}
|
@@ -8,6 +8,7 @@ import { PromptService } from '../../core/prompt.service';
|
|
8
8
|
import { ParamMap } from '../../core/configuration';
|
9
9
|
import { ActionBase } from './action.base';
|
10
10
|
import { AccountService } from '../../core/account.service';
|
11
|
+
import { TranslateService } from '../../core/translate.service';
|
11
12
|
import * as i0 from "@angular/core";
|
12
13
|
export declare class ActionPaneComponent extends ActionBase implements OnInit, OnDestroy {
|
13
14
|
private _pane;
|
@@ -20,7 +21,7 @@ export declare class ActionPaneComponent extends ActionBase implements OnInit, O
|
|
20
21
|
readonly okChange: EventEmitter<ParamMap>;
|
21
22
|
private readonly _destroy;
|
22
23
|
/** action-dialog ctor */
|
23
|
-
constructor(_pane: PaneRef<ActionPaneComponent>, mailbox: MailboxService, _fr: BizDocComponentFactoryResolver, _fr2: ComponentFactoryResolver, accounts: AccountService, sb: PromptService, session: SessionService);
|
24
|
+
constructor(_pane: PaneRef<ActionPaneComponent>, mailbox: MailboxService, _fr: BizDocComponentFactoryResolver, _fr2: ComponentFactoryResolver, accounts: AccountService, sb: PromptService, translate: TranslateService, session: SessionService);
|
24
25
|
close(): void;
|
25
26
|
ok(): void;
|
26
27
|
ngOnInit(): void;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { OnDestroy, OnInit } from '@angular/core';
|
1
|
+
import { ElementRef, OnDestroy, OnInit } from '@angular/core';
|
2
2
|
import { FormBuilder } from '@angular/forms';
|
3
3
|
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
4
4
|
import { Observable } from 'rxjs';
|
@@ -11,14 +11,25 @@ export declare class AssignActionComponent implements ArgumentsComponent, OnInit
|
|
11
11
|
private _fb;
|
12
12
|
private _session;
|
13
13
|
private _accounts;
|
14
|
+
readonly separatorKeysCodes: number[];
|
15
|
+
nameInput: ElementRef<HTMLInputElement>;
|
14
16
|
readonly form: import("@angular/forms").FormGroup;
|
15
|
-
readonly
|
16
|
-
users
|
17
|
+
readonly userIds: import("@angular/forms").FormControl;
|
18
|
+
users$: Observable<UserInfo[]>;
|
17
19
|
private _destroy;
|
18
20
|
constructor(_fb: FormBuilder, _session: SessionService, _accounts: AccountService);
|
19
21
|
ngOnInit(): void;
|
20
|
-
|
21
|
-
|
22
|
+
/**
|
23
|
+
*
|
24
|
+
* @param inp
|
25
|
+
* @param event
|
26
|
+
*/
|
27
|
+
userSelected(inp: HTMLInputElement, event: MatAutocompleteSelectedEvent): void;
|
28
|
+
/**
|
29
|
+
*
|
30
|
+
* @param id
|
31
|
+
*/
|
32
|
+
removed(id: string): void;
|
22
33
|
ngOnDestroy(): void;
|
23
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<AssignActionComponent, never>;
|
24
35
|
static ɵcmp: i0.ɵɵComponentDeclaration<AssignActionComponent, "ng-component", never, {}, {}, never, never>;
|
@@ -23,7 +23,6 @@ export declare class FlowViewComponent extends TraceBase implements OnChanges, O
|
|
23
23
|
readonly scrollSettings: ScrollSettingsModel;
|
24
24
|
readonly snapSettings: SnapSettingsModel;
|
25
25
|
private readonly _configuration;
|
26
|
-
private _issued;
|
27
26
|
private _accentColor;
|
28
27
|
/** workflow-view ctor */
|
29
28
|
constructor(_accounts: AccountService, _session: SessionService, _translate: TranslateService, _duration: DurationFormatPipe, _elementRef: ElementRef<HTMLDivElement>, hub: HubService);
|
@@ -21,11 +21,11 @@ export declare class TraceViewComponent extends TraceBase implements OnChanges {
|
|
21
21
|
readonly CALENDAR_SPEC: CalendarSpec;
|
22
22
|
constructor(_session: SessionService, _translate: TranslateService, _accounts: AccountService, _chat: ChatInfo, hub: HubService);
|
23
23
|
ngOnChanges(_changes: SimpleChanges): void;
|
24
|
-
private
|
24
|
+
private _initialize;
|
25
25
|
private _filter;
|
26
|
-
private
|
27
|
-
get
|
28
|
-
set
|
26
|
+
private _showMode;
|
27
|
+
get showMode(): ShowMode;
|
28
|
+
set showMode(value: ShowMode);
|
29
29
|
private _roleName;
|
30
30
|
chat(e: MouseEvent): void;
|
31
31
|
/**
|
@@ -51,4 +51,5 @@ interface Trace {
|
|
51
51
|
fileName?: string;
|
52
52
|
time?: Date;
|
53
53
|
}
|
54
|
+
declare type ShowMode = 'everything' | 'active' | 'route';
|
54
55
|
export {};
|
package/lib/core/models.d.ts
CHANGED
@@ -61,7 +61,6 @@ export interface DocumentModel<T = any> {
|
|
61
61
|
};
|
62
62
|
parent?: Chain;
|
63
63
|
children?: Chain[];
|
64
|
-
toId?: string;
|
65
64
|
}
|
66
65
|
export interface Chain {
|
67
66
|
completed: boolean;
|
@@ -83,6 +82,7 @@ export interface WorkflowInfo {
|
|
83
82
|
connectors: ConnectorInfo[];
|
84
83
|
}
|
85
84
|
export interface RecipientModel<T = any> extends HeaderModel<T>, DocumentModel<T> {
|
85
|
+
extra?: any;
|
86
86
|
actions?: string[];
|
87
87
|
fyi: boolean;
|
88
88
|
originId?: number;
|
@@ -90,7 +90,6 @@ export interface RecipientModel<T = any> extends HeaderModel<T>, DocumentModel<T
|
|
90
90
|
tags?: string[];
|
91
91
|
}
|
92
92
|
export interface ConnectorInfo {
|
93
|
-
virtual?: boolean;
|
94
93
|
originId?: number;
|
95
94
|
estimate: boolean;
|
96
95
|
time?: Date;
|
@@ -98,7 +97,6 @@ export interface ConnectorInfo {
|
|
98
97
|
targetId: string;
|
99
98
|
}
|
100
99
|
export interface NodeInfo {
|
101
|
-
virtual?: boolean;
|
102
100
|
originId?: number;
|
103
101
|
id: string;
|
104
102
|
/** node */
|
@@ -113,7 +111,7 @@ export interface Log {
|
|
113
111
|
recipientId?: number;
|
114
112
|
userId: string;
|
115
113
|
byId?: string;
|
116
|
-
|
114
|
+
originId?: string;
|
117
115
|
time: Date;
|
118
116
|
model?: {};
|
119
117
|
type: LogType;
|
@@ -142,7 +140,6 @@ export interface Recipient {
|
|
142
140
|
replied?: Date;
|
143
141
|
estimate?: boolean;
|
144
142
|
action?: string;
|
145
|
-
toId?: string;
|
146
143
|
fyi?: boolean;
|
147
144
|
id: number;
|
148
145
|
note?: string;
|
@@ -176,15 +173,10 @@ export interface Attachment {
|
|
176
173
|
byId?: string;
|
177
174
|
time: Date;
|
178
175
|
deleted?: boolean;
|
179
|
-
|
176
|
+
checkedOut?: boolean;
|
177
|
+
private?: boolean;
|
180
178
|
holdingId?: string;
|
181
179
|
}
|
182
|
-
export declare enum AttachmentMode {
|
183
|
-
Public = 1,
|
184
|
-
Private = 2,
|
185
|
-
CheckedOut = 4,
|
186
|
-
CheckedIn = 8
|
187
|
-
}
|
188
180
|
export interface Comment {
|
189
181
|
id: number;
|
190
182
|
image?: string;
|
@@ -392,7 +384,7 @@ export declare enum FieldType {
|
|
392
384
|
Address = "Address",
|
393
385
|
Object = "Object",
|
394
386
|
Expression = "Expression",
|
395
|
-
|
387
|
+
Duration = "Duration",
|
396
388
|
Autocomplete = "Autocomplete",
|
397
389
|
Percent = "Percent",
|
398
390
|
DateRange = "DateRange"
|
@@ -141,6 +141,10 @@ export declare const STRINGS: {
|
|
141
141
|
EverybodyRange: string;
|
142
142
|
YourRange: string;
|
143
143
|
Introduction: string;
|
144
|
+
AssignTo: string;
|
145
|
+
AssignRoundtrip: string;
|
146
|
+
AssignFYI: string;
|
147
|
+
AssignNoteHint: string;
|
144
148
|
Welcome: string;
|
145
149
|
WelcomeMsg: string;
|
146
150
|
WelcomeHide: string;
|
@@ -520,6 +524,7 @@ export declare const STRINGS: {
|
|
520
524
|
Votes: string;
|
521
525
|
Tasks: string;
|
522
526
|
System: string;
|
527
|
+
ActiveRoute: string;
|
523
528
|
Everything: string;
|
524
529
|
NothingHere: string;
|
525
530
|
Matrix: string;
|
@@ -557,6 +562,7 @@ export declare const STRINGS: {
|
|
557
562
|
Skipped: string;
|
558
563
|
Route: string;
|
559
564
|
Trace: string;
|
565
|
+
ActiveRoute: string;
|
560
566
|
Everything: string;
|
561
567
|
ProfilerSearchHelp: string;
|
562
568
|
TraceSearchHelp: string;
|
@@ -584,6 +590,10 @@ export declare const STRINGS: {
|
|
584
590
|
Message: string;
|
585
591
|
ProgrammableExpression: string;
|
586
592
|
FYI: string;
|
593
|
+
AssignTo: string;
|
594
|
+
AssignFYI: string;
|
595
|
+
AssignNoteHint: string;
|
596
|
+
AssignRoundtrip: string;
|
587
597
|
SkipInRoute: string;
|
588
598
|
StandardTime: string;
|
589
599
|
EscalateRole: string;
|
@@ -82,6 +82,12 @@ export declare class CubeService {
|
|
82
82
|
[axis: string]: (string | number);
|
83
83
|
} | Array<string | number>;
|
84
84
|
}): Observable<ExploreType>;
|
85
|
+
/**
|
86
|
+
* information on expected explore type
|
87
|
+
* @param cube name
|
88
|
+
* @param index name
|
89
|
+
*/
|
90
|
+
resolveIndex(cube: string, index: string): Observable<ExploreType>;
|
85
91
|
/**
|
86
92
|
* explore items by axis
|
87
93
|
* @param cube name
|
@@ -188,7 +194,7 @@ export declare class CubeService {
|
|
188
194
|
* get segments
|
189
195
|
* @param cube
|
190
196
|
*/
|
191
|
-
segments(cube: string,
|
197
|
+
segments(cube: string, name: string): Observable<SegmentMap>;
|
192
198
|
/**
|
193
199
|
* get user patterns
|
194
200
|
* @param cube
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@bizdoc/core",
|
3
|
-
"version": "1.13.
|
3
|
+
"version": "1.13.4",
|
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",
|
@@ -30,7 +30,6 @@
|
|
30
30
|
"hammerjs": "~2",
|
31
31
|
"lottie-web": "^5.8.1",
|
32
32
|
"ngx-cookie-service": "13",
|
33
|
-
"xlsx": "^0.17.4",
|
34
33
|
"dayjs": "^1.10.7",
|
35
34
|
"zone.js": "^0.11.4",
|
36
35
|
"tslib": "^2.3.0"
|