chayns-api 2.4.25 → 2.4.27

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.
@@ -248,7 +248,7 @@ class AppWrapper {
248
248
  this.appCall(60, {}, {
249
249
  callback: v => {
250
250
  (0, _apiListenerHelper.dispatchApiEvent)('visibilityChangeListener', {
251
- isVisible: v.tappEvent === _IChaynsReact.TappEvent.OnShow,
251
+ isVisible: v.tappEvent !== _IChaynsReact.TappEvent.OnHide,
252
252
  tappEvent: v.tappEvent
253
253
  });
254
254
  }
@@ -210,7 +210,7 @@ export class AppWrapper {
210
210
  this.appCall(60, {}, {
211
211
  callback: v => {
212
212
  dispatchApiEvent('visibilityChangeListener', {
213
- isVisible: v.tappEvent === TappEvent.OnShow,
213
+ isVisible: v.tappEvent !== TappEvent.OnHide,
214
214
  tappEvent: v.tappEvent
215
215
  });
216
216
  }
@@ -851,6 +851,7 @@ export interface Page {
851
851
  viewMode: number;
852
852
  originalTappId?: number;
853
853
  apiVersion?: number;
854
+ mainGroupId?: PageMainGroupType;
854
855
  }
855
856
  export declare enum Gender {
856
857
  Unknown = 0,
@@ -1004,3 +1005,8 @@ export declare enum DialogIconType {
1004
1005
  export type AnonymousAccountResult = {
1005
1006
  token: string;
1006
1007
  };
1008
+ export type PageMainGroupType = {
1009
+ Id: 1;
1010
+ Administration: 2;
1011
+ User: 3;
1012
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "2.4.25",
3
+ "version": "2.4.27",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",