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.
@@ -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
  }
@@ -15,6 +15,7 @@ export declare class FormComponent extends BaseComponent implements OnInit, OnCh
15
15
  viewId?: string | undefined;
16
16
  ViewName?: string | undefined;
17
17
  inDialog?: boolean;
18
+ isSimple?: boolean;
18
19
  };
19
20
  customFormPanelUi: any;
20
21
  formPanelCtrl: any;
@@ -23,3 +23,4 @@ export * from './notification.service';
23
23
  export * from './notification-popup.service';
24
24
  export * from './notification-sw.service';
25
25
  export * from './column.service';
26
+ export * from './service-worker-communication.service';
@@ -1,5 +1,5 @@
1
1
  import { SwPush } from '@angular/service-worker';
2
- import { ExNotificationPayload, NotificationItem } from '../abstract-classes';
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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "barsa-novin-ray-core",
3
- "version": "1.0.310",
3
+ "version": "1.0.312",
4
4
  "peerDependencies": {
5
5
  "@angular/core": "^14.2.7",
6
6
  "@angular/common": "^14.2.7"