@flarehr/apollo-super-selection 1.2.18717 → 1.2.18787

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.
Files changed (28) hide show
  1. package/dist/lib/apollo-super-selection/apollo-super-selection.esm.js +1 -1
  2. package/dist/lib/apollo-super-selection/{p-e25b2284.system.entry.js → p-23fd97a4.system.entry.js} +18 -18
  3. package/dist/lib/apollo-super-selection/{p-947ea415.entry.js → p-4fe3184d.entry.js} +4 -4
  4. package/dist/lib/apollo-super-selection/p-bdcfc026.system.js +1 -1
  5. package/dist/lib/cjs/apollo-super-selection.cjs.js +1 -1
  6. package/dist/lib/cjs/loader.cjs.js +1 -1
  7. package/dist/lib/cjs/sss-button_29.cjs.entry.js +39 -6
  8. package/dist/lib/collection/components/app-host/services/app-parameters.query.js +13 -0
  9. package/dist/lib/collection/components/app-host/services/app-parameters.service.js +14 -0
  10. package/dist/lib/collection/components/app-host/services/authentication.service.js +1 -1
  11. package/dist/lib/collection/components/app-host/services/session.store.js +2 -1
  12. package/dist/lib/collection/components/app-host/super-selection-app-host.js +5 -2
  13. package/dist/lib/collection/components/super-selection-app/super-selection-app.js +24 -3
  14. package/dist/lib/collection/global/init-host.js +4 -1
  15. package/dist/lib/collection/global/main.dev.js +4 -1
  16. package/dist/lib/esm/apollo-super-selection.js +1 -1
  17. package/dist/lib/esm/loader.js +1 -1
  18. package/dist/lib/esm/sss-button_29.entry.js +39 -6
  19. package/dist/lib/esm-es5/apollo-super-selection.js +1 -1
  20. package/dist/lib/esm-es5/loader.js +1 -1
  21. package/dist/lib/esm-es5/sss-button_29.entry.js +4 -4
  22. package/dist/lib/types/components/app-host/services/app-parameters.query.d.ts +10 -0
  23. package/dist/lib/types/components/app-host/services/app-parameters.service.d.ts +6 -0
  24. package/dist/lib/types/components/app-host/services/session.store.d.ts +1 -0
  25. package/dist/lib/types/components/app-host/super-selection-app-host.d.ts +1 -0
  26. package/dist/lib/types/components/super-selection-app/super-selection-app.d.ts +2 -1
  27. package/dist/lib/types/components.d.ts +3 -1
  28. package/package.json +1 -1
@@ -0,0 +1,10 @@
1
+ import { Query } from '@datorama/akita';
2
+ import { SessionState, SessionStore } from './session.store';
3
+ export declare class AppParametersQuery extends Query<SessionState> {
4
+ protected store: SessionStore;
5
+ readonly ignoreExistingSelection$: import("rxjs").Observable<boolean>;
6
+ constructor(store: SessionStore);
7
+ get ignoreExistingSelection(): boolean;
8
+ }
9
+ declare const _default: AppParametersQuery;
10
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare class AppParametersService {
2
+ private readonly ignoreExistingSelectionQueryParameter;
3
+ init(query: string): void;
4
+ }
5
+ declare const _default: AppParametersService;
6
+ export default _default;
@@ -21,6 +21,7 @@ export declare type SessionState = {
21
21
  reactNativeInterop: O.Option<ReactNativeInteropMode>;
22
22
  iframeInterop: O.Option<IframeInteropMode>;
23
23
  appConfiguration: O.Option<AppConfiguration>;
24
+ ignoreExistingSelection: boolean;
24
25
  };
25
26
  export declare function createInitialState(): SessionState;
26
27
  export declare class SessionStore extends Store<SessionState> {
@@ -2,6 +2,7 @@ export declare class SuperSelectionAppHost {
2
2
  private sessionState;
3
3
  private jwt;
4
4
  private appConfiguration;
5
+ private ignoreExistingSelection;
5
6
  componentWillLoad(): Promise<void>;
6
7
  render(): Element;
7
8
  private renderAppContent;
@@ -6,7 +6,8 @@ export declare type InitialisedWith = {
6
6
  profileId: string;
7
7
  };
8
8
  export declare class SuperSelectionApp {
9
- accessToken?: string;
9
+ ignoreExistingSelection?: boolean;
10
+ accessToken: string;
10
11
  backendUrl?: string;
11
12
  appBaseUrl?: string;
12
13
  history: RouterHistory;
@@ -101,10 +101,11 @@ export namespace Components {
101
101
  "history": RouterHistory;
102
102
  }
103
103
  interface SuperSelectionApp {
104
- "accessToken"?: string;
104
+ "accessToken": string;
105
105
  "appBaseUrl"?: string;
106
106
  "backendUrl"?: string;
107
107
  "history": RouterHistory;
108
+ "ignoreExistingSelection"?: boolean;
108
109
  "isSelfHosted": boolean;
109
110
  "location"?: LocationSegments;
110
111
  }
@@ -386,6 +387,7 @@ declare namespace LocalJSX {
386
387
  "appBaseUrl"?: string;
387
388
  "backendUrl"?: string;
388
389
  "history"?: RouterHistory;
390
+ "ignoreExistingSelection"?: boolean;
389
391
  "isSelfHosted"?: boolean;
390
392
  "location"?: LocationSegments;
391
393
  "onInitialised"?: (event: CustomEvent<InitialisedWith>) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarehr/apollo-super-selection",
3
- "version": "1.2.18717",
3
+ "version": "1.2.18787",
4
4
  "description": "Apollo Super Selection",
5
5
  "main": "dist/lib/index.cjs.js",
6
6
  "module": "dist/lib/index.js",