@bizdoc/core 3.3.7 → 3.3.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/assets/bizdoc-schema.json +2 -1
- package/assets/themes/dark.min.css +14 -14
- package/assets/themes/default.min.css +15 -15
- package/fesm2022/bizdoc-core.mjs +15 -19
- package/fesm2022/bizdoc-core.mjs.map +1 -1
- package/lib/admin/indices/manage-cube-index.component.d.ts +1 -1
- package/lib/admin/patterns/patterns.component.d.ts +1 -1
- package/lib/admin/permissions/permissions.component.d.ts +1 -1
- package/lib/admin/positions/positions.component.d.ts +1 -1
- package/lib/core/base.d.ts +3 -6
- package/lib/core/models.d.ts +2 -2
- package/package.json +2 -2
@@ -10,7 +10,7 @@ import { SessionService } from "../../core/session.service";
|
|
10
10
|
import { CubeAxis } from "../../core/models";
|
11
11
|
import { PromptService } from "../../core/prompt.service";
|
12
12
|
import * as i0 from "@angular/core";
|
13
|
-
export declare class ManageCubeIndexUtility implements UtilityComponent<any
|
13
|
+
export declare class ManageCubeIndexUtility implements UtilityComponent<any>, OnInit, OnDestroy {
|
14
14
|
private _dir;
|
15
15
|
private _ref;
|
16
16
|
private _vc;
|
@@ -15,7 +15,7 @@ import { MatSort } from '@angular/material/sort';
|
|
15
15
|
import { MatPaginator } from '@angular/material/paginator';
|
16
16
|
import { SystemService } from '../system.service';
|
17
17
|
import * as i0 from "@angular/core";
|
18
|
-
export declare class PatternsComponent implements UtilityComponent<boolean
|
18
|
+
export declare class PatternsComponent implements UtilityComponent<boolean>, OnInit, OnDestroy {
|
19
19
|
private _session;
|
20
20
|
private _dir;
|
21
21
|
private _fb;
|
@@ -9,7 +9,7 @@ import { MatTableDataSource } from "@angular/material/table";
|
|
9
9
|
import { MatSort } from "@angular/material/sort";
|
10
10
|
import { MatCheckboxChange } from "@angular/material/checkbox";
|
11
11
|
import * as i0 from "@angular/core";
|
12
|
-
export declare class PermissionsUtility implements OnInit, UtilityComponent<boolean
|
12
|
+
export declare class PermissionsUtility implements OnInit, UtilityComponent<boolean> {
|
13
13
|
private _utilityRef;
|
14
14
|
private _session;
|
15
15
|
private _sb;
|
@@ -16,7 +16,7 @@ import { Popup } from '../../core/popup/popup.service';
|
|
16
16
|
import { UtilityComponent } from '../../core/base';
|
17
17
|
import { UtilityRef } from '../utility-ref';
|
18
18
|
import * as i0 from "@angular/core";
|
19
|
-
export declare class PositionsComponent implements OnInit, OnDestroy, UtilityComponent<boolean
|
19
|
+
export declare class PositionsComponent implements OnInit, OnDestroy, UtilityComponent<boolean>, AdminComponent {
|
20
20
|
private _session;
|
21
21
|
private _utilityRef;
|
22
22
|
private _datasources;
|
package/lib/core/base.d.ts
CHANGED
@@ -3,10 +3,7 @@ import { AbstractControl, FormGroup } from "@angular/forms";
|
|
3
3
|
import { Observable } from "rxjs";
|
4
4
|
import { MatFormFieldAppearance } from "@angular/material/form-field";
|
5
5
|
export declare type ViewMode = 'compose' | 'preview' | 'print' | 'version' | 'overlay';
|
6
|
-
export declare type FormMode = '';
|
7
6
|
export interface TagComponent<T> extends ManagedComponent<any> {
|
8
|
-
form: FormGroup;
|
9
|
-
mode: ViewMode;
|
10
7
|
onBind(value: T): void;
|
11
8
|
}
|
12
9
|
export interface NotificationComponent<T> extends ManagedComponent<any> {
|
@@ -29,7 +26,7 @@ export interface FormComponent<TModel> extends ManagedComponent<TModel> {
|
|
29
26
|
*/
|
30
27
|
onError?(message: string): void;
|
31
28
|
}
|
32
|
-
export interface ControlDesigner<T = any> {
|
29
|
+
export interface ControlDesigner<T = any> extends ManagedComponent<T> {
|
33
30
|
form: FormGroup;
|
34
31
|
onBind?(model: T): void;
|
35
32
|
}
|
@@ -51,11 +48,11 @@ export interface ManagedComponent<TArgs> {
|
|
51
48
|
export interface WidgetComponent<TResult, TArgs = any> {
|
52
49
|
onBind(data: TResult, args?: TArgs): void;
|
53
50
|
}
|
54
|
-
export interface UtilityComponent<
|
51
|
+
export interface UtilityComponent<TOptions = any> {
|
55
52
|
}
|
56
53
|
export interface ExploreItemComponent<TModel> {
|
57
54
|
onBind(data: TModel): void;
|
58
55
|
}
|
59
|
-
export interface InsightComponent<
|
56
|
+
export interface InsightComponent<TOptions = any> {
|
60
57
|
onBind(model: DocumentModel<any>): void;
|
61
58
|
}
|
package/lib/core/models.d.ts
CHANGED
@@ -82,14 +82,14 @@ export interface WorkflowInfo {
|
|
82
82
|
connectors: ConnectorInfo[];
|
83
83
|
}
|
84
84
|
export interface RecipientModel<T = any> extends HeaderModel<T>, DocumentModel<T> {
|
85
|
-
extra?: any;
|
86
85
|
actions?: string[];
|
87
86
|
fyi: boolean;
|
88
87
|
originId?: number;
|
89
|
-
roleId?:
|
88
|
+
roleId?: string;
|
90
89
|
escalated?: boolean;
|
91
90
|
tags?: string[];
|
92
91
|
byId?: string;
|
92
|
+
substituteId?: string;
|
93
93
|
}
|
94
94
|
export interface ConnectorInfo {
|
95
95
|
originId?: number;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@bizdoc/core",
|
3
|
-
"version": "3.3.
|
3
|
+
"version": "3.3.10",
|
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",
|
@@ -26,7 +26,7 @@
|
|
26
26
|
"@syncfusion/ej2-angular-schedule": "28.2",
|
27
27
|
"@syncfusion/ej2-angular-spreadsheet": "28.2",
|
28
28
|
"@syncfusion/ej2-angular-base": "28.2",
|
29
|
-
"ace-builds": "^1.
|
29
|
+
"ace-builds": "^1.38.0",
|
30
30
|
"cookie": "^1.0.2",
|
31
31
|
"hammerjs": "~2",
|
32
32
|
"dayjs": "^1.11.13",
|