@openmrs/esm-active-visits-app 3.0.0-pre.93 → 3.0.1

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.
Files changed (39) hide show
  1. package/dist/160.openmrs-esm-active-visits-app.js +2 -0
  2. package/dist/160.openmrs-esm-active-visits-app.js.map +1 -0
  3. package/dist/165.openmrs-esm-active-visits-app.js +2 -0
  4. package/dist/165.openmrs-esm-active-visits-app.js.map +1 -0
  5. package/dist/319.openmrs-esm-active-visits-app.js +1 -0
  6. package/dist/371.openmrs-esm-active-visits-app.js +3 -0
  7. package/dist/371.openmrs-esm-active-visits-app.js.LICENSE.txt +29 -0
  8. package/dist/371.openmrs-esm-active-visits-app.js.map +1 -0
  9. package/dist/415.openmrs-esm-active-visits-app.js +2 -0
  10. package/dist/415.openmrs-esm-active-visits-app.js.map +1 -0
  11. package/dist/574.openmrs-esm-active-visits-app.js +1 -0
  12. package/dist/833.openmrs-esm-active-visits-app.js +2 -0
  13. package/dist/833.openmrs-esm-active-visits-app.js.map +1 -0
  14. package/dist/openmrs-esm-active-visits-app.js +1 -1
  15. package/dist/openmrs-esm-active-visits-app.js.buildmanifest.json +100 -25
  16. package/dist/openmrs-esm-active-visits-app.js.map +1 -1
  17. package/package.json +2 -2
  18. package/src/active-visits-widget/active-visits.component.tsx +188 -151
  19. package/src/active-visits-widget/active-visits.resource.tsx +37 -17
  20. package/src/active-visits-widget/active-visits.scss +34 -0
  21. package/src/index.ts +5 -0
  22. package/src/root.scss +16 -0
  23. package/src/visits-summary/visit-detail-overview.scss +195 -0
  24. package/src/visits-summary/visit-detail.component.tsx +75 -0
  25. package/src/visits-summary/visit.resource.ts +179 -0
  26. package/src/visits-summary/visits-components/encounter-list.component.tsx +125 -0
  27. package/src/visits-summary/visits-components/encounter-observations.component.tsx +42 -0
  28. package/src/visits-summary/visits-components/medications-summary.component.tsx +59 -0
  29. package/src/visits-summary/visits-components/notes-summary.component.tsx +31 -0
  30. package/src/visits-summary/visits-components/tests-summary.component.tsx +21 -0
  31. package/src/visits-summary/visits-components/visit-summary.component.tsx +124 -0
  32. package/translations/en.json +27 -1
  33. package/dist/237.openmrs-esm-active-visits-app.js +0 -2
  34. package/dist/237.openmrs-esm-active-visits-app.js.map +0 -1
  35. package/dist/50.openmrs-esm-active-visits-app.js +0 -1
  36. package/dist/678.openmrs-esm-active-visits-app.js +0 -3
  37. package/dist/678.openmrs-esm-active-visits-app.js.LICENSE.txt +0 -44
  38. package/dist/678.openmrs-esm-active-visits-app.js.map +0 -1
  39. package/dist/912.openmrs-esm-active-visits-app.js +0 -1
@@ -1,2 +1,2 @@
1
- System.register(["@openmrs/esm-framework","react","react-i18next","dayjs","carbon-components"],(function(e,t){var r={},n={},o={},s={},i={};return Object.defineProperty(n,"__esModule",{value:!0}),{setters:[function(e){r.ConfigurableLink=e.ConfigurableLink,r.Type=e.Type,r.defineConfigSchema=e.defineConfigSchema,r.getAsyncLifecycle=e.getAsyncLifecycle,r.openmrsObservableFetch=e.openmrsObservableFetch,r.useConfig=e.useConfig,r.useLayoutType=e.useLayoutType,r.usePagination=e.usePagination},function(e){Object.keys(e).forEach((function(t){n[t]=e[t]}))},function(e){o.useTranslation=e.useTranslation},function(e){s.default=e.default},function(e){i.settings=e.settings}],execute:function(){e((()=>{var e,a,c={6907:(e,t,r)=>{const n=r(3541).R;t.s=function(e){if(e||(e=1),!r.y.meta||!r.y.meta.url)throw console.error("__system_context__",r.y),Error("systemjs-webpack-interop was provided an unknown SystemJS context. Expected context.meta.url, but none was provided");r.p=n(r.y.meta.url,e)}},3541:(e,t,r)=>{t.R=function(e,t){var r=document.createElement("a");r.href=e;for(var n="/"===r.pathname[0]?r.pathname:"/"+r.pathname,o=0,s=n.length;o!==t&&s>=0;)"/"===n[--s]&&o++;if(o!==t)throw Error("systemjs-webpack-interop: rootDirectoryLevel ("+t+") is greater than the number of directories ("+o+") in the URL path "+e);var i=n.slice(0,s+1);return r.protocol+"//"+r.host+i};Number.isInteger},3979:(e,t,r)=>{var n={"./en.json":[8912,912],"./es.json":[2050,50]};function o(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],o=t[0];return r.e(t[1]).then((()=>r(o)))}o.keys=()=>Object.keys(n),o.id=3979,e.exports=o},6512:e=>{"use strict";e.exports=r},5670:e=>{"use strict";e.exports=i},8349:e=>{"use strict";e.exports=s},9297:e=>{"use strict";e.exports=n},7789:e=>{"use strict";e.exports=o}},u={};function p(e){var t=u[e];if(void 0!==t)return t.exports;var r=u[e]={id:e,loaded:!1,exports:{}};return c[e].call(r.exports,r,r.exports,p),r.loaded=!0,r.exports}p.m=c,p.y=t,p.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return p.d(t,{a:t}),t},p.d=(e,t)=>{for(var r in t)p.o(t,r)&&!p.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce(((t,r)=>(p.f[r](e,t),t)),[])),p.u=e=>e+".openmrs-esm-active-visits-app.js",p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},a="@openmrs/esm-active-visits-app:",p.l=(t,r,n,o)=>{if(e[t])e[t].push(r);else{var s,i;if(void 0!==n)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var l=c[u];if(l.getAttribute("src")==t||l.getAttribute("data-webpack")==a+n){s=l;break}}s||(i=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,p.nc&&s.setAttribute("nonce",p.nc),s.setAttribute("data-webpack",a+n),s.src=t),e[t]=[r];var d=(r,n)=>{s.onerror=s.onload=null,clearTimeout(f);var o=e[t];if(delete e[t],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(n))),r)return r(n)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),i&&document.head.appendChild(s)}},p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},p.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),p.p="",(()=>{var e={179:0};p.f.j=(t,r)=>{var n=p.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=o);var s=p.p+p.u(t),i=new Error;p.l(s,(r=>{if(p.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.src;i.message="Loading chunk "+t+" failed.\n("+o+": "+s+")",i.name="ChunkLoadError",i.type=o,i.request=s,n[1](i)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[s,i,a]=r,c=0;for(n in i)p.o(i,n)&&(p.m[n]=i[n]);for(a&&a(p),t&&t(r);c<s.length;c++)o=s[c],p.o(e,o)&&e[o]&&e[o][0](),e[s[c]]=0},r=self.webpackChunk_openmrs_esm_active_visits_app=self.webpackChunk_openmrs_esm_active_visits_app||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var l={};return(0,p(6907).s)(1),(()=>{"use strict";p.r(l),p.d(l,{backendDependencies:()=>n,frontendDependencies:()=>o,importTranslation:()=>r,setupOpenMRS:()=>s});var e=p(6512);const t={activeVisits:{pageSize:{_type:e.Type.Number,_description:"Count of active visits to be shown in a single page.",_default:10},pageSizes:{_type:e.Type.Array,_description:"Customizable page sizes that user can choose",_default:[10,20,50]}}},r=p(3979),n={"webservices.rest":"^2.2.0"},o={"@openmrs/esm-framework":"^3.1.10-pre.408"};function s(){const r="@openmrs/esm-active-visits-app",n={featureName:"active-visits",moduleName:r};return(0,e.defineConfigSchema)(r,t),{extensions:[{id:"active-visits-widget",slot:"homepage-widgets-slot",load:(0,e.getAsyncLifecycle)((()=>Promise.all([p.e(678),p.e(237)]).then(p.bind(p,9237))),n)}]}}})(),l})())}}}));
1
+ System.register(["@openmrs/esm-framework","react","react-i18next","dayjs","carbon-components"],(function(e,t){var r={},n={},o={},s={},i={};return Object.defineProperty(n,"__esModule",{value:!0}),{setters:[function(e){r.ConfigurableLink=e.ConfigurableLink,r.ExtensionSlot=e.ExtensionSlot,r.Type=e.Type,r.defineConfigSchema=e.defineConfigSchema,r.getAsyncLifecycle=e.getAsyncLifecycle,r.openmrsFetch=e.openmrsFetch,r.useConfig=e.useConfig,r.useLayoutType=e.useLayoutType,r.usePagination=e.usePagination},function(e){Object.keys(e).forEach((function(t){n[t]=e[t]}))},function(e){o.useTranslation=e.useTranslation},function(e){s.default=e.default},function(e){i.settings=e.settings}],execute:function(){e((()=>{var e,a,c={6907:(e,t,r)=>{const n=r(3541).R;t.s=function(e){if(e||(e=1),!r.y.meta||!r.y.meta.url)throw console.error("__system_context__",r.y),Error("systemjs-webpack-interop was provided an unknown SystemJS context. Expected context.meta.url, but none was provided");r.p=n(r.y.meta.url,e)}},3541:(e,t,r)=>{t.R=function(e,t){var r=document.createElement("a");r.href=e;for(var n="/"===r.pathname[0]?r.pathname:"/"+r.pathname,o=0,s=n.length;o!==t&&s>=0;)"/"===n[--s]&&o++;if(o!==t)throw Error("systemjs-webpack-interop: rootDirectoryLevel ("+t+") is greater than the number of directories ("+o+") in the URL path "+e);var i=n.slice(0,s+1);return r.protocol+"//"+r.host+i};Number.isInteger},3979:(e,t,r)=>{var n={"./en.json":[3574,574],"./es.json":[8319,319]};function o(e){if(!r.o(n,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=n[e],o=t[0];return r.e(t[1]).then((()=>r(o)))}o.keys=()=>Object.keys(n),o.id=3979,e.exports=o},1489:e=>{"use strict";e.exports=r},2434:e=>{"use strict";e.exports=i},9688:e=>{"use strict";e.exports=s},5954:e=>{"use strict";e.exports=n},4281:e=>{"use strict";e.exports=o}},u={};function p(e){var t=u[e];if(void 0!==t)return t.exports;var r=u[e]={id:e,loaded:!1,exports:{}};return c[e].call(r.exports,r,r.exports,p),r.loaded=!0,r.exports}p.m=c,p.y=t,p.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return p.d(t,{a:t}),t},p.d=(e,t)=>{for(var r in t)p.o(t,r)&&!p.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},p.f={},p.e=e=>Promise.all(Object.keys(p.f).reduce(((t,r)=>(p.f[r](e,t),t)),[])),p.u=e=>e+".openmrs-esm-active-visits-app.js",p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},a="@openmrs/esm-active-visits-app:",p.l=(t,r,n,o)=>{if(e[t])e[t].push(r);else{var s,i;if(void 0!==n)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var l=c[u];if(l.getAttribute("src")==t||l.getAttribute("data-webpack")==a+n){s=l;break}}s||(i=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,p.nc&&s.setAttribute("nonce",p.nc),s.setAttribute("data-webpack",a+n),s.src=t),e[t]=[r];var d=(r,n)=>{s.onerror=s.onload=null,clearTimeout(f);var o=e[t];if(delete e[t],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(n))),r)return r(n)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=d.bind(null,s.onerror),s.onload=d.bind(null,s.onload),i&&document.head.appendChild(s)}},p.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},p.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),p.p="",(()=>{var e={179:0};p.f.j=(t,r)=>{var n=p.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=o);var s=p.p+p.u(t),i=new Error;p.l(s,(r=>{if(p.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.src;i.message="Loading chunk "+t+" failed.\n("+o+": "+s+")",i.name="ChunkLoadError",i.type=o,i.request=s,n[1](i)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[s,i,a]=r,c=0;if(s.some((t=>0!==e[t]))){for(n in i)p.o(i,n)&&(p.m[n]=i[n]);a&&a(p)}for(t&&t(r);c<s.length;c++)o=s[c],p.o(e,o)&&e[o]&&e[o][0](),e[s[c]]=0},r=self.webpackChunk_openmrs_esm_active_visits_app=self.webpackChunk_openmrs_esm_active_visits_app||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var l={};return(0,p(6907).s)(1),(()=>{"use strict";p.r(l),p.d(l,{backendDependencies:()=>n,frontendDependencies:()=>o,importTranslation:()=>r,setupOpenMRS:()=>s});var e=p(1489);const t={activeVisits:{pageSize:{_type:e.Type.Number,_description:"Count of active visits to be shown in a single page.",_default:10},pageSizes:{_type:e.Type.Array,_description:"Customizable page sizes that user can choose",_default:[10,20,50]}}},r=p(3979),n={"webservices.rest":"^2.2.0"},o={"@openmrs/esm-framework":"^3.1.12-pre.606"};function s(){const r="@openmrs/esm-active-visits-app",n={featureName:"active-visits",moduleName:r};return(0,e.defineConfigSchema)(r,t),{extensions:[{id:"active-visits-widget",slot:"homepage-widgets-slot",load:(0,e.getAsyncLifecycle)((()=>Promise.all([p.e(371),p.e(833),p.e(165)]).then(p.bind(p,2165))),n)},{id:"visit-summary-widget",slot:"visit-summary-slot",load:(0,e.getAsyncLifecycle)((()=>Promise.all([p.e(371),p.e(160),p.e(415)]).then(p.bind(p,6415))),n)}]}}})(),l})())}}}));
2
2
  //# sourceMappingURL=openmrs-esm-active-visits-app.js.map
@@ -5,9 +5,35 @@
5
5
  "initial": false,
6
6
  "entry": false,
7
7
  "recorded": false,
8
- "size": 12,
8
+ "reason": "split chunk (cache group: defaultVendors)",
9
+ "size": 71844,
9
10
  "sizes": {
10
- "javascript": 12
11
+ "javascript": 71844
12
+ },
13
+ "names": [],
14
+ "idHints": [
15
+ "vendors"
16
+ ],
17
+ "runtime": [
18
+ "main"
19
+ ],
20
+ "files": [
21
+ "160.openmrs-esm-active-visits-app.js"
22
+ ],
23
+ "auxiliaryFiles": [
24
+ "160.openmrs-esm-active-visits-app.js.map"
25
+ ],
26
+ "hash": "13b1ece8d4043945db52",
27
+ "childrenByOrder": {}
28
+ },
29
+ {
30
+ "rendered": true,
31
+ "initial": false,
32
+ "entry": false,
33
+ "recorded": false,
34
+ "size": 38716,
35
+ "sizes": {
36
+ "javascript": 38716
11
37
  },
12
38
  "names": [],
13
39
  "idHints": [],
@@ -15,10 +41,12 @@
15
41
  "main"
16
42
  ],
17
43
  "files": [
18
- "50.openmrs-esm-active-visits-app.js"
44
+ "165.openmrs-esm-active-visits-app.js"
19
45
  ],
20
- "auxiliaryFiles": [],
21
- "hash": "0f7a4eeb9420f74f232f",
46
+ "auxiliaryFiles": [
47
+ "165.openmrs-esm-active-visits-app.js.map"
48
+ ],
49
+ "hash": "17bbdca9f2b5bfb6e896",
22
50
  "childrenByOrder": {}
23
51
  },
24
52
  {
@@ -26,10 +54,10 @@
26
54
  "initial": true,
27
55
  "entry": true,
28
56
  "recorded": false,
29
- "size": 11464,
57
+ "size": 11704,
30
58
  "sizes": {
31
- "javascript": 4993,
32
- "runtime": 6471
59
+ "javascript": 5166,
60
+ "runtime": 6538
33
61
  },
34
62
  "names": [
35
63
  "main"
@@ -44,7 +72,7 @@
44
72
  "auxiliaryFiles": [
45
73
  "openmrs-esm-active-visits-app.js.map"
46
74
  ],
47
- "hash": "6c5d1dfdfe69d356f55b",
75
+ "hash": "58ec8e3d0f0ff65f5687",
48
76
  "childrenByOrder": {}
49
77
  },
50
78
  {
@@ -52,9 +80,9 @@
52
80
  "initial": false,
53
81
  "entry": false,
54
82
  "recorded": false,
55
- "size": 33815,
83
+ "size": 12,
56
84
  "sizes": {
57
- "javascript": 33815
85
+ "javascript": 12
58
86
  },
59
87
  "names": [],
60
88
  "idHints": [],
@@ -62,12 +90,10 @@
62
90
  "main"
63
91
  ],
64
92
  "files": [
65
- "237.openmrs-esm-active-visits-app.js"
66
- ],
67
- "auxiliaryFiles": [
68
- "237.openmrs-esm-active-visits-app.js.map"
93
+ "319.openmrs-esm-active-visits-app.js"
69
94
  ],
70
- "hash": "7deb55d28df3a2a010db",
95
+ "auxiliaryFiles": [],
96
+ "hash": "bf366adf14f0d994b3e5",
71
97
  "childrenByOrder": {}
72
98
  },
73
99
  {
@@ -76,9 +102,9 @@
76
102
  "entry": false,
77
103
  "recorded": false,
78
104
  "reason": "split chunk (cache group: defaultVendors)",
79
- "size": 2349252,
105
+ "size": 2278197,
80
106
  "sizes": {
81
- "javascript": 2349252
107
+ "javascript": 2278197
82
108
  },
83
109
  "names": [],
84
110
  "idHints": [
@@ -88,12 +114,35 @@
88
114
  "main"
89
115
  ],
90
116
  "files": [
91
- "678.openmrs-esm-active-visits-app.js"
117
+ "371.openmrs-esm-active-visits-app.js"
118
+ ],
119
+ "auxiliaryFiles": [
120
+ "371.openmrs-esm-active-visits-app.js.map"
121
+ ],
122
+ "hash": "8ff55be0e03745dd0081",
123
+ "childrenByOrder": {}
124
+ },
125
+ {
126
+ "rendered": true,
127
+ "initial": false,
128
+ "entry": false,
129
+ "recorded": false,
130
+ "size": 92300,
131
+ "sizes": {
132
+ "javascript": 92300
133
+ },
134
+ "names": [],
135
+ "idHints": [],
136
+ "runtime": [
137
+ "main"
138
+ ],
139
+ "files": [
140
+ "415.openmrs-esm-active-visits-app.js"
92
141
  ],
93
142
  "auxiliaryFiles": [
94
- "678.openmrs-esm-active-visits-app.js.map"
143
+ "415.openmrs-esm-active-visits-app.js.map"
95
144
  ],
96
- "hash": "203b2011733868954426",
145
+ "hash": "636e6659d81c480b7dde",
97
146
  "childrenByOrder": {}
98
147
  },
99
148
  {
@@ -101,9 +150,9 @@
101
150
  "initial": false,
102
151
  "entry": false,
103
152
  "recorded": false,
104
- "size": 76,
153
+ "size": 863,
105
154
  "sizes": {
106
- "javascript": 76
155
+ "javascript": 863
107
156
  },
108
157
  "names": [],
109
158
  "idHints": [],
@@ -111,10 +160,36 @@
111
160
  "main"
112
161
  ],
113
162
  "files": [
114
- "912.openmrs-esm-active-visits-app.js"
163
+ "574.openmrs-esm-active-visits-app.js"
115
164
  ],
116
165
  "auxiliaryFiles": [],
117
- "hash": "35ec24de095aa5a3eb73",
166
+ "hash": "b67fb1f7948d46d3d712",
167
+ "childrenByOrder": {}
168
+ },
169
+ {
170
+ "rendered": true,
171
+ "initial": false,
172
+ "entry": false,
173
+ "recorded": false,
174
+ "reason": "split chunk (cache group: defaultVendors)",
175
+ "size": 531748,
176
+ "sizes": {
177
+ "javascript": 531748
178
+ },
179
+ "names": [],
180
+ "idHints": [
181
+ "vendors"
182
+ ],
183
+ "runtime": [
184
+ "main"
185
+ ],
186
+ "files": [
187
+ "833.openmrs-esm-active-visits-app.js"
188
+ ],
189
+ "auxiliaryFiles": [
190
+ "833.openmrs-esm-active-visits-app.js.map"
191
+ ],
192
+ "hash": "b14b65be99810a34d028",
118
193
  "childrenByOrder": {}
119
194
  }
120
195
  ]
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack://@openmrs/esm-active-visits-app/webpack/runtime/load script","webpack://@openmrs/esm-active-visits-app/../node_modules/systemjs-webpack-interop/auto-public-path/auto-public-path.js","webpack://@openmrs/esm-active-visits-app/../node_modules/systemjs-webpack-interop/public-path.js","webpack://@openmrs/esm-active-visits-app//home/runner/work/openmrs-esm-patient-management/openmrs-esm-patient-management/packages/esm-active-visits-app/translations|lazy|nonrecursive|/.json$/","webpack://@openmrs/esm-active-visits-app/external \"@openmrs/esm-framework\"","webpack://@openmrs/esm-active-visits-app/external \"carbon-components\"","webpack://@openmrs/esm-active-visits-app/external \"dayjs\"","webpack://@openmrs/esm-active-visits-app/external \"react\"","webpack://@openmrs/esm-active-visits-app/external \"react-i18next\"","webpack://@openmrs/esm-active-visits-app/webpack/bootstrap","webpack://@openmrs/esm-active-visits-app/webpack/runtime/__system_context__","webpack://@openmrs/esm-active-visits-app/webpack/runtime/compat get default export","webpack://@openmrs/esm-active-visits-app/webpack/runtime/define property getters","webpack://@openmrs/esm-active-visits-app/webpack/runtime/ensure chunk","webpack://@openmrs/esm-active-visits-app/webpack/runtime/get javascript chunk filename","webpack://@openmrs/esm-active-visits-app/webpack/runtime/global","webpack://@openmrs/esm-active-visits-app/webpack/runtime/hasOwnProperty shorthand","webpack://@openmrs/esm-active-visits-app/webpack/runtime/make namespace object","webpack://@openmrs/esm-active-visits-app/webpack/runtime/node module decorator","webpack://@openmrs/esm-active-visits-app/webpack/runtime/publicPath","webpack://@openmrs/esm-active-visits-app/webpack/runtime/jsonp chunk loading","webpack://@openmrs/esm-active-visits-app/../node_modules/systemjs-webpack-interop/auto-public-path/1.js","webpack://@openmrs/esm-active-visits-app/./src/config-schema.ts","webpack://@openmrs/esm-active-visits-app/./src/index.ts"],"names":["inProgress","dataWebpackPrefix","resolveDirectory","exports","rootDirLevel","meta","url","console","error","Error","urlString","rootDirectoryLevel","a","document","createElement","href","pathname","numDirsProcessed","index","length","finalPath","slice","protocol","host","Number","isInteger","map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","code","ids","id","keys","Object","module","__WEBPACK_EXTERNAL_MODULE__6512__","__WEBPACK_EXTERNAL_MODULE__5670__","__WEBPACK_EXTERNAL_MODULE__8349__","__WEBPACK_EXTERNAL_MODULE__9297__","__WEBPACK_EXTERNAL_MODULE__7789__","__webpack_module_cache__","moduleId","cachedModule","undefined","loaded","__webpack_modules__","call","m","y","__system_context__","n","getter","__esModule","d","definition","key","defineProperty","enumerable","get","f","chunkId","all","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","p","installedChunks","j","installedChunkData","promise","reject","errorType","realSrc","message","name","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","chunkLoadingGlobal","self","autoPublicPath","configSchema","activeVisits","pageSize","_type","Type","_description","_default","pageSizes","importTranslation","require","backendDependencies","frontendDependencies","process","setupOpenMRS","moduleName","options","featureName","defineConfigSchema","extensions","slot","load","getAsyncLifecycle"],"mappings":"2rBAAIA,EACAC,E,kBCDJ,MAAMC,EAAmB,UAEzBC,EAAQ,EAAiB,SAAwBC,GAY7C,GAXGA,IACHA,EAAe,IAUV,IAAmBC,OAAS,IAAmBA,KAAKC,IAEvD,MADAC,QAAQC,MAAM,qBAAsB,KAC9BC,MACJ,uHAIJ,IAA0BP,EACxB,IAAmBG,KAAKC,IACxBF,K,eCuDND,EAAQ,EAlCR,SAA0BO,EAAWC,GAKnC,IAAIC,EAAIC,SAASC,cAAc,KAC/BF,EAAEG,KAAOL,EAKT,IAHA,IAAIM,EAA6B,MAAlBJ,EAAEI,SAAS,GAAaJ,EAAEI,SAAW,IAAMJ,EAAEI,SACxDC,EAAmB,EACrBC,EAAQF,EAASG,OACZF,IAAqBN,GAAsBO,GAAS,GAE5C,MADFF,IAAWE,IAEpBD,IAIJ,GAAIA,IAAqBN,EACvB,MAAMF,MACJ,iDACEE,EACA,gDACAM,EACA,qBACAP,GAIN,IAAIU,EAAYJ,EAASK,MAAM,EAAGH,EAAQ,GAE1C,OAAON,EAAEU,SAAW,KAAOV,EAAEW,KAAOH,GAOpCI,OAAOC,W,eClFT,IAAIC,EAAM,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1B,mBAAoB,UAGhBC,EAAuB,CAC3B,yBAA0BC,mBAG5B,SAASC,IACP,MAAMC,EAAa,iCAEbC,EAAU,CACdC,YAAa,gBACbF,cAKF,OAFAG,wBAAmBH,EAAYd,GAExB,CACLkB,WAAY,CACV,CACExH,GAAI,uBACJyH,KAAM,wBACNC,MAAMC,wBAAkB,IAAM,uDAA0DN,Q","file":"openmrs-esm-active-visits-app.js","sourcesContent":["var inProgress = {};\nvar dataWebpackPrefix = \"@openmrs/esm-active-visits-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};","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","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 map = {\n\t\"./en.json\": [\n\t\t8912,\n\t\t912\n\t],\n\t\"./es.json\": [\n\t\t2050,\n\t\t50\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(() => {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(() => {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = () => (Object.keys(map));\nwebpackAsyncContext.id = 3979;\nmodule.exports = webpackAsyncContext;","module.exports = __WEBPACK_EXTERNAL_MODULE__6512__;","module.exports = __WEBPACK_EXTERNAL_MODULE__5670__;","module.exports = __WEBPACK_EXTERNAL_MODULE__8349__;","module.exports = __WEBPACK_EXTERNAL_MODULE__9297__;","module.exports = __WEBPACK_EXTERNAL_MODULE__7789__;","// 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","__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 + \".openmrs-esm-active-visits-app.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__.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\t179: 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(true) { // all chunks have JS\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\tfor(moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) var result = runtime(__webpack_require__);\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[chunkIds[i]] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_openmrs_esm_active_visits_app\"] = self[\"webpackChunk_openmrs_esm_active_visits_app\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","const autoPublicPath = require(\"./auto-public-path\").autoPublicPath;\n\nautoPublicPath(1);\n","import { Type } from '@openmrs/esm-framework';\n\nexport const configSchema = {\n activeVisits: {\n pageSize: {\n _type: Type.Number,\n _description: 'Count of active visits to be shown in a single page.',\n _default: 10,\n },\n pageSizes: {\n _type: Type.Array,\n _description: 'Customizable page sizes that user can choose',\n _default: [10, 20, 50],\n },\n },\n};\n","import { defineConfigSchema, getAsyncLifecycle } from '@openmrs/esm-framework';\nimport { configSchema } from './config-schema';\n\nconst importTranslation = require.context('../translations', false, /.json$/, 'lazy');\n\nconst backendDependencies = {\n 'webservices.rest': '^2.2.0',\n};\n\nconst frontendDependencies = {\n '@openmrs/esm-framework': process.env.FRAMEWORK_VERSION,\n};\n\nfunction setupOpenMRS() {\n const moduleName = '@openmrs/esm-active-visits-app';\n\n const options = {\n featureName: 'active-visits',\n moduleName,\n };\n\n defineConfigSchema(moduleName, configSchema);\n\n return {\n extensions: [\n {\n id: 'active-visits-widget',\n slot: 'homepage-widgets-slot',\n load: getAsyncLifecycle(() => import('./active-visits-widget/active-visits.component'), options),\n },\n ],\n };\n}\n\nexport { backendDependencies, frontendDependencies, importTranslation, setupOpenMRS };\n"],"sourceRoot":""}
1
+ {"version":3,"file":"openmrs-esm-active-visits-app.js","mappings":"usBAAIA,EACAC,E,kBCDJ,MAAMC,EAAmB,UAEzBC,EAAQ,EAAiB,SAAwBC,GAY7C,GAXGA,IACHA,EAAe,IAUV,IAAmBC,OAAS,IAAmBA,KAAKC,IAEvD,MADAC,QAAQC,MAAM,qBAAsB,KAC9BC,MACJ,uHAIJ,IAA0BP,EACxB,IAAmBG,KAAKC,IACxBF,K,eCuDND,EAAQ,EAlCR,SAA0BO,EAAWC,GAKnC,IAAIC,EAAIC,SAASC,cAAc,KAC/BF,EAAEG,KAAOL,EAKT,IAHA,IAAIM,EAA6B,MAAlBJ,EAAEI,SAAS,GAAaJ,EAAEI,SAAW,IAAMJ,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AAIA,KAAiD,4CAAK,GACpID,EAAmBjC,QAAQ0B,EAAqBvB,KAAK,KAAM,IAC3D8B,EAAmBvD,KAAOgD,EAAqBvB,KAAK,KAAM8B,EAAmBvD,KAAKyB,KAAK8B,K,mBCnFvFE,EAFuB,WAER,G,iJCAR,MAAMC,EAAe,CAC1BC,aAAc,CACZC,SAAU,CACRC,MAAOC,EAAAA,KAAAA,OACPC,aAAc,uDACdC,SAAU,IAEZC,UAAW,CACTJ,MAAOC,EAAAA,KAAAA,MACPC,aAAc,+CACdC,SAAU,CAAC,GAAI,GAAI,OCTnBE,EAAoBC,EAAAA,MAEpBC,EAAsB,CAC1B,mBAAoB,UAGhBC,EAAuB,CAC3B,yBAA0BC,mBAG5B,SAASC,IACP,MAAMC,EAAa,iCAEbC,EAAU,CACdC,YAAa,gBACbF,WAAAA,GAKF,OAFAG,EAAAA,EAAAA,oBAAmBH,EAAYd,GAExB,CACLkB,WAAY,CACV,CACEzH,GAAI,uBACJ0H,KAAM,wBACNC,MAAMC,EAAAA,EAAAA,oBAAkB,IAAM,gEAA0DN,IAE1F,CACEtH,GAAI,uBACJ0H,KAAM,qBACNC,MAAMC,EAAAA,EAAAA,oBAAkB,IAAM,gEAAmDN,Q","sources":["webpack://@openmrs/esm-active-visits-app/webpack/runtime/load script","webpack://@openmrs/esm-active-visits-app/../../node_modules/systemjs-webpack-interop/auto-public-path/auto-public-path.js","webpack://@openmrs/esm-active-visits-app/../../node_modules/systemjs-webpack-interop/public-path.js","webpack://@openmrs/esm-active-visits-app//home/runner/work/openmrs-esm-patient-management/openmrs-esm-patient-management/packages/esm-active-visits-app/translations|lazy|nonrecursive|/.json$/","webpack://@openmrs/esm-active-visits-app/external system \"@openmrs/esm-framework\"","webpack://@openmrs/esm-active-visits-app/external system \"carbon-components\"","webpack://@openmrs/esm-active-visits-app/external system \"dayjs\"","webpack://@openmrs/esm-active-visits-app/external system \"react\"","webpack://@openmrs/esm-active-visits-app/external system \"react-i18next\"","webpack://@openmrs/esm-active-visits-app/webpack/bootstrap","webpack://@openmrs/esm-active-visits-app/webpack/runtime/__system_context__","webpack://@openmrs/esm-active-visits-app/webpack/runtime/compat get default export","webpack://@openmrs/esm-active-visits-app/webpack/runtime/define property getters","webpack://@openmrs/esm-active-visits-app/webpack/runtime/ensure chunk","webpack://@openmrs/esm-active-visits-app/webpack/runtime/get javascript chunk filename","webpack://@openmrs/esm-active-visits-app/webpack/runtime/global","webpack://@openmrs/esm-active-visits-app/webpack/runtime/hasOwnProperty shorthand","webpack://@openmrs/esm-active-visits-app/webpack/runtime/make namespace object","webpack://@openmrs/esm-active-visits-app/webpack/runtime/node module decorator","webpack://@openmrs/esm-active-visits-app/webpack/runtime/publicPath","webpack://@openmrs/esm-active-visits-app/webpack/runtime/jsonp chunk loading","webpack://@openmrs/esm-active-visits-app/../../node_modules/systemjs-webpack-interop/auto-public-path/1.js","webpack://@openmrs/esm-active-visits-app/./src/config-schema.ts","webpack://@openmrs/esm-active-visits-app/./src/index.ts"],"sourcesContent":["var inProgress = {};\nvar dataWebpackPrefix = \"@openmrs/esm-active-visits-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};","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","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 map = {\n\t\"./en.json\": [\n\t\t3574,\n\t\t574\n\t],\n\t\"./es.json\": [\n\t\t8319,\n\t\t319\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(() => {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(() => {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = () => (Object.keys(map));\nwebpackAsyncContext.id = 3979;\nmodule.exports = webpackAsyncContext;","module.exports = __WEBPACK_EXTERNAL_MODULE__1489__;","module.exports = __WEBPACK_EXTERNAL_MODULE__2434__;","module.exports = __WEBPACK_EXTERNAL_MODULE__9688__;","module.exports = __WEBPACK_EXTERNAL_MODULE__5954__;","module.exports = __WEBPACK_EXTERNAL_MODULE__4281__;","// 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","__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 + \".openmrs-esm-active-visits-app.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__.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\t179: 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(true) { // all chunks have JS\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[chunkIds[i]] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk_openmrs_esm_active_visits_app\"] = self[\"webpackChunk_openmrs_esm_active_visits_app\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","const autoPublicPath = require(\"./auto-public-path\").autoPublicPath;\n\nautoPublicPath(1);\n","import { Type } from '@openmrs/esm-framework';\n\nexport const configSchema = {\n activeVisits: {\n pageSize: {\n _type: Type.Number,\n _description: 'Count of active visits to be shown in a single page.',\n _default: 10,\n },\n pageSizes: {\n _type: Type.Array,\n _description: 'Customizable page sizes that user can choose',\n _default: [10, 20, 50],\n },\n },\n};\n","import { defineConfigSchema, getAsyncLifecycle } from '@openmrs/esm-framework';\nimport { configSchema } from './config-schema';\n\nconst importTranslation = require.context('../translations', false, /.json$/, 'lazy');\n\nconst backendDependencies = {\n 'webservices.rest': '^2.2.0',\n};\n\nconst frontendDependencies = {\n '@openmrs/esm-framework': process.env.FRAMEWORK_VERSION,\n};\n\nfunction setupOpenMRS() {\n const moduleName = '@openmrs/esm-active-visits-app';\n\n const options = {\n featureName: 'active-visits',\n moduleName,\n };\n\n defineConfigSchema(moduleName, configSchema);\n\n return {\n extensions: [\n {\n id: 'active-visits-widget',\n slot: 'homepage-widgets-slot',\n load: getAsyncLifecycle(() => import('./active-visits-widget/active-visits.component'), options),\n },\n {\n id: 'visit-summary-widget',\n slot: 'visit-summary-slot',\n load: getAsyncLifecycle(() => import('./visits-summary/visit-detail.component'), options),\n },\n ],\n };\n}\n\nexport { backendDependencies, frontendDependencies, importTranslation, setupOpenMRS };\n"],"names":["inProgress","dataWebpackPrefix","resolveDirectory","exports","rootDirLevel","meta","url","console","error","Error","urlString","rootDirectoryLevel","a","document","createElement","href","pathname","numDirsProcessed","index","length","finalPath","slice","protocol","host","Number","isInteger","map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","code","ids","id","keys","Object","module","__WEBPACK_EXTERNAL_MODULE__1489__","__WEBPACK_EXTERNAL_MODULE__2434__","__WEBPACK_EXTERNAL_MODULE__9688__","__WEBPACK_EXTERNAL_MODULE__5954__","__WEBPACK_EXTERNAL_MODULE__4281__","__webpack_module_cache__","moduleId","cachedModule","undefined","loaded","__webpack_modules__","call","m","y","__system_context__","n","getter","__esModule","d","definition","key","defineProperty","enumerable","get","f","chunkId","all","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","p","installedChunks","j","installedChunkData","promise","reject","errorType","realSrc","message","name","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","self","autoPublicPath","configSchema","activeVisits","pageSize","_type","Type","_description","_default","pageSizes","importTranslation","require","backendDependencies","frontendDependencies","process","setupOpenMRS","moduleName","options","featureName","defineConfigSchema","extensions","slot","load","getAsyncLifecycle"],"sourceRoot":""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-active-visits-app",
3
- "version": "3.0.0-pre.93",
3
+ "version": "3.0.1",
4
4
  "description": "Active visits widget microfrontend for the OpenMRS SPA",
5
5
  "browser": "dist/openmrs-esm-active-visits-app.js",
6
6
  "main": "src/index.ts",
@@ -50,5 +50,5 @@
50
50
  "react-router-dom": "5.x",
51
51
  "rxjs": "6.x"
52
52
  },
53
- "gitHead": "187baf92c30f15b030a886f45e55ce1c6d464053"
53
+ "gitHead": "46688edbb9faaa3b066fc3cecc97ff1180acca1c"
54
54
  }