@kenyaemr/esm-pharmacy-app 5.3.8-pre.1587 → 5.3.8-pre.1596

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.
@@ -45,7 +45,7 @@
45
45
  "auxiliaryFiles": [
46
46
  "99.js.map"
47
47
  ],
48
- "hash": "99c8a75c1ecfa38e",
48
+ "hash": "5fb176af7c6a2cda",
49
49
  "childrenByOrder": {}
50
50
  },
51
51
  {
@@ -103,51 +103,51 @@
103
103
  "childrenByOrder": {}
104
104
  },
105
105
  {
106
- "rendered": true,
106
+ "rendered": false,
107
107
  "initial": false,
108
108
  "entry": false,
109
109
  "recorded": false,
110
- "reason": "split chunk (cache group: defaultVendors)",
111
- "size": 1832315,
110
+ "reason": "split chunk (cache group: default)",
111
+ "size": 42,
112
112
  "sizes": {
113
- "javascript": 1832315
113
+ "consume-shared": 42
114
114
  },
115
115
  "names": [],
116
- "idHints": [
117
- "vendors"
118
- ],
116
+ "idHints": [],
119
117
  "runtime": [
120
118
  "@kenyaemr/esm-pharmacy-app",
121
119
  "main"
122
120
  ],
123
- "files": [
124
- "149.js"
125
- ],
126
- "auxiliaryFiles": [
127
- "149.js.map"
128
- ],
129
- "hash": "dc21f3696c84e321",
121
+ "files": [],
122
+ "auxiliaryFiles": [],
123
+ "hash": "3f9ddc7d0813709a",
130
124
  "childrenByOrder": {}
131
125
  },
132
126
  {
133
- "rendered": false,
127
+ "rendered": true,
134
128
  "initial": false,
135
129
  "entry": false,
136
130
  "recorded": false,
137
- "reason": "split chunk (cache group: default)",
138
- "size": 42,
131
+ "reason": "split chunk (cache group: defaultVendors)",
132
+ "size": 802959,
139
133
  "sizes": {
140
- "consume-shared": 42
134
+ "javascript": 802959
141
135
  },
142
136
  "names": [],
143
- "idHints": [],
137
+ "idHints": [
138
+ "vendors"
139
+ ],
144
140
  "runtime": [
145
141
  "@kenyaemr/esm-pharmacy-app",
146
142
  "main"
147
143
  ],
148
- "files": [],
149
- "auxiliaryFiles": [],
150
- "hash": "3f9ddc7d0813709a",
144
+ "files": [
145
+ "157.js"
146
+ ],
147
+ "auxiliaryFiles": [
148
+ "157.js.map"
149
+ ],
150
+ "hash": "864770162df061fc",
151
151
  "childrenByOrder": {}
152
152
  },
153
153
  {
@@ -226,7 +226,7 @@
226
226
  "auxiliaryFiles": [
227
227
  "201.js.map"
228
228
  ],
229
- "hash": "f07032fc7b1faaa1",
229
+ "hash": "aab10740b7b89227",
230
230
  "childrenByOrder": {}
231
231
  },
232
232
  {
@@ -272,7 +272,7 @@
272
272
  "auxiliaryFiles": [
273
273
  "331.js.map"
274
274
  ],
275
- "hash": "b98cef8ba9304947",
275
+ "hash": "a8e1416a716bbe66",
276
276
  "childrenByOrder": {}
277
277
  },
278
278
  {
@@ -349,23 +349,26 @@
349
349
  "initial": false,
350
350
  "entry": false,
351
351
  "recorded": false,
352
- "size": 24274,
352
+ "reason": "split chunk (cache group: defaultVendors)",
353
+ "size": 1825196,
353
354
  "sizes": {
354
- "javascript": 24274
355
+ "javascript": 1825196
355
356
  },
356
357
  "names": [],
357
- "idHints": [],
358
+ "idHints": [
359
+ "vendors"
360
+ ],
358
361
  "runtime": [
359
362
  "@kenyaemr/esm-pharmacy-app",
360
363
  "main"
361
364
  ],
362
365
  "files": [
363
- "495.js"
366
+ "487.js"
364
367
  ],
365
368
  "auxiliaryFiles": [
366
- "495.js.map"
369
+ "487.js.map"
367
370
  ],
368
- "hash": "85dbe42a9745a1d7",
371
+ "hash": "c121b6c7bf0dac54",
369
372
  "childrenByOrder": {}
370
373
  },
371
374
  {
@@ -373,26 +376,23 @@
373
376
  "initial": false,
374
377
  "entry": false,
375
378
  "recorded": false,
376
- "reason": "split chunk (cache group: defaultVendors)",
377
- "size": 774764,
379
+ "size": 24274,
378
380
  "sizes": {
379
- "javascript": 774764
381
+ "javascript": 24274
380
382
  },
381
383
  "names": [],
382
- "idHints": [
383
- "vendors"
384
- ],
384
+ "idHints": [],
385
385
  "runtime": [
386
386
  "@kenyaemr/esm-pharmacy-app",
387
387
  "main"
388
388
  ],
389
389
  "files": [
390
- "563.js"
390
+ "495.js"
391
391
  ],
392
392
  "auxiliaryFiles": [
393
- "563.js.map"
393
+ "495.js.map"
394
394
  ],
395
- "hash": "16d244152869844f",
395
+ "hash": "85dbe42a9745a1d7",
396
396
  "childrenByOrder": {}
397
397
  },
398
398
  {
@@ -447,7 +447,7 @@
447
447
  "auxiliaryFiles": [
448
448
  "main.js.map"
449
449
  ],
450
- "hash": "77d24fdfb5743730",
450
+ "hash": "3fa17154a7e976e8",
451
451
  "childrenByOrder": {}
452
452
  },
453
453
  {
@@ -549,7 +549,7 @@
549
549
  "auxiliaryFiles": [
550
550
  "964.js.map"
551
551
  ],
552
- "hash": "eec7233174d494eb",
552
+ "hash": "5b5a2d5da57a3986",
553
553
  "childrenByOrder": {}
554
554
  }
555
555
  ]
package/dist/main.js CHANGED
@@ -1 +1 @@
1
- (()=>{var e,r,t,n,a={8964:(e,r,t)=>{"use strict";var n=t(1083),a=(n.Type.Boolean,n.Type.Array,n.Type.String,(0,n.validator)((function(e){return e.length>0}),"At least one person must be greeted."),n.Type.String,t(4441)),o=t(380),i=t.n(o),l=t(8877);function u(e){var r=e.config,t=r.name,u=r.title,s=(0,l.useLocation)(),c=window.getOpenmrsSpaBase()+"home",f=(0,o.useMemo)((function(){return decodeURIComponent((0,a.A)(s.pathname.split("/")))}),[s.pathname]);return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(f)&&(f=s.pathname.split("/").at(-2)),i().createElement(n.ConfigurableLink,{to:c+"/"+t,className:"cds--side-nav__link ".concat(t===f&&"active-left-nav-link")},u)}var s,c={featureName:"esm-pharmacy-app",moduleName:"@kenyaemr/esm-pharmacy-app"};t(4767),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(144),t.e(149),t.e(767),t.e(563),t.e(434),t.e(150),t.e(201)]).then(t.bind(t,3806))}),c),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(144),t.e(149),t.e(767),t.e(160),t.e(434),t.e(150),t.e(99)]).then(t.bind(t,2099))}),c),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(144),t.e(149),t.e(150),t.e(331)]).then(t.bind(t,1331))}),c),(0,n.getSyncLifecycle)((s={name:"pharmacy",title:"Community Pharmacy"},function(){return i().createElement(l.BrowserRouter,null,i().createElement(u,{config:s}))}),c)},4767:(e,r,t)=>{var n={"./en.json":[4300,300]};function a(e){if(!t.o(n,e))return Promise.resolve().then((()=>{var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}));var r=n[e],a=r[0];return t.e(r[1]).then((()=>t(a)))}a.keys=()=>Object.keys(n),a.id=4767,e.exports=a},4441:(e,r,t)=>{"use strict";t.d(r,{A:()=>n});const n=function(e){var r=null==e?0:e.length;return r?e[r-1]:void 0}}},o={};function i(e){var r=o[e];if(void 0!==r)return r.exports;var t=o[e]={id:e,loaded:!1,exports:{}};return a[e].call(t.exports,t,t.exports,i),t.loaded=!0,t.exports}i.m=a,i.c=o,i.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return i.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.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 a=Object.create(null);i.r(a);var o={};e=e||[null,r({}),r([]),r(r)];for(var l=2&n&&t;"object"==typeof l&&!~e.indexOf(l);l=r(l))Object.getOwnPropertyNames(l).forEach((e=>o[e]=()=>t[e]));return o.default=()=>t,i.d(a,o),a},i.d=(e,r)=>{for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((r,t)=>(i.f[t](e,r),r)),[])),i.u=e=>e+".js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@kenyaemr/esm-pharmacy-app:",i.l=(e,r,a,o)=>{if(t[e])t[e].push(r);else{var l,u;if(void 0!==a)for(var s=document.getElementsByTagName("script"),c=0;c<s.length;c++){var f=s[c];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+a){l=f;break}}l||(u=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.setAttribute("data-webpack",n+a),l.src=e),t[e]=[r];var p=(r,n)=>{l.onerror=l.onload=null,clearTimeout(d);var a=t[e];if(delete t[e],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach((e=>e(n))),r)return r(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=p.bind(null,l.onerror),l.onload=p.bind(null,l.onload),u&&document.head.appendChild(l)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{i.S={};var e={},r={};i.I=(t,n)=>{n||(n=[]);var a=r[t];if(a||(a=r[t]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[t])return e[t];i.o(i.S,t)||(i.S[t]={});var o=i.S[t],l="@kenyaemr/esm-pharmacy-app",u=(e,r,t,n)=>{var a=o[e]=o[e]||{},i=a[r];(!i||!i.loaded&&(!n!=!i.eager?n:l>i.from))&&(a[r]={get:t,from:l,eager:!!n})},s=[];return"default"===t&&(u("@openmrs/esm-framework","5.8.2-pre.2521",(()=>Promise.all([i.e(831),i.e(380)]).then((()=>()=>i(831))))),u("react-i18next","11.18.6",(()=>Promise.all([i.e(126),i.e(380)]).then((()=>()=>i(1126))))),u("react-router-dom","6.26.2",(()=>Promise.all([i.e(144),i.e(913),i.e(380)]).then((()=>()=>i(2913))))),u("react","18.3.1",(()=>i.e(41).then((()=>()=>i(4041))))),u("swr/_internal","2.2.5",(()=>Promise.all([i.e(372),i.e(380)]).then((()=>()=>i(2372))))),u("swr/immutable","2.2.5",(()=>Promise.all([i.e(380),i.e(434),i.e(876)]).then((()=>()=>i(9876)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var r=i.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(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{var e=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},r=e=>{var t=e[0],n="";if(1===e.length)return"*";if(t+.5){n+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var a=1,o=1;o<e.length;o++)a--,n+="u"==(typeof(l=e[o]))[0]?"-":(a>0?".":"")+(a=2,l);return n}var i=[];for(o=1;o<e.length;o++){var l=e[o];i.push(0===l?"not("+u()+")":1===l?"("+u()+" || "+u()+")":2===l?i.pop()+" "+i.pop():r(l))}return u();function u(){return i.pop().replace(/^\((.+)\)$/,"$1")}},t=(r,n)=>{if(0 in r){n=e(n);var a=r[0],o=a<0;o&&(a=-a-1);for(var i=0,l=1,u=!0;;l++,i++){var s,c,f=l<r.length?(typeof r[l])[0]:"";if(i>=n.length||"o"==(c=(typeof(s=n[i]))[0]))return!u||("u"==f?l>a&&!o:""==f!=o);if("u"==c){if(!u||"u"!=f)return!1}else if(u)if(f==c)if(l<=a){if(s!=r[l])return!1}else{if(o?s>r[l]:s<r[l])return!1;s!=r[l]&&(u=!1)}else if("s"!=f&&"n"!=f){if(o||l<=a)return!1;u=!1,l--}else{if(l<=a||c<f!=o)return!1;u=!1}else"s"!=f&&"n"!=f&&(u=!1,l--)}}var p=[],d=p.pop.bind(p);for(i=1;i<r.length;i++){var m=r[i];p.push(1==m?d()|d():2==m?d()&d():m?t(m,n):!d())}return!!d()},n=(r,t,n)=>{var a=n?(e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}))(r[t]):r[t];return Object.keys(a).reduce(((r,t)=>!r||!a[r].loaded&&((r,t)=>{r=e(r),t=e(t);for(var n=0;;){if(n>=r.length)return n<t.length&&"u"!=(typeof t[n])[0];var a=r[n],o=(typeof a)[0];if(n>=t.length)return"u"==o;var i=t[n],l=(typeof i)[0];if(o!=l)return"o"==o&&"n"==l||"s"==l||"u"==o;if("o"!=o&&"u"!=o&&a!=i)return a<i;n++}})(r,t)?t:r),0)},a=(e,r,t)=>t?t():((e,r)=>(e=>{throw new Error(e)})("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),o=(e=>function(r,t,n,a,o){var l=i.I(r);return l&&l.then&&!n?l.then(e.bind(e,r,i.S[r],t,!1,a,o)):e(r,i.S[r],t,n,a,o)})(((e,o,l,u,s,c)=>{if(!((e,r)=>e&&i.o(e,r))(o,l))return a(e,l,c);var f,p,d=n(o,l,u);return t(s,d)||(p=((e,t,n,a)=>"Unsatisfied version "+n+" from "+(n&&e[t][n].from)+" of shared singleton module "+t+" (required "+r(a)+")")(o,l,d,s),"undefined"!=typeof console&&console.warn&&console.warn(p)),(f=o[l][d]).loaded=1,f.get()})),l={},u={5434:()=>o("default","swr/_internal",!1,[1,2],(()=>i.e(372).then((()=>()=>i(2372))))),3150:()=>o("default","react-i18next",!1,[1,11],(()=>i.e(126).then((()=>()=>i(1126))))),8010:()=>o("default","swr/immutable",!1,[1,2],(()=>i.e(495).then((()=>()=>i(9876))))),380:()=>o("default","react",!1,[1,18,1,0],(()=>i.e(41).then((()=>()=>i(4041))))),1083:()=>o("default","@openmrs/esm-framework",!1,[1,5],(()=>i.e(831).then((()=>()=>i(831))))),8877:()=>o("default","react-router-dom",!1,[1,6],(()=>Promise.all([i.e(144),i.e(913)]).then((()=>()=>i(2913)))))};[1083,380,8877].forEach((e=>{i.m[e]=r=>{l[e]=0,delete i.c[e];var t=u[e]();if("function"!=typeof t)throw new Error("Shared module is not available for eager consumption: "+e);r.exports=t()}}));var s={150:[3150],201:[8010],380:[380],434:[5434]},c={};i.f.consumes=(e,r)=>{i.o(s,e)&&s[e].forEach((e=>{if(i.o(l,e))return r.push(l[e]);if(!c[e]){var t=r=>{l[e]=0,i.m[e]=t=>{delete i.c[e],t.exports=r()}};c[e]=!0;var n=r=>{delete l[e],i.m[e]=t=>{throw delete i.c[e],r}};try{var a=u[e]();a.then?r.push(l[e]=a.then(t).catch(n)):t(a)}catch(e){n(e)}}}))}})(),(()=>{var e={792:0,380:0,964:0};i.f.j=(r,t)=>{var n=i.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(150|380|434)$/.test(r))e[r]=0;else{var a=new Promise(((t,a)=>n=e[r]=[t,a]));t.push(n[2]=a);var o=i.p+i.u(r),l=new Error;i.l(o,(t=>{if(i.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;l.message="Loading chunk "+r+" failed.\n("+a+": "+o+")",l.name="ChunkLoadError",l.type=a,l.request=o,n[1](l)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,a,[o,l,u]=t,s=0;if(o.some((r=>0!==e[r]))){for(n in l)i.o(l,n)&&(i.m[n]=l[n]);u&&u(i)}for(r&&r(t);s<o.length;s++)a=o[s],i.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=globalThis.webpackChunk_kenyaemr_esm_pharmacy_app=globalThis.webpackChunk_kenyaemr_esm_pharmacy_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),i.nc=void 0,i(8964)})();
1
+ (()=>{var e,r,t,n,a={8964:(e,r,t)=>{"use strict";var n=t(1083),a=(n.Type.Boolean,n.Type.Array,n.Type.String,(0,n.validator)((function(e){return e.length>0}),"At least one person must be greeted."),n.Type.String,t(4441)),o=t(380),i=t.n(o),l=t(8877);function u(e){var r=e.config,t=r.name,u=r.title,s=(0,l.useLocation)(),c=window.getOpenmrsSpaBase()+"home",f=(0,o.useMemo)((function(){return decodeURIComponent((0,a.A)(s.pathname.split("/")))}),[s.pathname]);return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(f)&&(f=s.pathname.split("/").at(-2)),i().createElement(n.ConfigurableLink,{to:c+"/"+t,className:"cds--side-nav__link ".concat(t===f&&"active-left-nav-link")},u)}var s,c={featureName:"esm-pharmacy-app",moduleName:"@kenyaemr/esm-pharmacy-app"};t(4767),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(144),t.e(487),t.e(767),t.e(157),t.e(434),t.e(150),t.e(201)]).then(t.bind(t,3806))}),c),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(144),t.e(487),t.e(767),t.e(160),t.e(434),t.e(150),t.e(99)]).then(t.bind(t,2099))}),c),(0,n.getAsyncLifecycle)((function(){return Promise.all([t.e(144),t.e(487),t.e(150),t.e(331)]).then(t.bind(t,1331))}),c),(0,n.getSyncLifecycle)((s={name:"pharmacy",title:"Community Pharmacy"},function(){return i().createElement(l.BrowserRouter,null,i().createElement(u,{config:s}))}),c)},4767:(e,r,t)=>{var n={"./en.json":[4300,300]};function a(e){if(!t.o(n,e))return Promise.resolve().then((()=>{var r=new Error("Cannot find module '"+e+"'");throw r.code="MODULE_NOT_FOUND",r}));var r=n[e],a=r[0];return t.e(r[1]).then((()=>t(a)))}a.keys=()=>Object.keys(n),a.id=4767,e.exports=a},4441:(e,r,t)=>{"use strict";t.d(r,{A:()=>n});const n=function(e){var r=null==e?0:e.length;return r?e[r-1]:void 0}}},o={};function i(e){var r=o[e];if(void 0!==r)return r.exports;var t=o[e]={id:e,loaded:!1,exports:{}};return a[e].call(t.exports,t,t.exports,i),t.loaded=!0,t.exports}i.m=a,i.c=o,i.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return i.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.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 a=Object.create(null);i.r(a);var o={};e=e||[null,r({}),r([]),r(r)];for(var l=2&n&&t;"object"==typeof l&&!~e.indexOf(l);l=r(l))Object.getOwnPropertyNames(l).forEach((e=>o[e]=()=>t[e]));return o.default=()=>t,i.d(a,o),a},i.d=(e,r)=>{for(var t in r)i.o(r,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((r,t)=>(i.f[t](e,r),r)),[])),i.u=e=>e+".js",i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@kenyaemr/esm-pharmacy-app:",i.l=(e,r,a,o)=>{if(t[e])t[e].push(r);else{var l,u;if(void 0!==a)for(var s=document.getElementsByTagName("script"),c=0;c<s.length;c++){var f=s[c];if(f.getAttribute("src")==e||f.getAttribute("data-webpack")==n+a){l=f;break}}l||(u=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.setAttribute("data-webpack",n+a),l.src=e),t[e]=[r];var p=(r,n)=>{l.onerror=l.onload=null,clearTimeout(d);var a=t[e];if(delete t[e],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach((e=>e(n))),r)return r(n)},d=setTimeout(p.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=p.bind(null,l.onerror),l.onload=p.bind(null,l.onload),u&&document.head.appendChild(l)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{i.S={};var e={},r={};i.I=(t,n)=>{n||(n=[]);var a=r[t];if(a||(a=r[t]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[t])return e[t];i.o(i.S,t)||(i.S[t]={});var o=i.S[t],l="@kenyaemr/esm-pharmacy-app",u=(e,r,t,n)=>{var a=o[e]=o[e]||{},i=a[r];(!i||!i.loaded&&(!n!=!i.eager?n:l>i.from))&&(a[r]={get:t,from:l,eager:!!n})},s=[];return"default"===t&&(u("@openmrs/esm-framework","5.8.2-pre.2521",(()=>Promise.all([i.e(831),i.e(380)]).then((()=>()=>i(831))))),u("react-i18next","11.18.6",(()=>Promise.all([i.e(126),i.e(380)]).then((()=>()=>i(1126))))),u("react-router-dom","6.26.2",(()=>Promise.all([i.e(144),i.e(913),i.e(380)]).then((()=>()=>i(2913))))),u("react","18.3.1",(()=>i.e(41).then((()=>()=>i(4041))))),u("swr/_internal","2.2.5",(()=>Promise.all([i.e(372),i.e(380)]).then((()=>()=>i(2372))))),u("swr/immutable","2.2.5",(()=>Promise.all([i.e(380),i.e(434),i.e(876)]).then((()=>()=>i(9876)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;i.g.importScripts&&(e=i.g.location+"");var r=i.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(/\/[^\/]+$/,"/"),i.p=e})(),(()=>{var e=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},r=e=>{var t=e[0],n="";if(1===e.length)return"*";if(t+.5){n+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var a=1,o=1;o<e.length;o++)a--,n+="u"==(typeof(l=e[o]))[0]?"-":(a>0?".":"")+(a=2,l);return n}var i=[];for(o=1;o<e.length;o++){var l=e[o];i.push(0===l?"not("+u()+")":1===l?"("+u()+" || "+u()+")":2===l?i.pop()+" "+i.pop():r(l))}return u();function u(){return i.pop().replace(/^\((.+)\)$/,"$1")}},t=(r,n)=>{if(0 in r){n=e(n);var a=r[0],o=a<0;o&&(a=-a-1);for(var i=0,l=1,u=!0;;l++,i++){var s,c,f=l<r.length?(typeof r[l])[0]:"";if(i>=n.length||"o"==(c=(typeof(s=n[i]))[0]))return!u||("u"==f?l>a&&!o:""==f!=o);if("u"==c){if(!u||"u"!=f)return!1}else if(u)if(f==c)if(l<=a){if(s!=r[l])return!1}else{if(o?s>r[l]:s<r[l])return!1;s!=r[l]&&(u=!1)}else if("s"!=f&&"n"!=f){if(o||l<=a)return!1;u=!1,l--}else{if(l<=a||c<f!=o)return!1;u=!1}else"s"!=f&&"n"!=f&&(u=!1,l--)}}var p=[],d=p.pop.bind(p);for(i=1;i<r.length;i++){var m=r[i];p.push(1==m?d()|d():2==m?d()&d():m?t(m,n):!d())}return!!d()},n=(r,t,n)=>{var a=n?(e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}))(r[t]):r[t];return Object.keys(a).reduce(((r,t)=>!r||!a[r].loaded&&((r,t)=>{r=e(r),t=e(t);for(var n=0;;){if(n>=r.length)return n<t.length&&"u"!=(typeof t[n])[0];var a=r[n],o=(typeof a)[0];if(n>=t.length)return"u"==o;var i=t[n],l=(typeof i)[0];if(o!=l)return"o"==o&&"n"==l||"s"==l||"u"==o;if("o"!=o&&"u"!=o&&a!=i)return a<i;n++}})(r,t)?t:r),0)},a=(e,r,t)=>t?t():((e,r)=>(e=>{throw new Error(e)})("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),o=(e=>function(r,t,n,a,o){var l=i.I(r);return l&&l.then&&!n?l.then(e.bind(e,r,i.S[r],t,!1,a,o)):e(r,i.S[r],t,n,a,o)})(((e,o,l,u,s,c)=>{if(!((e,r)=>e&&i.o(e,r))(o,l))return a(e,l,c);var f,p,d=n(o,l,u);return t(s,d)||(p=((e,t,n,a)=>"Unsatisfied version "+n+" from "+(n&&e[t][n].from)+" of shared singleton module "+t+" (required "+r(a)+")")(o,l,d,s),"undefined"!=typeof console&&console.warn&&console.warn(p)),(f=o[l][d]).loaded=1,f.get()})),l={},u={5434:()=>o("default","swr/_internal",!1,[1,2],(()=>i.e(372).then((()=>()=>i(2372))))),3150:()=>o("default","react-i18next",!1,[1,11],(()=>i.e(126).then((()=>()=>i(1126))))),8010:()=>o("default","swr/immutable",!1,[1,2],(()=>i.e(495).then((()=>()=>i(9876))))),380:()=>o("default","react",!1,[1,18,1,0],(()=>i.e(41).then((()=>()=>i(4041))))),1083:()=>o("default","@openmrs/esm-framework",!1,[1,5],(()=>i.e(831).then((()=>()=>i(831))))),8877:()=>o("default","react-router-dom",!1,[1,6],(()=>Promise.all([i.e(144),i.e(913)]).then((()=>()=>i(2913)))))};[1083,380,8877].forEach((e=>{i.m[e]=r=>{l[e]=0,delete i.c[e];var t=u[e]();if("function"!=typeof t)throw new Error("Shared module is not available for eager consumption: "+e);r.exports=t()}}));var s={150:[3150],201:[8010],380:[380],434:[5434]},c={};i.f.consumes=(e,r)=>{i.o(s,e)&&s[e].forEach((e=>{if(i.o(l,e))return r.push(l[e]);if(!c[e]){var t=r=>{l[e]=0,i.m[e]=t=>{delete i.c[e],t.exports=r()}};c[e]=!0;var n=r=>{delete l[e],i.m[e]=t=>{throw delete i.c[e],r}};try{var a=u[e]();a.then?r.push(l[e]=a.then(t).catch(n)):t(a)}catch(e){n(e)}}}))}})(),(()=>{var e={792:0,380:0,964:0};i.f.j=(r,t)=>{var n=i.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(150|380|434)$/.test(r))e[r]=0;else{var a=new Promise(((t,a)=>n=e[r]=[t,a]));t.push(n[2]=a);var o=i.p+i.u(r),l=new Error;i.l(o,(t=>{if(i.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;l.message="Loading chunk "+r+" failed.\n("+a+": "+o+")",l.name="ChunkLoadError",l.type=a,l.request=o,n[1](l)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,a,[o,l,u]=t,s=0;if(o.some((r=>0!==e[r]))){for(n in l)i.o(l,n)&&(i.m[n]=l[n]);u&&u(i)}for(r&&r(t);s<o.length;s++)a=o[s],i.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=globalThis.webpackChunk_kenyaemr_esm_pharmacy_app=globalThis.webpackChunk_kenyaemr_esm_pharmacy_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),i.nc=void 0,i(8964)})();
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":"^2.24.0"},"extensions":[{"component":"pharmacyDashboardLink","name":"pharmacy-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"pharmacy","title":"pharmacy","slot":"pharmacy-dashboard-slot"}},{"component":"root","name":"pharmacy-dashboard-root","slot":"pharmacy-dashboard-slot"},{"name":"pharmacy-assignment-form","component":"pharmacyAssignmentForm"},{"name":"pharmacy-delete-confirm-dialog","component":"pharmacyDeleteConfirmDialog"}],"pages":[{"component":"root","route":"pharmacy"}],"version":"5.3.8-pre.1587"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"fhir2":">=1.2","webservices.rest":"^2.24.0"},"extensions":[{"component":"pharmacyDashboardLink","name":"pharmacy-dashboard-link","slot":"homepage-dashboard-slot","meta":{"name":"pharmacy","title":"pharmacy","slot":"pharmacy-dashboard-slot"}},{"component":"root","name":"pharmacy-dashboard-root","slot":"pharmacy-dashboard-slot"},{"name":"pharmacy-assignment-form","component":"pharmacyAssignmentForm"},{"name":"pharmacy-delete-confirm-dialog","component":"pharmacyDeleteConfirmDialog"}],"pages":[{"component":"root","route":"pharmacy"}],"version":"5.3.8-pre.1596"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kenyaemr/esm-pharmacy-app",
3
- "version": "5.3.8-pre.1587",
3
+ "version": "5.3.8-pre.1596",
4
4
  "description": "pharmacy app for KenyaEMR",
5
5
  "browser": "dist/kenyaemr-esm-pharmacy-app.js",
6
6
  "main": "src/index.ts",
@@ -37,7 +37,7 @@
37
37
  "url": "https://github.com/palladiumkenya/kenyaemr-esm-core/issues"
38
38
  },
39
39
  "dependencies": {
40
- "@carbon/react": "^1.42.1",
40
+ "@carbon/react": "^1.72.0",
41
41
  "lodash-es": "^4.17.15",
42
42
  "react-to-print": "^2.14.13"
43
43
  },