@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.
@@ -1,4 +1,4 @@
1
- @openmrs/esm-patient-immunizations-app:build: cache hit, replaying output 10e5fd3fa0b13838
1
+ @openmrs/esm-patient-immunizations-app:build: cache hit, replaying output 889647bd0d35c4aa
2
2
  @openmrs/esm-patient-immunizations-app:build: assets by chunk 921 KiB (id hint: vendors)
3
3
  @openmrs/esm-patient-immunizations-app:build:  assets by status 853 KiB [big]
4
4
  @openmrs/esm-patient-immunizations-app:build:  asset 965.js 446 KiB [emitted] [minimized] [big] (id hint: vendors) 1 related asset
@@ -11,7 +11,7 @@
11
11
  @openmrs/esm-patient-immunizations-app:build: runtime modules 39.6 KiB 28 modules
12
12
  @openmrs/esm-patient-immunizations-app:build: built modules 2.82 MiB (javascript) 252 bytes (consume-shared) 210 bytes (share-init) [built]
13
13
  @openmrs/esm-patient-immunizations-app:build:  modules by path ../../node_modules/ 2.67 MiB 93 modules
14
- @openmrs/esm-patient-immunizations-app:build:  modules by path ./ 63.7 KiB 13 modules
14
+ @openmrs/esm-patient-immunizations-app:build:  modules by path ./ 63.8 KiB 13 modules
15
15
  @openmrs/esm-patient-immunizations-app:build:  modules by path ../esm-patient-common-lib/src/ 84 KiB
16
16
  @openmrs/esm-patient-immunizations-app:build:  ../esm-patient-common-lib/src/index.ts + 44 modules 72.9 KiB [built] [code generated]
17
17
  @openmrs/esm-patient-immunizations-app:build:  + 5 modules
@@ -29,4 +29,4 @@
29
29
  @openmrs/esm-patient-immunizations-app:build:  858.js (407 KiB)
30
30
  @openmrs/esm-patient-immunizations-app:build:  965.js (446 KiB)
31
31
  @openmrs/esm-patient-immunizations-app:build: 
32
- @openmrs/esm-patient-immunizations-app:build: webpack 5.74.0 compiled with 1 warning in 94732 ms
32
+ @openmrs/esm-patient-immunizations-app:build: webpack 5.74.0 compiled with 1 warning 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:()=>c,importTranslation:()=>r,setupOpenMRS:()=>u});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=i(3979),c={"webservices.rest":"^2.2.0",fhir2:"^1.2.0"};function u(){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}}]);
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": 25720,
8
+ "size": 25829,
9
9
  "sizes": {
10
10
  "consume-shared": 84,
11
- "javascript": 4962,
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": "7d6d6de3eb11b14293c7",
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": "76f105bdf97133ab0ca5",
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": 5046,
237
+ "size": 5155,
238
238
  "sizes": {
239
239
  "consume-shared": 84,
240
- "javascript": 4962
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": "347a366a180352abeaa1",
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.258",
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.258",
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": "94487f00bfe19112d3ef0c8cb58281e864c1a59c"
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 };