@openmrs/esm-active-visits-app 3.0.0-pre.178 → 3.0.0-pre.196
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/dist/165.openmrs-esm-active-visits-app.js +1 -1
- package/dist/165.openmrs-esm-active-visits-app.js.map +1 -1
- package/dist/2.openmrs-esm-active-visits-app.js +2 -0
- package/dist/2.openmrs-esm-active-visits-app.js.map +1 -0
- package/dist/404.openmrs-esm-active-visits-app.js +3 -0
- package/dist/{799.openmrs-esm-active-visits-app.js.LICENSE.txt → 404.openmrs-esm-active-visits-app.js.LICENSE.txt} +0 -0
- package/dist/404.openmrs-esm-active-visits-app.js.map +1 -0
- package/dist/415.openmrs-esm-active-visits-app.js +1 -1
- package/dist/415.openmrs-esm-active-visits-app.js.map +1 -1
- package/dist/574.openmrs-esm-active-visits-app.js +1 -1
- package/dist/openmrs-esm-active-visits-app.js +1 -1
- package/dist/openmrs-esm-active-visits-app.js.buildmanifest.json +54 -54
- package/dist/openmrs-esm-active-visits-app.js.map +1 -1
- package/package.json +2 -2
- package/src/active-visits-widget/active-visits.component.tsx +137 -133
- package/src/active-visits-widget/active-visits.resource.tsx +34 -10
- package/src/active-visits-widget/active-visits.scss +7 -0
- package/src/visits-summary/visit-detail.component.tsx +42 -46
- package/src/visits-summary/visit.resource.ts +14 -5
- package/translations/en.json +2 -1
- package/dist/288.openmrs-esm-active-visits-app.js +0 -2
- package/dist/288.openmrs-esm-active-visits-app.js.map +0 -1
- package/dist/799.openmrs-esm-active-visits-app.js +0 -3
- package/dist/799.openmrs-esm-active-visits-app.js.map +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={},
|
|
1
|
+
System.register(["@openmrs/esm-framework","react","react-i18next","dayjs","carbon-components"],(function(e,t){var r={},n={},o={},i={},s={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(s,"__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){i.default=e.default},function(e){Object.keys(e).forEach((function(t){s[t]=e[t]}))}],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,i=n.length;o!==t&&i>=0;)"/"===n[--i]&&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 s=n.slice(0,i+1);return r.protocol+"//"+r.host+s};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=s},9688:e=>{"use strict";e.exports=i},5954:e=>{"use strict";e.exports=n},4281:e=>{"use strict";e.exports=o}},u={};function l(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,l),r.loaded=!0,r.exports}l.m=c,l.y=t,l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var r in t)l.o(t,r)&&!l.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},l.f={},l.e=e=>Promise.all(Object.keys(l.f).reduce(((t,r)=>(l.f[r](e,t),t)),[])),l.u=e=>e+".openmrs-esm-active-visits-app.js",l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},a="@openmrs/esm-active-visits-app:",l.l=(t,r,n,o)=>{if(e[t])e[t].push(r);else{var i,s;if(void 0!==n)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var p=c[u];if(p.getAttribute("src")==t||p.getAttribute("data-webpack")==a+n){i=p;break}}i||(s=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,l.nc&&i.setAttribute("nonce",l.nc),i.setAttribute("data-webpack",a+n),i.src=t),e[t]=[r];var d=(r,n)=>{i.onerror=i.onload=null,clearTimeout(f);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),s&&document.head.appendChild(i)}},l.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),l.p="",(()=>{var e={179:0};l.f.j=(t,r)=>{var n=l.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 i=l.p+l.u(t),s=new Error;l.l(i,(r=>{if(l.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",s.name="ChunkLoadError",s.type=o,s.request=i,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[i,s,a]=r,c=0;if(i.some((t=>0!==e[t]))){for(n in s)l.o(s,n)&&(l.m[n]=s[n]);a&&a(l)}for(t&&t(r);c<i.length;c++)o=i[c],l.o(e,o)&&e[o]&&e[o][0](),e[i[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 p={};return(0,l(6907).s)(1),(()=>{"use strict";l.r(p),l.d(p,{backendDependencies:()=>n,frontendDependencies:()=>o,importTranslation:()=>r,setupOpenMRS:()=>i});var e=l(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=l(3979),n={"webservices.rest":"^2.2.0"},o={"@openmrs/esm-framework":"^3.1.10-pre.582"};function i(){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([l.e(404),l.e(2),l.e(165)]).then(l.bind(l,2165))),n)},{id:"visit-summary-widget",slot:"visit-summary-slot",load:(0,e.getAsyncLifecycle)((()=>Promise.all([l.e(404),l.e(160),l.e(415)]).then(l.bind(l,6415))),n)}]}}})(),p})())}}}));
|
|
2
2
|
//# sourceMappingURL=openmrs-esm-active-visits-app.js.map
|
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"chunks": [
|
|
3
|
+
{
|
|
4
|
+
"rendered": true,
|
|
5
|
+
"initial": false,
|
|
6
|
+
"entry": false,
|
|
7
|
+
"recorded": false,
|
|
8
|
+
"reason": "split chunk (cache group: defaultVendors)",
|
|
9
|
+
"size": 5754290,
|
|
10
|
+
"sizes": {
|
|
11
|
+
"javascript": 5754290
|
|
12
|
+
},
|
|
13
|
+
"names": [],
|
|
14
|
+
"idHints": [
|
|
15
|
+
"vendors"
|
|
16
|
+
],
|
|
17
|
+
"runtime": [
|
|
18
|
+
"main"
|
|
19
|
+
],
|
|
20
|
+
"files": [
|
|
21
|
+
"2.openmrs-esm-active-visits-app.js"
|
|
22
|
+
],
|
|
23
|
+
"auxiliaryFiles": [
|
|
24
|
+
"2.openmrs-esm-active-visits-app.js.map"
|
|
25
|
+
],
|
|
26
|
+
"hash": "8e25e98778ac9aebde22",
|
|
27
|
+
"childrenByOrder": {}
|
|
28
|
+
},
|
|
3
29
|
{
|
|
4
30
|
"rendered": true,
|
|
5
31
|
"initial": false,
|
|
@@ -23,7 +49,7 @@
|
|
|
23
49
|
"auxiliaryFiles": [
|
|
24
50
|
"160.openmrs-esm-active-visits-app.js.map"
|
|
25
51
|
],
|
|
26
|
-
"hash": "
|
|
52
|
+
"hash": "4f31cab411c00beacd4d",
|
|
27
53
|
"childrenByOrder": {}
|
|
28
54
|
},
|
|
29
55
|
{
|
|
@@ -31,9 +57,9 @@
|
|
|
31
57
|
"initial": false,
|
|
32
58
|
"entry": false,
|
|
33
59
|
"recorded": false,
|
|
34
|
-
"size":
|
|
60
|
+
"size": 38999,
|
|
35
61
|
"sizes": {
|
|
36
|
-
"javascript":
|
|
62
|
+
"javascript": 38999
|
|
37
63
|
},
|
|
38
64
|
"names": [],
|
|
39
65
|
"idHints": [],
|
|
@@ -46,7 +72,7 @@
|
|
|
46
72
|
"auxiliaryFiles": [
|
|
47
73
|
"165.openmrs-esm-active-visits-app.js.map"
|
|
48
74
|
],
|
|
49
|
-
"hash": "
|
|
75
|
+
"hash": "31c7d281751a151893d4",
|
|
50
76
|
"childrenByOrder": {}
|
|
51
77
|
},
|
|
52
78
|
{
|
|
@@ -72,33 +98,7 @@
|
|
|
72
98
|
"auxiliaryFiles": [
|
|
73
99
|
"openmrs-esm-active-visits-app.js.map"
|
|
74
100
|
],
|
|
75
|
-
"hash": "
|
|
76
|
-
"childrenByOrder": {}
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"rendered": true,
|
|
80
|
-
"initial": false,
|
|
81
|
-
"entry": false,
|
|
82
|
-
"recorded": false,
|
|
83
|
-
"reason": "split chunk (cache group: defaultVendors)",
|
|
84
|
-
"size": 294093,
|
|
85
|
-
"sizes": {
|
|
86
|
-
"javascript": 294093
|
|
87
|
-
},
|
|
88
|
-
"names": [],
|
|
89
|
-
"idHints": [
|
|
90
|
-
"vendors"
|
|
91
|
-
],
|
|
92
|
-
"runtime": [
|
|
93
|
-
"main"
|
|
94
|
-
],
|
|
95
|
-
"files": [
|
|
96
|
-
"288.openmrs-esm-active-visits-app.js"
|
|
97
|
-
],
|
|
98
|
-
"auxiliaryFiles": [
|
|
99
|
-
"288.openmrs-esm-active-visits-app.js.map"
|
|
100
|
-
],
|
|
101
|
-
"hash": "290c6aa43724d7111a82",
|
|
101
|
+
"hash": "8314f44ed03aea84ab13",
|
|
102
102
|
"childrenByOrder": {}
|
|
103
103
|
},
|
|
104
104
|
{
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"319.openmrs-esm-active-visits-app.js"
|
|
120
120
|
],
|
|
121
121
|
"auxiliaryFiles": [],
|
|
122
|
-
"hash": "
|
|
122
|
+
"hash": "bf366adf14f0d994b3e5",
|
|
123
123
|
"childrenByOrder": {}
|
|
124
124
|
},
|
|
125
125
|
{
|
|
@@ -127,22 +127,25 @@
|
|
|
127
127
|
"initial": false,
|
|
128
128
|
"entry": false,
|
|
129
129
|
"recorded": false,
|
|
130
|
-
"
|
|
130
|
+
"reason": "split chunk (cache group: defaultVendors)",
|
|
131
|
+
"size": 2278197,
|
|
131
132
|
"sizes": {
|
|
132
|
-
"javascript":
|
|
133
|
+
"javascript": 2278197
|
|
133
134
|
},
|
|
134
135
|
"names": [],
|
|
135
|
-
"idHints": [
|
|
136
|
+
"idHints": [
|
|
137
|
+
"vendors"
|
|
138
|
+
],
|
|
136
139
|
"runtime": [
|
|
137
140
|
"main"
|
|
138
141
|
],
|
|
139
142
|
"files": [
|
|
140
|
-
"
|
|
143
|
+
"404.openmrs-esm-active-visits-app.js"
|
|
141
144
|
],
|
|
142
145
|
"auxiliaryFiles": [
|
|
143
|
-
"
|
|
146
|
+
"404.openmrs-esm-active-visits-app.js.map"
|
|
144
147
|
],
|
|
145
|
-
"hash": "
|
|
148
|
+
"hash": "6a331a55bbabae4d5dfc",
|
|
146
149
|
"childrenByOrder": {}
|
|
147
150
|
},
|
|
148
151
|
{
|
|
@@ -150,9 +153,9 @@
|
|
|
150
153
|
"initial": false,
|
|
151
154
|
"entry": false,
|
|
152
155
|
"recorded": false,
|
|
153
|
-
"size":
|
|
156
|
+
"size": 92505,
|
|
154
157
|
"sizes": {
|
|
155
|
-
"javascript":
|
|
158
|
+
"javascript": 92505
|
|
156
159
|
},
|
|
157
160
|
"names": [],
|
|
158
161
|
"idHints": [],
|
|
@@ -160,10 +163,12 @@
|
|
|
160
163
|
"main"
|
|
161
164
|
],
|
|
162
165
|
"files": [
|
|
163
|
-
"
|
|
166
|
+
"415.openmrs-esm-active-visits-app.js"
|
|
164
167
|
],
|
|
165
|
-
"auxiliaryFiles": [
|
|
166
|
-
|
|
168
|
+
"auxiliaryFiles": [
|
|
169
|
+
"415.openmrs-esm-active-visits-app.js.map"
|
|
170
|
+
],
|
|
171
|
+
"hash": "ccf5dabc29af1d46d808",
|
|
167
172
|
"childrenByOrder": {}
|
|
168
173
|
},
|
|
169
174
|
{
|
|
@@ -171,25 +176,20 @@
|
|
|
171
176
|
"initial": false,
|
|
172
177
|
"entry": false,
|
|
173
178
|
"recorded": false,
|
|
174
|
-
"
|
|
175
|
-
"size": 2268765,
|
|
179
|
+
"size": 863,
|
|
176
180
|
"sizes": {
|
|
177
|
-
"javascript":
|
|
181
|
+
"javascript": 863
|
|
178
182
|
},
|
|
179
183
|
"names": [],
|
|
180
|
-
"idHints": [
|
|
181
|
-
"vendors"
|
|
182
|
-
],
|
|
184
|
+
"idHints": [],
|
|
183
185
|
"runtime": [
|
|
184
186
|
"main"
|
|
185
187
|
],
|
|
186
188
|
"files": [
|
|
187
|
-
"
|
|
188
|
-
],
|
|
189
|
-
"auxiliaryFiles": [
|
|
190
|
-
"799.openmrs-esm-active-visits-app.js.map"
|
|
189
|
+
"574.openmrs-esm-active-visits-app.js"
|
|
191
190
|
],
|
|
192
|
-
"
|
|
191
|
+
"auxiliaryFiles": [],
|
|
192
|
+
"hash": "b67fb1f7948d46d3d712",
|
|
193
193
|
"childrenByOrder": {}
|
|
194
194
|
}
|
|
195
195
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openmrs-esm-active-visits-app.js","mappings":"ivBAAIA,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,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AAAA,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":""}
|
|
1
|
+
{"version":3,"file":"openmrs-esm-active-visits-app.js","mappings":"mxBAAIA,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,SACx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D,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,8DAA0DN,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.
|
|
3
|
+
"version": "3.0.0-pre.196",
|
|
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": "
|
|
53
|
+
"gitHead": "da4b2d5b3b1fe0c4b564a5ef4f41e30c195a35c6"
|
|
54
54
|
}
|