@openmrs/esm-framework 3.1.15-pre.889 → 3.2.0
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.map +1 -1
- package/docs/API.md +31 -30
- package/docs/interfaces/CancelLoading.md +1 -1
- package/docs/interfaces/ComponentDefinition.md +6 -6
- package/docs/interfaces/ExtensionDefinition.md +12 -12
- package/docs/interfaces/ImportMap.md +1 -1
- package/docs/interfaces/Lifecycle.md +10 -26
- package/docs/interfaces/PageDefinition.md +8 -8
- package/docs/interfaces/ResourceLoader.md +1 -1
- package/docs/interfaces/SpaConfig.md +5 -5
- package/package.json +13 -13
package/docs/API.md
CHANGED
|
@@ -397,11 +397,11 @@ ___
|
|
|
397
397
|
|
|
398
398
|
### FormatDateMode
|
|
399
399
|
|
|
400
|
-
Ƭ **FormatDateMode**: ``"standard"`` \| ``"
|
|
400
|
+
Ƭ **FormatDateMode**: ``"standard"`` \| ``"wide"``
|
|
401
401
|
|
|
402
402
|
#### Defined in
|
|
403
403
|
|
|
404
|
-
[packages/framework/esm-utils/src/omrs-dates.ts:
|
|
404
|
+
[packages/framework/esm-utils/src/omrs-dates.ts:140](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-utils/src/omrs-dates.ts#L140)
|
|
405
405
|
|
|
406
406
|
___
|
|
407
407
|
|
|
@@ -413,11 +413,14 @@ ___
|
|
|
413
413
|
|
|
414
414
|
| Name | Type | Description |
|
|
415
415
|
| :------ | :------ | :------ |
|
|
416
|
+
| `day` | `boolean` | Whether to include the day number |
|
|
417
|
+
| `mode` | [`FormatDateMode`](API.md#formatdatemode) | - `standard`: "03 Feb 2022" - `wide`: "03 — Feb — 2022" |
|
|
416
418
|
| `time` | `boolean` \| ``"for today"`` | Whether the time should be included in the output always (`true`), never (`false`), or only when the input date is today (`for today`). |
|
|
419
|
+
| `year` | `boolean` | Whether to include the year |
|
|
417
420
|
|
|
418
421
|
#### Defined in
|
|
419
422
|
|
|
420
|
-
[packages/framework/esm-utils/src/omrs-dates.ts:
|
|
423
|
+
[packages/framework/esm-utils/src/omrs-dates.ts:142](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-utils/src/omrs-dates.ts#L142)
|
|
421
424
|
|
|
422
425
|
___
|
|
423
426
|
|
|
@@ -597,7 +600,7 @@ ___
|
|
|
597
600
|
|
|
598
601
|
#### Defined in
|
|
599
602
|
|
|
600
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
603
|
+
[packages/framework/esm-globals/src/types.ts:55](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L55)
|
|
601
604
|
|
|
602
605
|
___
|
|
603
606
|
|
|
@@ -1750,31 +1753,29 @@ ___
|
|
|
1750
1753
|
|
|
1751
1754
|
### formatDate
|
|
1752
1755
|
|
|
1753
|
-
▸ **formatDate**(`date`, `
|
|
1756
|
+
▸ **formatDate**(`date`, `options?`): `string`
|
|
1754
1757
|
|
|
1755
1758
|
Formats the input date according to the current locale and the
|
|
1756
|
-
given
|
|
1759
|
+
given options.
|
|
1757
1760
|
|
|
1758
|
-
|
|
1759
|
-
-
|
|
1760
|
-
-
|
|
1761
|
-
-
|
|
1761
|
+
Default options:
|
|
1762
|
+
- mode: "standard",
|
|
1763
|
+
- time: "for today",
|
|
1764
|
+
- day: true,
|
|
1765
|
+
- year: true
|
|
1762
1766
|
|
|
1763
|
-
|
|
1764
|
-
(in the locale language).
|
|
1767
|
+
If the date is today then "Today" is produced (in the locale language).
|
|
1765
1768
|
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
output of `Date.prototype.toLocaleString` for *most* locales.
|
|
1769
|
+
When time is included, it is appended with a comma and a space. This
|
|
1770
|
+
agrees with the output of `Date.prototype.toLocaleString` for *most*
|
|
1771
|
+
locales.
|
|
1770
1772
|
|
|
1771
1773
|
#### Parameters
|
|
1772
1774
|
|
|
1773
|
-
| Name | Type |
|
|
1774
|
-
| :------ | :------ |
|
|
1775
|
-
| `date` | `Date` |
|
|
1776
|
-
| `
|
|
1777
|
-
| `options` | [`FormatDateOptions`](API.md#formatdateoptions) | `defaultOptions` |
|
|
1775
|
+
| Name | Type |
|
|
1776
|
+
| :------ | :------ |
|
|
1777
|
+
| `date` | `Date` |
|
|
1778
|
+
| `options?` | `Partial`<[`FormatDateOptions`](API.md#formatdateoptions)\> |
|
|
1778
1779
|
|
|
1779
1780
|
#### Returns
|
|
1780
1781
|
|
|
@@ -1782,13 +1783,13 @@ output of `Date.prototype.toLocaleString` for *most* locales.
|
|
|
1782
1783
|
|
|
1783
1784
|
#### Defined in
|
|
1784
1785
|
|
|
1785
|
-
[packages/framework/esm-utils/src/omrs-dates.ts:
|
|
1786
|
+
[packages/framework/esm-utils/src/omrs-dates.ts:182](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-utils/src/omrs-dates.ts#L182)
|
|
1786
1787
|
|
|
1787
1788
|
___
|
|
1788
1789
|
|
|
1789
1790
|
### formatDatetime
|
|
1790
1791
|
|
|
1791
|
-
▸ **formatDatetime**(`date`, `
|
|
1792
|
+
▸ **formatDatetime**(`date`, `options?`): `string`
|
|
1792
1793
|
|
|
1793
1794
|
Formats the input into a string showing the date and time, according
|
|
1794
1795
|
to the current locale. The `mode` parameter is as described for
|
|
@@ -1800,10 +1801,10 @@ output of `Date.prototype.toLocaleString` for *most* locales.
|
|
|
1800
1801
|
|
|
1801
1802
|
#### Parameters
|
|
1802
1803
|
|
|
1803
|
-
| Name | Type |
|
|
1804
|
-
| :------ | :------ |
|
|
1805
|
-
| `date` | `Date` |
|
|
1806
|
-
| `
|
|
1804
|
+
| Name | Type |
|
|
1805
|
+
| :------ | :------ |
|
|
1806
|
+
| `date` | `Date` |
|
|
1807
|
+
| `options?` | `Partial`<`Omit`<[`FormatDateOptions`](API.md#formatdateoptions), ``"time"``\>\> |
|
|
1807
1808
|
|
|
1808
1809
|
#### Returns
|
|
1809
1810
|
|
|
@@ -1811,7 +1812,7 @@ output of `Date.prototype.toLocaleString` for *most* locales.
|
|
|
1811
1812
|
|
|
1812
1813
|
#### Defined in
|
|
1813
1814
|
|
|
1814
|
-
[packages/framework/esm-utils/src/omrs-dates.ts:
|
|
1815
|
+
[packages/framework/esm-utils/src/omrs-dates.ts:249](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-utils/src/omrs-dates.ts#L249)
|
|
1815
1816
|
|
|
1816
1817
|
___
|
|
1817
1818
|
|
|
@@ -1834,7 +1835,7 @@ Formats the input as a time, according to the current locale.
|
|
|
1834
1835
|
|
|
1835
1836
|
#### Defined in
|
|
1836
1837
|
|
|
1837
|
-
[packages/framework/esm-utils/src/omrs-dates.ts:
|
|
1838
|
+
[packages/framework/esm-utils/src/omrs-dates.ts:233](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-utils/src/omrs-dates.ts#L233)
|
|
1838
1839
|
|
|
1839
1840
|
___
|
|
1840
1841
|
|
|
@@ -3026,7 +3027,7 @@ that registered an extension component for this slot.
|
|
|
3026
3027
|
|
|
3027
3028
|
#### Defined in
|
|
3028
3029
|
|
|
3029
|
-
[packages/framework/esm-extensions/src/render.ts:
|
|
3030
|
+
[packages/framework/esm-extensions/src/render.ts:17](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-extensions/src/render.ts#L17)
|
|
3030
3031
|
|
|
3031
3032
|
___
|
|
3032
3033
|
|
|
@@ -14,4 +14,4 @@
|
|
|
14
14
|
|
|
15
15
|
#### Defined in
|
|
16
16
|
|
|
17
|
-
[packages/framework/esm-extensions/src/render.ts:
|
|
17
|
+
[packages/framework/esm-extensions/src/render.ts:9](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-extensions/src/render.ts#L9)
|
|
@@ -34,7 +34,7 @@ The module/app that defines the component
|
|
|
34
34
|
|
|
35
35
|
#### Defined in
|
|
36
36
|
|
|
37
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
37
|
+
[packages/framework/esm-globals/src/types.ts:101](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L101)
|
|
38
38
|
|
|
39
39
|
___
|
|
40
40
|
|
|
@@ -46,7 +46,7 @@ Defines the offline support / properties of the component.
|
|
|
46
46
|
|
|
47
47
|
#### Defined in
|
|
48
48
|
|
|
49
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
49
|
+
[packages/framework/esm-globals/src/types.ts:113](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L113)
|
|
50
50
|
|
|
51
51
|
___
|
|
52
52
|
|
|
@@ -58,7 +58,7 @@ Defines the online support / properties of the component.
|
|
|
58
58
|
|
|
59
59
|
#### Defined in
|
|
60
60
|
|
|
61
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
61
|
+
[packages/framework/esm-globals/src/types.ts:109](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L109)
|
|
62
62
|
|
|
63
63
|
___
|
|
64
64
|
|
|
@@ -70,7 +70,7 @@ Defines the access privilege required for this component, if any.
|
|
|
70
70
|
|
|
71
71
|
#### Defined in
|
|
72
72
|
|
|
73
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
73
|
+
[packages/framework/esm-globals/src/types.ts:117](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L117)
|
|
74
74
|
|
|
75
75
|
___
|
|
76
76
|
|
|
@@ -82,7 +82,7 @@ Defines resources that are loaded when the component should mount.
|
|
|
82
82
|
|
|
83
83
|
#### Defined in
|
|
84
84
|
|
|
85
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
85
|
+
[packages/framework/esm-globals/src/types.ts:121](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L121)
|
|
86
86
|
|
|
87
87
|
## Methods
|
|
88
88
|
|
|
@@ -98,4 +98,4 @@ Defines a function to use for actually loading the component's lifecycle.
|
|
|
98
98
|
|
|
99
99
|
#### Defined in
|
|
100
100
|
|
|
101
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
101
|
+
[packages/framework/esm-globals/src/types.ts:105](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L105)
|
|
@@ -42,7 +42,7 @@ The module/app that defines the component
|
|
|
42
42
|
|
|
43
43
|
#### Defined in
|
|
44
44
|
|
|
45
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
45
|
+
[packages/framework/esm-globals/src/types.ts:101](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L101)
|
|
46
46
|
|
|
47
47
|
___
|
|
48
48
|
|
|
@@ -54,7 +54,7 @@ ___
|
|
|
54
54
|
|
|
55
55
|
#### Defined in
|
|
56
56
|
|
|
57
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
57
|
+
[packages/framework/esm-globals/src/types.ts:136](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L136)
|
|
58
58
|
|
|
59
59
|
___
|
|
60
60
|
|
|
@@ -66,7 +66,7 @@ The meta data used for reflection by other components
|
|
|
66
66
|
|
|
67
67
|
#### Defined in
|
|
68
68
|
|
|
69
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
69
|
+
[packages/framework/esm-globals/src/types.ts:132](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L132)
|
|
70
70
|
|
|
71
71
|
___
|
|
72
72
|
|
|
@@ -78,7 +78,7 @@ The name of the extension being registered
|
|
|
78
78
|
|
|
79
79
|
#### Defined in
|
|
80
80
|
|
|
81
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
81
|
+
[packages/framework/esm-globals/src/types.ts:126](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L126)
|
|
82
82
|
|
|
83
83
|
___
|
|
84
84
|
|
|
@@ -94,7 +94,7 @@ Defines the offline support / properties of the component.
|
|
|
94
94
|
|
|
95
95
|
#### Defined in
|
|
96
96
|
|
|
97
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
97
|
+
[packages/framework/esm-globals/src/types.ts:113](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L113)
|
|
98
98
|
|
|
99
99
|
___
|
|
100
100
|
|
|
@@ -110,7 +110,7 @@ Defines the online support / properties of the component.
|
|
|
110
110
|
|
|
111
111
|
#### Defined in
|
|
112
112
|
|
|
113
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
113
|
+
[packages/framework/esm-globals/src/types.ts:109](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L109)
|
|
114
114
|
|
|
115
115
|
___
|
|
116
116
|
|
|
@@ -122,7 +122,7 @@ Specifies the relative order in which the extension renders in a slot
|
|
|
122
122
|
|
|
123
123
|
#### Defined in
|
|
124
124
|
|
|
125
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
125
|
+
[packages/framework/esm-globals/src/types.ts:134](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L134)
|
|
126
126
|
|
|
127
127
|
___
|
|
128
128
|
|
|
@@ -138,7 +138,7 @@ Defines the access privilege required for this component, if any.
|
|
|
138
138
|
|
|
139
139
|
#### Defined in
|
|
140
140
|
|
|
141
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
141
|
+
[packages/framework/esm-globals/src/types.ts:117](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L117)
|
|
142
142
|
|
|
143
143
|
___
|
|
144
144
|
|
|
@@ -154,7 +154,7 @@ Defines resources that are loaded when the component should mount.
|
|
|
154
154
|
|
|
155
155
|
#### Defined in
|
|
156
156
|
|
|
157
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
157
|
+
[packages/framework/esm-globals/src/types.ts:121](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L121)
|
|
158
158
|
|
|
159
159
|
___
|
|
160
160
|
|
|
@@ -166,7 +166,7 @@ A slot to attach to
|
|
|
166
166
|
|
|
167
167
|
#### Defined in
|
|
168
168
|
|
|
169
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
169
|
+
[packages/framework/esm-globals/src/types.ts:128](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L128)
|
|
170
170
|
|
|
171
171
|
___
|
|
172
172
|
|
|
@@ -178,7 +178,7 @@ Slots to attach to
|
|
|
178
178
|
|
|
179
179
|
#### Defined in
|
|
180
180
|
|
|
181
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
181
|
+
[packages/framework/esm-globals/src/types.ts:130](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L130)
|
|
182
182
|
|
|
183
183
|
## Methods
|
|
184
184
|
|
|
@@ -198,4 +198,4 @@ Defines a function to use for actually loading the component's lifecycle.
|
|
|
198
198
|
|
|
199
199
|
#### Defined in
|
|
200
200
|
|
|
201
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
201
|
+
[packages/framework/esm-globals/src/types.ts:105](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L105)
|
|
@@ -16,4 +16,4 @@
|
|
|
16
16
|
|
|
17
17
|
#### Defined in
|
|
18
18
|
|
|
19
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
19
|
+
[packages/framework/esm-globals/src/types.ts:58](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L58)
|
|
@@ -4,65 +4,49 @@
|
|
|
4
4
|
|
|
5
5
|
## Table of contents
|
|
6
6
|
|
|
7
|
-
###
|
|
7
|
+
### Properties
|
|
8
8
|
|
|
9
9
|
- [bootstrap](Lifecycle.md#bootstrap)
|
|
10
10
|
- [mount](Lifecycle.md#mount)
|
|
11
11
|
- [unmount](Lifecycle.md#unmount)
|
|
12
12
|
- [update](Lifecycle.md#update)
|
|
13
13
|
|
|
14
|
-
##
|
|
14
|
+
## Properties
|
|
15
15
|
|
|
16
16
|
### bootstrap
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
#### Returns
|
|
21
|
-
|
|
22
|
-
`void`
|
|
18
|
+
• **bootstrap**: `LifeCycleFn`<`any`\>
|
|
23
19
|
|
|
24
20
|
#### Defined in
|
|
25
21
|
|
|
26
|
-
[packages/framework/esm-
|
|
22
|
+
[packages/framework/esm-globals/src/types.ts:62](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L62)
|
|
27
23
|
|
|
28
24
|
___
|
|
29
25
|
|
|
30
26
|
### mount
|
|
31
27
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
#### Returns
|
|
35
|
-
|
|
36
|
-
`void`
|
|
28
|
+
• **mount**: `LifeCycleFn`<`any`\>
|
|
37
29
|
|
|
38
30
|
#### Defined in
|
|
39
31
|
|
|
40
|
-
[packages/framework/esm-
|
|
32
|
+
[packages/framework/esm-globals/src/types.ts:63](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L63)
|
|
41
33
|
|
|
42
34
|
___
|
|
43
35
|
|
|
44
36
|
### unmount
|
|
45
37
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
#### Returns
|
|
49
|
-
|
|
50
|
-
`void`
|
|
38
|
+
• **unmount**: `LifeCycleFn`<`any`\>
|
|
51
39
|
|
|
52
40
|
#### Defined in
|
|
53
41
|
|
|
54
|
-
[packages/framework/esm-
|
|
42
|
+
[packages/framework/esm-globals/src/types.ts:64](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L64)
|
|
55
43
|
|
|
56
44
|
___
|
|
57
45
|
|
|
58
46
|
### update
|
|
59
47
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
#### Returns
|
|
63
|
-
|
|
64
|
-
`void`
|
|
48
|
+
• `Optional` **update**: `LifeCycleFn`<`any`\>
|
|
65
49
|
|
|
66
50
|
#### Defined in
|
|
67
51
|
|
|
68
|
-
[packages/framework/esm-
|
|
52
|
+
[packages/framework/esm-globals/src/types.ts:65](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L65)
|
|
@@ -38,7 +38,7 @@ The module/app that defines the component
|
|
|
38
38
|
|
|
39
39
|
#### Defined in
|
|
40
40
|
|
|
41
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
41
|
+
[packages/framework/esm-globals/src/types.ts:101](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L101)
|
|
42
42
|
|
|
43
43
|
___
|
|
44
44
|
|
|
@@ -54,7 +54,7 @@ Defines the offline support / properties of the component.
|
|
|
54
54
|
|
|
55
55
|
#### Defined in
|
|
56
56
|
|
|
57
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
57
|
+
[packages/framework/esm-globals/src/types.ts:113](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L113)
|
|
58
58
|
|
|
59
59
|
___
|
|
60
60
|
|
|
@@ -70,7 +70,7 @@ Defines the online support / properties of the component.
|
|
|
70
70
|
|
|
71
71
|
#### Defined in
|
|
72
72
|
|
|
73
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
73
|
+
[packages/framework/esm-globals/src/types.ts:109](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L109)
|
|
74
74
|
|
|
75
75
|
___
|
|
76
76
|
|
|
@@ -82,7 +82,7 @@ The order in which to load the page. This determines DOM order.
|
|
|
82
82
|
|
|
83
83
|
#### Defined in
|
|
84
84
|
|
|
85
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
85
|
+
[packages/framework/esm-globals/src/types.ts:147](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L147)
|
|
86
86
|
|
|
87
87
|
___
|
|
88
88
|
|
|
@@ -98,7 +98,7 @@ Defines the access privilege required for this component, if any.
|
|
|
98
98
|
|
|
99
99
|
#### Defined in
|
|
100
100
|
|
|
101
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
101
|
+
[packages/framework/esm-globals/src/types.ts:117](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L117)
|
|
102
102
|
|
|
103
103
|
___
|
|
104
104
|
|
|
@@ -114,7 +114,7 @@ Defines resources that are loaded when the component should mount.
|
|
|
114
114
|
|
|
115
115
|
#### Defined in
|
|
116
116
|
|
|
117
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
117
|
+
[packages/framework/esm-globals/src/types.ts:121](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L121)
|
|
118
118
|
|
|
119
119
|
___
|
|
120
120
|
|
|
@@ -126,7 +126,7 @@ The route of the page.
|
|
|
126
126
|
|
|
127
127
|
#### Defined in
|
|
128
128
|
|
|
129
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
129
|
+
[packages/framework/esm-globals/src/types.ts:143](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L143)
|
|
130
130
|
|
|
131
131
|
## Methods
|
|
132
132
|
|
|
@@ -146,4 +146,4 @@ Defines a function to use for actually loading the component's lifecycle.
|
|
|
146
146
|
|
|
147
147
|
#### Defined in
|
|
148
148
|
|
|
149
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
149
|
+
[packages/framework/esm-globals/src/types.ts:105](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L105)
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
|
|
21
21
|
#### Defined in
|
|
22
22
|
|
|
23
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
23
|
+
[packages/framework/esm-globals/src/types.ts:94](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L94)
|
|
@@ -22,7 +22,7 @@ The base path or URL for the OpenMRS API / endpoints.
|
|
|
22
22
|
|
|
23
23
|
#### Defined in
|
|
24
24
|
|
|
25
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
25
|
+
[packages/framework/esm-globals/src/types.ts:72](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L72)
|
|
26
26
|
|
|
27
27
|
___
|
|
28
28
|
|
|
@@ -34,7 +34,7 @@ URLs of configurations to load in the system.
|
|
|
34
34
|
|
|
35
35
|
#### Defined in
|
|
36
36
|
|
|
37
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
37
|
+
[packages/framework/esm-globals/src/types.ts:85](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L85)
|
|
38
38
|
|
|
39
39
|
___
|
|
40
40
|
|
|
@@ -48,7 +48,7 @@ The environment to use.
|
|
|
48
48
|
|
|
49
49
|
#### Defined in
|
|
50
50
|
|
|
51
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
51
|
+
[packages/framework/esm-globals/src/types.ts:81](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L81)
|
|
52
52
|
|
|
53
53
|
___
|
|
54
54
|
|
|
@@ -62,7 +62,7 @@ Defines if offline should be supported by installing a service worker.
|
|
|
62
62
|
|
|
63
63
|
#### Defined in
|
|
64
64
|
|
|
65
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
65
|
+
[packages/framework/esm-globals/src/types.ts:90](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L90)
|
|
66
66
|
|
|
67
67
|
___
|
|
68
68
|
|
|
@@ -74,4 +74,4 @@ The base path for the SPA root path.
|
|
|
74
74
|
|
|
75
75
|
#### Defined in
|
|
76
76
|
|
|
77
|
-
[packages/framework/esm-globals/src/types.ts:
|
|
77
|
+
[packages/framework/esm-globals/src/types.ts:76](https://github.com/openmrs/openmrs-esm-core/blob/master/packages/framework/esm-globals/src/types.ts#L76)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/esm-framework",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"browser": "dist/openmrs-esm-framework.js",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -35,18 +35,18 @@
|
|
|
35
35
|
"access": "public"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@openmrs/esm-api": "^3.
|
|
39
|
-
"@openmrs/esm-breadcrumbs": "^3.
|
|
40
|
-
"@openmrs/esm-config": "^3.
|
|
41
|
-
"@openmrs/esm-error-handling": "^3.
|
|
42
|
-
"@openmrs/esm-extensions": "^3.
|
|
43
|
-
"@openmrs/esm-globals": "^3.
|
|
44
|
-
"@openmrs/esm-offline": "^3.
|
|
45
|
-
"@openmrs/esm-react-utils": "^3.
|
|
46
|
-
"@openmrs/esm-state": "^3.
|
|
47
|
-
"@openmrs/esm-styleguide": "^3.
|
|
48
|
-
"@openmrs/esm-utils": "^3.
|
|
38
|
+
"@openmrs/esm-api": "^3.2.0",
|
|
39
|
+
"@openmrs/esm-breadcrumbs": "^3.2.0",
|
|
40
|
+
"@openmrs/esm-config": "^3.2.0",
|
|
41
|
+
"@openmrs/esm-error-handling": "^3.2.0",
|
|
42
|
+
"@openmrs/esm-extensions": "^3.2.0",
|
|
43
|
+
"@openmrs/esm-globals": "^3.2.0",
|
|
44
|
+
"@openmrs/esm-offline": "^3.2.0",
|
|
45
|
+
"@openmrs/esm-react-utils": "^3.2.0",
|
|
46
|
+
"@openmrs/esm-state": "^3.2.0",
|
|
47
|
+
"@openmrs/esm-styleguide": "^3.2.0",
|
|
48
|
+
"@openmrs/esm-utils": "^3.2.0",
|
|
49
49
|
"dayjs": "^1.10.7"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "9c4a04089e29ff99321d6fef72294f402deb0f7b"
|
|
52
52
|
}
|