@openmrs/esm-fast-data-entry-app 1.0.0-pre.9
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/.editorconfig +12 -0
- package/.eslintignore +2 -0
- package/.eslintrc +4 -0
- package/.github/workflows/node.js.yml +79 -0
- package/.husky/pre-commit +6 -0
- package/.husky/pre-push +6 -0
- package/.prettierignore +14 -0
- package/LICENSE +401 -0
- package/README.md +12 -0
- package/__mocks__/react-i18next.js +56 -0
- package/babel.config.json +8 -0
- package/dist/24.js +3 -0
- package/dist/24.js.LICENSE.txt +16 -0
- package/dist/24.js.map +1 -0
- package/dist/294.js +3 -0
- package/dist/294.js.LICENSE.txt +14 -0
- package/dist/294.js.map +1 -0
- package/dist/296.js +2 -0
- package/dist/296.js.map +1 -0
- package/dist/299.js +2 -0
- package/dist/299.js.map +1 -0
- package/dist/382.js +3 -0
- package/dist/382.js.LICENSE.txt +8 -0
- package/dist/382.js.map +1 -0
- package/dist/415.js +2 -0
- package/dist/415.js.map +1 -0
- package/dist/574.js +1 -0
- package/dist/595.js +3 -0
- package/dist/595.js.LICENSE.txt +1 -0
- package/dist/595.js.map +1 -0
- package/dist/69.js +2 -0
- package/dist/69.js.map +1 -0
- package/dist/735.js +3 -0
- package/dist/735.js.LICENSE.txt +29 -0
- package/dist/735.js.map +1 -0
- package/dist/777.js +2 -0
- package/dist/777.js.map +1 -0
- package/dist/860.js +2 -0
- package/dist/860.js.map +1 -0
- package/dist/906.js +2 -0
- package/dist/906.js.map +1 -0
- package/dist/openmrs-esm-fast-data-entry-app.js +1 -0
- package/dist/openmrs-esm-fast-data-entry-app.js.buildmanifest.json +369 -0
- package/dist/openmrs-esm-fast-data-entry-app.js.map +1 -0
- package/dist/openmrs-esm-fast-data-entry-app.old +2 -0
- package/jest.config.json +18 -0
- package/package.json +106 -0
- package/src/Root.tsx +16 -0
- package/src/boxes/extensions/blue-box.tsx +15 -0
- package/src/boxes/extensions/box.scss +23 -0
- package/src/boxes/extensions/brand-box.tsx +15 -0
- package/src/boxes/extensions/red-box.tsx +15 -0
- package/src/boxes/slot/boxes.css +23 -0
- package/src/boxes/slot/boxes.tsx +19 -0
- package/src/config-schema.ts +46 -0
- package/src/constant.ts +7 -0
- package/src/declarations.d.tsx +2 -0
- package/src/forms/FormsRoot.tsx +32 -0
- package/src/forms/FormsTable.tsx +64 -0
- package/src/forms/mockData.ts +43 -0
- package/src/forms-app-menu-link.tsx +12 -0
- package/src/greeter/greeter.css +4 -0
- package/src/greeter/greeter.test.tsx +29 -0
- package/src/greeter/greeter.tsx +25 -0
- package/src/hello.css +3 -0
- package/src/hello.test.tsx +45 -0
- package/src/hello.tsx +30 -0
- package/src/index.ts +75 -0
- package/src/patient-getter/patient-getter.resource.ts +31 -0
- package/src/patient-getter/patient-getter.test.tsx +28 -0
- package/src/patient-getter/patient-getter.tsx +28 -0
- package/src/setup-tests.ts +1 -0
- package/translations/en.json +4 -0
- package/tsconfig.json +23 -0
- package/webpack.config.js +1 -0
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
{
|
|
2
|
+
"chunks": [
|
|
3
|
+
{
|
|
4
|
+
"rendered": true,
|
|
5
|
+
"initial": false,
|
|
6
|
+
"entry": false,
|
|
7
|
+
"recorded": false,
|
|
8
|
+
"reason": "reused as split chunk (cache group: defaultVendors)",
|
|
9
|
+
"size": 576157,
|
|
10
|
+
"sizes": {
|
|
11
|
+
"javascript": 576157
|
|
12
|
+
},
|
|
13
|
+
"names": [],
|
|
14
|
+
"idHints": [
|
|
15
|
+
"vendors"
|
|
16
|
+
],
|
|
17
|
+
"runtime": [
|
|
18
|
+
"@openmrs/esm-fast-data-entry-app"
|
|
19
|
+
],
|
|
20
|
+
"files": [
|
|
21
|
+
"24.js"
|
|
22
|
+
],
|
|
23
|
+
"auxiliaryFiles": [
|
|
24
|
+
"24.js.map"
|
|
25
|
+
],
|
|
26
|
+
"hash": "efc922ebda875c446ff2",
|
|
27
|
+
"childrenByOrder": {}
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"rendered": true,
|
|
31
|
+
"initial": false,
|
|
32
|
+
"entry": false,
|
|
33
|
+
"recorded": false,
|
|
34
|
+
"size": 6090,
|
|
35
|
+
"sizes": {
|
|
36
|
+
"consume-shared": 84,
|
|
37
|
+
"javascript": 6006
|
|
38
|
+
},
|
|
39
|
+
"names": [],
|
|
40
|
+
"idHints": [],
|
|
41
|
+
"runtime": [
|
|
42
|
+
"@openmrs/esm-fast-data-entry-app"
|
|
43
|
+
],
|
|
44
|
+
"files": [
|
|
45
|
+
"69.js"
|
|
46
|
+
],
|
|
47
|
+
"auxiliaryFiles": [
|
|
48
|
+
"69.js.map"
|
|
49
|
+
],
|
|
50
|
+
"hash": "2391947509b46a307d47",
|
|
51
|
+
"childrenByOrder": {}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"rendered": true,
|
|
55
|
+
"initial": false,
|
|
56
|
+
"entry": false,
|
|
57
|
+
"recorded": false,
|
|
58
|
+
"size": 8973,
|
|
59
|
+
"sizes": {
|
|
60
|
+
"javascript": 8973
|
|
61
|
+
},
|
|
62
|
+
"names": [],
|
|
63
|
+
"idHints": [],
|
|
64
|
+
"runtime": [
|
|
65
|
+
"@openmrs/esm-fast-data-entry-app"
|
|
66
|
+
],
|
|
67
|
+
"files": [
|
|
68
|
+
"294.js"
|
|
69
|
+
],
|
|
70
|
+
"auxiliaryFiles": [
|
|
71
|
+
"294.js.map"
|
|
72
|
+
],
|
|
73
|
+
"hash": "a07250d7d78d1c054377",
|
|
74
|
+
"childrenByOrder": {}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"rendered": true,
|
|
78
|
+
"initial": false,
|
|
79
|
+
"entry": false,
|
|
80
|
+
"recorded": false,
|
|
81
|
+
"size": 10784,
|
|
82
|
+
"sizes": {
|
|
83
|
+
"javascript": 10784
|
|
84
|
+
},
|
|
85
|
+
"names": [],
|
|
86
|
+
"idHints": [],
|
|
87
|
+
"runtime": [
|
|
88
|
+
"@openmrs/esm-fast-data-entry-app"
|
|
89
|
+
],
|
|
90
|
+
"files": [
|
|
91
|
+
"296.js"
|
|
92
|
+
],
|
|
93
|
+
"auxiliaryFiles": [
|
|
94
|
+
"296.js.map"
|
|
95
|
+
],
|
|
96
|
+
"hash": "aabf786c2e4cace3acf4",
|
|
97
|
+
"childrenByOrder": {}
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"rendered": true,
|
|
101
|
+
"initial": false,
|
|
102
|
+
"entry": false,
|
|
103
|
+
"recorded": false,
|
|
104
|
+
"size": 4090,
|
|
105
|
+
"sizes": {
|
|
106
|
+
"javascript": 4048,
|
|
107
|
+
"consume-shared": 42
|
|
108
|
+
},
|
|
109
|
+
"names": [],
|
|
110
|
+
"idHints": [],
|
|
111
|
+
"runtime": [
|
|
112
|
+
"@openmrs/esm-fast-data-entry-app"
|
|
113
|
+
],
|
|
114
|
+
"files": [
|
|
115
|
+
"299.js"
|
|
116
|
+
],
|
|
117
|
+
"auxiliaryFiles": [
|
|
118
|
+
"299.js.map"
|
|
119
|
+
],
|
|
120
|
+
"hash": "3fdbd8b0a76494a81d67",
|
|
121
|
+
"childrenByOrder": {}
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"rendered": false,
|
|
125
|
+
"initial": false,
|
|
126
|
+
"entry": false,
|
|
127
|
+
"recorded": false,
|
|
128
|
+
"reason": "reused as split chunk (cache group: default)",
|
|
129
|
+
"size": 42,
|
|
130
|
+
"sizes": {
|
|
131
|
+
"consume-shared": 42
|
|
132
|
+
},
|
|
133
|
+
"names": [],
|
|
134
|
+
"idHints": [],
|
|
135
|
+
"runtime": [
|
|
136
|
+
"@openmrs/esm-fast-data-entry-app"
|
|
137
|
+
],
|
|
138
|
+
"files": [],
|
|
139
|
+
"auxiliaryFiles": [],
|
|
140
|
+
"hash": "57e08ee71edf596cdf8d",
|
|
141
|
+
"childrenByOrder": {}
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"rendered": true,
|
|
145
|
+
"initial": false,
|
|
146
|
+
"entry": false,
|
|
147
|
+
"recorded": false,
|
|
148
|
+
"reason": "reused as split chunk (cache group: defaultVendors)",
|
|
149
|
+
"size": 89951,
|
|
150
|
+
"sizes": {
|
|
151
|
+
"javascript": 89951
|
|
152
|
+
},
|
|
153
|
+
"names": [],
|
|
154
|
+
"idHints": [
|
|
155
|
+
"vendors"
|
|
156
|
+
],
|
|
157
|
+
"runtime": [
|
|
158
|
+
"@openmrs/esm-fast-data-entry-app"
|
|
159
|
+
],
|
|
160
|
+
"files": [
|
|
161
|
+
"382.js"
|
|
162
|
+
],
|
|
163
|
+
"auxiliaryFiles": [
|
|
164
|
+
"382.js.map"
|
|
165
|
+
],
|
|
166
|
+
"hash": "46a0bad05fd6044b7d24",
|
|
167
|
+
"childrenByOrder": {}
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"rendered": true,
|
|
171
|
+
"initial": false,
|
|
172
|
+
"entry": false,
|
|
173
|
+
"recorded": false,
|
|
174
|
+
"size": 406,
|
|
175
|
+
"sizes": {
|
|
176
|
+
"consume-shared": 42,
|
|
177
|
+
"javascript": 364
|
|
178
|
+
},
|
|
179
|
+
"names": [],
|
|
180
|
+
"idHints": [],
|
|
181
|
+
"runtime": [
|
|
182
|
+
"@openmrs/esm-fast-data-entry-app"
|
|
183
|
+
],
|
|
184
|
+
"files": [
|
|
185
|
+
"415.js"
|
|
186
|
+
],
|
|
187
|
+
"auxiliaryFiles": [
|
|
188
|
+
"415.js.map"
|
|
189
|
+
],
|
|
190
|
+
"hash": "fa8bbe1411c8fd9f3192",
|
|
191
|
+
"childrenByOrder": {}
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"rendered": true,
|
|
195
|
+
"initial": true,
|
|
196
|
+
"entry": true,
|
|
197
|
+
"recorded": false,
|
|
198
|
+
"size": 22619,
|
|
199
|
+
"sizes": {
|
|
200
|
+
"javascript": 3409,
|
|
201
|
+
"share-init": 252,
|
|
202
|
+
"runtime": 18958
|
|
203
|
+
},
|
|
204
|
+
"names": [
|
|
205
|
+
"@openmrs/esm-fast-data-entry-app"
|
|
206
|
+
],
|
|
207
|
+
"idHints": [],
|
|
208
|
+
"runtime": [
|
|
209
|
+
"@openmrs/esm-fast-data-entry-app"
|
|
210
|
+
],
|
|
211
|
+
"files": [
|
|
212
|
+
"openmrs-esm-fast-data-entry-app.js"
|
|
213
|
+
],
|
|
214
|
+
"auxiliaryFiles": [
|
|
215
|
+
"openmrs-esm-fast-data-entry-app.js.map"
|
|
216
|
+
],
|
|
217
|
+
"hash": "a11b604447b937c33998",
|
|
218
|
+
"childrenByOrder": {}
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"rendered": true,
|
|
222
|
+
"initial": false,
|
|
223
|
+
"entry": false,
|
|
224
|
+
"recorded": false,
|
|
225
|
+
"size": 59,
|
|
226
|
+
"sizes": {
|
|
227
|
+
"javascript": 59
|
|
228
|
+
},
|
|
229
|
+
"names": [],
|
|
230
|
+
"idHints": [],
|
|
231
|
+
"runtime": [
|
|
232
|
+
"@openmrs/esm-fast-data-entry-app"
|
|
233
|
+
],
|
|
234
|
+
"files": [
|
|
235
|
+
"574.js"
|
|
236
|
+
],
|
|
237
|
+
"auxiliaryFiles": [],
|
|
238
|
+
"hash": "ee70ca00cb1895c5d9b3",
|
|
239
|
+
"childrenByOrder": {}
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"rendered": true,
|
|
243
|
+
"initial": false,
|
|
244
|
+
"entry": false,
|
|
245
|
+
"recorded": false,
|
|
246
|
+
"reason": "split chunk (cache group: defaultVendors)",
|
|
247
|
+
"size": 482050,
|
|
248
|
+
"sizes": {
|
|
249
|
+
"javascript": 482050
|
|
250
|
+
},
|
|
251
|
+
"names": [],
|
|
252
|
+
"idHints": [
|
|
253
|
+
"vendors"
|
|
254
|
+
],
|
|
255
|
+
"runtime": [
|
|
256
|
+
"@openmrs/esm-fast-data-entry-app"
|
|
257
|
+
],
|
|
258
|
+
"files": [
|
|
259
|
+
"595.js"
|
|
260
|
+
],
|
|
261
|
+
"auxiliaryFiles": [
|
|
262
|
+
"595.js.map"
|
|
263
|
+
],
|
|
264
|
+
"hash": "bfcae7b2614643436d50",
|
|
265
|
+
"childrenByOrder": {}
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"rendered": true,
|
|
269
|
+
"initial": false,
|
|
270
|
+
"entry": false,
|
|
271
|
+
"recorded": false,
|
|
272
|
+
"reason": "split chunk (cache group: defaultVendors)",
|
|
273
|
+
"size": 1827724,
|
|
274
|
+
"sizes": {
|
|
275
|
+
"javascript": 1827724
|
|
276
|
+
},
|
|
277
|
+
"names": [],
|
|
278
|
+
"idHints": [
|
|
279
|
+
"vendors"
|
|
280
|
+
],
|
|
281
|
+
"runtime": [
|
|
282
|
+
"@openmrs/esm-fast-data-entry-app"
|
|
283
|
+
],
|
|
284
|
+
"files": [
|
|
285
|
+
"735.js"
|
|
286
|
+
],
|
|
287
|
+
"auxiliaryFiles": [
|
|
288
|
+
"735.js.map"
|
|
289
|
+
],
|
|
290
|
+
"hash": "29a4ecf0bed35d5666e3",
|
|
291
|
+
"childrenByOrder": {}
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"rendered": true,
|
|
295
|
+
"initial": false,
|
|
296
|
+
"entry": false,
|
|
297
|
+
"recorded": false,
|
|
298
|
+
"reason": "reused as split chunk (cache group: defaultVendors)",
|
|
299
|
+
"size": 39848,
|
|
300
|
+
"sizes": {
|
|
301
|
+
"javascript": 39848
|
|
302
|
+
},
|
|
303
|
+
"names": [],
|
|
304
|
+
"idHints": [
|
|
305
|
+
"vendors"
|
|
306
|
+
],
|
|
307
|
+
"runtime": [
|
|
308
|
+
"@openmrs/esm-fast-data-entry-app"
|
|
309
|
+
],
|
|
310
|
+
"files": [
|
|
311
|
+
"777.js"
|
|
312
|
+
],
|
|
313
|
+
"auxiliaryFiles": [
|
|
314
|
+
"777.js.map"
|
|
315
|
+
],
|
|
316
|
+
"hash": "07aa218a6fe56d4cca17",
|
|
317
|
+
"childrenByOrder": {}
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"rendered": true,
|
|
321
|
+
"initial": false,
|
|
322
|
+
"entry": false,
|
|
323
|
+
"recorded": false,
|
|
324
|
+
"size": 3610,
|
|
325
|
+
"sizes": {
|
|
326
|
+
"javascript": 3610
|
|
327
|
+
},
|
|
328
|
+
"names": [],
|
|
329
|
+
"idHints": [],
|
|
330
|
+
"runtime": [
|
|
331
|
+
"@openmrs/esm-fast-data-entry-app"
|
|
332
|
+
],
|
|
333
|
+
"files": [
|
|
334
|
+
"860.js"
|
|
335
|
+
],
|
|
336
|
+
"auxiliaryFiles": [
|
|
337
|
+
"860.js.map"
|
|
338
|
+
],
|
|
339
|
+
"hash": "2d7a34843ca3f497d361",
|
|
340
|
+
"childrenByOrder": {}
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
"rendered": true,
|
|
344
|
+
"initial": false,
|
|
345
|
+
"entry": false,
|
|
346
|
+
"recorded": false,
|
|
347
|
+
"reason": "reused as split chunk (cache group: defaultVendors)",
|
|
348
|
+
"size": 109242,
|
|
349
|
+
"sizes": {
|
|
350
|
+
"javascript": 109242
|
|
351
|
+
},
|
|
352
|
+
"names": [],
|
|
353
|
+
"idHints": [
|
|
354
|
+
"vendors"
|
|
355
|
+
],
|
|
356
|
+
"runtime": [
|
|
357
|
+
"@openmrs/esm-fast-data-entry-app"
|
|
358
|
+
],
|
|
359
|
+
"files": [
|
|
360
|
+
"906.js"
|
|
361
|
+
],
|
|
362
|
+
"auxiliaryFiles": [
|
|
363
|
+
"906.js.map"
|
|
364
|
+
],
|
|
365
|
+
"hash": "1881fee5d3e3d0ba0cf9",
|
|
366
|
+
"childrenByOrder": {}
|
|
367
|
+
}
|
|
368
|
+
]
|
|
369
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3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IAG7CuH,GAAsBA,EAAQ1I,GAGlC,IADGsI,GAA4BA,EAA2BC,GACrD3E,EAAI4E,EAAShJ,OAAQoE,IACzBtB,EAAUkG,EAAS5E,GAChB5D,EAAoBM,EAAEuH,EAAiBvF,IAAYuF,EAAgBvF,IACrEuF,EAAgBvF,GAAS,KAE1BuF,EAAgBvF,GAAW,GAKzBsG,EAAqBC,KAAmD,6CAAIA,KAAmD,8CAAK,GACxID,EAAmB/D,QAAQwD,EAAqBrD,KAAK,KAAM,IAC3D4D,EAAmBrF,KAAO8E,EAAqBrD,KAAK,KAAM4D,EAAmBrF,KAAKyB,KAAK4D,K,GClFvF5I,EAAoB,MACMA,EAAoB,O","sources":["webpack://@openmrs/esm-fast-data-entry-app/webpack/runtime/load script","webpack://@openmrs/esm-fast-data-entry-app/webpack/runtime/consumes","webpack://@openmrs/esm-fast-data-entry-app/./node_modules/systemjs-webpack-interop/auto-public-path/1.js","webpack://@openmrs/esm-fast-data-entry-app/./node_modules/systemjs-webpack-interop/auto-public-path/auto-public-path.js","webpack://@openmrs/esm-fast-data-entry-app/./node_modules/systemjs-webpack-interop/auto-public-path/index.js","webpack://@openmrs/esm-fast-data-entry-app/./node_modules/systemjs-webpack-interop/public-path.js","webpack://@openmrs/esm-fast-data-entry-app/webpack/container-entry","webpack://@openmrs/esm-fast-data-entry-app/webpack/bootstrap","webpack://@openmrs/esm-fast-data-entry-app/webpack/runtime/__system_context__","webpack://@openmrs/esm-fast-data-entry-app/webpack/runtime/compat get default export","webpack://@openmrs/esm-fast-data-entry-app/webpack/runtime/define property getters","webpack://@openmrs/esm-fast-data-entry-app/webpack/runtime/ensure chunk","webpack://@openmrs/esm-fast-data-entry-app/webpack/runtime/get javascript chunk filename","webpack://@openmrs/esm-fast-data-entry-app/webpack/runtime/global","webpack://@openmrs/esm-fast-data-entry-app/webpack/runtime/hasOwnProperty shorthand","webpack://@openmrs/esm-fast-data-entry-app/webpack/runtime/make namespace object","webpack://@openmrs/esm-fast-data-entry-app/webpack/runtime/node module decorator","webpack://@openmrs/esm-fast-data-entry-app/webpack/runtime/sharing","webpack://@openmrs/esm-fast-data-entry-app/webpack/runtime/publicPath","webpack://@openmrs/esm-fast-data-entry-app/webpack/runtime/jsonp chunk loading","webpack://@openmrs/esm-fast-data-entry-app/webpack/startup"],"sourcesContent":["var inProgress = {};\nvar dataWebpackPrefix = \"@openmrs/esm-fast-data-entry-app:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\t;\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","var parseVersion = (str) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar p=p=>{return p.split(\".\").map((p=>{return+p==p?+p:p}))},n=/^([^-+]+)?(?:-([^+]+))?(?:\\+(.+))?$/.exec(str),r=n[1]?p(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,p(n[2]))),n[3]&&(r.push([]),r.push.apply(r,p(n[3]))),r;\n}\nvar versionLt = (a, b) => {\n\t// see webpack/lib/util/semver.js for original code\n\ta=parseVersion(a),b=parseVersion(b);for(var r=0;;){if(r>=a.length)return r<b.length&&\"u\"!=(typeof b[r])[0];var e=a[r],n=(typeof e)[0];if(r>=b.length)return\"u\"==n;var t=b[r],f=(typeof t)[0];if(n!=f)return\"o\"==n&&\"n\"==f||(\"s\"==f||\"u\"==n);if(\"o\"!=n&&\"u\"!=n&&e!=t)return e<t;r++}\n}\nvar rangeToString = (range) => {\n\t// see webpack/lib/util/semver.js for original code\n\tvar r=range[0],n=\"\";if(1===range.length)return\"*\";if(r+.5){n+=0==r?\">=\":-1==r?\"<\":1==r?\"^\":2==r?\"~\":r>0?\"=\":\"!=\";for(var e=1,a=1;a<range.length;a++){e--,n+=\"u\"==(typeof(t=range[a]))[0]?\"-\":(e>0?\".\":\"\")+(e=2,t)}return n}var g=[];for(a=1;a<range.length;a++){var t=range[a];g.push(0===t?\"not(\"+o()+\")\":1===t?\"(\"+o()+\" || \"+o()+\")\":2===t?g.pop()+\" \"+g.pop():rangeToString(t))}return o();function o(){return g.pop().replace(/^\\((.+)\\)$/,\"$1\")}\n}\nvar satisfy = (range, version) => {\n\t// see webpack/lib/util/semver.js for original code\n\tif(0 in range){version=parseVersion(version);var e=range[0],r=e<0;r&&(e=-e-1);for(var n=0,i=1,a=!0;;i++,n++){var f,s,g=i<range.length?(typeof range[i])[0]:\"\";if(n>=version.length||\"o\"==(s=(typeof(f=version[n]))[0]))return!a||(\"u\"==g?i>e&&!r:\"\"==g!=r);if(\"u\"==s){if(!a||\"u\"!=g)return!1}else if(a)if(g==s)if(i<=e){if(f!=range[i])return!1}else{if(r?f>range[i]:f<range[i])return!1;f!=range[i]&&(a=!1)}else if(\"s\"!=g&&\"n\"!=g){if(r||i<=e)return!1;a=!1,i--}else{if(i<=e||s<g!=r)return!1;a=!1}else\"s\"!=g&&\"n\"!=g&&(a=!1,i--)}}var t=[],o=t.pop.bind(t);for(n=1;n<range.length;n++){var u=range[n];t.push(1==u?o()|o():2==u?o()&o():u?satisfy(u,version):!o())}return!!o();\n}\nvar ensureExistence = (scopeName, key) => {\n\tvar scope = __webpack_require__.S[scopeName];\n\tif(!scope || !__webpack_require__.o(scope, key)) throw new Error(\"Shared module \" + key + \" doesn't exist in shared scope \" + scopeName);\n\treturn scope;\n};\nvar findVersion = (scope, key) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar findSingletonVersionKey = (scope, key) => {\n\tvar versions = scope[key];\n\treturn Object.keys(versions).reduce((a, b) => {\n\t\treturn !a || (!versions[a].loaded && versionLt(a, b)) ? b : a;\n\t}, 0);\n};\nvar getInvalidSingletonVersionMessage = (scope, key, version, requiredVersion) => {\n\treturn \"Unsatisfied version \" + version + \" from \" + (version && scope[key][version].from) + \" of shared singleton module \" + key + \" (required \" + rangeToString(requiredVersion) + \")\"\n};\nvar getSingleton = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\treturn get(scope[key][version]);\n};\nvar getSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) typeof console !== \"undefined\" && console.warn && console.warn(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar getStrictSingletonVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar version = findSingletonVersionKey(scope, key);\n\tif (!satisfy(requiredVersion, version)) throw new Error(getInvalidSingletonVersionMessage(scope, key, version, requiredVersion));\n\treturn get(scope[key][version]);\n};\nvar findValidVersion = (scope, key, requiredVersion) => {\n\tvar versions = scope[key];\n\tvar key = Object.keys(versions).reduce((a, b) => {\n\t\tif (!satisfy(requiredVersion, b)) return a;\n\t\treturn !a || versionLt(a, b) ? b : a;\n\t}, 0);\n\treturn key && versions[key]\n};\nvar getInvalidVersionMessage = (scope, scopeName, key, requiredVersion) => {\n\tvar versions = scope[key];\n\treturn \"No satisfying version (\" + rangeToString(requiredVersion) + \") of shared module \" + key + \" found in shared scope \" + scopeName + \".\\n\" +\n\t\t\"Available versions: \" + Object.keys(versions).map((key) => {\n\t\treturn key + \" from \" + versions[key].from;\n\t}).join(\", \");\n};\nvar getValidVersion = (scope, scopeName, key, requiredVersion) => {\n\tvar entry = findValidVersion(scope, key, requiredVersion);\n\tif(entry) return get(entry);\n\tthrow new Error(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar warnInvalidVersion = (scope, scopeName, key, requiredVersion) => {\n\ttypeof console !== \"undefined\" && console.warn && console.warn(getInvalidVersionMessage(scope, scopeName, key, requiredVersion));\n};\nvar get = (entry) => {\n\tentry.loaded = 1;\n\treturn entry.get()\n};\nvar init = (fn) => (function(scopeName, a, b, c) {\n\tvar promise = __webpack_require__.I(scopeName);\n\tif (promise && promise.then) return promise.then(fn.bind(fn, scopeName, __webpack_require__.S[scopeName], a, b, c));\n\treturn fn(scopeName, __webpack_require__.S[scopeName], a, b, c);\n});\n\nvar load = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn get(findVersion(scope, key));\n});\nvar loadFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\treturn scope && __webpack_require__.o(scope, key) ? get(findVersion(scope, key)) : fallback();\n});\nvar loadVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingleton = /*#__PURE__*/ init((scopeName, scope, key) => {\n\tensureExistence(scopeName, key);\n\treturn getSingleton(scope, scopeName, key);\n});\nvar loadSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getValidVersion(scope, scopeName, key, version);\n});\nvar loadStrictSingletonVersionCheck = /*#__PURE__*/ init((scopeName, scope, key, version) => {\n\tensureExistence(scopeName, key);\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar loadVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn get(findValidVersion(scope, key, version) || warnInvalidVersion(scope, scopeName, key, version) || findVersion(scope, key));\n});\nvar loadSingletonFallback = /*#__PURE__*/ init((scopeName, scope, key, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingleton(scope, scopeName, key);\n});\nvar loadSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getSingletonVersion(scope, scopeName, key, version);\n});\nvar loadStrictVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tvar entry = scope && __webpack_require__.o(scope, key) && findValidVersion(scope, key, version);\n\treturn entry ? get(entry) : fallback();\n});\nvar loadStrictSingletonVersionCheckFallback = /*#__PURE__*/ init((scopeName, scope, key, version, fallback) => {\n\tif(!scope || !__webpack_require__.o(scope, key)) return fallback();\n\treturn getStrictSingletonVersion(scope, scopeName, key, version);\n});\nvar installedModules = {};\nvar moduleToHandlerMapping = {\n\t9075: () => (loadSingletonVersionCheckFallback(\"default\", \"@openmrs/esm-framework\", [1,3,14,0,,\"pre\"], () => (Promise.all([__webpack_require__.e(595), __webpack_require__.e(365)]).then(() => (() => (__webpack_require__(595))))))),\n\t5365: () => (loadSingletonVersionCheckFallback(\"default\", \"react\", [1,16], () => (__webpack_require__.e(294).then(() => (() => (__webpack_require__(7294))))))),\n\t1990: () => (loadSingletonVersionCheckFallback(\"default\", \"carbon-components\", [1,10], () => (__webpack_require__.e(24).then(() => (() => (__webpack_require__(5024))))))),\n\t9246: () => (loadSingletonVersionCheckFallback(\"default\", \"react-router-dom\", [1,5], () => (__webpack_require__.e(382).then(() => (() => (__webpack_require__(7382))))))),\n\t3397: () => (loadSingletonVersionCheckFallback(\"default\", \"react-i18next\", [1,11], () => (__webpack_require__.e(777).then(() => (() => (__webpack_require__(9777)))))))\n};\n// no consumes in initial chunks\nvar chunkMapping = {\n\t\"69\": [\n\t\t1990,\n\t\t9246\n\t],\n\t\"299\": [\n\t\t9075\n\t],\n\t\"365\": [\n\t\t5365\n\t],\n\t\"415\": [\n\t\t3397\n\t]\n};\n__webpack_require__.f.consumes = (chunkId, promises) => {\n\tif(__webpack_require__.o(chunkMapping, chunkId)) {\n\t\tchunkMapping[chunkId].forEach((id) => {\n\t\t\tif(__webpack_require__.o(installedModules, id)) return promises.push(installedModules[id]);\n\t\t\tvar onFactory = (factory) => {\n\t\t\t\tinstalledModules[id] = 0;\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tmodule.exports = factory();\n\t\t\t\t}\n\t\t\t};\n\t\t\tvar onError = (error) => {\n\t\t\t\tdelete installedModules[id];\n\t\t\t\t__webpack_require__.m[id] = (module) => {\n\t\t\t\t\tdelete __webpack_require__.c[id];\n\t\t\t\t\tthrow error;\n\t\t\t\t}\n\t\t\t};\n\t\t\ttry {\n\t\t\t\tvar promise = moduleToHandlerMapping[id]();\n\t\t\t\tif(promise.then) {\n\t\t\t\t\tpromises.push(installedModules[id] = promise.then(onFactory)['catch'](onError));\n\t\t\t\t} else onFactory(promise);\n\t\t\t} catch(e) { onError(e); }\n\t\t});\n\t}\n}","const autoPublicPath = require(\"./auto-public-path\").autoPublicPath;\n\nautoPublicPath(1);\n","const resolveDirectory = require(\"../public-path\").resolveDirectory;\n\nexports.autoPublicPath = function autoPublicPath(rootDirLevel) {\n if (!rootDirLevel) {\n rootDirLevel = 1;\n }\n\n if (typeof __webpack_public_path__ !== \"undefined\") {\n if (typeof __system_context__ === \"undefined\") {\n throw Error(\n \"systemjs-webpack-interop requires webpack@>=5.0.0-beta.15 and output.libraryTarget set to 'system'\"\n );\n }\n\n if (!__system_context__.meta || !__system_context__.meta.url) {\n console.error(\"__system_context__\", __system_context__);\n throw Error(\n \"systemjs-webpack-interop was provided an unknown SystemJS context. Expected context.meta.url, but none was provided\"\n );\n }\n\n __webpack_public_path__ = resolveDirectory(\n __system_context__.meta.url,\n rootDirLevel\n );\n }\n};\n","require(\"./1\");\n","exports.setPublicPath = function setPublicPath(\n systemjsModuleName,\n rootDirectoryLevel\n) {\n if (!rootDirectoryLevel) {\n rootDirectoryLevel = 1;\n }\n if (\n typeof systemjsModuleName !== \"string\" ||\n systemjsModuleName.trim().length === 0\n ) {\n throw Error(\n \"systemjs-webpack-interop: setPublicPath(systemjsModuleName) must be called with a non-empty string 'systemjsModuleName'\"\n );\n }\n\n if (\n typeof rootDirectoryLevel !== \"number\" ||\n rootDirectoryLevel <= 0 ||\n isNaN(rootDirectoryLevel) ||\n !isInteger(rootDirectoryLevel)\n ) {\n throw Error(\n \"systemjs-webpack-interop: setPublicPath(systemjsModuleName, rootDirectoryLevel) must be called with a positive integer 'rootDirectoryLevel'\"\n );\n }\n\n var moduleUrl;\n try {\n moduleUrl = window.System.resolve(systemjsModuleName);\n if (!moduleUrl) {\n throw Error();\n }\n } catch (err) {\n throw Error(\n \"systemjs-webpack-interop: There is no such module '\" +\n systemjsModuleName +\n \"' in the SystemJS registry. Did you misspell the name of your module?\"\n );\n }\n\n __webpack_public_path__ = resolveDirectory(moduleUrl, rootDirectoryLevel);\n};\n\nfunction resolveDirectory(urlString, rootDirectoryLevel) {\n // Our friend IE11 doesn't support new URL()\n // https://github.com/single-spa/single-spa/issues/612\n // https://gist.github.com/jlong/2428561\n\n var a = document.createElement(\"a\");\n a.href = urlString;\n\n var pathname = a.pathname[0] === \"/\" ? a.pathname : \"/\" + a.pathname;\n var numDirsProcessed = 0,\n index = pathname.length;\n while (numDirsProcessed !== rootDirectoryLevel && index >= 0) {\n var char = pathname[--index];\n if (char === \"/\") {\n numDirsProcessed++;\n }\n }\n\n if (numDirsProcessed !== rootDirectoryLevel) {\n throw Error(\n \"systemjs-webpack-interop: rootDirectoryLevel (\" +\n rootDirectoryLevel +\n \") is greater than the number of directories (\" +\n numDirsProcessed +\n \") in the URL path \" +\n urlString\n );\n }\n\n var finalPath = pathname.slice(0, index + 1);\n\n return a.protocol + \"//\" + a.host + finalPath;\n}\n\nexports.resolveDirectory = resolveDirectory;\n\n// borrowed from https://github.com/parshap/js-is-integer/blob/master/index.js\nvar isInteger =\n Number.isInteger ||\n function isInteger(val) {\n return typeof val === \"number\" && isFinite(val) && Math.floor(val) === val;\n };\n","var moduleMap = {\n\t\"app\": () => {\n\t\treturn __webpack_require__.e(299).then(() => (() => ((__webpack_require__(9299)))));\n\t}\n};\nvar get = (module, getScope) => {\n\t__webpack_require__.R = getScope;\n\tgetScope = (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n\t__webpack_require__.R = undefined;\n\treturn getScope;\n};\nvar init = (shareScope, initScope) => {\n\tif (!__webpack_require__.S) return;\n\tvar name = \"default\"\n\tvar oldScope = __webpack_require__.S[name];\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name, initScope);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => (get),\n\tinit: () => (init)\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n// expose the module cache\n__webpack_require__.c = __webpack_module_cache__;\n\n","__webpack_require__.y = __system_context__;","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.S = {};\nvar initPromises = {};\nvar initTokens = {};\n__webpack_require__.I = (name, initScope) => {\n\tif(!initScope) initScope = [];\n\t// handling circular init calls\n\tvar initToken = initTokens[name];\n\tif(!initToken) initToken = initTokens[name] = {};\n\tif(initScope.indexOf(initToken) >= 0) return;\n\tinitScope.push(initToken);\n\t// only runs once\n\tif(initPromises[name]) return initPromises[name];\n\t// creates a new share scope if needed\n\tif(!__webpack_require__.o(__webpack_require__.S, name)) __webpack_require__.S[name] = {};\n\t// runs all init snippets from all modules reachable\n\tvar scope = __webpack_require__.S[name];\n\tvar warn = (msg) => (typeof console !== \"undefined\" && console.warn && console.warn(msg));\n\tvar uniqueName = \"@openmrs/esm-fast-data-entry-app\";\n\tvar register = (name, version, factory, eager) => {\n\t\tvar versions = scope[name] = scope[name] || {};\n\t\tvar activeVersion = versions[version];\n\t\tif(!activeVersion || (!activeVersion.loaded && (!eager != !activeVersion.eager ? eager : uniqueName > activeVersion.from))) versions[version] = { get: factory, from: uniqueName, eager: !!eager };\n\t};\n\tvar initExternal = (id) => {\n\t\tvar handleError = (err) => (warn(\"Initialization of sharing external failed: \" + err));\n\t\ttry {\n\t\t\tvar module = __webpack_require__(id);\n\t\t\tif(!module) return;\n\t\t\tvar initFn = (module) => (module && module.init && module.init(__webpack_require__.S[name], initScope))\n\t\t\tif(module.then) return promises.push(module.then(initFn, handleError));\n\t\t\tvar initResult = initFn(module);\n\t\t\tif(initResult && initResult.then) return promises.push(initResult['catch'](handleError));\n\t\t} catch(err) { handleError(err); }\n\t}\n\tvar promises = [];\n\tswitch(name) {\n\t\tcase \"default\": {\n\t\t\tregister(\"@openmrs/esm-framework\", \"3.3.2-pre.1193\", () => (Promise.all([__webpack_require__.e(595), __webpack_require__.e(365)]).then(() => (() => (__webpack_require__(595))))));\n\t\t\tregister(\"carbon-components\", \"10.31.0\", () => (Promise.all([__webpack_require__.e(24), __webpack_require__.e(296)]).then(() => (() => (__webpack_require__(5024))))));\n\t\t\tregister(\"carbon-icons\", \"7.0.7\", () => (__webpack_require__.e(906).then(() => (() => (__webpack_require__(906))))));\n\t\t\tregister(\"react-i18next\", \"11.16.9\", () => (Promise.all([__webpack_require__.e(777), __webpack_require__.e(365)]).then(() => (() => (__webpack_require__(9777))))));\n\t\t\tregister(\"react-router-dom\", \"5.3.1\", () => (Promise.all([__webpack_require__.e(382), __webpack_require__.e(365), __webpack_require__.e(860)]).then(() => (() => (__webpack_require__(7382))))));\n\t\t\tregister(\"react\", \"16.14.0\", () => (__webpack_require__.e(294).then(() => (() => (__webpack_require__(7294))))));\n\t\t}\n\t\tbreak;\n\t}\n\tif(!promises.length) return initPromises[name] = 1;\n\treturn initPromises[name] = Promise.all(promises).then(() => (initPromises[name] = 1));\n};","__webpack_require__.p = \"\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t447: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(365 != chunkId) {\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_openmrs_esm_fast_data_entry_app\"] = self[\"webpackChunk_openmrs_esm_fast_data_entry_app\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// module cache are used so entry inlining is disabled\n// startup\n// Load entry module and return exports\n__webpack_require__(5356);\nvar __webpack_exports__ = __webpack_require__(6751);\n"],"names":["inProgress","dataWebpackPrefix","parseVersion","versionLt","rangeToString","satisfy","findSingletonVersionKey","getInvalidSingletonVersionMessage","getSingletonVersion","get","loadSingletonVersionCheckFallback","installedModules","moduleToHandlerMapping","chunkMapping","autoPublicPath","resolveDirectory","exports","rootDirLevel","meta","url","console","error","Error","urlString","rootDirectoryLevel","a","document","createElement","href","pathname","numDirsProcessed","index","length","finalPath","slice","protocol","host","Number","isInteger","moduleMap","__webpack_require__","e","then","module","getScope","R","o","Promise","resolve","undefined","init","shareScope","initScope","S","name","oldScope","I","d","__webpack_module_cache__","moduleId","cachedModule","id","loaded","__webpack_modules__","call","m","c","y","__system_context__","n","getter","__esModule","definition","key","Object","defineProperty","enumerable","f","chunkId","all","keys","reduce","promises","u","g","globalThis","this","Function","window","obj","prop","prototype","hasOwnProperty","l","done","push","script","needAttach","scripts","getElementsByTagName","i","s","getAttribute","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","forEach","fn","setTimeout","bind","type","target","head","appendChild","r","Symbol","toStringTag","value","nmd","paths","children","initPromises","initTokens","initToken","indexOf","scope","uniqueName","register","version","factory","eager","versions","activeVersion","from","p","str","split","map","exec","apply","b","t","range","pop","replace","requiredVersion","scopeName","warn","entry","promise","fallback","consumes","onFactory","onError","installedChunks","j","installedChunkData","reject","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","self"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
System.register("@openmrs/esm-fast-data-entry-app",[],(function(e,r){return{execute:function(){e((()=>{var e,t,n,o,a,i,s,u,l,f,p,d,c,h,m={1858:(e,r,t)=>{(0,t(2722).s)(1)},2722:(e,r,t)=>{const n=t(3905).R;r.s=function(e){if(e||(e=1),!t.y.meta||!t.y.meta.url)throw console.error("__system_context__",t.y),Error("systemjs-webpack-interop was provided an unknown SystemJS context. Expected context.meta.url, but none was provided");t.p=n(t.y.meta.url,e)}},5356:(e,r,t)=>{t(1858)},3905:(e,r,t)=>{r.R=function(e,r){var t=document.createElement("a");t.href=e;for(var n="/"===t.pathname[0]?t.pathname:"/"+t.pathname,o=0,a=n.length;o!==r&&a>=0;)"/"===n[--a]&&o++;if(o!==r)throw Error("systemjs-webpack-interop: rootDirectoryLevel ("+r+") is greater than the number of directories ("+o+") in the URL path "+e);var i=n.slice(0,a+1);return t.protocol+"//"+t.host+i};Number.isInteger},6751:(e,r,t)=>{"use strict";var n={app:()=>t.e(299).then((()=>()=>t(9299)))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},v={};function y(e){var r=v[e];if(void 0!==r)return r.exports;var t=v[e]={id:e,loaded:!1,exports:{}};return m[e].call(t.exports,t,t.exports,y),t.loaded=!0,t.exports}return y.m=m,y.c=v,y.y=r,y.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return y.d(r,{a:r}),r},y.d=(e,r)=>{for(var t in r)y.o(r,t)&&!y.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},y.f={},y.e=e=>Promise.all(Object.keys(y.f).reduce(((r,t)=>(y.f[t](e,r),r)),[])),y.u=e=>e+".js",y.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),y.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},t="@openmrs/esm-fast-data-entry-app:",y.l=(r,n,o,a)=>{if(e[r])e[r].push(n);else{var i,s;if(void 0!==o)for(var u=document.getElementsByTagName("script"),l=0;l<u.length;l++){var f=u[l];if(f.getAttribute("src")==r||f.getAttribute("data-webpack")==t+o){i=f;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,y.nc&&i.setAttribute("nonce",y.nc),i.setAttribute("data-webpack",t+o),i.src=r),e[r]=[n];var p=(t,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=e[r];if(delete e[r],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),t)return t(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),s&&document.head.appendChild(i)}},y.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},y.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{y.S={};var e={},r={};y.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];y.o(y.S,t)||(y.S[t]={});var a=y.S[t],i="@openmrs/esm-fast-data-entry-app",s=(e,r,t,n)=>{var o=a[e]=a[e]||{},s=o[r];(!s||!s.loaded&&(!n!=!s.eager?n:i>s.from))&&(o[r]={get:t,from:i,eager:!!n})},u=[];return"default"===t&&(s("@openmrs/esm-framework","3.3.2-pre.1193",(()=>Promise.all([y.e(595),y.e(365)]).then((()=>()=>y(595))))),s("carbon-components","10.31.0",(()=>Promise.all([y.e(24),y.e(296)]).then((()=>()=>y(5024))))),s("carbon-icons","7.0.7",(()=>y.e(906).then((()=>()=>y(906))))),s("react-i18next","11.16.9",(()=>Promise.all([y.e(777),y.e(365)]).then((()=>()=>y(9777))))),s("react-router-dom","5.3.1",(()=>Promise.all([y.e(382),y.e(365),y.e(860)]).then((()=>()=>y(7382))))),s("react","16.14.0",(()=>y.e(294).then((()=>()=>y(7294)))))),e[t]=u.length?Promise.all(u).then((()=>e[t]=1)):1}}})(),y.p="",n=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},o=(e,r)=>{e=n(e),r=n(r);for(var t=0;;){if(t>=e.length)return t<r.length&&"u"!=(typeof r[t])[0];var o=e[t],a=(typeof o)[0];if(t>=r.length)return"u"==a;var i=r[t],s=(typeof i)[0];if(a!=s)return"o"==a&&"n"==s||"s"==s||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;t++}},a=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,o=1;o<e.length;o++)n--,t+="u"==(typeof(s=e[o]))[0]?"-":(n>0?".":"")+(n=2,s);return t}var i=[];for(o=1;o<e.length;o++){var s=e[o];i.push(0===s?"not("+u()+")":1===s?"("+u()+" || "+u()+")":2===s?i.pop()+" "+i.pop():a(s))}return u();function u(){return i.pop().replace(/^\((.+)\)$/,"$1")}},i=(e,r)=>{if(0 in e){r=n(r);var t=e[0],o=t<0;o&&(t=-t-1);for(var a=0,s=1,u=!0;;s++,a++){var l,f,p=s<e.length?(typeof e[s])[0]:"";if(a>=r.length||"o"==(f=(typeof(l=r[a]))[0]))return!u||("u"==p?s>t&&!o:""==p!=o);if("u"==f){if(!u||"u"!=p)return!1}else if(u)if(p==f)if(s<=t){if(l!=e[s])return!1}else{if(o?l>e[s]:l<e[s])return!1;l!=e[s]&&(u=!1)}else if("s"!=p&&"n"!=p){if(o||s<=t)return!1;u=!1,s--}else{if(s<=t||f<p!=o)return!1;u=!1}else"s"!=p&&"n"!=p&&(u=!1,s--)}}var d=[],c=d.pop.bind(d);for(a=1;a<e.length;a++){var h=e[a];d.push(1==h?c()|c():2==h?c()&c():h?i(h,r):!c())}return!!c()},s=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&o(e,r)?r:e),0)},u=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+a(n)+")",l=(e,r,t,n)=>{var o=s(e,t);return i(n,o)||"undefined"!=typeof console&&console.warn&&console.warn(u(e,t,o,n)),f(e[t][o])},f=e=>(e.loaded=1,e.get()),p=(e=>function(r,t,n,o){var a=y.I(r);return a&&a.then?a.then(e.bind(e,r,y.S[r],t,n,o)):e(0,y.S[r],t,n,o)})(((e,r,t,n,o)=>r&&y.o(r,t)?l(r,0,t,n):o())),d={},c={9075:()=>p("default","@openmrs/esm-framework",[1,3,14,0,,"pre"],(()=>Promise.all([y.e(595),y.e(365)]).then((()=>()=>y(595))))),5365:()=>p("default","react",[1,16],(()=>y.e(294).then((()=>()=>y(7294))))),1990:()=>p("default","carbon-components",[1,10],(()=>y.e(24).then((()=>()=>y(5024))))),9246:()=>p("default","react-router-dom",[1,5],(()=>y.e(382).then((()=>()=>y(7382))))),3397:()=>p("default","react-i18next",[1,11],(()=>y.e(777).then((()=>()=>y(9777)))))},h={69:[1990,9246],299:[9075],365:[5365],415:[3397]},y.f.consumes=(e,r)=>{y.o(h,e)&&h[e].forEach((e=>{if(y.o(d,e))return r.push(d[e]);var t=r=>{d[e]=0,y.m[e]=t=>{delete y.c[e],t.exports=r()}},n=r=>{delete d[e],y.m[e]=t=>{throw delete y.c[e],r}};try{var o=c[e]();o.then?r.push(d[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}))},(()=>{var e={447:0};y.f.j=(r,t)=>{var n=y.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(365!=r){var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=y.p+y.u(r),i=new Error;y.l(a,(t=>{if(y.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}}),"chunk-"+r,r)}else e[r]=0};var r=(r,t)=>{var n,o,[a,i,s]=t,u=0;if(a.some((r=>0!==e[r]))){for(n in i)y.o(i,n)&&(y.m[n]=i[n]);s&&s(y)}for(r&&r(t);u<a.length;u++)o=a[u],y.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=self.webpackChunk_openmrs_esm_fast_data_entry_app=self.webpackChunk_openmrs_esm_fast_data_entry_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),y(5356),y(6751)})())}}}));
|
|
2
|
+
//# sourceMappingURL=openmrs-esm-fast-data-entry-app.js.map
|
package/jest.config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
{
|
|
2
|
+
"transform": {
|
|
3
|
+
"^.+\\.tsx?$": "babel-jest"
|
|
4
|
+
},
|
|
5
|
+
"transformIgnorePatterns": [
|
|
6
|
+
"/node_modules/(?!@openmrs)"
|
|
7
|
+
],
|
|
8
|
+
"moduleNameMapper": {
|
|
9
|
+
"^@carbon/icons-react/es/(.*)$": "@carbon/icons-react/lib/$1",
|
|
10
|
+
"^carbon-components-react/es/(.*)$": "carbon-components-react/lib/$1",
|
|
11
|
+
"@openmrs/esm-framework": "@openmrs/esm-framework/mock",
|
|
12
|
+
"\\.(s?css)$": "identity-obj-proxy"
|
|
13
|
+
},
|
|
14
|
+
"setupFilesAfterEnv": [
|
|
15
|
+
"<rootDir>/src/setup-tests.ts"
|
|
16
|
+
],
|
|
17
|
+
"testEnvironment": "jsdom"
|
|
18
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@openmrs/esm-fast-data-entry-app",
|
|
3
|
+
"version": "1.0.0-pre.9",
|
|
4
|
+
"license": "MPL-2.0",
|
|
5
|
+
"description": "An OpenMRS 3.x microfrontend",
|
|
6
|
+
"browser": "dist/openmrs-esm-fast-data-entry-app.js",
|
|
7
|
+
"main": "src/index.ts",
|
|
8
|
+
"source": true,
|
|
9
|
+
"scripts": {
|
|
10
|
+
"start": "openmrs develop",
|
|
11
|
+
"serve": "webpack serve --mode=development",
|
|
12
|
+
"build": "webpack --mode production",
|
|
13
|
+
"analyze": "webpack --mode=production --env.analyze=true",
|
|
14
|
+
"lint": "eslint src --ext js,jsx,ts,tsx",
|
|
15
|
+
"prettier": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
16
|
+
"typescript": "tsc",
|
|
17
|
+
"test": "jest --config jest.config.json",
|
|
18
|
+
"verify": "concurrently 'yarn:lint' 'yarn:test' 'yarn:typescript'",
|
|
19
|
+
"coverage": "yarn test -- --coverage",
|
|
20
|
+
"prepare": "husky install"
|
|
21
|
+
},
|
|
22
|
+
"husky": {
|
|
23
|
+
"hooks": {
|
|
24
|
+
"pre-commit": "pretty-quick --staged && yarn verify"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"browserslist": [
|
|
28
|
+
"extends browserslist-config-openmrs"
|
|
29
|
+
],
|
|
30
|
+
"keywords": [
|
|
31
|
+
"openmrs",
|
|
32
|
+
"microfrontends"
|
|
33
|
+
],
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "git+https://github.com/openmrs/openmrs-esm-fast-data-entry-app.git"
|
|
37
|
+
},
|
|
38
|
+
"resolutions": {
|
|
39
|
+
"@types/react": "17.0.2",
|
|
40
|
+
"@types/react-dom": "17.0.2"
|
|
41
|
+
},
|
|
42
|
+
"homepage": "https://github.com/openmrs/openmrs-esm-fast-data-entry-app#readme",
|
|
43
|
+
"publishConfig": {
|
|
44
|
+
"access": "public"
|
|
45
|
+
},
|
|
46
|
+
"bugs": {
|
|
47
|
+
"url": "https://github.com/openmrs/openmrs-esm-fast-data-entry-app/issues"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@carbon/icons-react": "^10.18.0",
|
|
51
|
+
"carbon-components-react": "^7.25.0",
|
|
52
|
+
"lodash-es": "^4.17.15"
|
|
53
|
+
},
|
|
54
|
+
"peerDependencies": {
|
|
55
|
+
"@openmrs/esm-framework": "^3.14.0-pre",
|
|
56
|
+
"carbon-components": "10.x",
|
|
57
|
+
"carbon-icons": "7.x",
|
|
58
|
+
"dayjs": "1.x",
|
|
59
|
+
"react": "16.x",
|
|
60
|
+
"react-i18next": "11.x",
|
|
61
|
+
"react-router-dom": "5.x",
|
|
62
|
+
"rxjs": "6.x"
|
|
63
|
+
},
|
|
64
|
+
"devDependencies": {
|
|
65
|
+
"@babel/core": "^7.14.3",
|
|
66
|
+
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
|
67
|
+
"@babel/preset-env": "^7.14.4",
|
|
68
|
+
"@babel/preset-react": "^7.13.13",
|
|
69
|
+
"@babel/preset-typescript": "^7.13.0",
|
|
70
|
+
"@babel/runtime": "^7.14.0",
|
|
71
|
+
"@openmrs/esm-framework": "next",
|
|
72
|
+
"@testing-library/dom": "^7.31.2",
|
|
73
|
+
"@testing-library/jest-dom": "^5.13.0",
|
|
74
|
+
"@testing-library/react": "^11.2.7",
|
|
75
|
+
"@testing-library/user-event": "^13.1.9",
|
|
76
|
+
"@types/carbon-components-react": "^7.34.0",
|
|
77
|
+
"@types/carbon__icons-react": "^10.31.0",
|
|
78
|
+
"@types/jest": "^26.0.23",
|
|
79
|
+
"@types/react-dom": "^16.9.14",
|
|
80
|
+
"@types/react-router": "^5.1.14",
|
|
81
|
+
"@types/react-router-dom": "^5.1.7",
|
|
82
|
+
"@types/webpack-env": "^1.16.0",
|
|
83
|
+
"@typescript-eslint/parser": "^5.14.0",
|
|
84
|
+
"babel-eslint": "^10.1.0",
|
|
85
|
+
"babel-jest": "^27.0.2",
|
|
86
|
+
"babel-preset-minify": "^0.5.1",
|
|
87
|
+
"concurrently": "^6.2.0",
|
|
88
|
+
"eslint": "^7.27.0",
|
|
89
|
+
"eslint-config-prettier": "^8.3.0",
|
|
90
|
+
"eslint-config-ts-react-important-stuff": "^3.0.0",
|
|
91
|
+
"eslint-plugin-prettier": "^3.4.0",
|
|
92
|
+
"husky": "^6.0.0",
|
|
93
|
+
"identity-obj-proxy": "^3.0.0",
|
|
94
|
+
"jest": "^27.0.4",
|
|
95
|
+
"jest-cli": "^27.0.4",
|
|
96
|
+
"openmrs": "next",
|
|
97
|
+
"prettier": "^2.3.0",
|
|
98
|
+
"pretty-quick": "^3.1.0",
|
|
99
|
+
"react": "^16.13.1",
|
|
100
|
+
"react-dom": "^16.14.0",
|
|
101
|
+
"react-i18next": "^11.16.9",
|
|
102
|
+
"react-router-dom": "^5.2.0",
|
|
103
|
+
"rxjs": "^6.5.4",
|
|
104
|
+
"typescript": "^4.3.2"
|
|
105
|
+
}
|
|
106
|
+
}
|
package/src/Root.tsx
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { BrowserRouter, Route } from "react-router-dom";
|
|
3
|
+
import { appPath } from "./constant";
|
|
4
|
+
import FormsRoot from "./forms/FormsRoot";
|
|
5
|
+
|
|
6
|
+
const Root = () => {
|
|
7
|
+
return (
|
|
8
|
+
<main>
|
|
9
|
+
<BrowserRouter basename={appPath}>
|
|
10
|
+
<Route path="/:tab?" component={FormsRoot} />
|
|
11
|
+
</BrowserRouter>
|
|
12
|
+
</main>
|
|
13
|
+
);
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export default Root;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This component demonstrates the creation of an extension.
|
|
3
|
+
*
|
|
4
|
+
* Check out the Extension System docs:
|
|
5
|
+
* https://openmrs.github.io/openmrs-esm-core/#/main/extensions
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React from "react";
|
|
9
|
+
import styles from "./box.scss";
|
|
10
|
+
|
|
11
|
+
const BlueBox: React.FC = () => {
|
|
12
|
+
return <div className={styles.blue}></div>;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export default BlueBox;
|