@openmrs/esm-patient-immunizations-app 4.0.1-pre.258 → 4.0.1-pre.261
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/.turbo/turbo-build.log
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
[35m@openmrs/esm-patient-immunizations-app:build[0m: cache hit, replaying output [
|
|
1
|
+
[35m@openmrs/esm-patient-immunizations-app:build[0m: cache hit, replaying output [2m889647bd0d35c4aa[0m
|
|
2
2
|
[35m@openmrs/esm-patient-immunizations-app:build: [0massets by chunk 921 KiB (id hint: vendors)
|
|
3
3
|
[35m@openmrs/esm-patient-immunizations-app:build: [0m assets by status [1m[33m853 KiB[39m[22m [1m[33m[big][39m[22m
|
|
4
4
|
[35m@openmrs/esm-patient-immunizations-app:build: [0m asset [1m[33m965.js[39m[22m [1m[33m446 KiB[39m[22m [1m[32m[emitted][39m[22m [1m[32m[minimized][39m[22m [1m[33m[big][39m[22m (id hint: vendors) 1 related asset
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
[35m@openmrs/esm-patient-immunizations-app:build: [0mruntime modules 39.6 KiB 28 modules
|
|
12
12
|
[35m@openmrs/esm-patient-immunizations-app:build: [0mbuilt modules 2.82 MiB (javascript) 252 bytes (consume-shared) 210 bytes (share-init) [1m[33m[built][39m[22m
|
|
13
13
|
[35m@openmrs/esm-patient-immunizations-app:build: [0m modules by path [1m../../node_modules/[39m[22m 2.67 MiB 93 modules
|
|
14
|
-
[35m@openmrs/esm-patient-immunizations-app:build: [0m modules by path [1m./[39m[22m 63.
|
|
14
|
+
[35m@openmrs/esm-patient-immunizations-app:build: [0m modules by path [1m./[39m[22m 63.8 KiB 13 modules
|
|
15
15
|
[35m@openmrs/esm-patient-immunizations-app:build: [0m modules by path [1m../esm-patient-common-lib/src/[39m[22m 84 KiB
|
|
16
16
|
[35m@openmrs/esm-patient-immunizations-app:build: [0m [1m../esm-patient-common-lib/src/index.ts + 44 modules[39m[22m 72.9 KiB [1m[33m[built][39m[22m [1m[33m[code generated][39m[22m
|
|
17
17
|
[35m@openmrs/esm-patient-immunizations-app:build: [0m + 5 modules
|
|
@@ -29,4 +29,4 @@
|
|
|
29
29
|
[35m@openmrs/esm-patient-immunizations-app:build: [0m 858.js (407 KiB)
|
|
30
30
|
[35m@openmrs/esm-patient-immunizations-app:build: [0m 965.js (446 KiB)[39m[22m
|
|
31
31
|
[35m@openmrs/esm-patient-immunizations-app:build: [0m
|
|
32
|
-
[35m@openmrs/esm-patient-immunizations-app:build: [0mwebpack 5.74.0 compiled with [1m[33m1 warning[39m[22m in
|
|
32
|
+
[35m@openmrs/esm-patient-immunizations-app:build: [0mwebpack 5.74.0 compiled with [1m[33m1 warning[39m[22m in 110272 ms
|
package/dist/684.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_openmrs_esm_patient_immunizations_app=self.webpackChunk_openmrs_esm_patient_immunizations_app||[]).push([[684,660],{2684:(e,n,i)=>{"use strict";i.r(n),i.d(n,{backendDependencies:()=>
|
|
1
|
+
(self.webpackChunk_openmrs_esm_patient_immunizations_app=self.webpackChunk_openmrs_esm_patient_immunizations_app||[]).push([[684,660],{2684:(e,n,i)=>{"use strict";i.r(n),i.d(n,{backendDependencies:()=>u,importTranslation:()=>c,setupOpenMRS:()=>m,version:()=>r});var t=i(906),s=i(6217),a={immunizationsConfig:{vaccinesConceptSet:{_type:t.Type.String,_default:"CIEL:984",_description:"A uuid or concept mapping which will have all the possible vaccines as set-members."},sequenceDefinitions:{_type:t.Type.Array,_description:"Doses/Schedules definitions for each vaccine configured if applicable. If not provided the vaccine would be treated as a vaccine without schedules",_elements:{vaccineConceptUuid:{_type:t.Type.UUID,_description:"The UUID of the individual vaccine concept"},sequences:{_type:t.Type.Array,_elements:{sequenceLabel:{_type:t.Type.String,_description:"Name of the dose/booster/schedule.. This will be used as a translation key as well."},sequenceNumber:{_type:t.Type.Number,_description:"The dose number in the vaccines. Convention for doses is [1...9] and for boosters is [11...19]"}}}},_default:[{vaccineConceptUuid:"783AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",sequences:[{sequenceLabel:"Dose-1",sequenceNumber:1},{sequenceLabel:"Dose-2",sequenceNumber:2},{sequenceLabel:"Dose-3",sequenceNumber:3},{sequenceLabel:"Dose-4",sequenceNumber:4},{sequenceLabel:"Booster-1",sequenceNumber:11},{sequenceLabel:"Booster-2",sequenceNumber:12}]}]}}},o={slot:"patient-chart-immunizations-dashboard-slot",columns:1,title:"Immunizations"},r="4.0.0",c=i(3979),u={"webservices.rest":"^2.2.0",fhir2:"^1.2.0"};function m(){var e="@openmrs/esm-patient-immunizations-app",n={featureName:"patient-immunizations",moduleName:e};return(0,t.defineConfigSchema)(e,a),{extensions:[{name:"immunization-overview-widget",slot:"patient-chart-summary-dashboard-slot",order:10,load:(0,t.getAsyncLifecycle)((function(){return Promise.all([i.e(965),i.e(245),i.e(529),i.e(924),i.e(885)]).then(i.bind(i,1885))}),n),meta:{columnSpan:4}},{name:"immunization-details-widget",slot:o.slot,load:(0,t.getAsyncLifecycle)((function(){return Promise.all([i.e(965),i.e(245),i.e(529),i.e(924),i.e(444),i.e(555)]).then(i.bind(i,555))}),n),meta:{columnSpan:1}},{name:"immunization-summary-dashboard",slot:"patient-chart-dashboard-slot",order:8,load:(0,t.getSyncLifecycle)((0,s.createDashboardLink)(o),n),meta:o},{name:"immunization-form-workspace",load:(0,t.getAsyncLifecycle)((function(){return Promise.all([i.e(965),i.e(245),i.e(529),i.e(924),i.e(444),i.e(355)]).then(i.bind(i,5355))}),n),meta:{title:"Immunization Form"}}]}}},3979:(e,n,i)=>{var t={"./en.json":[3574,574],"./fr.json":[2757,757]};function s(e){if(!i.o(t,e))return Promise.resolve().then((()=>{var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}));var n=t[e],s=n[0];return i.e(n[1]).then((()=>i(s)))}s.keys=()=>Object.keys(t),s.id=3979,e.exports=s}}]);
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
"initial": true,
|
|
6
6
|
"entry": true,
|
|
7
7
|
"recorded": false,
|
|
8
|
-
"size":
|
|
8
|
+
"size": 25829,
|
|
9
9
|
"sizes": {
|
|
10
10
|
"consume-shared": 84,
|
|
11
|
-
"javascript":
|
|
11
|
+
"javascript": 5071,
|
|
12
12
|
"share-init": 210,
|
|
13
13
|
"runtime": 20464
|
|
14
14
|
},
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"main.js"
|
|
24
24
|
],
|
|
25
25
|
"auxiliaryFiles": [],
|
|
26
|
-
"hash": "
|
|
26
|
+
"hash": "e429d3f3fb019ad2f96b",
|
|
27
27
|
"childrenByOrder": {}
|
|
28
28
|
},
|
|
29
29
|
{
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"openmrs-esm-patient-immunizations-app.js"
|
|
163
163
|
],
|
|
164
164
|
"auxiliaryFiles": [],
|
|
165
|
-
"hash": "
|
|
165
|
+
"hash": "25a99d90a038ee7ccac7",
|
|
166
166
|
"childrenByOrder": {}
|
|
167
167
|
},
|
|
168
168
|
{
|
|
@@ -234,10 +234,10 @@
|
|
|
234
234
|
"initial": false,
|
|
235
235
|
"entry": false,
|
|
236
236
|
"recorded": false,
|
|
237
|
-
"size":
|
|
237
|
+
"size": 5155,
|
|
238
238
|
"sizes": {
|
|
239
239
|
"consume-shared": 84,
|
|
240
|
-
"javascript":
|
|
240
|
+
"javascript": 5071
|
|
241
241
|
},
|
|
242
242
|
"names": [],
|
|
243
243
|
"idHints": [],
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
"684.js"
|
|
249
249
|
],
|
|
250
250
|
"auxiliaryFiles": [],
|
|
251
|
-
"hash": "
|
|
251
|
+
"hash": "1b09f2934c16d4bda782",
|
|
252
252
|
"childrenByOrder": {}
|
|
253
253
|
},
|
|
254
254
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/esm-patient-immunizations-app",
|
|
3
|
-
"version": "4.0.1-pre.
|
|
3
|
+
"version": "4.0.1-pre.261",
|
|
4
4
|
"license": "MPL-2.0",
|
|
5
5
|
"description": "Patient immunizations microfrontend for the OpenMRS SPA",
|
|
6
6
|
"browser": "dist/openmrs-esm-patient-immunizations-app.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@carbon/react": "^1.9.0",
|
|
37
|
-
"@openmrs/esm-patient-common-lib": "^4.0.1-pre.
|
|
37
|
+
"@openmrs/esm-patient-common-lib": "^4.0.1-pre.261",
|
|
38
38
|
"d3": "^7.0.3",
|
|
39
39
|
"lodash-es": "^4.17.15"
|
|
40
40
|
},
|
|
@@ -47,5 +47,5 @@
|
|
|
47
47
|
"react-router-dom": "6.x",
|
|
48
48
|
"rxjs": "6.x"
|
|
49
49
|
},
|
|
50
|
-
"gitHead": "
|
|
50
|
+
"gitHead": "97f7c91d7388d92a34a6f78ef013bc83d321ecf0"
|
|
51
51
|
}
|
package/src/index.ts
CHANGED
|
@@ -3,6 +3,10 @@ import { createDashboardLink } from '@openmrs/esm-patient-common-lib';
|
|
|
3
3
|
import { configSchema } from './config-schema';
|
|
4
4
|
import { dashboardMeta } from './dashboard.meta';
|
|
5
5
|
|
|
6
|
+
declare var __VERSION__: string;
|
|
7
|
+
// __VERSION__ is replaced by Webpack with the version from package.json
|
|
8
|
+
const version = __VERSION__;
|
|
9
|
+
|
|
6
10
|
const importTranslation = require.context('../translations', false, /.json$/, 'lazy');
|
|
7
11
|
|
|
8
12
|
const backendDependencies = {
|
|
@@ -57,4 +61,4 @@ function setupOpenMRS() {
|
|
|
57
61
|
};
|
|
58
62
|
}
|
|
59
63
|
|
|
60
|
-
export { backendDependencies, importTranslation, setupOpenMRS };
|
|
64
|
+
export { backendDependencies, importTranslation, setupOpenMRS, version };
|