@openmrs/esm-patient-lists-app 7.0.2-pre.3770 → 7.0.2-pre.3779

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.
@@ -19,8 +19,8 @@ built modules 3.36 MiB (javascript) 336 bytes (consume-shared) 294 bytes (share-
19
19
  modules by path ../ 3.31 MiB
20
20
  modules by path ../../node_modules/ 3.2 MiB 76 modules
21
21
  modules by path ../esm-patient-common-lib/src/ 114 KiB 6 modules
22
- modules by path ./ 55.3 KiB
23
- modules by path ./translations/ 5.51 KiB 10 modules
22
+ modules by path ./ 55 KiB
23
+ modules by path ./translations/ 5.15 KiB 10 modules
24
24
  modules by path ./src/ 49.8 KiB 7 modules
25
25
  consume-shared-module modules 336 bytes 8 modules
26
26
  provide-module modules 294 bytes
@@ -35,4 +35,4 @@ Assets:
35
35
  130.js (452 KiB)
36
36
  242.js (264 KiB)
37
37
 
38
- webpack 5.89.0 compiled with 1 warning in 65124 ms
38
+ webpack 5.89.0 compiled with 1 warning in 58956 ms
package/dist/271.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_lists_app=globalThis.webpackChunk_openmrs_esm_patient_lists_app||[]).push([[271],{8271:t=>{t.exports=JSON.parse('{"backToPatientLists":"Back to patient lists","checkFilters":"Check the filters above","createdOn":"Created on","identifier":"Identifier","listName":"List name","listType":"List type","name":"Name","noMatchingListsFound":"No matching lists to display","noMatchingPatients":"No matching patients to display","noPatientListsToDisplay":"No patient lists to display","noPatientsInList":"There are no patients in this list","numberOfPatients":"No. of patients","patientLists":"Patient lists","patients":"patients","searchThisList":"Search this list","sex":"Sex","startDate":"Start Date"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_lists_app=globalThis.webpackChunk_openmrs_esm_patient_lists_app||[]).push([[271],{8271:t=>{t.exports=JSON.parse('{"backToPatientLists":"返回患者列表","checkFilters":"检查上方的筛选条件","createdOn":"创建于","identifier":"ID标识","listName":"列表名称","listType":"列表类型","name":"姓名","noMatchingListsFound":"没有匹配的列表可显示","noMatchingPatients":"没有匹配的患者可显示","noPatientListsToDisplay":"没有患者列表可显示","noPatientsInList":"该列表中没有患者","numberOfPatients":"患者数量","patientLists":"患者列表","patients":"患者","searchThisList":"搜索此列表","sex":"性别","startDate":"开始日期"}')}}]);
package/dist/644.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_lists_app=globalThis.webpackChunk_openmrs_esm_patient_lists_app||[]).push([[644],{1644:t=>{t.exports=JSON.parse('{"backToPatientLists":"Back to patient lists","checkFilters":"Check the filters above","createdOn":"Created on","identifier":"Identifier","listName":"List name","listType":"List type","name":"Name","noMatchingListsFound":"No matching lists to display","noMatchingPatients":"No matching patients to display","noPatientListsToDisplay":"No patient lists to display","noPatientsInList":"There are no patients in this list","numberOfPatients":"No. of patients","patientLists":"Patient lists","patients":"patients","searchThisList":"Search this list","sex":"Sex","startDate":"Start Date"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_lists_app=globalThis.webpackChunk_openmrs_esm_patient_lists_app||[]).push([[644],{1644:t=>{t.exports=JSON.parse('{"backToPatientLists":"返回患者列表","checkFilters":"检查上方的筛选条件","createdOn":"创建于","identifier":"ID标识","listName":"列表名称","listType":"列表类型","name":"姓名","noMatchingListsFound":"没有匹配的列表可显示","noMatchingPatients":"没有匹配的患者可显示","noPatientListsToDisplay":"没有患者列表可显示","noPatientsInList":"该列表中没有患者","numberOfPatients":"患者数量","patientLists":"患者列表","patients":"患者","searchThisList":"搜索此列表","sex":"性别","startDate":"开始日期"}')}}]);
package/dist/main.js CHANGED
@@ -1 +1 @@
1
- (()=>{var e,t,r={5362:(e,t,r)=>{"use strict";r.d(t,{jj:()=>l,zW:()=>u});var n,o,a=r(268),i=r.n(a),s=r(542);const l=i().forwardRef((function(e,t){let{children:r,size:o=16,...a}=e;return i().createElement(s.I,{width:o,height:o,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},n||(n=i().createElement("path",{d:"M2,16H2A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm23.15,7.75L8.25,6.85a12,12,0,0,1,16.9,16.9ZM8.24,25.16A12,12,0,0,1,6.84,8.27L23.73,25.16a12,12,0,0,1-15.49,0Z"})),r)})),u=i().forwardRef((function(e,t){let{children:r,size:n=16,...a}=e;return i().createElement(s.I,{width:n,height:n,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},o||(o=i().createElement("path",{d:"M26 14H24v2h2a3.0033 3.0033 0 013 3v4h2V19A5.0058 5.0058 0 0026 14zM24 4a3 3 0 11-3 3 3 3 0 013-3m0-2a5 5 0 105 5A5 5 0 0024 2zM23 30H21V28a3.0033 3.0033 0 00-3-3H14a3.0033 3.0033 0 00-3 3v2H9V28a5.0059 5.0059 0 015-5h4a5.0059 5.0059 0 015 5zM16 13a3 3 0 11-3 3 3 3 0 013-3m0-2a5 5 0 105 5A5 5 0 0016 11zM8 14H6a5.0059 5.0059 0 00-5 5v4H3V19a3.0033 3.0033 0 013-3H8zM8 4A3 3 0 115 7 3 3 0 018 4M8 2a5 5 0 105 5A5 5 0 008 2z"})),r)}))},542:(e,t,r)=>{"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}r.d(t,{I:()=>h});var s=["width","height","viewBox"],l=["tabindex"],u={focusable:"false",preserveAspectRatio:"xMidYMid meet"};var c=r(3980),p=r.n(c),f=r(268),d=r.n(f);const h=d().forwardRef((function(e,t){let{className:r,children:n,tabIndex:a,...c}=e;const{tabindex:p,...f}=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,r=e.height,n=e.viewBox,a=void 0===n?"0 0 ".concat(t," ").concat(r):n,c=i(e,s),p=c.tabindex,f=i(c,l),d=o(o(o({},u),f),{},{width:t,height:r,viewBox:a});return d["aria-label"]||d["aria-labelledby"]||d.title?(d.role="img",null!=p&&(d.focusable="true",d.tabindex=p)):d["aria-hidden"]=!0,d}({...c,tabindex:a});return r&&(f.className=r),null!=p&&(f.tabIndex=p),t&&(f.ref=t),d().createElement("svg",f,n)}));h.displayName="Icon",h.propTypes={"aria-hidden":p().string,"aria-label":p().string,"aria-labelledby":p().string,children:p().node,className:p().string,height:p().oneOfType([p().number,p().string]),preserveAspectRatio:p().string,tabIndex:p().string,viewBox:p().string,width:p().oneOfType([p().number,p().string]),xmlns:p().string},h.defaultProps={xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet"},p().oneOfType([p().number,p().string])},8262:(e,t,r)=>{"use strict";var n=r(3586);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return r.PropTypes=r,r}},3980:(e,t,r)=>{e.exports=r(8262)()},3586:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1325:(e,t,r)=>{"use strict";var n=r(2870),o=r(2821),a=r(268),i=r.n(a),s=r(4924),l=r(5362),u=function(){return(0,o.launchPatientWorkspace)("patient-lists")};var c={featureName:"patient-lists",moduleName:"@openmrs/esm-patient-lists-app"};r(3979),(0,n.getSyncLifecycle)((function(){var e=(0,s.useTranslation)().t;return i().createElement(o.SiderailNavButton,{name:"patient-lists-action-menu",getIcon:function(e){return i().createElement(l.zW,e)},label:e("patientLists","Patient lists"),iconDescription:e("patientLists","Patient lists"),handler:u,type:"patient-lists"})}),c),(0,n.getAsyncLifecycle)((function(){return Promise.all([r.e(255),r.e(242),r.e(806),r.e(205)]).then(r.bind(r,5205))}),c)},3979:(e,t,r)=>{var n={"./am.json":[8788,788],"./ar.json":[4460,460],"./en.json":[3574,574],"./es.json":[8319,319],"./fr.json":[2757,757],"./he.json":[5833,833],"./km.json":[7807,807],"./zh.json":[8271,271],"./zh_CN.json":[1644,644]};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}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={id:e,loaded:!1,exports:{}};return r[e].call(a.exports,a,a.exports,o),a.loaded=!0,a.exports}o.m=r,o.c=n,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,r)=>(o.f[r](e,t),t)),[])),o.u=e=>e+".js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="@openmrs/esm-patient-lists-app:",o.l=(r,n,a,i)=>{if(e[r])e[r].push(n);else{var s,l;if(void 0!==a)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var p=u[c];if(p.getAttribute("src")==r||p.getAttribute("data-webpack")==t+a){s=p;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",t+a),s.src=r),e[r]=[n];var f=(t,n)=>{s.onerror=s.onload=null,clearTimeout(d);var o=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(n))),t)return t(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),l&&document.head.appendChild(s)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{o.S={};var e={},t={};o.I=(r,n)=>{n||(n=[]);var a=t[r];if(a||(a=t[r]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[r])return e[r];o.o(o.S,r)||(o.S[r]={});var i=o.S[r],s="@openmrs/esm-patient-lists-app",l=(e,t,r,n)=>{var o=i[e]=i[e]||{},a=o[t];(!a||!a.loaded&&(!n!=!a.eager?n:s>a.from))&&(o[t]={get:r,from:s,eager:!!n})},u=[];return"default"===r&&(l("@openmrs/esm-framework","5.3.3-pre.1477",(()=>Promise.all([o.e(130),o.e(268)]).then((()=>()=>o(130))))),l("@openmrs/esm-patient-common-lib","7.0.2-pre.3770",(()=>Promise.all([o.e(255),o.e(242),o.e(362),o.e(614),o.e(268),o.e(806),o.e(738),o.e(383),o.e(821)]).then((()=>()=>o(4738))))),l("react-i18next","11.18.6",(()=>Promise.all([o.e(553),o.e(268)]).then((()=>()=>o(9553))))),l("react-router-dom","6.16.0",(()=>Promise.all([o.e(591),o.e(268)]).then((()=>()=>o(6591))))),l("react","18.2.0",(()=>o.e(784).then((()=>()=>o(2784))))),l("swr/_internal","2.2.4",(()=>Promise.all([o.e(729),o.e(268)]).then((()=>()=>o(4729))))),l("swr/immutable","2.2.4",(()=>Promise.all([o.e(255),o.e(268),o.e(806),o.e(303)]).then((()=>()=>o(2303)))))),e[r]=u.length?Promise.all(u).then((()=>e[r]=1)):1}}})(),(()=>{var e;o.g.importScripts&&(e=o.g.location+"");var t=o.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&!e;)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e})(),(()=>{var e=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=r[1]?t(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,t(r[2]))),r[3]&&(n.push([]),n.push.apply(n,t(r[3]))),n},t=e=>{var r=e[0],n="";if(1===e.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var o=1,a=1;a<e.length;a++)o--,n+="u"==(typeof(s=e[a]))[0]?"-":(o>0?".":"")+(o=2,s);return n}var i=[];for(a=1;a<e.length;a++){var s=e[a];i.push(0===s?"not("+l()+")":1===s?"("+l()+" || "+l()+")":2===s?i.pop()+" "+i.pop():t(s))}return l();function l(){return i.pop().replace(/^\((.+)\)$/,"$1")}},r=(t,n)=>{if(0 in t){n=e(n);var o=t[0],a=o<0;a&&(o=-o-1);for(var i=0,s=1,l=!0;;s++,i++){var u,c,p=s<t.length?(typeof t[s])[0]:"";if(i>=n.length||"o"==(c=(typeof(u=n[i]))[0]))return!l||("u"==p?s>o&&!a:""==p!=a);if("u"==c){if(!l||"u"!=p)return!1}else if(l)if(p==c)if(s<=o){if(u!=t[s])return!1}else{if(a?u>t[s]:u<t[s])return!1;u!=t[s]&&(l=!1)}else if("s"!=p&&"n"!=p){if(a||s<=o)return!1;l=!1,s--}else{if(s<=o||c<p!=a)return!1;l=!1}else"s"!=p&&"n"!=p&&(l=!1,s--)}}var f=[],d=f.pop.bind(f);for(i=1;i<t.length;i++){var h=t[i];f.push(1==h?d()|d():2==h?d()&d():h?r(h,n):!d())}return!!d()},n=(t,r)=>{var n=t[r];return Object.keys(n).reduce(((t,r)=>!t||!n[t].loaded&&((t,r)=>{t=e(t),r=e(r);for(var n=0;;){if(n>=t.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=t[n],a=(typeof o)[0];if(n>=r.length)return"u"==a;var i=r[n],s=(typeof i)[0];if(a!=s)return"o"==a&&"n"==s||"s"==s||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}})(t,r)?r:t),0)},a=(e,o,a,l)=>{var u=n(e,a);return r(l,u)||i(((e,r,n,o)=>"Unsatisfied version "+n+" from "+(n&&e[r][n].from)+" of shared singleton module "+r+" (required "+t(o)+")")(e,a,u,l)),s(e[a][u])},i=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},s=e=>(e.loaded=1,e.get()),l=e=>function(t,r,n,a){var i=o.I(t);return i&&i.then?i.then(e.bind(e,t,o.S[t],r,n,a)):e(t,o.S[t],r,n,a)},u=l(((e,t,r,a)=>t&&o.o(t,r)?((e,t,r,o)=>{var a=n(e,r);return s(e[r][a])})(t,0,r):a())),c=l(((e,t,r,n,i)=>t&&o.o(t,r)?a(t,0,r,n):i())),p={},f={3325:()=>c("default","swr/_internal",[1,2],(()=>o.e(729).then((()=>()=>o(4729))))),6081:()=>u("default","@openmrs/esm-framework/src/internal",(()=>o.e(130).then((()=>()=>o(130))))),8744:()=>c("default","react-router-dom",[1,6],(()=>o.e(591).then((()=>()=>o(6591))))),9198:()=>c("default","swr/immutable",[1,2],(()=>o.e(152).then((()=>()=>o(2303))))),268:()=>c("default","react",[1,18],(()=>o.e(784).then((()=>()=>o(2784))))),2870:()=>c("default","@openmrs/esm-framework",[1,5],(()=>o.e(130).then((()=>()=>o(130))))),4924:()=>c("default","react-i18next",[1,11],(()=>o.e(553).then((()=>()=>o(9553))))),2821:()=>c("default","@openmrs/esm-patient-common-lib",[1,7],(()=>Promise.all([o.e(255),o.e(242),o.e(614),o.e(806),o.e(738)]).then((()=>()=>o(4738)))))};[2870,2821,268,4924].forEach((e=>{o.m[e]=t=>{p[e]=0,delete o.c[e];var r=f[e]();if("function"!=typeof r)throw new Error("Shared module is not available for eager consumption: "+e);t.exports=r()}}));var d={268:[268],383:[2870,4924],738:[6081,8744,9198],806:[3325],821:[2821]};o.f.consumes=(e,t)=>{o.o(d,e)&&d[e].forEach((e=>{if(o.o(p,e))return t.push(p[e]);var r=t=>{p[e]=0,o.m[e]=r=>{delete o.c[e],r.exports=t()}},n=t=>{delete p[e],o.m[e]=r=>{throw delete o.c[e],t}};try{var a=f[e]();a.then?t.push(p[e]=a.then(r).catch(n)):r(a)}catch(e){n(e)}}))}})(),(()=>{var e={179:0,821:0,268:0,325:0,362:0,383:0};o.f.j=(t,r)=>{var n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(268|383|806|821)$/.test(t))e[t]=0;else{var a=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=a);var i=o.p+o.u(t),s=new Error;o.l(i,(r=>{if(o.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",s.name="ChunkLoadError",s.type=a,s.request=i,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,a,[i,s,l]=r,u=0;if(i.some((t=>0!==e[t]))){for(n in s)o.o(s,n)&&(o.m[n]=s[n]);l&&l(o)}for(t&&t(r);u<i.length;u++)a=i[u],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=globalThis.webpackChunk_openmrs_esm_patient_lists_app=globalThis.webpackChunk_openmrs_esm_patient_lists_app||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),o.nc=void 0,o(1325)})();
1
+ (()=>{var e,t,r={5362:(e,t,r)=>{"use strict";r.d(t,{jj:()=>l,zW:()=>u});var n,o,a=r(268),i=r.n(a),s=r(542);const l=i().forwardRef((function(e,t){let{children:r,size:o=16,...a}=e;return i().createElement(s.I,{width:o,height:o,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},n||(n=i().createElement("path",{d:"M2,16H2A14,14,0,1,0,16,2,14,14,0,0,0,2,16Zm23.15,7.75L8.25,6.85a12,12,0,0,1,16.9,16.9ZM8.24,25.16A12,12,0,0,1,6.84,8.27L23.73,25.16a12,12,0,0,1-15.49,0Z"})),r)})),u=i().forwardRef((function(e,t){let{children:r,size:n=16,...a}=e;return i().createElement(s.I,{width:n,height:n,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...a},o||(o=i().createElement("path",{d:"M26 14H24v2h2a3.0033 3.0033 0 013 3v4h2V19A5.0058 5.0058 0 0026 14zM24 4a3 3 0 11-3 3 3 3 0 013-3m0-2a5 5 0 105 5A5 5 0 0024 2zM23 30H21V28a3.0033 3.0033 0 00-3-3H14a3.0033 3.0033 0 00-3 3v2H9V28a5.0059 5.0059 0 015-5h4a5.0059 5.0059 0 015 5zM16 13a3 3 0 11-3 3 3 3 0 013-3m0-2a5 5 0 105 5A5 5 0 0016 11zM8 14H6a5.0059 5.0059 0 00-5 5v4H3V19a3.0033 3.0033 0 013-3H8zM8 4A3 3 0 115 7 3 3 0 018 4M8 2a5 5 0 105 5A5 5 0 008 2z"})),r)}))},542:(e,t,r)=>{"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}r.d(t,{I:()=>h});var s=["width","height","viewBox"],l=["tabindex"],u={focusable:"false",preserveAspectRatio:"xMidYMid meet"};var c=r(3980),p=r.n(c),f=r(268),d=r.n(f);const h=d().forwardRef((function(e,t){let{className:r,children:n,tabIndex:a,...c}=e;const{tabindex:p,...f}=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,r=e.height,n=e.viewBox,a=void 0===n?"0 0 ".concat(t," ").concat(r):n,c=i(e,s),p=c.tabindex,f=i(c,l),d=o(o(o({},u),f),{},{width:t,height:r,viewBox:a});return d["aria-label"]||d["aria-labelledby"]||d.title?(d.role="img",null!=p&&(d.focusable="true",d.tabindex=p)):d["aria-hidden"]=!0,d}({...c,tabindex:a});return r&&(f.className=r),null!=p&&(f.tabIndex=p),t&&(f.ref=t),d().createElement("svg",f,n)}));h.displayName="Icon",h.propTypes={"aria-hidden":p().string,"aria-label":p().string,"aria-labelledby":p().string,children:p().node,className:p().string,height:p().oneOfType([p().number,p().string]),preserveAspectRatio:p().string,tabIndex:p().string,viewBox:p().string,width:p().oneOfType([p().number,p().string]),xmlns:p().string},h.defaultProps={xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet"},p().oneOfType([p().number,p().string])},8262:(e,t,r)=>{"use strict";var n=r(3586);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return r.PropTypes=r,r}},3980:(e,t,r)=>{e.exports=r(8262)()},3586:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},1325:(e,t,r)=>{"use strict";var n=r(2870),o=r(2821),a=r(268),i=r.n(a),s=r(4924),l=r(5362),u=function(){return(0,o.launchPatientWorkspace)("patient-lists")};var c={featureName:"patient-lists",moduleName:"@openmrs/esm-patient-lists-app"};r(3979),(0,n.getSyncLifecycle)((function(){var e=(0,s.useTranslation)().t;return i().createElement(o.SiderailNavButton,{name:"patient-lists-action-menu",getIcon:function(e){return i().createElement(l.zW,e)},label:e("patientLists","Patient lists"),iconDescription:e("patientLists","Patient lists"),handler:u,type:"patient-lists"})}),c),(0,n.getAsyncLifecycle)((function(){return Promise.all([r.e(255),r.e(242),r.e(806),r.e(205)]).then(r.bind(r,5205))}),c)},3979:(e,t,r)=>{var n={"./am.json":[8788,788],"./ar.json":[4460,460],"./en.json":[3574,574],"./es.json":[8319,319],"./fr.json":[2757,757],"./he.json":[5833,833],"./km.json":[7807,807],"./zh.json":[8271,271],"./zh_CN.json":[1644,644]};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}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={id:e,loaded:!1,exports:{}};return r[e].call(a.exports,a,a.exports,o),a.loaded=!0,a.exports}o.m=r,o.c=n,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((t,r)=>(o.f[r](e,t),t)),[])),o.u=e=>e+".js",o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="@openmrs/esm-patient-lists-app:",o.l=(r,n,a,i)=>{if(e[r])e[r].push(n);else{var s,l;if(void 0!==a)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var p=u[c];if(p.getAttribute("src")==r||p.getAttribute("data-webpack")==t+a){s=p;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.setAttribute("data-webpack",t+a),s.src=r),e[r]=[n];var f=(t,n)=>{s.onerror=s.onload=null,clearTimeout(d);var o=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach((e=>e(n))),t)return t(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=f.bind(null,s.onerror),s.onload=f.bind(null,s.onload),l&&document.head.appendChild(s)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{o.S={};var e={},t={};o.I=(r,n)=>{n||(n=[]);var a=t[r];if(a||(a=t[r]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[r])return e[r];o.o(o.S,r)||(o.S[r]={});var i=o.S[r],s="@openmrs/esm-patient-lists-app",l=(e,t,r,n)=>{var o=i[e]=i[e]||{},a=o[t];(!a||!a.loaded&&(!n!=!a.eager?n:s>a.from))&&(o[t]={get:r,from:s,eager:!!n})},u=[];return"default"===r&&(l("@openmrs/esm-framework","5.3.3-pre.1477",(()=>Promise.all([o.e(130),o.e(268)]).then((()=>()=>o(130))))),l("@openmrs/esm-patient-common-lib","7.0.2-pre.3779",(()=>Promise.all([o.e(255),o.e(242),o.e(362),o.e(614),o.e(268),o.e(806),o.e(738),o.e(383),o.e(821)]).then((()=>()=>o(4738))))),l("react-i18next","11.18.6",(()=>Promise.all([o.e(553),o.e(268)]).then((()=>()=>o(9553))))),l("react-router-dom","6.16.0",(()=>Promise.all([o.e(591),o.e(268)]).then((()=>()=>o(6591))))),l("react","18.2.0",(()=>o.e(784).then((()=>()=>o(2784))))),l("swr/_internal","2.2.4",(()=>Promise.all([o.e(729),o.e(268)]).then((()=>()=>o(4729))))),l("swr/immutable","2.2.4",(()=>Promise.all([o.e(255),o.e(268),o.e(806),o.e(303)]).then((()=>()=>o(2303)))))),e[r]=u.length?Promise.all(u).then((()=>e[r]=1)):1}}})(),(()=>{var e;o.g.importScripts&&(e=o.g.location+"");var t=o.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&!e;)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),o.p=e})(),(()=>{var e=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=r[1]?t(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,t(r[2]))),r[3]&&(n.push([]),n.push.apply(n,t(r[3]))),n},t=e=>{var r=e[0],n="";if(1===e.length)return"*";if(r+.5){n+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var o=1,a=1;a<e.length;a++)o--,n+="u"==(typeof(s=e[a]))[0]?"-":(o>0?".":"")+(o=2,s);return n}var i=[];for(a=1;a<e.length;a++){var s=e[a];i.push(0===s?"not("+l()+")":1===s?"("+l()+" || "+l()+")":2===s?i.pop()+" "+i.pop():t(s))}return l();function l(){return i.pop().replace(/^\((.+)\)$/,"$1")}},r=(t,n)=>{if(0 in t){n=e(n);var o=t[0],a=o<0;a&&(o=-o-1);for(var i=0,s=1,l=!0;;s++,i++){var u,c,p=s<t.length?(typeof t[s])[0]:"";if(i>=n.length||"o"==(c=(typeof(u=n[i]))[0]))return!l||("u"==p?s>o&&!a:""==p!=a);if("u"==c){if(!l||"u"!=p)return!1}else if(l)if(p==c)if(s<=o){if(u!=t[s])return!1}else{if(a?u>t[s]:u<t[s])return!1;u!=t[s]&&(l=!1)}else if("s"!=p&&"n"!=p){if(a||s<=o)return!1;l=!1,s--}else{if(s<=o||c<p!=a)return!1;l=!1}else"s"!=p&&"n"!=p&&(l=!1,s--)}}var f=[],d=f.pop.bind(f);for(i=1;i<t.length;i++){var h=t[i];f.push(1==h?d()|d():2==h?d()&d():h?r(h,n):!d())}return!!d()},n=(t,r)=>{var n=t[r];return Object.keys(n).reduce(((t,r)=>!t||!n[t].loaded&&((t,r)=>{t=e(t),r=e(r);for(var n=0;;){if(n>=t.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=t[n],a=(typeof o)[0];if(n>=r.length)return"u"==a;var i=r[n],s=(typeof i)[0];if(a!=s)return"o"==a&&"n"==s||"s"==s||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}})(t,r)?r:t),0)},a=(e,o,a,l)=>{var u=n(e,a);return r(l,u)||i(((e,r,n,o)=>"Unsatisfied version "+n+" from "+(n&&e[r][n].from)+" of shared singleton module "+r+" (required "+t(o)+")")(e,a,u,l)),s(e[a][u])},i=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},s=e=>(e.loaded=1,e.get()),l=e=>function(t,r,n,a){var i=o.I(t);return i&&i.then?i.then(e.bind(e,t,o.S[t],r,n,a)):e(t,o.S[t],r,n,a)},u=l(((e,t,r,a)=>t&&o.o(t,r)?((e,t,r,o)=>{var a=n(e,r);return s(e[r][a])})(t,0,r):a())),c=l(((e,t,r,n,i)=>t&&o.o(t,r)?a(t,0,r,n):i())),p={},f={3325:()=>c("default","swr/_internal",[1,2],(()=>o.e(729).then((()=>()=>o(4729))))),6081:()=>u("default","@openmrs/esm-framework/src/internal",(()=>o.e(130).then((()=>()=>o(130))))),8744:()=>c("default","react-router-dom",[1,6],(()=>o.e(591).then((()=>()=>o(6591))))),9198:()=>c("default","swr/immutable",[1,2],(()=>o.e(152).then((()=>()=>o(2303))))),268:()=>c("default","react",[1,18],(()=>o.e(784).then((()=>()=>o(2784))))),2870:()=>c("default","@openmrs/esm-framework",[1,5],(()=>o.e(130).then((()=>()=>o(130))))),4924:()=>c("default","react-i18next",[1,11],(()=>o.e(553).then((()=>()=>o(9553))))),2821:()=>c("default","@openmrs/esm-patient-common-lib",[1,7],(()=>Promise.all([o.e(255),o.e(242),o.e(614),o.e(806),o.e(738)]).then((()=>()=>o(4738)))))};[2870,2821,268,4924].forEach((e=>{o.m[e]=t=>{p[e]=0,delete o.c[e];var r=f[e]();if("function"!=typeof r)throw new Error("Shared module is not available for eager consumption: "+e);t.exports=r()}}));var d={268:[268],383:[2870,4924],738:[6081,8744,9198],806:[3325],821:[2821]};o.f.consumes=(e,t)=>{o.o(d,e)&&d[e].forEach((e=>{if(o.o(p,e))return t.push(p[e]);var r=t=>{p[e]=0,o.m[e]=r=>{delete o.c[e],r.exports=t()}},n=t=>{delete p[e],o.m[e]=r=>{throw delete o.c[e],t}};try{var a=f[e]();a.then?t.push(p[e]=a.then(r).catch(n)):r(a)}catch(e){n(e)}}))}})(),(()=>{var e={179:0,821:0,268:0,325:0,362:0,383:0};o.f.j=(t,r)=>{var n=o.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(268|383|806|821)$/.test(t))e[t]=0;else{var a=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=a);var i=o.p+o.u(t),s=new Error;o.l(i,(r=>{if(o.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+a+": "+i+")",s.name="ChunkLoadError",s.type=a,s.request=i,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,a,[i,s,l]=r,u=0;if(i.some((t=>0!==e[t]))){for(n in s)o.o(s,n)&&(o.m[n]=s[n]);l&&l(o)}for(t&&t(r);u<i.length;u++)a=i[u],o.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=globalThis.webpackChunk_openmrs_esm_patient_lists_app=globalThis.webpackChunk_openmrs_esm_patient_lists_app||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),o.nc=void 0,o(1325)})();
@@ -1 +1 @@
1
- var _openmrs_esm_patient_lists_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,s,u,p,f,d,c,h,m,v,g,b={9080:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(362),t.e(268),t.e(383),t.e(325)]).then((()=>()=>t(1325)))},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})}},y={};function w(e){var r=y[e];if(void 0!==r)return r.exports;var t=y[e]={id:e,loaded:!1,exports:{}};return b[e].call(t.exports,t,t.exports,w),t.loaded=!0,t.exports}w.m=b,w.c=y,w.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return w.d(r,{a:r}),r},w.d=(e,r)=>{for(var t in r)w.o(r,t)&&!w.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},w.f={},w.e=e=>Promise.all(Object.keys(w.f).reduce(((r,t)=>(w.f[t](e,r),r)),[])),w.u=e=>e+".js",w.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),w.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@openmrs/esm-patient-lists-app:",w.l=(t,n,o,a)=>{if(e[t])e[t].push(n);else{var i,l;if(void 0!==o)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var p=s[u];if(p.getAttribute("src")==t||p.getAttribute("data-webpack")==r+o){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,w.nc&&i.setAttribute("nonce",w.nc),i.setAttribute("data-webpack",r+o),i.src=t),e[t]=[n];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},w.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},w.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{w.S={};var e={},r={};w.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];w.o(w.S,t)||(w.S[t]={});var a=w.S[t],i="@openmrs/esm-patient-lists-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})},s=[];return"default"===t&&(l("@openmrs/esm-framework","5.3.3-pre.1477",(()=>Promise.all([w.e(130),w.e(268)]).then((()=>()=>w(130))))),l("@openmrs/esm-patient-common-lib","7.0.2-pre.3770",(()=>Promise.all([w.e(255),w.e(242),w.e(362),w.e(614),w.e(268),w.e(806),w.e(738),w.e(383),w.e(821)]).then((()=>()=>w(4738))))),l("react-i18next","11.18.6",(()=>Promise.all([w.e(553),w.e(268)]).then((()=>()=>w(9553))))),l("react-router-dom","6.16.0",(()=>Promise.all([w.e(591),w.e(268)]).then((()=>()=>w(6591))))),l("react","18.2.0",(()=>w.e(784).then((()=>()=>w(2784))))),l("swr/_internal","2.2.4",(()=>Promise.all([w.e(729),w.e(268)]).then((()=>()=>w(4729))))),l("swr/immutable","2.2.4",(()=>Promise.all([w.e(255),w.e(268),w.e(806),w.e(303)]).then((()=>()=>w(2303)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;w.g.importScripts&&(e=w.g.location+"");var r=w.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&!e;)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),w.p=e})(),t=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},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],a=(typeof o)[0];if(n>=r.length)return"u"==a;var i=r[n],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}},o=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,a=1;a<e.length;a++)n--,t+="u"==(typeof(l=e[a]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var i=[];for(a=1;a<e.length;a++){var l=e[a];i.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?i.pop()+" "+i.pop():o(l))}return s();function s(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var n=e[0],o=n<0;o&&(n=-n-1);for(var i=0,l=1,s=!0;;l++,i++){var u,p,f=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(p=(typeof(u=r[i]))[0]))return!s||("u"==f?l>n&&!o:""==f!=o);if("u"==p){if(!s||"u"!=f)return!1}else if(s)if(f==p)if(l<=n){if(u!=e[l])return!1}else{if(o?u>e[l]:u<e[l])return!1;u!=e[l]&&(s=!1)}else if("s"!=f&&"n"!=f){if(o||l<=n)return!1;s=!1,l--}else{if(l<=n||p<f!=o)return!1;s=!1}else"s"!=f&&"n"!=f&&(s=!1,l--)}}var d=[],c=d.pop.bind(d);for(i=1;i<e.length;i++){var h=e[i];d.push(1==h?c()|c():2==h?c()&c():h?a(h,r):!c())}return!!c()},i=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&n(e,r)?r:e),0)},l=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+o(n)+")",s=(e,r,t,n)=>{var o=i(e,t);return f(e[t][o])},u=(e,r,t,n)=>{var o=i(e,t);return a(n,o)||p(l(e,t,o,n)),f(e[t][o])},p=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},f=e=>(e.loaded=1,e.get()),c=(d=e=>function(r,t,n,o){var a=w.I(r);return a&&a.then?a.then(e.bind(e,r,w.S[r],t,n,o)):e(r,w.S[r],t,n,o)})(((e,r,t,n)=>r&&w.o(r,t)?s(r,0,t):n())),h=d(((e,r,t,n,o)=>r&&w.o(r,t)?u(r,0,t,n):o())),m={},v={268:()=>h("default","react",[1,18],(()=>w.e(784).then((()=>()=>w(2784))))),3325:()=>h("default","swr/_internal",[1,2],(()=>w.e(729).then((()=>()=>w(4729))))),6081:()=>c("default","@openmrs/esm-framework/src/internal",(()=>w.e(130).then((()=>()=>w(130))))),8744:()=>h("default","react-router-dom",[1,6],(()=>w.e(591).then((()=>()=>w(6591))))),9198:()=>h("default","swr/immutable",[1,2],(()=>w.e(152).then((()=>()=>w(2303))))),2870:()=>h("default","@openmrs/esm-framework",[1,5],(()=>w.e(130).then((()=>()=>w(130))))),4924:()=>h("default","react-i18next",[1,11],(()=>w.e(553).then((()=>()=>w(9553))))),2821:()=>h("default","@openmrs/esm-patient-common-lib",[1,7],(()=>Promise.all([w.e(255),w.e(242),w.e(614),w.e(806),w.e(738)]).then((()=>()=>w(4738)))))},g={268:[268],325:[2821],383:[2870,4924],738:[6081,8744,9198],806:[3325],821:[2821]},w.f.consumes=(e,r)=>{w.o(g,e)&&g[e].forEach((e=>{if(w.o(m,e))return r.push(m[e]);var t=r=>{m[e]=0,w.m[e]=t=>{delete w.c[e],t.exports=r()}},n=r=>{delete m[e],w.m[e]=t=>{throw delete w.c[e],r}};try{var o=v[e]();o.then?r.push(m[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}))},(()=>{var e={613:0};w.f.j=(r,t)=>{var n=w.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(268|383|806|821)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=w.p+w.u(r),i=new Error;w.l(a,(t=>{if(w.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,s=0;if(a.some((r=>0!==e[r]))){for(n in i)w.o(i,n)&&(w.m[n]=i[n]);l&&l(w)}for(r&&r(t);s<a.length;s++)o=a[s],w.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_openmrs_esm_patient_lists_app=globalThis.webpackChunk_openmrs_esm_patient_lists_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),w.nc=void 0;var _=w(9080);_openmrs_esm_patient_lists_app=_})();
1
+ var _openmrs_esm_patient_lists_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,s,u,p,f,d,c,h,m,v,g,b={9080:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(362),t.e(268),t.e(383),t.e(325)]).then((()=>()=>t(1325)))},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})}},y={};function w(e){var r=y[e];if(void 0!==r)return r.exports;var t=y[e]={id:e,loaded:!1,exports:{}};return b[e].call(t.exports,t,t.exports,w),t.loaded=!0,t.exports}w.m=b,w.c=y,w.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return w.d(r,{a:r}),r},w.d=(e,r)=>{for(var t in r)w.o(r,t)&&!w.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},w.f={},w.e=e=>Promise.all(Object.keys(w.f).reduce(((r,t)=>(w.f[t](e,r),r)),[])),w.u=e=>e+".js",w.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),w.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@openmrs/esm-patient-lists-app:",w.l=(t,n,o,a)=>{if(e[t])e[t].push(n);else{var i,l;if(void 0!==o)for(var s=document.getElementsByTagName("script"),u=0;u<s.length;u++){var p=s[u];if(p.getAttribute("src")==t||p.getAttribute("data-webpack")==r+o){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,w.nc&&i.setAttribute("nonce",w.nc),i.setAttribute("data-webpack",r+o),i.src=t),e[t]=[n];var f=(r,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=e[t];if(delete e[t],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),r)return r(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),l&&document.head.appendChild(i)}},w.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},w.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{w.S={};var e={},r={};w.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];w.o(w.S,t)||(w.S[t]={});var a=w.S[t],i="@openmrs/esm-patient-lists-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})},s=[];return"default"===t&&(l("@openmrs/esm-framework","5.3.3-pre.1477",(()=>Promise.all([w.e(130),w.e(268)]).then((()=>()=>w(130))))),l("@openmrs/esm-patient-common-lib","7.0.2-pre.3779",(()=>Promise.all([w.e(255),w.e(242),w.e(362),w.e(614),w.e(268),w.e(806),w.e(738),w.e(383),w.e(821)]).then((()=>()=>w(4738))))),l("react-i18next","11.18.6",(()=>Promise.all([w.e(553),w.e(268)]).then((()=>()=>w(9553))))),l("react-router-dom","6.16.0",(()=>Promise.all([w.e(591),w.e(268)]).then((()=>()=>w(6591))))),l("react","18.2.0",(()=>w.e(784).then((()=>()=>w(2784))))),l("swr/_internal","2.2.4",(()=>Promise.all([w.e(729),w.e(268)]).then((()=>()=>w(4729))))),l("swr/immutable","2.2.4",(()=>Promise.all([w.e(255),w.e(268),w.e(806),w.e(303)]).then((()=>()=>w(2303)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;w.g.importScripts&&(e=w.g.location+"");var r=w.g.document;if(!e&&r&&(r.currentScript&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&!e;)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),w.p=e})(),t=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},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var o=e[n],a=(typeof o)[0];if(n>=r.length)return"u"==a;var i=r[n],l=(typeof i)[0];if(a!=l)return"o"==a&&"n"==l||"s"==l||"u"==a;if("o"!=a&&"u"!=a&&o!=i)return o<i;n++}},o=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,a=1;a<e.length;a++)n--,t+="u"==(typeof(l=e[a]))[0]?"-":(n>0?".":"")+(n=2,l);return t}var i=[];for(a=1;a<e.length;a++){var l=e[a];i.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?i.pop()+" "+i.pop():o(l))}return s();function s(){return i.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,r)=>{if(0 in e){r=t(r);var n=e[0],o=n<0;o&&(n=-n-1);for(var i=0,l=1,s=!0;;l++,i++){var u,p,f=l<e.length?(typeof e[l])[0]:"";if(i>=r.length||"o"==(p=(typeof(u=r[i]))[0]))return!s||("u"==f?l>n&&!o:""==f!=o);if("u"==p){if(!s||"u"!=f)return!1}else if(s)if(f==p)if(l<=n){if(u!=e[l])return!1}else{if(o?u>e[l]:u<e[l])return!1;u!=e[l]&&(s=!1)}else if("s"!=f&&"n"!=f){if(o||l<=n)return!1;s=!1,l--}else{if(l<=n||p<f!=o)return!1;s=!1}else"s"!=f&&"n"!=f&&(s=!1,l--)}}var d=[],c=d.pop.bind(d);for(i=1;i<e.length;i++){var h=e[i];d.push(1==h?c()|c():2==h?c()&c():h?a(h,r):!c())}return!!c()},i=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&n(e,r)?r:e),0)},l=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+o(n)+")",s=(e,r,t,n)=>{var o=i(e,t);return f(e[t][o])},u=(e,r,t,n)=>{var o=i(e,t);return a(n,o)||p(l(e,t,o,n)),f(e[t][o])},p=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},f=e=>(e.loaded=1,e.get()),c=(d=e=>function(r,t,n,o){var a=w.I(r);return a&&a.then?a.then(e.bind(e,r,w.S[r],t,n,o)):e(r,w.S[r],t,n,o)})(((e,r,t,n)=>r&&w.o(r,t)?s(r,0,t):n())),h=d(((e,r,t,n,o)=>r&&w.o(r,t)?u(r,0,t,n):o())),m={},v={268:()=>h("default","react",[1,18],(()=>w.e(784).then((()=>()=>w(2784))))),3325:()=>h("default","swr/_internal",[1,2],(()=>w.e(729).then((()=>()=>w(4729))))),6081:()=>c("default","@openmrs/esm-framework/src/internal",(()=>w.e(130).then((()=>()=>w(130))))),8744:()=>h("default","react-router-dom",[1,6],(()=>w.e(591).then((()=>()=>w(6591))))),9198:()=>h("default","swr/immutable",[1,2],(()=>w.e(152).then((()=>()=>w(2303))))),2870:()=>h("default","@openmrs/esm-framework",[1,5],(()=>w.e(130).then((()=>()=>w(130))))),4924:()=>h("default","react-i18next",[1,11],(()=>w.e(553).then((()=>()=>w(9553))))),2821:()=>h("default","@openmrs/esm-patient-common-lib",[1,7],(()=>Promise.all([w.e(255),w.e(242),w.e(614),w.e(806),w.e(738)]).then((()=>()=>w(4738)))))},g={268:[268],325:[2821],383:[2870,4924],738:[6081,8744,9198],806:[3325],821:[2821]},w.f.consumes=(e,r)=>{w.o(g,e)&&g[e].forEach((e=>{if(w.o(m,e))return r.push(m[e]);var t=r=>{m[e]=0,w.m[e]=t=>{delete w.c[e],t.exports=r()}},n=r=>{delete m[e],w.m[e]=t=>{throw delete w.c[e],r}};try{var o=v[e]();o.then?r.push(m[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}))},(()=>{var e={613:0};w.f.j=(r,t)=>{var n=w.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(268|383|806|821)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=w.p+w.u(r),i=new Error;w.l(a,(t=>{if(w.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,s=0;if(a.some((r=>0!==e[r]))){for(n in i)w.o(i,n)&&(w.m[n]=i[n]);l&&l(w)}for(r&&r(t);s<a.length;s++)o=a[s],w.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_openmrs_esm_patient_lists_app=globalThis.webpackChunk_openmrs_esm_patient_lists_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),w.nc=void 0;var _=w(9080);_openmrs_esm_patient_lists_app=_})();
@@ -76,7 +76,7 @@
76
76
  "auxiliaryFiles": [
77
77
  "main.js.map"
78
78
  ],
79
- "hash": "32ce087d621c933f",
79
+ "hash": "e25d2be0a01e1e3d",
80
80
  "childrenByOrder": {}
81
81
  },
82
82
  {
@@ -183,9 +183,9 @@
183
183
  "initial": false,
184
184
  "entry": false,
185
185
  "recorded": false,
186
- "size": 592,
186
+ "size": 411,
187
187
  "sizes": {
188
- "javascript": 592
188
+ "javascript": 411
189
189
  },
190
190
  "names": [],
191
191
  "idHints": [],
@@ -197,7 +197,7 @@
197
197
  "271.js"
198
198
  ],
199
199
  "auxiliaryFiles": [],
200
- "hash": "bfb5ce44883019cd",
200
+ "hash": "85225f5c1247f6bc",
201
201
  "childrenByOrder": {}
202
202
  },
203
203
  {
@@ -464,7 +464,7 @@
464
464
  "auxiliaryFiles": [
465
465
  "openmrs-esm-patient-lists-app.js.map"
466
466
  ],
467
- "hash": "9bacf857e6f6aee1",
467
+ "hash": "1d38fcd3413df1c6",
468
468
  "childrenByOrder": {}
469
469
  },
470
470
  {
@@ -499,9 +499,9 @@
499
499
  "initial": false,
500
500
  "entry": false,
501
501
  "recorded": false,
502
- "size": 592,
502
+ "size": 411,
503
503
  "sizes": {
504
- "javascript": 592
504
+ "javascript": 411
505
505
  },
506
506
  "names": [],
507
507
  "idHints": [],
@@ -513,7 +513,7 @@
513
513
  "644.js"
514
514
  ],
515
515
  "auxiliaryFiles": [],
516
- "hash": "65bf6523fe3c7e0a",
516
+ "hash": "3fdea23ff9e73184",
517
517
  "childrenByOrder": {}
518
518
  },
519
519
  {
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"patient-lists-action-menu","component":"patientListsActionMenu","slot":"action-menu-chart-items-slot"}],"version":"7.0.2-pre.3770"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"patient-lists-action-menu","component":"patientListsActionMenu","slot":"action-menu-chart-items-slot"}],"version":"7.0.2-pre.3779"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-patient-lists-app",
3
- "version": "7.0.2-pre.3770",
3
+ "version": "7.0.2-pre.3779",
4
4
  "license": "MPL-2.0",
5
5
  "description": "An OpenMRS frontend module for managing patient lists in the Patient Chart",
6
6
  "browser": "dist/openmrs-esm-patient-lists-app.js",
@@ -11,7 +11,7 @@
11
11
  "serve": "webpack serve --mode=development",
12
12
  "build": "webpack --mode production --color",
13
13
  "analyze": "webpack --mode=production --env analyze=true",
14
- "lint": "TIMING=1 eslint src --ext js,jsx,ts,tsx",
14
+ "lint": "cross-env eslint src --ext js,jsx,ts,tsx --fix --max-warnings=0",
15
15
  "prettier": "prettier --write \"src/**/*.{ts,tsx}\"",
16
16
  "typescript": "tsc",
17
17
  "test": "cross-env TZ=UTC jest --config jest.config.js --verbose false --passWithNoTests --color",
@@ -51,8 +51,8 @@
51
51
  "swr": "2.x"
52
52
  },
53
53
  "devDependencies": {
54
- "@openmrs/esm-patient-common-lib": "7.0.2-pre.3770",
54
+ "@openmrs/esm-patient-common-lib": "7.0.2-pre.3779",
55
55
  "webpack": "^5.88.2"
56
56
  },
57
- "gitHead": "bc2c7de497a0603dd70ad4726047ff2d3e24865c"
57
+ "gitHead": "72626ca5cde1aa1878a01f235382fe21ee37185a"
58
58
  }
@@ -1,19 +1,19 @@
1
1
  {
2
- "backToPatientLists": "Back to patient lists",
3
- "checkFilters": "Check the filters above",
4
- "createdOn": "Created on",
5
- "identifier": "Identifier",
6
- "listName": "List name",
7
- "listType": "List type",
8
- "name": "Name",
9
- "noMatchingListsFound": "No matching lists to display",
10
- "noMatchingPatients": "No matching patients to display",
11
- "noPatientListsToDisplay": "No patient lists to display",
12
- "noPatientsInList": "There are no patients in this list",
13
- "numberOfPatients": "No. of patients",
14
- "patientLists": "Patient lists",
15
- "patients": "patients",
16
- "searchThisList": "Search this list",
17
- "sex": "Sex",
18
- "startDate": "Start Date"
2
+ "backToPatientLists": "返回患者列表",
3
+ "checkFilters": "检查上方的筛选条件",
4
+ "createdOn": "创建于",
5
+ "identifier": "ID标识",
6
+ "listName": "列表名称",
7
+ "listType": "列表类型",
8
+ "name": "姓名",
9
+ "noMatchingListsFound": "没有匹配的列表可显示",
10
+ "noMatchingPatients": "没有匹配的患者可显示",
11
+ "noPatientListsToDisplay": "没有患者列表可显示",
12
+ "noPatientsInList": "该列表中没有患者",
13
+ "numberOfPatients": "患者数量",
14
+ "patientLists": "患者列表",
15
+ "patients": "患者",
16
+ "searchThisList": "搜索此列表",
17
+ "sex": "性别",
18
+ "startDate": "开始日期"
19
19
  }
@@ -1,19 +1,19 @@
1
1
  {
2
- "backToPatientLists": "Back to patient lists",
3
- "checkFilters": "Check the filters above",
4
- "createdOn": "Created on",
5
- "identifier": "Identifier",
6
- "listName": "List name",
7
- "listType": "List type",
8
- "name": "Name",
9
- "noMatchingListsFound": "No matching lists to display",
10
- "noMatchingPatients": "No matching patients to display",
11
- "noPatientListsToDisplay": "No patient lists to display",
12
- "noPatientsInList": "There are no patients in this list",
13
- "numberOfPatients": "No. of patients",
14
- "patientLists": "Patient lists",
15
- "patients": "patients",
16
- "searchThisList": "Search this list",
17
- "sex": "Sex",
18
- "startDate": "Start Date"
2
+ "backToPatientLists": "返回患者列表",
3
+ "checkFilters": "检查上方的筛选条件",
4
+ "createdOn": "创建于",
5
+ "identifier": "ID标识",
6
+ "listName": "列表名称",
7
+ "listType": "列表类型",
8
+ "name": "姓名",
9
+ "noMatchingListsFound": "没有匹配的列表可显示",
10
+ "noMatchingPatients": "没有匹配的患者可显示",
11
+ "noPatientListsToDisplay": "没有患者列表可显示",
12
+ "noPatientsInList": "该列表中没有患者",
13
+ "numberOfPatients": "患者数量",
14
+ "patientLists": "患者列表",
15
+ "patients": "患者",
16
+ "searchThisList": "搜索此列表",
17
+ "sex": "性别",
18
+ "startDate": "开始日期"
19
19
  }