@smartbit4all/ng-client 1.1.24 → 1.1.26
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/session/smart-session.service.mjs +31 -17
- package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.mjs +11 -6
- package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.mjs +26 -6
- package/esm2020/lib/view-context/smart-view-context.service.mjs +51 -25
- package/fesm2015/smartbit4all-ng-client.mjs +135 -67
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +113 -50
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/session/smart-session.service.d.ts +1 -0
- package/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.d.ts +4 -4
- package/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.d.ts +1 -1
- package/lib/view-context/smart-view-context.service.d.ts +6 -2
- package/package.json +1 -1
- package/smartbit4all-ng-client-1.1.26.tgz +0 -0
- package/smartbit4all-ng-client-1.1.24.tgz +0 -0
|
@@ -23,6 +23,7 @@ export declare class SmartSessionService {
|
|
|
23
23
|
headersUpdated: Subject<void>;
|
|
24
24
|
private localStorageLocaleName;
|
|
25
25
|
localeChanged: Subject<void>;
|
|
26
|
+
private initializeRunning;
|
|
26
27
|
sessionExpiracyChanged: Subject<void>;
|
|
27
28
|
private sessionHandlerService?;
|
|
28
29
|
constructor(apiService: SessionService, cookieService: SmartCookieService);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { OnInit } from
|
|
2
|
-
import { SmartViewContextApiError } from
|
|
3
|
-
import { SmartViewContextErrorDialogService } from
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { SmartViewContextApiError } from '../smart-view-context.model';
|
|
3
|
+
import { SmartViewContextErrorDialogService } from './smart-view-context-error-dialog.service';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SmartViewContextErrorDialogComponent implements OnInit {
|
|
6
6
|
private service;
|
|
7
|
-
smartViewContextApiError
|
|
7
|
+
smartViewContextApiError?: SmartViewContextApiError;
|
|
8
8
|
constructor(service: SmartViewContextErrorDialogService);
|
|
9
9
|
ngOnInit(): void;
|
|
10
10
|
onActionClick(): void;
|
|
@@ -13,7 +13,7 @@ export declare class SmartViewContextErrorDialogService extends SmartdialogServi
|
|
|
13
13
|
handleAfterClosed(result: any): void;
|
|
14
14
|
openDialog(): void;
|
|
15
15
|
closeDialog(): Promise<void>;
|
|
16
|
-
getSmartViewContextApiError(): SmartViewContextApiError
|
|
16
|
+
getSmartViewContextApiError(): Promise<SmartViewContextApiError>;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartViewContextErrorDialogService, never>;
|
|
18
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<SmartViewContextErrorDialogService>;
|
|
19
19
|
}
|
|
@@ -7,6 +7,9 @@ import { SmartSubject } from '../smart-client/smart.subject';
|
|
|
7
7
|
import { ComponentModel, DataChange, MessageData, MessageResult, UiActionDescriptor, UiActionRequest, ViewConstraint, ViewContextChange, ViewContextData, ViewContextUpdate, ViewData, ViewService } from './api';
|
|
8
8
|
import { SmartTranslateService, SmartViewContextApiError, SmartViewContextApiErrors, SmartViewHandlerModel } from './smart-view-context.model';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
|
+
export declare const SmartViewContextErrorDialogButtonLabel = "SmartViewContextErrorDialogButtonLabel";
|
|
11
|
+
export declare const SmartViewContextErrorDialogTitle = "SmartViewContextErrorDialogTitle";
|
|
12
|
+
export declare const SmartViewContextErrorDialogMessage = "SmartViewContextErrorDialogMessage";
|
|
10
13
|
export declare class SmartViewContextService {
|
|
11
14
|
private view;
|
|
12
15
|
private session;
|
|
@@ -23,6 +26,7 @@ export declare class SmartViewContextService {
|
|
|
23
26
|
private openedViewData;
|
|
24
27
|
uuidOfPageHasBeenChanged: Subject<string>;
|
|
25
28
|
viewContextHasBeenSynced: Subject<void>;
|
|
29
|
+
private initializeRunning;
|
|
26
30
|
smartViewContextApiErrors?: SmartViewContextApiErrors;
|
|
27
31
|
openSmartLink: Subject<void>;
|
|
28
32
|
isOpeningSmartLink: boolean;
|
|
@@ -51,14 +55,14 @@ export declare class SmartViewContextService {
|
|
|
51
55
|
private clearSessionStorage;
|
|
52
56
|
private setTabId;
|
|
53
57
|
startViewContext(): Promise<ViewContextData>;
|
|
54
|
-
initialize(uuid?: string): Promise<ViewContextData>;
|
|
58
|
+
initialize(uuid?: string): Promise<ViewContextData | undefined>;
|
|
55
59
|
openView(view: ViewData): void;
|
|
56
60
|
closeView(view: ViewData): void;
|
|
57
61
|
restoreViews(uuid: string): Promise<void>;
|
|
58
62
|
syncView(): void;
|
|
59
63
|
getUuidOfPage(pageName: string): string;
|
|
60
64
|
message(messageData: MessageData, messageResult: MessageResult): Promise<void>;
|
|
61
|
-
getSmartViewContextApiErrorByCode(code: string): SmartViewContextApiError
|
|
65
|
+
getSmartViewContextApiErrorByCode(code: string): Promise<SmartViewContextApiError>;
|
|
62
66
|
getViewConstraint(uuid: string): Promise<ViewConstraint>;
|
|
63
67
|
showPublishedView(channel: string, uuid: string): Promise<void>;
|
|
64
68
|
downloadResource(uuid: string, item: string): Promise<any>;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|