@openmrs/esm-patient-programs-app 4.0.1-pre.255 → 4.0.1-pre.262

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-programs-app:build: cache hit, replaying output ba5810c85de0b715
1
+ @openmrs/esm-patient-programs-app:build: cache hit, replaying output 82f45829e3ab6779
2
2
  @openmrs/esm-patient-programs-app:build: assets by chunk 919 KiB (id hint: vendors)
3
3
  @openmrs/esm-patient-programs-app:build:  assets by status 842 KiB [big]
4
4
  @openmrs/esm-patient-programs-app:build:  asset 734.js 435 KiB [emitted] [minimized] [big] (id hint: vendors) 1 related asset
@@ -12,7 +12,7 @@
12
12
  @openmrs/esm-patient-programs-app:build: runtime modules 40.1 KiB 28 modules
13
13
  @openmrs/esm-patient-programs-app:build: built modules 3.08 MiB (javascript) 294 bytes (consume-shared) 252 bytes (share-init) [built]
14
14
  @openmrs/esm-patient-programs-app:build:  modules by path ../../node_modules/ 2.96 MiB 87 modules
15
- @openmrs/esm-patient-programs-app:build:  modules by path ./ 49.1 KiB 11 modules
15
+ @openmrs/esm-patient-programs-app:build:  modules by path ./ 49.2 KiB 11 modules
16
16
  @openmrs/esm-patient-programs-app:build:  consume-shared-module modules 294 bytes
17
17
  @openmrs/esm-patient-programs-app:build:  modules by path consume shared module (default) @openmrs/ 126 bytes 3 modules
18
18
  @openmrs/esm-patient-programs-app:build:  + 4 modules
@@ -30,4 +30,4 @@
30
30
  @openmrs/esm-patient-programs-app:build:  858.js (407 KiB)
31
31
  @openmrs/esm-patient-programs-app:build:  734.js (435 KiB)
32
32
  @openmrs/esm-patient-programs-app:build: 
33
- @openmrs/esm-patient-programs-app:build: webpack 5.74.0 compiled with 1 warning in 112830 ms
33
+ @openmrs/esm-patient-programs-app:build: webpack 5.74.0 compiled with 1 warning in 109297 ms
package/dist/435.js CHANGED
@@ -1 +1 @@
1
- (self.webpackChunk_openmrs_esm_patient_programs_app=self.webpackChunk_openmrs_esm_patient_programs_app||[]).push([[435,660],{2435:(e,r,t)=>{"use strict";t.r(r),t.d(r,{backendDependencies:()=>i,importTranslation:()=>m,setupOpenMRS:()=>p});var a=t(906),n=t(6217),o={customUrl:{_type:a.Type.String,_default:""}},s={slot:"patient-chart-programs-dashboard-slot",columns:1,title:"Programs"},m=t(3979),i={"webservices.rest":"^2.2.0"};function p(){var e="@openmrs/esm-patient-programs-app",r={featureName:"patient-programs",moduleName:e};return(0,a.defineConfigSchema)(e,o),{extensions:[{name:"programs-overview-widget",slot:"patient-chart-summary-dashboard-slot",order:0,load:(0,a.getAsyncLifecycle)((function(){return Promise.all([t.e(734),t.e(461),t.e(268),t.e(924),t.e(641)]).then(t.bind(t,7641))}),r),meta:{columnSpan:4}},{name:"programs-details-widget",slot:s.slot,load:(0,a.getAsyncLifecycle)((function(){return Promise.all([t.e(734),t.e(268),t.e(924),t.e(821)]).then(t.bind(t,9821))}),r),meta:{columnSpan:1}},{name:"programs-summary-dashboard",slot:"patient-chart-dashboard-slot",order:10,load:(0,a.getSyncLifecycle)((0,n.createDashboardLink)(s),r),meta:s},{name:"programs-form-workspace",load:(0,a.getAsyncLifecycle)((function(){return Promise.all([t.e(734),t.e(268),t.e(924),t.e(733)]).then(t.bind(t,5733))}),r),meta:{title:"Record program enrollment"}}]}}},3979:(e,r,t)=>{var a={"./en.json":[3574,574],"./fr.json":[2757,757]};function n(e){if(!t.o(a,e))return Promise.resolve().then((()=>{var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}));var r=a[e],n=r[0];return t.e(r[1]).then((()=>t(n)))}n.keys=()=>Object.keys(a),n.id=3979,e.exports=n}}]);
1
+ (self.webpackChunk_openmrs_esm_patient_programs_app=self.webpackChunk_openmrs_esm_patient_programs_app||[]).push([[435,660],{2435:(e,r,t)=>{"use strict";t.r(r),t.d(r,{backendDependencies:()=>p,importTranslation:()=>i,setupOpenMRS:()=>l,version:()=>m});var a=t(906),n=t(6217),o={customUrl:{_type:a.Type.String,_default:""}},s={slot:"patient-chart-programs-dashboard-slot",columns:1,title:"Programs"},m="4.0.0",i=t(3979),p={"webservices.rest":"^2.2.0"};function l(){var e="@openmrs/esm-patient-programs-app",r={featureName:"patient-programs",moduleName:e};return(0,a.defineConfigSchema)(e,o),{extensions:[{name:"programs-overview-widget",slot:"patient-chart-summary-dashboard-slot",order:0,load:(0,a.getAsyncLifecycle)((function(){return Promise.all([t.e(734),t.e(461),t.e(268),t.e(924),t.e(641)]).then(t.bind(t,7641))}),r),meta:{columnSpan:4}},{name:"programs-details-widget",slot:s.slot,load:(0,a.getAsyncLifecycle)((function(){return Promise.all([t.e(734),t.e(268),t.e(924),t.e(821)]).then(t.bind(t,9821))}),r),meta:{columnSpan:1}},{name:"programs-summary-dashboard",slot:"patient-chart-dashboard-slot",order:10,load:(0,a.getSyncLifecycle)((0,n.createDashboardLink)(s),r),meta:s},{name:"programs-form-workspace",load:(0,a.getAsyncLifecycle)((function(){return Promise.all([t.e(734),t.e(268),t.e(924),t.e(733)]).then(t.bind(t,5733))}),r),meta:{title:"Record program enrollment"}}]}}},3979:(e,r,t)=>{var a={"./en.json":[3574,574],"./fr.json":[2757,757]};function n(e){if(!t.o(a,e))return Promise.resolve().then((()=>{var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}));var r=a[e],n=r[0];return t.e(r[1]).then((()=>t(n)))}n.keys=()=>Object.keys(a),n.id=3979,e.exports=n}}]);
@@ -22,7 +22,7 @@
22
22
  "openmrs-esm-patient-programs-app.js"
23
23
  ],
24
24
  "auxiliaryFiles": [],
25
- "hash": "3c198c9ed04ee3734716",
25
+ "hash": "779a7fab9ef8cc2e2420",
26
26
  "childrenByOrder": {}
27
27
  },
28
28
  {
@@ -30,10 +30,10 @@
30
30
  "initial": true,
31
31
  "entry": true,
32
32
  "recorded": false,
33
- "size": 23638,
33
+ "size": 23747,
34
34
  "sizes": {
35
35
  "consume-shared": 84,
36
- "javascript": 2578,
36
+ "javascript": 2687,
37
37
  "share-init": 252,
38
38
  "runtime": 20724
39
39
  },
@@ -48,7 +48,7 @@
48
48
  "main.js"
49
49
  ],
50
50
  "auxiliaryFiles": [],
51
- "hash": "baccaeab0ea1c53eb228",
51
+ "hash": "567ea82361b25f0be8af",
52
52
  "childrenByOrder": {}
53
53
  },
54
54
  {
@@ -151,10 +151,10 @@
151
151
  "initial": false,
152
152
  "entry": false,
153
153
  "recorded": false,
154
- "size": 2662,
154
+ "size": 2771,
155
155
  "sizes": {
156
156
  "consume-shared": 84,
157
- "javascript": 2578
157
+ "javascript": 2687
158
158
  },
159
159
  "names": [],
160
160
  "idHints": [],
@@ -165,7 +165,7 @@
165
165
  "435.js"
166
166
  ],
167
167
  "auxiliaryFiles": [],
168
- "hash": "e2a97d860c42ff7b9118",
168
+ "hash": "a5cd2369d7c892d069f6",
169
169
  "childrenByOrder": {}
170
170
  },
171
171
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-patient-programs-app",
3
- "version": "4.0.1-pre.255",
3
+ "version": "4.0.1-pre.262",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Patient programs microfrontend for the OpenMRS SPA",
6
6
  "browser": "dist/openmrs-esm-patient-programs-app.js",
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "@carbon/react": "^1.9.0",
38
- "@openmrs/esm-patient-common-lib": "^4.0.1-pre.255",
38
+ "@openmrs/esm-patient-common-lib": "^4.0.1-pre.262",
39
39
  "d3": "^7.0.3",
40
40
  "lodash-es": "^4.17.15"
41
41
  },
@@ -48,5 +48,5 @@
48
48
  "react-router-dom": "6.x",
49
49
  "rxjs": "6.x"
50
50
  },
51
- "gitHead": "c21e97c02241763599b2a32542ea022a3e28f9dc"
51
+ "gitHead": "0d62465f87f63e6a14ab9d10397f65ad8fce0e98"
52
52
  }
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 = {
@@ -56,4 +60,4 @@ function setupOpenMRS() {
56
60
  };
57
61
  }
58
62
 
59
- export { backendDependencies, importTranslation, setupOpenMRS };
63
+ export { backendDependencies, importTranslation, setupOpenMRS, version };