@medplum/react 2.2.4 → 2.2.6

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.
@@ -1,11 +1,13 @@
1
1
  /// <reference types="react" />
2
2
 
3
3
  import { Address } from '@medplum/fhirtypes';
4
+ import { AnchorProps } from '@mantine/core';
4
5
  import { Annotation } from '@medplum/fhirtypes';
5
6
  import { Attachment } from '@medplum/fhirtypes';
6
7
  import { AvatarProps } from '@mantine/core';
7
8
  import { BaseLoginRequest } from '@medplum/core';
8
9
  import { Bundle } from '@medplum/fhirtypes';
10
+ import { ClientApplication } from '@medplum/fhirtypes';
9
11
  import { CodeableConcept } from '@medplum/fhirtypes';
10
12
  import { Coding } from '@medplum/fhirtypes';
11
13
  import { Communication } from '@medplum/fhirtypes';
@@ -994,7 +996,7 @@ export declare interface ResourceArrayDisplayProps {
994
996
  link?: boolean;
995
997
  }
996
998
 
997
- export declare function ResourceArrayInput(props: ResourceArrayInputProps): JSX.Element;
999
+ export declare function ResourceArrayInput(props: Readonly<ResourceArrayInputProps>): JSX.Element;
998
1000
 
999
1001
  export declare interface ResourceArrayInputProps {
1000
1002
  property: InternalSchemaElement;
@@ -1307,6 +1309,15 @@ export declare interface SignInFormProps extends BaseLoginRequest {
1307
1309
  readonly children?: ReactNode;
1308
1310
  }
1309
1311
 
1312
+ export declare function SmartAppLaunchLink(props: SmartAppLaunchLinkProps): JSX.Element | null;
1313
+
1314
+ export declare interface SmartAppLaunchLinkProps extends AnchorProps {
1315
+ readonly client: ClientApplication;
1316
+ readonly patient?: Reference<Patient>;
1317
+ readonly encounter?: Reference<Encounter>;
1318
+ readonly children?: ReactNode;
1319
+ }
1320
+
1310
1321
  export declare interface SmartSearchResponse {
1311
1322
  data: {
1312
1323
  ResourceList: Resource[];
@@ -1,11 +1,13 @@
1
1
  /// <reference types="react" />
2
2
 
3
3
  import { Address } from '@medplum/fhirtypes';
4
+ import { AnchorProps } from '@mantine/core';
4
5
  import { Annotation } from '@medplum/fhirtypes';
5
6
  import { Attachment } from '@medplum/fhirtypes';
6
7
  import { AvatarProps } from '@mantine/core';
7
8
  import { BaseLoginRequest } from '@medplum/core';
8
9
  import { Bundle } from '@medplum/fhirtypes';
10
+ import { ClientApplication } from '@medplum/fhirtypes';
9
11
  import { CodeableConcept } from '@medplum/fhirtypes';
10
12
  import { Coding } from '@medplum/fhirtypes';
11
13
  import { Communication } from '@medplum/fhirtypes';
@@ -994,7 +996,7 @@ export declare interface ResourceArrayDisplayProps {
994
996
  link?: boolean;
995
997
  }
996
998
 
997
- export declare function ResourceArrayInput(props: ResourceArrayInputProps): JSX.Element;
999
+ export declare function ResourceArrayInput(props: Readonly<ResourceArrayInputProps>): JSX.Element;
998
1000
 
999
1001
  export declare interface ResourceArrayInputProps {
1000
1002
  property: InternalSchemaElement;
@@ -1307,6 +1309,15 @@ export declare interface SignInFormProps extends BaseLoginRequest {
1307
1309
  readonly children?: ReactNode;
1308
1310
  }
1309
1311
 
1312
+ export declare function SmartAppLaunchLink(props: SmartAppLaunchLinkProps): JSX.Element | null;
1313
+
1314
+ export declare interface SmartAppLaunchLinkProps extends AnchorProps {
1315
+ readonly client: ClientApplication;
1316
+ readonly patient?: Reference<Patient>;
1317
+ readonly encounter?: Reference<Encounter>;
1318
+ readonly children?: ReactNode;
1319
+ }
1320
+
1310
1321
  export declare interface SmartSearchResponse {
1311
1322
  data: {
1312
1323
  ResourceList: Resource[];