barsa-novin-ray-core 1.0.310 → 1.0.312
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/abstract-classes/base-column-props.mjs +4 -2
- package/esm2020/lib/barsa-novin-ray-core.module.mjs +6 -4
- package/esm2020/lib/form/form.component.mjs +7 -1
- package/esm2020/lib/services/index.mjs +2 -1
- package/esm2020/lib/services/notification-sw.service.mjs +2 -4
- package/esm2020/lib/services/portal.service.mjs +16 -1
- package/esm2020/lib/services/service-worker-communication.service.mjs +54 -0
- package/esm2020/lib/services/ulvmain.service.mjs +3 -3
- package/fesm2015/barsa-novin-ray-core.mjs +80 -8
- package/fesm2015/barsa-novin-ray-core.mjs.map +1 -1
- package/fesm2020/barsa-novin-ray-core.mjs +79 -8
- package/fesm2020/barsa-novin-ray-core.mjs.map +1 -1
- package/lib/abstract-classes/base-column-props.d.ts +1 -1
- package/lib/form/form.component.d.ts +1 -0
- package/lib/services/index.d.ts +1 -0
- package/lib/services/notification-sw.service.d.ts +1 -2
- package/lib/services/portal.service.d.ts +3 -0
- package/lib/services/service-worker-communication.service.d.ts +20 -0
- package/package.json +1 -1
|
@@ -30,5 +30,5 @@ export declare class BaseColumnPropsComponent extends BaseComponent implements A
|
|
|
30
30
|
constructor(_columnService: ColumnService, _el: ElementRef);
|
|
31
31
|
_callChangeToEditMode(): void;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseColumnPropsComponent, [{ optional: true; self: true; }, null]>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BaseColumnPropsComponent, "bnrc-base-column-props", never, { "allColumns": "allColumns"; "column": "column"; "mo": "mo"; "index": "index"; "editMode": "editMode"; "customRowHeight": "customRowHeight"; "controlUi": "controlUi"; "formLayoutShowLabel": "formLayoutShowLabel"; "isChecked": "isChecked"; "isNewInlineMo": "isNewInlineMo"; "layout94": "layout94"; "detailsComponentSetting": "detailsComponentSetting"; "value": "value"; "icon": "icon"; "rtl": "rtl"; "deviceName": "deviceName"; "deviceSize": "deviceSize"; }, { "save": "save"; "cancel": "cancel"; "tab": "tab"; "changeToEditMode": "changeToEditMode"; }, never, never, false>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BaseColumnPropsComponent, "bnrc-base-column-props", never, { "allColumns": "allColumns"; "column": "column"; "mo": "mo"; "index": "index"; "editMode": "editMode"; "customRowHeight": "customRowHeight"; "controlUi": "controlUi"; "formLayoutShowLabel": "formLayoutShowLabel"; "isChecked": "isChecked"; "isNewInlineMo": "isNewInlineMo"; "layout94": "layout94"; "detailsComponentSetting": "detailsComponentSetting"; "value": "value"; "icon": "icon"; "rtl": "rtl"; "deviceName": "deviceName"; "deviceSize": "deviceSize"; "customComponent": "customComponent"; }, { "save": "save"; "cancel": "cancel"; "tab": "tab"; "changeToEditMode": "changeToEditMode"; }, never, never, false>;
|
|
34
34
|
}
|
package/lib/services/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SwPush } from '@angular/service-worker';
|
|
2
|
-
import { ExNotificationPayload
|
|
2
|
+
import { ExNotificationPayload } from '../abstract-classes';
|
|
3
3
|
import { LogService } from './log.service';
|
|
4
4
|
import { PortalService } from './portal.service';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -7,7 +7,6 @@ export declare class ServiceWorkerNotificationService {
|
|
|
7
7
|
private _logService;
|
|
8
8
|
private _swPush;
|
|
9
9
|
private _portalService;
|
|
10
|
-
_notifications: NotificationItem[];
|
|
11
10
|
constructor(_logService: LogService, _swPush: SwPush, _portalService: PortalService);
|
|
12
11
|
get isEnabled(): boolean;
|
|
13
12
|
private getSw;
|
|
@@ -54,7 +54,9 @@ export declare class PortalService {
|
|
|
54
54
|
private _windowResize$;
|
|
55
55
|
private _deviceLandscape$;
|
|
56
56
|
private _standalone$;
|
|
57
|
+
private _documentVisibilitychange$;
|
|
57
58
|
constructor(dcm: DynamicComponentService, apiService: ApiService, logService: LogService, dialogService: BarsaDialogService, compiler: Compiler, _router: Router, _location: Location);
|
|
59
|
+
get documentVisibilitychange$(): Observable<boolean>;
|
|
58
60
|
get standalone$(): Observable<boolean>;
|
|
59
61
|
get landscape$(): Observable<boolean>;
|
|
60
62
|
get windowResize$(): Observable<void>;
|
|
@@ -113,6 +115,7 @@ export declare class PortalService {
|
|
|
113
115
|
loadUserPortalSetting(): void;
|
|
114
116
|
ShowFormPanelControl(formpanelCtrlr: any, router: Router, activatedRoute: ActivatedRoute, dialogComponent: Type<any>, isPage: boolean, isReload?: boolean): void;
|
|
115
117
|
loadSystem(id?: number): Promise<PortalDataModel>;
|
|
118
|
+
private _initVisibilityChange;
|
|
116
119
|
private _initStandalone;
|
|
117
120
|
private _initLandscape;
|
|
118
121
|
private findPageByRoute;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LogService } from './log.service';
|
|
2
|
+
import { PortalService } from './portal.service';
|
|
3
|
+
import { LocalStorageService } from './local-storage.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ServiceWorkerCommuncationService {
|
|
6
|
+
private _localStorage;
|
|
7
|
+
private _logService;
|
|
8
|
+
private _portalService;
|
|
9
|
+
_serviceWorker: ServiceWorker;
|
|
10
|
+
_hidden: boolean;
|
|
11
|
+
constructor(_localStorage: LocalStorageService, _logService: LogService, _portalService: PortalService);
|
|
12
|
+
init(): void;
|
|
13
|
+
protected _subscribe(): void;
|
|
14
|
+
protected _setDefaultOptions(): void;
|
|
15
|
+
protected _isLoggedIn(isLoggedIn: boolean): void;
|
|
16
|
+
protected _visibilitychange(documentIsHidden: boolean): void;
|
|
17
|
+
protected _postServiceWorker(message: any): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ServiceWorkerCommuncationService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ServiceWorkerCommuncationService>;
|
|
20
|
+
}
|