@openmrs/esm-framework 3.2.1-pre.1082 → 3.2.1-pre.1090
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/dist/openmrs-esm-framework.js +1 -1
- package/dist/openmrs-esm-framework.js.LICENSE.txt +1 -41
- package/dist/openmrs-esm-framework.js.map +1 -1
- package/docs/API.md +2069 -1352
- package/docs/classes/OpenmrsFetchError.md +3 -3
- package/docs/enums/VisitMode.md +3 -3
- package/docs/enums/VisitStatus.md +2 -2
- package/docs/interfaces/AssignedExtension.md +9 -9
- package/docs/interfaces/BreadcrumbRegistration.md +4 -4
- package/docs/interfaces/BreadcrumbSettings.md +6 -6
- package/docs/interfaces/CancelLoading.md +1 -1
- package/docs/interfaces/ClearDynamicRoutesMessage.md +3 -3
- package/docs/interfaces/ComponentConfig.md +30 -0
- package/docs/interfaces/ComponentDecoratorOptions.md +52 -0
- package/docs/interfaces/ConfigurableLinkProps.md +3 -3
- package/docs/interfaces/ConnectedExtension.md +6 -6
- package/docs/interfaces/CurrentPatientOptions.md +1 -1
- package/docs/interfaces/ExtensionInfo.md +139 -0
- package/docs/interfaces/ExtensionInstance.md +41 -0
- package/docs/interfaces/ExtensionInternalStore.md +34 -0
- package/docs/interfaces/ExtensionRegistration.md +15 -9
- package/docs/interfaces/ExtensionSlotInfo.md +64 -0
- package/docs/interfaces/ExtensionSlotState.md +4 -4
- package/docs/interfaces/ExtensionStore.md +3 -3
- package/docs/interfaces/FHIRRequestObj.md +3 -3
- package/docs/interfaces/MessageServiceWorkerResult.md +5 -5
- package/docs/interfaces/NavigateOptions.md +3 -3
- package/docs/interfaces/NavigationContext.md +50 -0
- package/docs/interfaces/NetworkRequestFailedEvent.md +49 -0
- package/docs/interfaces/OfflineModeResult.md +5 -5
- package/docs/interfaces/OfflinePatientArgs.md +4 -4
- package/docs/interfaces/OfflinePatientDataSyncHandler.md +4 -4
- package/docs/interfaces/OfflinePatientDataSyncState.md +8 -8
- package/docs/interfaces/OfflinePatientDataSyncStore.md +4 -4
- package/docs/interfaces/OfflineSynchronizationStore.md +30 -0
- package/docs/interfaces/OmrsServiceWorkerEvent.md +31 -0
- package/docs/interfaces/OmrsServiceWorkerMessage.md +3 -3
- package/docs/interfaces/OnImportMapChangedMessage.md +4 -4
- package/docs/interfaces/OnlyThePatient.md +1 -1
- package/docs/interfaces/OpenmrsReactComponentProps.md +19 -0
- package/docs/interfaces/OpenmrsReactComponentState.md +41 -0
- package/docs/interfaces/PatientWithFullResponse.md +1 -1
- package/docs/interfaces/QueueItemDescriptor.md +6 -6
- package/docs/interfaces/RegisterDynamicRouteMessage.md +6 -6
- package/docs/interfaces/RetryOptions.md +3 -3
- package/docs/interfaces/ShowNotificationEvent.md +5 -5
- package/docs/interfaces/ShowToastEvent.md +4 -4
- package/docs/interfaces/SyncItem.md +9 -9
- package/docs/interfaces/SyncProcessOptions.md +8 -8
- package/docs/interfaces/UserHasAccessProps.md +3 -3
- package/docs/interfaces/VisitItem.md +4 -4
- package/package.json +13 -13
- package/src/index.ts +8 -8
- package/docs/interfaces/NotificationDescriptor.md +0 -74
- package/docs/interfaces/ToastDescriptor.md +0 -69
- package/docs/interfaces/ToastNotificationMeta.md +0 -100
- package/src/internal.ts +0 -11
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
[@openmrs/esm-framework](../API.md) / ToastDescriptor
|
|
2
|
-
|
|
3
|
-
# Interface: ToastDescriptor
|
|
4
|
-
|
|
5
|
-
## Hierarchy
|
|
6
|
-
|
|
7
|
-
- **`ToastDescriptor`**
|
|
8
|
-
|
|
9
|
-
↳ [`ToastNotificationMeta`](ToastNotificationMeta.md)
|
|
10
|
-
|
|
11
|
-
## Table of contents
|
|
12
|
-
|
|
13
|
-
### UI Properties
|
|
14
|
-
|
|
15
|
-
- [critical](ToastDescriptor.md#critical)
|
|
16
|
-
- [description](ToastDescriptor.md#description)
|
|
17
|
-
- [kind](ToastDescriptor.md#kind)
|
|
18
|
-
- [millis](ToastDescriptor.md#millis)
|
|
19
|
-
- [title](ToastDescriptor.md#title)
|
|
20
|
-
|
|
21
|
-
## UI Properties
|
|
22
|
-
|
|
23
|
-
### critical
|
|
24
|
-
|
|
25
|
-
• `Optional` **critical**: `boolean`
|
|
26
|
-
|
|
27
|
-
#### Defined in
|
|
28
|
-
|
|
29
|
-
[packages/framework/esm-styleguide/src/toasts/toast.component.tsx:17](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-styleguide/src/toasts/toast.component.tsx#L17)
|
|
30
|
-
|
|
31
|
-
___
|
|
32
|
-
|
|
33
|
-
### description
|
|
34
|
-
|
|
35
|
-
• **description**: `ReactNode`
|
|
36
|
-
|
|
37
|
-
#### Defined in
|
|
38
|
-
|
|
39
|
-
[packages/framework/esm-styleguide/src/toasts/toast.component.tsx:15](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-styleguide/src/toasts/toast.component.tsx#L15)
|
|
40
|
-
|
|
41
|
-
___
|
|
42
|
-
|
|
43
|
-
### kind
|
|
44
|
-
|
|
45
|
-
• `Optional` **kind**: [`ToastType`](../API.md#toasttype)
|
|
46
|
-
|
|
47
|
-
#### Defined in
|
|
48
|
-
|
|
49
|
-
[packages/framework/esm-styleguide/src/toasts/toast.component.tsx:16](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-styleguide/src/toasts/toast.component.tsx#L16)
|
|
50
|
-
|
|
51
|
-
___
|
|
52
|
-
|
|
53
|
-
### millis
|
|
54
|
-
|
|
55
|
-
• `Optional` **millis**: `number`
|
|
56
|
-
|
|
57
|
-
#### Defined in
|
|
58
|
-
|
|
59
|
-
[packages/framework/esm-styleguide/src/toasts/toast.component.tsx:19](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-styleguide/src/toasts/toast.component.tsx#L19)
|
|
60
|
-
|
|
61
|
-
___
|
|
62
|
-
|
|
63
|
-
### title
|
|
64
|
-
|
|
65
|
-
• `Optional` **title**: `string`
|
|
66
|
-
|
|
67
|
-
#### Defined in
|
|
68
|
-
|
|
69
|
-
[packages/framework/esm-styleguide/src/toasts/toast.component.tsx:18](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-styleguide/src/toasts/toast.component.tsx#L18)
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
[@openmrs/esm-framework](../API.md) / ToastNotificationMeta
|
|
2
|
-
|
|
3
|
-
# Interface: ToastNotificationMeta
|
|
4
|
-
|
|
5
|
-
## Hierarchy
|
|
6
|
-
|
|
7
|
-
- [`ToastDescriptor`](ToastDescriptor.md)
|
|
8
|
-
|
|
9
|
-
↳ **`ToastNotificationMeta`**
|
|
10
|
-
|
|
11
|
-
## Table of contents
|
|
12
|
-
|
|
13
|
-
### UI Properties
|
|
14
|
-
|
|
15
|
-
- [critical](ToastNotificationMeta.md#critical)
|
|
16
|
-
- [description](ToastNotificationMeta.md#description)
|
|
17
|
-
- [id](ToastNotificationMeta.md#id)
|
|
18
|
-
- [kind](ToastNotificationMeta.md#kind)
|
|
19
|
-
- [millis](ToastNotificationMeta.md#millis)
|
|
20
|
-
- [title](ToastNotificationMeta.md#title)
|
|
21
|
-
|
|
22
|
-
## UI Properties
|
|
23
|
-
|
|
24
|
-
### critical
|
|
25
|
-
|
|
26
|
-
• `Optional` **critical**: `boolean`
|
|
27
|
-
|
|
28
|
-
#### Inherited from
|
|
29
|
-
|
|
30
|
-
[ToastDescriptor](ToastDescriptor.md).[critical](ToastDescriptor.md#critical)
|
|
31
|
-
|
|
32
|
-
#### Defined in
|
|
33
|
-
|
|
34
|
-
[packages/framework/esm-styleguide/src/toasts/toast.component.tsx:17](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-styleguide/src/toasts/toast.component.tsx#L17)
|
|
35
|
-
|
|
36
|
-
___
|
|
37
|
-
|
|
38
|
-
### description
|
|
39
|
-
|
|
40
|
-
• **description**: `ReactNode`
|
|
41
|
-
|
|
42
|
-
#### Inherited from
|
|
43
|
-
|
|
44
|
-
[ToastDescriptor](ToastDescriptor.md).[description](ToastDescriptor.md#description)
|
|
45
|
-
|
|
46
|
-
#### Defined in
|
|
47
|
-
|
|
48
|
-
[packages/framework/esm-styleguide/src/toasts/toast.component.tsx:15](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-styleguide/src/toasts/toast.component.tsx#L15)
|
|
49
|
-
|
|
50
|
-
___
|
|
51
|
-
|
|
52
|
-
### id
|
|
53
|
-
|
|
54
|
-
• **id**: `number`
|
|
55
|
-
|
|
56
|
-
#### Defined in
|
|
57
|
-
|
|
58
|
-
[packages/framework/esm-styleguide/src/toasts/toast.component.tsx:23](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-styleguide/src/toasts/toast.component.tsx#L23)
|
|
59
|
-
|
|
60
|
-
___
|
|
61
|
-
|
|
62
|
-
### kind
|
|
63
|
-
|
|
64
|
-
• `Optional` **kind**: [`ToastType`](../API.md#toasttype)
|
|
65
|
-
|
|
66
|
-
#### Inherited from
|
|
67
|
-
|
|
68
|
-
[ToastDescriptor](ToastDescriptor.md).[kind](ToastDescriptor.md#kind)
|
|
69
|
-
|
|
70
|
-
#### Defined in
|
|
71
|
-
|
|
72
|
-
[packages/framework/esm-styleguide/src/toasts/toast.component.tsx:16](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-styleguide/src/toasts/toast.component.tsx#L16)
|
|
73
|
-
|
|
74
|
-
___
|
|
75
|
-
|
|
76
|
-
### millis
|
|
77
|
-
|
|
78
|
-
• `Optional` **millis**: `number`
|
|
79
|
-
|
|
80
|
-
#### Inherited from
|
|
81
|
-
|
|
82
|
-
[ToastDescriptor](ToastDescriptor.md).[millis](ToastDescriptor.md#millis)
|
|
83
|
-
|
|
84
|
-
#### Defined in
|
|
85
|
-
|
|
86
|
-
[packages/framework/esm-styleguide/src/toasts/toast.component.tsx:19](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-styleguide/src/toasts/toast.component.tsx#L19)
|
|
87
|
-
|
|
88
|
-
___
|
|
89
|
-
|
|
90
|
-
### title
|
|
91
|
-
|
|
92
|
-
• `Optional` **title**: `string`
|
|
93
|
-
|
|
94
|
-
#### Inherited from
|
|
95
|
-
|
|
96
|
-
[ToastDescriptor](ToastDescriptor.md).[title](ToastDescriptor.md#title)
|
|
97
|
-
|
|
98
|
-
#### Defined in
|
|
99
|
-
|
|
100
|
-
[packages/framework/esm-styleguide/src/toasts/toast.component.tsx:18](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-styleguide/src/toasts/toast.component.tsx#L18)
|
package/src/internal.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from "@openmrs/esm-api";
|
|
2
|
-
export * from "@openmrs/esm-breadcrumbs";
|
|
3
|
-
export * from "@openmrs/esm-config";
|
|
4
|
-
export * from "@openmrs/esm-error-handling";
|
|
5
|
-
export * from "@openmrs/esm-extensions";
|
|
6
|
-
export * from "@openmrs/esm-globals";
|
|
7
|
-
export * from "@openmrs/esm-offline";
|
|
8
|
-
export * from "@openmrs/esm-react-utils";
|
|
9
|
-
export * from "@openmrs/esm-state";
|
|
10
|
-
export * from "@openmrs/esm-styleguide";
|
|
11
|
-
export * from "@openmrs/esm-utils";
|