@kenyaemr/esm-billing-app 5.3.10-pre.1666 → 5.3.10-pre.1678
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +64 -64
- package/dist/300.js +1 -1
- package/dist/{49.js → 48.js} +1 -1
- package/dist/48.js.map +1 -0
- package/dist/kenyaemr-esm-billing-app.js +1 -1
- package/dist/kenyaemr-esm-billing-app.js.buildmanifest.json +12 -12
- package/dist/main.js +2 -2
- package/dist/main.js.map +1 -1
- package/dist/routes.json +1 -1
- package/package.json +1 -1
- package/src/billable-services/billiable-item/test-order/test-order-action.component.tsx +2 -1
- package/src/hooks/useInterventions.ts +32 -12
- package/src/hooks/usePackages.ts +7 -15
- package/src/invoice/invoice.component.tsx +2 -2
- package/src/invoice/print-bill-receipt/receipt-print-button.component.tsx +55 -0
- package/translations/en.json +0 -1
- package/dist/49.js.map +0 -1
- package/src/invoice/print-bill-receipt/print-receipt-action.component.tsx +0 -34
|
@@ -1 +1 @@
|
|
|
1
|
-
var _kenyaemr_esm_billing_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,u,s,f,p,d,c,h,m,v,g,b,y,w,_={3100:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(144),t.e(104),t.e(380),t.e(434),t.e(
|
|
1
|
+
var _kenyaemr_esm_billing_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,u,s,f,p,d,c,h,m,v,g,b,y,w,_={3100:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(144),t.e(104),t.e(380),t.e(434),t.e(48)]).then((()=>()=>t(3048)))},o=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),a=(e,r)=>{if(t.S){var n="default",o=t.S[n];if(o&&o!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>o,init:()=>a})}},k={};function S(e){var r=k[e];if(void 0!==r)return r.exports;var t=k[e]={id:e,loaded:!1,exports:{}};return _[e].call(t.exports,t,t.exports,S),t.loaded=!0,t.exports}S.m=_,S.c=k,S.amdD=function(){throw new Error("define cannot be used indirect")},S.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return S.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,S.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var o=Object.create(null);S.r(o);var a={};e=e||[null,r({}),r([]),r(r)];for(var i=2&n&&t;"object"==typeof i&&!~e.indexOf(i);i=r(i))Object.getOwnPropertyNames(i).forEach((e=>a[e]=()=>t[e]));return a.default=()=>t,S.d(o,a),o},S.d=(e,r)=>{for(var t in r)S.o(r,t)&&!S.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce(((r,t)=>(S.f[t](e,r),r)),[])),S.u=e=>e+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@kenyaemr/esm-billing-app:",S.l=(e,r,o,a)=>{if(t[e])t[e].push(r);else{var i,l;if(void 0!==o)for(var u=document.getElementsByTagName("script"),s=0;s<u.length;s++){var f=u[s];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+o){i=f;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,S.nc&&i.setAttribute("nonce",S.nc),i.setAttribute("data-webpack",n+o),i.src=e),t[e]=[r];var p=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=t[e];if(delete t[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=p.bind(null,i.onerror),i.onload=p.bind(null,i.onload),l&&document.head.appendChild(i)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},S.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{S.S={};var e={},r={};S.I=(t,n)=>{n||(n=[]);var o=r[t];if(o||(o=r[t]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[t])return e[t];S.o(S.S,t)||(S.S[t]={});var a=S.S[t],i="@kenyaemr/esm-billing-app",l=(e,r,t,n)=>{var o=a[e]=a[e]||{},l=o[r];(!l||!l.loaded&&(!n!=!l.eager?n:i>l.from))&&(o[r]={get:t,from:i,eager:!!n})},u=[];return"default"===t&&(l("@openmrs/esm-framework","6.0.1-pre.2566",(()=>Promise.all([S.e(831),S.e(380)]).then((()=>()=>S(831))))),l("react-i18next","11.18.6",(()=>Promise.all([S.e(126),S.e(380)]).then((()=>()=>S(1126))))),l("react-router-dom","6.26.2",(()=>Promise.all([S.e(913),S.e(144),S.e(380)]).then((()=>()=>S(2913))))),l("react","18.3.1",(()=>S.e(41).then((()=>()=>S(4041))))),l("swr/_internal","2.2.5",(()=>Promise.all([S.e(372),S.e(380)]).then((()=>()=>S(2372))))),l("swr/immutable","2.2.5",(()=>Promise.all([S.e(380),S.e(434),S.e(876)]).then((()=>()=>S(9876)))))),e[t]=u.length?Promise.all(u).then((()=>e[t]=1)):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var r=S.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.p=e})(),o=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},a=(e,r)=>{e=o(e),r=o(r);for(var t=0;;){if(t>=e.length)return t<r.length&&"u"!=(typeof r[t])[0];var n=e[t],a=(typeof n)[0];if(t>=r.length)return"u"==a;var i=r[t],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&n!=i)return n<i;t++}},i=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,o=1;o<e.length;o++)n--,t+="u"==(typeof(l=e[o]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var a=[];for(o=1;o<e.length;o++){var l=e[o];a.push(0===l?"not("+u()+")":1===l?"("+u()+" || "+u()+")":2===l?a.pop()+" "+a.pop():i(l))}return u();function u(){return a.pop().replace(/^\((.+)\)$/,"$1")}},l=(e,r)=>{if(0 in e){r=o(r);var t=e[0],n=t<0;n&&(t=-t-1);for(var a=0,i=1,u=!0;;i++,a++){var s,f,p=i<e.length?(typeof e[i])[0]:"";if(a>=r.length||"o"==(f=(typeof(s=r[a]))[0]))return!u||("u"==p?i>t&&!n:""==p!=n);if("u"==f){if(!u||"u"!=p)return!1}else if(u)if(p==f)if(i<=t){if(s!=e[i])return!1}else{if(n?s>e[i]:s<e[i])return!1;s!=e[i]&&(u=!1)}else if("s"!=p&&"n"!=p){if(n||i<=t)return!1;u=!1,i--}else{if(i<=t||f<p!=n)return!1;u=!1}else"s"!=p&&"n"!=p&&(u=!1,i--)}}var d=[],c=d.pop.bind(d);for(a=1;a<e.length;a++){var h=e[a];d.push(1==h?c()|c():2==h?c()&c():h?l(h,r):!c())}return!!c()},u=(e,r)=>e&&S.o(e,r),s=e=>(e.loaded=1,e.get()),f=e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}),p=(e,r,t)=>{var n=t?f(e[r]):e[r];return Object.keys(n).reduce(((e,r)=>!e||!n[e].loaded&&a(e,r)?r:e),0)},d=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+i(n)+")",c=e=>{throw new Error(e)},h=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},m=(e,r,t)=>t?t():((e,r)=>c("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),v=(e=>function(r,t,n,o,a){var i=S.I(r);return i&&i.then&&!n?i.then(e.bind(e,r,S.S[r],t,!1,o,a)):e(r,S.S[r],t,n,o,a)})(((e,r,t,n,o,a)=>{if(!u(r,t))return m(e,t,a);var i=p(r,t,n);return l(o,i)||h(d(r,t,i,o)),s(r[t][i])})),g={},b={380:()=>v("default","react",!1,[1,18,1,0],(()=>S.e(41).then((()=>()=>S(4041))))),5434:()=>v("default","swr/_internal",!1,[1,2],(()=>S.e(372).then((()=>()=>S(2372))))),1083:()=>v("default","@openmrs/esm-framework",!1,[1,5],(()=>S.e(831).then((()=>()=>S(831))))),3150:()=>v("default","react-i18next",!1,[1,11],(()=>S.e(126).then((()=>()=>S(1126))))),8010:()=>v("default","swr/immutable",!1,[1,2],(()=>S.e(495).then((()=>()=>S(9876))))),8877:()=>v("default","react-router-dom",!1,[1,6],(()=>S.e(913).then((()=>()=>S(2913)))))},y={48:[1083,3150,8010,8877],380:[380],434:[5434]},w={},S.f.consumes=(e,r)=>{S.o(y,e)&&y[e].forEach((e=>{if(S.o(g,e))return r.push(g[e]);if(!w[e]){var t=r=>{g[e]=0,S.m[e]=t=>{delete S.c[e],t.exports=r()}};w[e]=!0;var n=r=>{delete g[e],S.m[e]=t=>{throw delete S.c[e],r}};try{var o=b[e]();o.then?r.push(g[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}}))},(()=>{var e={653:0};S.f.j=(r,t)=>{var n=S.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(380|434)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=S.p+S.u(r),i=new Error;S.l(a,(t=>{if(S.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;i.message="Loading chunk "+r+" failed.\n("+o+": "+a+")",i.name="ChunkLoadError",i.type=o,i.request=a,n[1](i)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,o,[a,i,l]=t,u=0;if(a.some((r=>0!==e[r]))){for(n in i)S.o(i,n)&&(S.m[n]=i[n]);l&&l(S)}for(r&&r(t);u<a.length;u++)o=a[u],S.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_kenyaemr_esm_billing_app=globalThis.webpackChunk_kenyaemr_esm_billing_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),S.nc=void 0;var P=S(3100);_kenyaemr_esm_billing_app=P})();
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"initial": false,
|
|
30
30
|
"entry": false,
|
|
31
31
|
"recorded": false,
|
|
32
|
-
"size":
|
|
32
|
+
"size": 3192021,
|
|
33
33
|
"sizes": {
|
|
34
|
-
"javascript":
|
|
34
|
+
"javascript": 3191853,
|
|
35
35
|
"consume-shared": 168
|
|
36
36
|
},
|
|
37
37
|
"names": [],
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
"@kenyaemr/esm-billing-app"
|
|
41
41
|
],
|
|
42
42
|
"files": [
|
|
43
|
-
"
|
|
43
|
+
"48.js"
|
|
44
44
|
],
|
|
45
45
|
"auxiliaryFiles": [
|
|
46
|
-
"
|
|
46
|
+
"48.js.map"
|
|
47
47
|
],
|
|
48
|
-
"hash": "
|
|
48
|
+
"hash": "af1a63948ddffb7d",
|
|
49
49
|
"childrenByOrder": {}
|
|
50
50
|
},
|
|
51
51
|
{
|
|
@@ -133,9 +133,9 @@
|
|
|
133
133
|
"initial": false,
|
|
134
134
|
"entry": false,
|
|
135
135
|
"recorded": false,
|
|
136
|
-
"size":
|
|
136
|
+
"size": 11790,
|
|
137
137
|
"sizes": {
|
|
138
|
-
"javascript":
|
|
138
|
+
"javascript": 11790
|
|
139
139
|
},
|
|
140
140
|
"names": [],
|
|
141
141
|
"idHints": [],
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
"300.js"
|
|
148
148
|
],
|
|
149
149
|
"auxiliaryFiles": [],
|
|
150
|
-
"hash": "
|
|
150
|
+
"hash": "47a2be42cb147fc0",
|
|
151
151
|
"childrenByOrder": {}
|
|
152
152
|
},
|
|
153
153
|
{
|
|
@@ -267,7 +267,7 @@
|
|
|
267
267
|
"auxiliaryFiles": [
|
|
268
268
|
"kenyaemr-esm-billing-app.js.map"
|
|
269
269
|
],
|
|
270
|
-
"hash": "
|
|
270
|
+
"hash": "c392a4041ddd55c1",
|
|
271
271
|
"childrenByOrder": {}
|
|
272
272
|
},
|
|
273
273
|
{
|
|
@@ -275,10 +275,10 @@
|
|
|
275
275
|
"initial": true,
|
|
276
276
|
"entry": true,
|
|
277
277
|
"recorded": false,
|
|
278
|
-
"size":
|
|
278
|
+
"size": 10858315,
|
|
279
279
|
"sizes": {
|
|
280
280
|
"consume-shared": 252,
|
|
281
|
-
"javascript":
|
|
281
|
+
"javascript": 10836922,
|
|
282
282
|
"share-init": 252,
|
|
283
283
|
"runtime": 20889
|
|
284
284
|
},
|
|
@@ -295,7 +295,7 @@
|
|
|
295
295
|
"auxiliaryFiles": [
|
|
296
296
|
"main.js.map"
|
|
297
297
|
],
|
|
298
|
-
"hash": "
|
|
298
|
+
"hash": "9e26483d1e1eaa7c",
|
|
299
299
|
"childrenByOrder": {}
|
|
300
300
|
},
|
|
301
301
|
{
|