@bizdoc/core 1.16.27 → 1.16.29
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/system/google.svg +13 -0
- package/assets/themes/brown.min.css +8 -8
- package/assets/themes/dark.min.css +8 -8
- package/assets/themes/deep-purple-light-blue.min.css +8 -8
- package/assets/themes/deep-purple-teal.min.css +8 -8
- package/assets/themes/default.min.css +8 -8
- package/assets/themes/green.min.css +8 -8
- package/assets/themes/indigo.min.css +8 -8
- package/esm2020/lib/admin/configuration-designer/declarations.mjs +2 -1
- package/esm2020/lib/admin/configuration-designer/designer.component.mjs +5 -3
- package/esm2020/lib/admin/configuration-designer/elements/cube.component.mjs +3 -3
- package/esm2020/lib/admin/configuration-designer/elements/node.component.mjs +18 -0
- package/esm2020/lib/admin/localized-string.component.mjs +52 -0
- package/esm2020/lib/core/controls/signature.input.mjs +149 -0
- package/esm2020/lib/core/mailbox.service.mjs +11 -2
- package/esm2020/lib/core/models.mjs +1 -1
- package/esm2020/lib/core/pipes/localized-string.pipe.mjs +24 -0
- package/esm2020/lib/core/slots/pane-ref.mjs +3 -2
- package/esm2020/lib/core/translations.mjs +49 -4
- package/esm2020/lib/reports/report-ref.mjs +1 -1
- package/esm2020/lib/reports/report-viewer.component.mjs +5 -2
- package/esm2020/lib/shared.module.mjs +11 -8
- package/esm2020/lib/system.module.mjs +11 -13
- package/esm2020/public-api.mjs +3 -2
- package/fesm2015/bizdoc-core.mjs +369 -327
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +369 -324
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/admin/configuration-designer/declarations.d.ts +4 -0
- package/lib/admin/configuration-designer/designer-element.component.d.ts +1 -0
- package/lib/admin/configuration-designer/elements/node.component.d.ts +7 -0
- package/lib/admin/localized-string.component.d.ts +20 -0
- package/lib/core/controls/signature.input.d.ts +53 -0
- package/lib/core/mailbox.service.d.ts +2 -1
- package/lib/core/models.d.ts +7 -0
- package/lib/core/pipes/localized-string.pipe.d.ts +11 -0
- package/lib/core/slots/pane-ref.d.ts +10 -9
- package/lib/core/translations.d.ts +45 -0
- package/lib/reports/report-ref.d.ts +2 -0
- package/lib/shared.module.d.ts +137 -136
- package/lib/system.module.d.ts +59 -59
- package/package.json +11 -9
- package/public-api.d.ts +3 -2
- package/esm2020/lib/admin/configuration-designer/elements/survey-form.component.mjs +0 -44
- package/esm2020/lib/admin/form/survey/survey.component.mjs +0 -180
- package/esm2020/lib/compose/survey/survey.component.mjs +0 -73
- package/lib/admin/configuration-designer/elements/survey-form.component.d.ts +0 -18
- package/lib/admin/form/survey/survey.component.d.ts +0 -123
- package/lib/compose/survey/survey.component.d.ts +0 -17
@@ -10,6 +10,7 @@ export declare const FAMILY_SVG: {
|
|
10
10
|
Priority: string;
|
11
11
|
'Active Directory': string;
|
12
12
|
Amazon: string;
|
13
|
+
Google: string;
|
13
14
|
Okta: string;
|
14
15
|
};
|
15
16
|
/** */
|
@@ -62,6 +63,8 @@ export interface DesignerModel {
|
|
62
63
|
tPolicies: TemplateInfo[];
|
63
64
|
views: ElementModel<any>[];
|
64
65
|
tViews: TemplateInfo[];
|
66
|
+
nodes: ElementModel<any>[];
|
67
|
+
tNodes: TemplateInfo[];
|
65
68
|
widgets: ElementModel<any>[];
|
66
69
|
tWidgets: TemplateInfo[];
|
67
70
|
actions: ElementModel<any>[];
|
@@ -201,6 +204,7 @@ export interface DesignerInfo {
|
|
201
204
|
cubes: ElementInfo[];
|
202
205
|
utilities: ElementInfo[];
|
203
206
|
folders: ElementInfo[];
|
207
|
+
nodes: ElementInfo[];
|
204
208
|
roles: ElementInfo[];
|
205
209
|
rules: ElementInfo[];
|
206
210
|
policies: ElementInfo[];
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { DesignerTypeElementComponent } from "../designer.base";
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class NodeDesignerComponent extends DesignerTypeElementComponent {
|
4
|
+
form: import("@angular/forms").FormGroup<{}>;
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NodeDesignerComponent, never>;
|
6
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NodeDesignerComponent, "ng-component", never, {}, {}, never, never, false>;
|
7
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { OnInit } from "@angular/core";
|
2
|
+
import { FormGroup, FormBuilder, FormControl } from "@angular/forms";
|
3
|
+
import { SessionService } from "../core/session.service";
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
/** */
|
6
|
+
export declare class LocalizedStringComponent implements OnInit {
|
7
|
+
private _form;
|
8
|
+
private _session;
|
9
|
+
private _fb;
|
10
|
+
formControlName: string;
|
11
|
+
label: string;
|
12
|
+
required: boolean;
|
13
|
+
control: FormControl | FormGroup;
|
14
|
+
localized: boolean;
|
15
|
+
readonly languages: string[];
|
16
|
+
constructor(_form: FormGroup, _session: SessionService, _fb: FormBuilder);
|
17
|
+
ngOnInit(): void;
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedStringComponent, [{ host: true; }, null, null]>;
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LocalizedStringComponent, "bizdoc-localized-string", never, { "formControlName": "formControlName"; "label": "label"; "required": "required"; }, {}, never, never, false>;
|
20
|
+
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import { OnDestroy, ElementRef } from '@angular/core';
|
2
|
+
import { NgControl, ControlValueAccessor } from '@angular/forms';
|
3
|
+
import { MatFormFieldControl } from '@angular/material/form-field';
|
4
|
+
import { FocusMonitor } from '@angular/cdk/a11y';
|
5
|
+
import { Subject } from 'rxjs';
|
6
|
+
import { Signature as SyncfusionSignature, SignatureChangeEventArgs } from '@syncfusion/ej2-angular-inputs';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
export declare class Signature implements MatFormFieldControl<string>, ControlValueAccessor, OnDestroy {
|
9
|
+
ngControl: NgControl;
|
10
|
+
private _fm;
|
11
|
+
private _elementRef;
|
12
|
+
private static nextId;
|
13
|
+
private _placeholder;
|
14
|
+
private _required;
|
15
|
+
private _disabled;
|
16
|
+
private _value?;
|
17
|
+
private _onChange;
|
18
|
+
private _onTouched;
|
19
|
+
width: number;
|
20
|
+
height: number;
|
21
|
+
velocity: number;
|
22
|
+
_control: SyncfusionSignature;
|
23
|
+
readonly stateChanges: Subject<void>;
|
24
|
+
id: string;
|
25
|
+
touched: boolean;
|
26
|
+
get placeholder(): string;
|
27
|
+
set placeholder(plh: string);
|
28
|
+
focused: boolean;
|
29
|
+
get empty(): boolean;
|
30
|
+
get shouldLabelFloat(): boolean;
|
31
|
+
get required(): boolean;
|
32
|
+
set required(req: boolean);
|
33
|
+
get disabled(): boolean;
|
34
|
+
set disabled(val: boolean);
|
35
|
+
get errorState(): boolean;
|
36
|
+
controlType?: string;
|
37
|
+
describedBy: string;
|
38
|
+
setDescribedByIds(ids: string[]): void;
|
39
|
+
onContainerClick(): void;
|
40
|
+
writeValue(val: any): void;
|
41
|
+
registerOnChange(fn: any): void;
|
42
|
+
registerOnTouched(fn: any): void;
|
43
|
+
setDisabledState?(isDisabled: boolean): void;
|
44
|
+
get value(): string;
|
45
|
+
set value(val: string);
|
46
|
+
_onFocus(): void;
|
47
|
+
_onBlur(): void;
|
48
|
+
constructor(ngControl: NgControl, _fm: FocusMonitor, _elementRef: ElementRef<HTMLElement>);
|
49
|
+
_change(evt: SignatureChangeEventArgs): void;
|
50
|
+
ngOnDestroy(): void;
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<Signature, [{ optional: true; self: true; }, null, null]>;
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<Signature, "bizdoc-signature", never, { "width": "width"; "height": "height"; "velocity": "velocity"; "placeholder": "placeholder"; "required": "required"; "disabled": "disabled"; "value": "value"; }, {}, never, never, false>;
|
53
|
+
}
|
@@ -99,7 +99,8 @@ export declare class MailboxService {
|
|
99
99
|
save<T = any>(id: number, form: string, version: number, model: {}, files?: File[] | FileList): Observable<RecipientModel<T>>;
|
100
100
|
delete(id: number): Observable<any>;
|
101
101
|
removecomment(id: number): Observable<any>;
|
102
|
-
|
102
|
+
post<T = any>(form: string, model?: any): Observable<RecipientModel<T>>;
|
103
|
+
submit<T = any>(id: number, version: number, form: string, model?: any): Observable<RecipientModel<T>>;
|
103
104
|
send<T = any>(id: number, version: number, form: string, model: any, action: string, actionArgs: {}, read?: boolean, folderId?: string, received?: Date): Observable<RecipientModel<T>>;
|
104
105
|
events(starting: Date, ending?: Date, contains?: string): Observable<ScheduledEvent[]>;
|
105
106
|
changeEvent(id: number, options: {
|
package/lib/core/models.d.ts
CHANGED
@@ -570,6 +570,13 @@ export interface CubeAxis {
|
|
570
570
|
}
|
571
571
|
export declare type AxisSelectionMode = 'None' | 'Single' | 'Multiple' | 'Search' | 'Pattern';
|
572
572
|
export declare type AxisValue = string | number | Array<string | number>;
|
573
|
+
export interface DateRange {
|
574
|
+
from: Date;
|
575
|
+
to: Date;
|
576
|
+
}
|
577
|
+
export declare type LocalizedString = {
|
578
|
+
[culture: string]: string;
|
579
|
+
} | string;
|
573
580
|
export interface AxesMap {
|
574
581
|
[axis: string]: AxisValue;
|
575
582
|
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
2
|
+
import { LocalizedString } from "../models";
|
3
|
+
import { SessionService } from "../session.service";
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class LocalizedStringPipe implements PipeTransform {
|
6
|
+
private _session;
|
7
|
+
constructor(_session: SessionService);
|
8
|
+
transform(value: LocalizedString, ...args: any[]): string;
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedStringPipe, never>;
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<LocalizedStringPipe, "localizedString", false>;
|
11
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { Type, Injector, InjectionToken } from "@angular/core";
|
2
|
-
import { BehaviorSubject, Subject } from "rxjs";
|
2
|
+
import { BehaviorSubject, Subject, Observable } from "rxjs";
|
3
3
|
import { ParamMap, PaneRoute, OpenPolicy } from "../configuration";
|
4
4
|
import { Dimentions } from "../models";
|
5
5
|
export declare const QUERY_CHAR = ":", PATH_CHAR = ";", ARG_CHAR = "&", PANE_CHAR = "~";
|
@@ -81,22 +81,23 @@ export declare class PaneRef<ComponentType = any, DataType = ParamMap> {
|
|
81
81
|
private _injector;
|
82
82
|
private _expandable;
|
83
83
|
private _stretchable;
|
84
|
+
value: any;
|
84
85
|
get expandable(): boolean;
|
85
86
|
get injector(): Injector;
|
86
87
|
get expanded(): boolean;
|
87
88
|
get fullPath(): string;
|
88
89
|
get instance(): ComponentType;
|
89
90
|
get data(): DataType;
|
90
|
-
get dataChange():
|
91
|
+
get dataChange(): Observable<DataType>;
|
91
92
|
get params(): ParamMap;
|
92
|
-
get paramsChange():
|
93
|
+
get paramsChange(): Observable<ParamMap>;
|
93
94
|
get queryString(): string;
|
94
95
|
get queryParams(): ParamMap;
|
95
|
-
get queryParamsChange():
|
96
|
-
get events():
|
97
|
-
get resized():
|
98
|
-
get closing():
|
99
|
-
get expandeding():
|
96
|
+
get queryParamsChange(): Observable<ParamMap>;
|
97
|
+
get events(): Observable<NavigationBase>;
|
98
|
+
get resized(): Observable<NavigationResize<any>>;
|
99
|
+
get closing(): Observable<NavigationClose<any>>;
|
100
|
+
get expandeding(): Observable<NavigationExpand<any>>;
|
100
101
|
get path(): string;
|
101
102
|
get mode(): PaneMode;
|
102
103
|
get parent(): PaneRef<any, ParamMap>;
|
@@ -129,7 +130,7 @@ export declare class PaneRef<ComponentType = any, DataType = ParamMap> {
|
|
129
130
|
decendentOf(pane: PaneRef<any>): boolean;
|
130
131
|
recycle(): void;
|
131
132
|
focus(): void;
|
132
|
-
close(): void;
|
133
|
+
close(value?: any): void;
|
133
134
|
expand(): void;
|
134
135
|
_destroy(): void;
|
135
136
|
}
|
@@ -84,6 +84,11 @@ export declare const STRINGS: {
|
|
84
84
|
ar: {};
|
85
85
|
ru: {};
|
86
86
|
en: {
|
87
|
+
YesNo: string;
|
88
|
+
Address: string;
|
89
|
+
Accumulative: string;
|
90
|
+
Currency: string;
|
91
|
+
Numeric: string;
|
87
92
|
LastExecution: string;
|
88
93
|
NextExecution: string;
|
89
94
|
LastJobState: string;
|
@@ -127,6 +132,8 @@ export declare const STRINGS: {
|
|
127
132
|
XAxis: string;
|
128
133
|
Series: string;
|
129
134
|
Steps: string;
|
135
|
+
Nodes: string;
|
136
|
+
Node: string;
|
130
137
|
Sum: string;
|
131
138
|
ProgramPatternErr: string;
|
132
139
|
Summary: string;
|
@@ -624,9 +631,47 @@ export declare const STRINGS: {
|
|
624
631
|
Everything: string;
|
625
632
|
NothingHere: string;
|
626
633
|
Matrix: string;
|
634
|
+
Choice: string;
|
635
|
+
Checkbox: string;
|
636
|
+
Select: string;
|
627
637
|
Working: string;
|
638
|
+
MinLength: string;
|
639
|
+
Max: string;
|
640
|
+
Min: string;
|
641
|
+
MaxLength: string;
|
642
|
+
OneLine: string;
|
643
|
+
OptionN: string;
|
644
|
+
QuestionN: string;
|
645
|
+
DefaultValue: string;
|
646
|
+
Placeholder: string;
|
647
|
+
Localized: string;
|
648
|
+
Autofill: string;
|
649
|
+
SurveyDone: string;
|
628
650
|
};
|
629
651
|
he: {
|
652
|
+
SurveyDone: string;
|
653
|
+
Localized: string;
|
654
|
+
QuestionN: string;
|
655
|
+
Autofill: string;
|
656
|
+
Placeholder: string;
|
657
|
+
OptionN: string;
|
658
|
+
OneLine: string;
|
659
|
+
Multiple: string;
|
660
|
+
MinLength: string;
|
661
|
+
MaxLength: string;
|
662
|
+
Min: string;
|
663
|
+
Max: string;
|
664
|
+
DefaultValue: string;
|
665
|
+
Select: string;
|
666
|
+
Nodes: string;
|
667
|
+
Node: string;
|
668
|
+
Checkbox: string;
|
669
|
+
Choice: string;
|
670
|
+
YesNo: string;
|
671
|
+
Address: string;
|
672
|
+
Accumulative: string;
|
673
|
+
Currency: string;
|
674
|
+
Numeric: string;
|
630
675
|
ChartType: string;
|
631
676
|
IndicesChartType: string;
|
632
677
|
States: string;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { Report, Dimentions } from '../core/models';
|
2
2
|
import { Observable, BehaviorSubject, Subject } from 'rxjs';
|
3
3
|
import { HubService } from '../core/hub.service';
|
4
|
+
import { ParamMap } from '../core/configuration';
|
4
5
|
/** */
|
5
6
|
export declare class ReportRef<O = any> {
|
6
7
|
private _configuration;
|
@@ -24,4 +25,5 @@ export interface ExportEventArgs {
|
|
24
25
|
data: {
|
25
26
|
[key: string]: any;
|
26
27
|
}[];
|
28
|
+
args: ParamMap;
|
27
29
|
}
|