@bizdoc/core 1.14.0-next.3 → 1.14.0-next.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/esm2020/lib/compose/can-deactivate-changes.service.mjs +2 -2
- package/esm2020/lib/compose/compose.pane.component.mjs +1 -1
- package/esm2020/lib/compose/dismiss.service.mjs +2 -2
- package/esm2020/lib/compose/form.component.mjs +19 -20
- package/esm2020/lib/core/base.mjs +1 -1
- package/esm2020/lib/core/functions.mjs +19 -14
- package/esm2020/lib/core/slots/slots.component.mjs +20 -22
- package/fesm2015/bizdoc-core.mjs +56 -53
- package/fesm2015/bizdoc-core.mjs.map +1 -1
- package/fesm2020/bizdoc-core.mjs +56 -53
- package/fesm2020/bizdoc-core.mjs.map +1 -1
- package/lib/compose/form.component.d.ts +0 -1
- package/lib/core/base.d.ts +3 -3
- package/lib/core/functions.d.ts +1 -0
- package/lib/core/slots/slots.component.d.ts +2 -3
- package/package.json +1 -1
package/lib/core/base.d.ts
CHANGED
@@ -3,7 +3,7 @@ import { FormGroup } from "@angular/forms";
|
|
3
3
|
import { Observable } from "rxjs";
|
4
4
|
export declare type ViewMode = 'compose' | 'preview' | 'print' | 'version';
|
5
5
|
export declare type FormMode = '';
|
6
|
-
export interface FormComponent<TModel> extends ManagedComponent {
|
6
|
+
export interface FormComponent<TModel> extends ManagedComponent<TModel> {
|
7
7
|
form: FormGroup;
|
8
8
|
mode: ViewMode;
|
9
9
|
onBind(data: DocumentModel<TModel>, version?: TModel): void;
|
@@ -13,10 +13,10 @@ export interface FormComponent<TModel> extends ManagedComponent {
|
|
13
13
|
export interface ReportComponent<TResult, TArgs = any, TOptions = any> {
|
14
14
|
onBind(data: TResult[], args?: TArgs): any;
|
15
15
|
}
|
16
|
-
export interface ArgumentsComponent<TArgs = any> extends ManagedComponent {
|
16
|
+
export interface ArgumentsComponent<TArgs = any> extends ManagedComponent<TArgs> {
|
17
17
|
form: FormGroup;
|
18
18
|
}
|
19
|
-
export interface ManagedComponent {
|
19
|
+
export interface ManagedComponent<TArgs> {
|
20
20
|
}
|
21
21
|
export interface WidgetComponent<TResult, TArgs = any> {
|
22
22
|
onBind(data: TResult, args?: TArgs): any;
|
package/lib/core/functions.d.ts
CHANGED
@@ -8,7 +8,6 @@ import { CdkScrollable, ComponentType } from '@angular/cdk/overlay';
|
|
8
8
|
import { WindowTitleService } from '../window-title.service';
|
9
9
|
import { PaneRoute } from '../configuration';
|
10
10
|
import { GuideService } from '../guide/guide.service';
|
11
|
-
import { PromptService } from '../prompt.service';
|
12
11
|
import * as i0 from "@angular/core";
|
13
12
|
declare global {
|
14
13
|
interface Window {
|
@@ -16,7 +15,6 @@ declare global {
|
|
16
15
|
}
|
17
16
|
}
|
18
17
|
export declare class SlotsComponent implements OnInit, OnDestroy {
|
19
|
-
private _ps;
|
20
18
|
private _session;
|
21
19
|
private _cd;
|
22
20
|
private _router;
|
@@ -50,12 +48,13 @@ export declare class SlotsComponent implements OnInit, OnDestroy {
|
|
50
48
|
};
|
51
49
|
readonly ripple: RippleConfig;
|
52
50
|
accent: string;
|
51
|
+
private _width;
|
53
52
|
private _navigating;
|
54
53
|
private _repository;
|
55
54
|
private readonly _pending;
|
56
55
|
private readonly _rtl;
|
57
56
|
private readonly _destroy;
|
58
|
-
constructor(data: ExtendedRoute[],
|
57
|
+
constructor(data: ExtendedRoute[], _session: SessionService, _cd: ChangeDetectorRef, _router: PanesRouter, _title: WindowTitleService, _guide: GuideService, _injector: Injector);
|
59
58
|
ngOnInit(): void;
|
60
59
|
private _deserialize;
|
61
60
|
/**
|
package/package.json
CHANGED