@openmrs/esm-appointments-app 8.4.0 → 8.4.1-pre.5238
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
CHANGED
|
@@ -11,7 +11,7 @@ assets by path *.js 3.89 MiB
|
|
|
11
11
|
+ 54 assets
|
|
12
12
|
assets by path *.json 36 KiB
|
|
13
13
|
asset openmrs-esm-appointments-app.js.buildmanifest.json 33.6 KiB [emitted]
|
|
14
|
-
asset routes.json 2.
|
|
14
|
+
asset routes.json 2.44 KiB [emitted] [from: src/routes.json] [copied]
|
|
15
15
|
orphan modules 4.82 MiB [orphan] 1149 modules
|
|
16
16
|
runtime modules 44 KiB 30 modules
|
|
17
17
|
built modules 11.2 MiB (javascript) 336 bytes (share-init) 336 bytes (consume-shared) [built]
|
|
@@ -35,4 +35,4 @@ Assets:
|
|
|
35
35
|
2417.js (368 KiB)
|
|
36
36
|
9441.js (287 KiB)
|
|
37
37
|
|
|
38
|
-
webpack 5.88.0 compiled with 1 warning in
|
|
38
|
+
webpack 5.88.0 compiled with 1 warning in 159787 ms
|
package/dist/main.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see main.js.LICENSE.txt */
|
|
2
|
-
(()=>{var e,t,n,r,o={7604:(e,t,n)=>{"use strict";function r(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:()=>h});var l=["width","height","viewBox"],s=["tabindex"],c={focusable:"false",preserveAspectRatio:"xMidYMid meet"};var p=n(3980),u=n.n(p),f=n(268),d=n.n(f);const h=d().forwardRef((function(e,t){let{className:n,children:r,tabIndex:o,xmlns:p="http://www.w3.org/2000/svg",preserveAspectRatio:u="xMidYMid meet",...f}=e;const{tabindex:h,...m}=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,n=e.height,r=e.viewBox,o=void 0===r?"0 0 ".concat(t," ").concat(n):r,p=a(e,l),u=p.tabindex,f=a(p,s),d=i(i(i({},c),f),{},{width:t,height:n,viewBox:o});return d["aria-label"]||d["aria-labelledby"]||d.title?(d.role="img",null!=u&&(d.focusable="true",d.tabindex=u)):d["aria-hidden"]=!0,d}({...f,tabindex:o}),y=m;return n&&(y.className=n),null!=h&&(y.tabIndex="number"==typeof h?h:Number(o)),t&&(y.ref=t),p&&(y.xmlns=p),u&&(y.preserveAspectRatio=u),d().createElement("svg",y,r)}));h.displayName="Icon",h.propTypes={"aria-hidden":u().oneOfType([u().bool,u().oneOf(["true","false"])]),"aria-label":u().string,"aria-labelledby":u().string,children:u().node,className:u().string,height:u().oneOfType([u().number,u().string]),preserveAspectRatio:u().string,tabIndex:u().oneOfType([u().number,u().string]),viewBox:u().string,width:u().oneOfType([u().number,u().string]),xmlns:u().string}},9884:(e,t,n)=>{"use strict";n.d(t,{d8:()=>s,f:()=>c});var r,o,i=n(268),a=n.n(i),l=n(7604);const s=a().forwardRef((function(e,t){let{children:n,size:o=16,...i}=e;return a().createElement(l.Z,{width:o,height:o,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},r||(r=a().createElement("path",{d:"M27.6 20.6L24 24.2 24 4 22 4 22 24.2 18.4 20.6 17 22 23 28 29 22zM9 4L3 10 4.4 11.4 8 7.8 8 28 10 28 10 7.8 13.6 11.4 15 10z"})),n)})),c=a().forwardRef((function(e,t){let{children:n,size:r=16,...i}=e;return a().createElement(l.Z,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},o||(o=a().createElement("path",{d:"M26,4h-4V2h-2v2h-8V2h-2v2H6C4.9,4,4,4.9,4,6v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V6C28,4.9,27.1,4,26,4z M26,26H6V12h20 V26z M26,10H6V6h4v2h2V6h8v2h2V6h4V10z"})),n)}))},8262:(e,t,n)=>{"use strict";var r=n(3586);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={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:i,resetWarningCache:o};return n.PropTypes=n,n}},3980:(e,t,n)=>{e.exports=n(8262)()},3586:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},225:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var r=n(7234),o={allowAllDayAppointments:{_type:r.Type.Boolean,_description:"Whether to allow scheduling of all-day appointments (vs appointments with start time and end time)",_default:!1},appointmentStatuses:{_type:r.Type.Array,_description:"Configurable appointment status (status of appointments)",_default:["Requested","Scheduled","CheckedIn","Completed","Cancelled","Missed"]},appointmentTypes:{_type:r.Type.Array,_description:"Configurable appointment types (types of appointments)",_default:["Scheduled"]},checkInButton:{enabled:{_type:r.Type.Boolean,_description:'Whether the check-in button on the "Appointments" list should be enabled',_default:!0},showIfActiveVisit:{_type:r.Type.Boolean,_description:"Whether to show the check-in button if the patient currently has an active visit",_default:!1},customUrl:{_type:r.Type.String,_description:"Custom URL to open when clicking the check-in button (instead of thes start visit form)",_default:""}},checkOutButton:{enabled:{_type:r.Type.Boolean,_description:'Whether the check-out button on the "Appointments" list should be disabled',_default:!0},customUrl:{_type:r.Type.String,_description:"Custom URL to open when clicking the check-out button",_default:""}},customPatientChartUrl:{_type:r.Type.String,_description:"Template URL that will be used when clicking on the patient name in the queues table.\n Available argument: patientUuid, openmrsSpaBase, openBase\n (openmrsSpaBase and openBase are available to any <ConfigurableLink>)",_default:"${openmrsSpaBase}/patient/${patientUuid}/chart",_validators:[r.validators.isUrlWithTemplateParameters(["patientUuid"])]},includePhoneNumberInExcelSpreadsheet:{_type:r.Type.Boolean,_description:"Whether to include phone numbers in the exported Excel spreadsheet",_default:!1},patientIdentifierType:{_type:r.Type.String,_description:"The name of the patient identifier type to be used for the patient identifier field",_default:""},showUnscheduledAppointmentsTab:{_type:r.Type.Boolean,_description:"Whether to show the Unscheduled Appointments tab. Note that configuring this to true requires a custom unscheduledAppointment endpoint not currently available",_default:!1}}},6179:(e,t,n)=>{"use strict";var r=n(7234),o=(n(225),n(268)),i=n.n(o),a=n(2524),l=n.n(a),s=n(8744),c=n(4924);function p(e){var t=e.dashboardLinkConfig,n=(0,c.useTranslation)().t,a=t.name,p=(0,s.useLocation)(),u="".concat(window.spaBase,"/home"),f=(0,o.useMemo)((function(){var e=p.pathname.split("/home"),t=e[e.length-1];return decodeURIComponent(t)}),[p.pathname]);return i().createElement(r.ConfigurableLink,{className:l()("cds--side-nav__link",{"active-left-nav-link":f.match(a)}),to:"".concat(u,"/").concat(a)},n("appointments","Appointments"))}var u=function(e){return function(){return i().createElement(s.BrowserRouter,null,i().createElement(p,{dashboardLinkConfig:e}))}},f={name:"calendar",slot:"clinical-appointments-dashboard-slot",title:"Appointments Calendar",renderIcon:n(9884).f},d={slot:"patient-chart-appointments-dashboard-slot",columns:1,title:"Appointments",path:"Appointments",icon:"omrs-icon-event-schedule"};function h(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function m(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){h(i,r,o,a,l,"next",e)}function l(e){h(i,r,o,a,l,"throw",e)}a(void 0)}))}}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){y(e,t,n[t])}))}return e}r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean;var g="@openmrs/esm-appointments-app",v={featureName:"appointments",moduleName:g};n(3979),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(9441),n.e(600),n.e(7796),n.e(3629),n.e(1858),n.e(7900),n.e(681),n.e(7382),n.e(2753),n.e(5910)]).then(n.bind(n,5910))}),v),(0,r.getSyncLifecycle)(u({name:"appointments",slot:"clinical-appointments-dashboard-slot",title:"Appointments"}),v),(0,r.getSyncLifecycle)(u(f),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(9441),n.e(600),n.e(7796),n.e(3629),n.e(1858),n.e(681),n.e(2753)]).then(n.bind(n,2753))}),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(9441),n.e(3629),n.e(1858),n.e(681),n.e(3260),n.e(3952)]).then(n.bind(n,3952))}),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(9441),n.e(3629),n.e(1858),n.e(681),n.e(3260),n.e(8607)]).then(n.bind(n,8607))}),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(9441),n.e(3629),n.e(1858),n.e(681),n.e(3260),n.e(9890)]).then(n.bind(n,9890))}),v),(0,r.getAsyncLifecycle)((function(){return n.e(9874).then(n.bind(n,9874))}),v),(0,r.getAsyncLifecycle)(m((function(){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,(function(e){switch(e.label){case 0:return[4,n.e(7900).then(n.t.bind(n,7900,23))];case 1:return[2,{default:e.sent().createDashboardLink((t=b({},d),r={moduleName:g},r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})),t))}]}var t,r}))})),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(3629),n.e(1858),n.e(7900),n.e(7382),n.e(2499)]).then(n.bind(n,2735))}),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(3629),n.e(1858),n.e(7900),n.e(7382),n.e(968)]).then(n.bind(n,8994))}),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(3629),n.e(1858),n.e(7900),n.e(9269)]).then(n.bind(n,9269))}),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(3629),n.e(1858),n.e(3265)]).then(n.bind(n,3265))}),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(9098),n.e(3629),n.e(1858),n.e(1761)]).then(n.bind(n,1761))}),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(3629),n.e(1858),n.e(529)]).then(n.bind(n,529))}),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(3629),n.e(1858),n.e(3581)]).then(n.bind(n,3581))}),v)},3979:(e,t,n)=>{var r={"./am.json":[8788,8788],"./ar.json":[4460,4460],"./bn.json":[8323,8323],"./de.json":[4272,4272],"./en.json":[3574,3574],"./es.json":[8319,8319],"./fr.json":[2757,2757],"./he.json":[5833,5833],"./hi.json":[5336,5336],"./hi_IN.json":[5737,5737],"./id.json":[9261,9261],"./it.json":[5711,5711],"./km.json":[7807,7807],"./ku.json":[2016,2016],"./ky.json":[7998,7998],"./lg.json":[5962,5962],"./ne.json":[3652,3652],"./pt.json":[4378,4378],"./pt_BR.json":[6566,6566],"./qu.json":[899,899],"./ru_RU.json":[9579,9579],"./si.json":[6727,6727],"./sw.json":[236,236],"./sw_KE.json":[539,539],"./tr.json":[4705,4705],"./tr_TR.json":[5673,5673],"./uk.json":[5240,5240],"./uz.json":[1901,1901],"./uz_UZ.json":[6497,6497],"./vi.json":[744,744],"./zh.json":[8271,8271],"./zh_CN.json":[1644,1644]};function o(e){if(!n.o(r,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],o=t[0];return n.e(t[1]).then((()=>n(o)))}o.keys=()=>Object.keys(r),o.id=3979,e.exports=o},2524:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=o,a.c=i,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var l=2&r&&n;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>i[e]=()=>n[e]));return i.default=()=>n,a.d(o,i),o},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,n)=>(a.f[n](e,t),t)),[])),a.u=e=>e+".js",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="@openmrs/esm-appointments-app:",a.l=(e,t,o,i)=>{if(n[e])n[e].push(t);else{var l,s;if(void 0!==o)for(var c=document.getElementsByTagName("script"),p=0;p<c.length;p++){var u=c[p];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==r+o){l=u;break}}l||(s=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,a.nc&&l.setAttribute("nonce",a.nc),l.setAttribute("data-webpack",r+o),l.src=e),n[e]=[t];var f=(t,r)=>{l.onerror=l.onload=null,clearTimeout(d);var o=n[e];if(delete n[e],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach((e=>e(r))),t)return t(r)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=f.bind(null,l.onerror),l.onload=f.bind(null,l.onload),s&&document.head.appendChild(l)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{a.S={};var e={},t={};a.I=(n,r)=>{r||(r=[]);var o=t[n];if(o||(o=t[n]={}),!(r.indexOf(o)>=0)){if(r.push(o),e[n])return e[n];a.o(a.S,n)||(a.S[n]={});var i=a.S[n],l="@openmrs/esm-appointments-app",s=(e,t,n,r)=>{var o=i[e]=i[e]||{},a=o[t];(!a||!a.loaded&&(!r!=!a.eager?r:l>a.from))&&(o[t]={get:n,from:l,eager:!!r})},c=[];return"default"===n&&(s("@openmrs/esm-framework","6.3.1-pre.2944",(()=>Promise.all([a.e(130),a.e(268)]).then((()=>()=>a(130))))),s("@openmrs/esm-patient-common-lib","10.0.1-pre.7521",(()=>Promise.all([a.e(2417),a.e(600),a.e(4437),a.e(5930),a.e(3629),a.e(1858),a.e(268),a.e(7900),a.e(6033),a.e(5907)]).then((()=>()=>a(4437))))),s("react-dom","18.2.0",(()=>Promise.all([a.e(8316),a.e(268)]).then((()=>()=>a(8316))))),s("react-i18next","11.18.6",(()=>Promise.all([a.e(5501),a.e(268)]).then((()=>()=>a(5501))))),s("react-router-dom","6.4.3",(()=>Promise.all([a.e(6591),a.e(268)]).then((()=>()=>a(6591))))),s("react","18.2.0",(()=>a.e(2784).then((()=>()=>a(2784))))),s("swr/_internal","2.2.5",(()=>Promise.all([a.e(1325),a.e(268)]).then((()=>()=>a(1325))))),s("swr/immutable","2.2.5",(()=>Promise.all([a.e(3629),a.e(268),a.e(3372)]).then((()=>()=>a(3372)))))),e[n]=c.length?Promise.all(c).then((()=>e[n]=1)):1}}})(),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&!e;)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{var e=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),n=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),r=n[1]?t(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,t(n[2]))),n[3]&&(r.push([]),r.push.apply(r,t(n[3]))),r},t=e=>{var n=e[0],r="";if(1===e.length)return"*";if(n+.5){r+=0==n?">=":-1==n?"<":1==n?"^":2==n?"~":n>0?"=":"!=";for(var o=1,i=1;i<e.length;i++)o--,r+="u"==(typeof(l=e[i]))[0]?"-":(o>0?".":"")+(o=2,l);return r}var a=[];for(i=1;i<e.length;i++){var l=e[i];a.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?a.pop()+" "+a.pop():t(l))}return s();function s(){return a.pop().replace(/^\((.+)\)$/,"$1")}},n=(t,r)=>{if(0 in t){r=e(r);var o=t[0],i=o<0;i&&(o=-o-1);for(var a=0,l=1,s=!0;;l++,a++){var c,p,u=l<t.length?(typeof t[l])[0]:"";if(a>=r.length||"o"==(p=(typeof(c=r[a]))[0]))return!s||("u"==u?l>o&&!i:""==u!=i);if("u"==p){if(!s||"u"!=u)return!1}else if(s)if(u==p)if(l<=o){if(c!=t[l])return!1}else{if(i?c>t[l]:c<t[l])return!1;c!=t[l]&&(s=!1)}else if("s"!=u&&"n"!=u){if(i||l<=o)return!1;s=!1,l--}else{if(l<=o||p<u!=i)return!1;s=!1}else"s"!=u&&"n"!=u&&(s=!1,l--)}}var f=[],d=f.pop.bind(f);for(a=1;a<t.length;a++){var h=t[a];f.push(1==h?d()|d():2==h?d()&d():h?n(h,r):!d())}return!!d()},r=(t,n)=>{var r=t[n];return Object.keys(r).reduce(((t,n)=>!t||!r[t].loaded&&((t,n)=>{t=e(t),n=e(n);for(var r=0;;){if(r>=t.length)return r<n.length&&"u"!=(typeof n[r])[0];var o=t[r],i=(typeof o)[0];if(r>=n.length)return"u"==i;var a=n[r],l=(typeof a)[0];if(i!=l)return"o"==i&&"n"==l||"s"==l||"u"==i;if("o"!=i&&"u"!=i&&o!=a)return o<a;r++}})(t,n)?n:t),0)},o=(e,o,a,s)=>{var c=r(e,a);return n(s,c)||i(((e,n,r,o)=>"Unsatisfied version "+r+" from "+(r&&e[n][r].from)+" of shared singleton module "+n+" (required "+t(o)+")")(e,a,c,s)),l(e[a][c])},i=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},l=e=>(e.loaded=1,e.get()),s=(e=>function(t,n,r,o){var i=a.I(t);return i&&i.then?i.then(e.bind(e,t,a.S[t],n,r,o)):e(t,a.S[t],n,r,o)})(((e,t,n,r,i)=>t&&a.o(t,n)?o(t,0,n,r):i())),c={},p={3629:()=>s("default","swr/_internal",[1,2],(()=>a.e(1325).then((()=>()=>a(1325))))),1858:()=>s("default","react-dom",[1,18],(()=>a.e(8316).then((()=>()=>a(8316))))),7900:()=>s("default","@openmrs/esm-patient-common-lib",[1,10],(()=>Promise.all([a.e(2417),a.e(600),a.e(4437),a.e(3629),a.e(1858),a.e(5907)]).then((()=>()=>a(4437))))),268:()=>s("default","react",[1,18],(()=>a.e(2784).then((()=>()=>a(2784))))),4924:()=>s("default","react-i18next",[1,11],(()=>a.e(5501).then((()=>()=>a(5501))))),7234:()=>s("default","@openmrs/esm-framework",[1,6],(()=>a.e(130).then((()=>()=>a(130))))),8744:()=>s("default","react-router-dom",[1,6],(()=>a.e(6591).then((()=>()=>a(6591))))),5907:()=>s("default","swr/immutable",[1,2],(()=>a.e(2).then((()=>()=>a(3372)))))};[7234,268,8744,4924].forEach((e=>{a.m[e]=t=>{c[e]=0,delete a.c[e];var n=p[e]();if("function"!=typeof n)throw new Error("Shared module is not available for eager consumption: "+e);t.exports=n()}}));var u={268:[268],1858:[1858],3629:[3629],5907:[5907],6033:[4924,7234,8744],7900:[7900]};a.f.consumes=(e,t)=>{a.o(u,e)&&u[e].forEach((e=>{if(a.o(c,e))return t.push(c[e]);var n=t=>{c[e]=0,a.m[e]=n=>{delete a.c[e],n.exports=t()}},r=t=>{delete c[e],a.m[e]=n=>{throw delete a.c[e],t}};try{var o=p[e]();o.then?t.push(c[e]=o.then(n).catch(r)):n(o)}catch(e){r(e)}}))}})(),(()=>{var e={179:0,268:0,6179:0,5930:0,6033:0};a.f.j=(t,n)=>{var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(/^(1858|268|3629|5907|6033|7900)$/.test(t))e[t]=0;else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var i=a.p+a.u(t),l=new Error;a.l(i,(n=>{if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;l.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",l.name="ChunkLoadError",l.type=o,l.request=i,r[1](l)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,l,s]=n,c=0;if(i.some((t=>0!==e[t]))){for(r in l)a.o(l,r)&&(a.m[r]=l[r]);s&&s(a)}for(t&&t(n);c<i.length;c++)o=i[c],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),a.nc=void 0,a(6179)})();
|
|
2
|
+
(()=>{var e,t,n,r,o={7604:(e,t,n)=>{"use strict";function r(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:()=>h});var l=["width","height","viewBox"],s=["tabindex"],c={focusable:"false",preserveAspectRatio:"xMidYMid meet"};var p=n(3980),u=n.n(p),f=n(268),d=n.n(f);const h=d().forwardRef((function(e,t){let{className:n,children:r,tabIndex:o,xmlns:p="http://www.w3.org/2000/svg",preserveAspectRatio:u="xMidYMid meet",...f}=e;const{tabindex:h,...m}=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.width,n=e.height,r=e.viewBox,o=void 0===r?"0 0 ".concat(t," ").concat(n):r,p=a(e,l),u=p.tabindex,f=a(p,s),d=i(i(i({},c),f),{},{width:t,height:n,viewBox:o});return d["aria-label"]||d["aria-labelledby"]||d.title?(d.role="img",null!=u&&(d.focusable="true",d.tabindex=u)):d["aria-hidden"]=!0,d}({...f,tabindex:o}),y=m;return n&&(y.className=n),null!=h&&(y.tabIndex="number"==typeof h?h:Number(o)),t&&(y.ref=t),p&&(y.xmlns=p),u&&(y.preserveAspectRatio=u),d().createElement("svg",y,r)}));h.displayName="Icon",h.propTypes={"aria-hidden":u().oneOfType([u().bool,u().oneOf(["true","false"])]),"aria-label":u().string,"aria-labelledby":u().string,children:u().node,className:u().string,height:u().oneOfType([u().number,u().string]),preserveAspectRatio:u().string,tabIndex:u().oneOfType([u().number,u().string]),viewBox:u().string,width:u().oneOfType([u().number,u().string]),xmlns:u().string}},9884:(e,t,n)=>{"use strict";n.d(t,{d8:()=>s,f:()=>c});var r,o,i=n(268),a=n.n(i),l=n(7604);const s=a().forwardRef((function(e,t){let{children:n,size:o=16,...i}=e;return a().createElement(l.Z,{width:o,height:o,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},r||(r=a().createElement("path",{d:"M27.6 20.6L24 24.2 24 4 22 4 22 24.2 18.4 20.6 17 22 23 28 29 22zM9 4L3 10 4.4 11.4 8 7.8 8 28 10 28 10 7.8 13.6 11.4 15 10z"})),n)})),c=a().forwardRef((function(e,t){let{children:n,size:r=16,...i}=e;return a().createElement(l.Z,{width:r,height:r,ref:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...i},o||(o=a().createElement("path",{d:"M26,4h-4V2h-2v2h-8V2h-2v2H6C4.9,4,4,4.9,4,6v20c0,1.1,0.9,2,2,2h20c1.1,0,2-0.9,2-2V6C28,4.9,27.1,4,26,4z M26,26H6V12h20 V26z M26,10H6V6h4v2h2V6h8v2h2V6h4V10z"})),n)}))},8262:(e,t,n)=>{"use strict";var r=n(3586);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var l=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 l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={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:i,resetWarningCache:o};return n.PropTypes=n,n}},3980:(e,t,n)=>{e.exports=n(8262)()},3586:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},225:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var r=n(7234),o={allowAllDayAppointments:{_type:r.Type.Boolean,_description:"Whether to allow scheduling of all-day appointments (vs appointments with start time and end time)",_default:!1},appointmentStatuses:{_type:r.Type.Array,_description:"Configurable appointment status (status of appointments)",_default:["Requested","Scheduled","CheckedIn","Completed","Cancelled","Missed"]},appointmentTypes:{_type:r.Type.Array,_description:"Configurable appointment types (types of appointments)",_default:["Scheduled"]},checkInButton:{enabled:{_type:r.Type.Boolean,_description:'Whether the check-in button on the "Appointments" list should be enabled',_default:!0},showIfActiveVisit:{_type:r.Type.Boolean,_description:"Whether to show the check-in button if the patient currently has an active visit",_default:!1},customUrl:{_type:r.Type.String,_description:"Custom URL to open when clicking the check-in button (instead of thes start visit form)",_default:""}},checkOutButton:{enabled:{_type:r.Type.Boolean,_description:'Whether the check-out button on the "Appointments" list should be disabled',_default:!0},customUrl:{_type:r.Type.String,_description:"Custom URL to open when clicking the check-out button",_default:""}},customPatientChartUrl:{_type:r.Type.String,_description:"Template URL that will be used when clicking on the patient name in the queues table.\n Available argument: patientUuid, openmrsSpaBase, openBase\n (openmrsSpaBase and openBase are available to any <ConfigurableLink>)",_default:"${openmrsSpaBase}/patient/${patientUuid}/chart",_validators:[r.validators.isUrlWithTemplateParameters(["patientUuid"])]},includePhoneNumberInExcelSpreadsheet:{_type:r.Type.Boolean,_description:"Whether to include phone numbers in the exported Excel spreadsheet",_default:!1},patientIdentifierType:{_type:r.Type.String,_description:"The name of the patient identifier type to be used for the patient identifier field",_default:""},showUnscheduledAppointmentsTab:{_type:r.Type.Boolean,_description:"Whether to show the Unscheduled Appointments tab. Note that configuring this to true requires a custom unscheduledAppointment endpoint not currently available",_default:!1}}},6179:(e,t,n)=>{"use strict";var r=n(7234),o=(n(225),n(268)),i=n.n(o),a=n(2524),l=n.n(a),s=n(8744),c=n(4924);function p(e){var t=e.dashboardLinkConfig,n=(0,c.useTranslation)().t,a=t.name,p=(0,s.useLocation)(),u="".concat(window.spaBase,"/home"),f=(0,o.useMemo)((function(){var e=p.pathname.split("/home"),t=e[e.length-1];return decodeURIComponent(t)}),[p.pathname]);return i().createElement(r.ConfigurableLink,{className:l()("cds--side-nav__link",{"active-left-nav-link":f.match(a)}),to:"".concat(u,"/").concat(a)},n("appointments","Appointments"))}var u=function(e){return function(){return i().createElement(s.BrowserRouter,null,i().createElement(p,{dashboardLinkConfig:e}))}},f={name:"calendar",slot:"clinical-appointments-dashboard-slot",title:"Appointments Calendar",renderIcon:n(9884).f},d={slot:"patient-chart-appointments-dashboard-slot",columns:1,title:"Appointments",path:"Appointments",icon:"omrs-icon-event-schedule"};function h(e,t,n,r,o,i,a){try{var l=e[i](a),s=l.value}catch(e){return void n(e)}l.done?t(s):Promise.resolve(s).then(r,o)}function m(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){h(i,r,o,a,l,"next",e)}function l(e){h(i,r,o,a,l,"throw",e)}a(void 0)}))}}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){y(e,t,n[t])}))}return e}r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean,r.Type.String,r.Type.Boolean,r.Type.Boolean,r.Type.Boolean;var g="@openmrs/esm-appointments-app",v={featureName:"appointments",moduleName:g};n(3979),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(9441),n.e(600),n.e(7796),n.e(3629),n.e(1858),n.e(7900),n.e(681),n.e(7382),n.e(2753),n.e(5910)]).then(n.bind(n,5910))}),v),(0,r.getSyncLifecycle)(u({name:"appointments",slot:"clinical-appointments-dashboard-slot",title:"Appointments"}),v),(0,r.getSyncLifecycle)(u(f),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(9441),n.e(600),n.e(7796),n.e(3629),n.e(1858),n.e(681),n.e(2753)]).then(n.bind(n,2753))}),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(9441),n.e(3629),n.e(1858),n.e(681),n.e(3260),n.e(3952)]).then(n.bind(n,3952))}),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(9441),n.e(3629),n.e(1858),n.e(681),n.e(3260),n.e(8607)]).then(n.bind(n,8607))}),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(9441),n.e(3629),n.e(1858),n.e(681),n.e(3260),n.e(9890)]).then(n.bind(n,9890))}),v),(0,r.getAsyncLifecycle)((function(){return n.e(9874).then(n.bind(n,9874))}),v),(0,r.getAsyncLifecycle)(m((function(){return function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(i){return function(l){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,l])}}}(this,(function(e){switch(e.label){case 0:return[4,n.e(7900).then(n.t.bind(n,7900,23))];case 1:return[2,{default:e.sent().createDashboardLink((t=b({},d),r={moduleName:g},r=null!=r?r:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})),t))}]}var t,r}))})),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(3629),n.e(1858),n.e(7900),n.e(7382),n.e(2499)]).then(n.bind(n,2735))}),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(3629),n.e(1858),n.e(7900),n.e(7382),n.e(968)]).then(n.bind(n,8994))}),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(3629),n.e(1858),n.e(7900),n.e(9269)]).then(n.bind(n,9269))}),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(3629),n.e(1858),n.e(3265)]).then(n.bind(n,3265))}),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(9098),n.e(3629),n.e(1858),n.e(1761)]).then(n.bind(n,1761))}),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(3629),n.e(1858),n.e(529)]).then(n.bind(n,529))}),v),(0,r.getAsyncLifecycle)((function(){return Promise.all([n.e(2417),n.e(3629),n.e(1858),n.e(3581)]).then(n.bind(n,3581))}),v)},3979:(e,t,n)=>{var r={"./am.json":[8788,8788],"./ar.json":[4460,4460],"./bn.json":[8323,8323],"./de.json":[4272,4272],"./en.json":[3574,3574],"./es.json":[8319,8319],"./fr.json":[2757,2757],"./he.json":[5833,5833],"./hi.json":[5336,5336],"./hi_IN.json":[5737,5737],"./id.json":[9261,9261],"./it.json":[5711,5711],"./km.json":[7807,7807],"./ku.json":[2016,2016],"./ky.json":[7998,7998],"./lg.json":[5962,5962],"./ne.json":[3652,3652],"./pt.json":[4378,4378],"./pt_BR.json":[6566,6566],"./qu.json":[899,899],"./ru_RU.json":[9579,9579],"./si.json":[6727,6727],"./sw.json":[236,236],"./sw_KE.json":[539,539],"./tr.json":[4705,4705],"./tr_TR.json":[5673,5673],"./uk.json":[5240,5240],"./uz.json":[1901,1901],"./uz_UZ.json":[6497,6497],"./vi.json":[744,744],"./zh.json":[8271,8271],"./zh_CN.json":[1644,1644]};function o(e){if(!n.o(r,e))return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}));var t=r[e],o=t[0];return n.e(t[1]).then((()=>n(o)))}o.keys=()=>Object.keys(r),o.id=3979,e.exports=o},2524:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()}},i={};function a(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=o,a.c=i,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,a.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);a.r(o);var i={};e=e||[null,t({}),t([]),t(t)];for(var l=2&r&&n;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>i[e]=()=>n[e]));return i.default=()=>n,a.d(o,i),o},a.d=(e,t)=>{for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((t,n)=>(a.f[n](e,t),t)),[])),a.u=e=>e+".js",a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},r="@openmrs/esm-appointments-app:",a.l=(e,t,o,i)=>{if(n[e])n[e].push(t);else{var l,s;if(void 0!==o)for(var c=document.getElementsByTagName("script"),p=0;p<c.length;p++){var u=c[p];if(u.getAttribute("src")==e||u.getAttribute("data-webpack")==r+o){l=u;break}}l||(s=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,a.nc&&l.setAttribute("nonce",a.nc),l.setAttribute("data-webpack",r+o),l.src=e),n[e]=[t];var f=(t,r)=>{l.onerror=l.onload=null,clearTimeout(d);var o=n[e];if(delete n[e],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach((e=>e(r))),t)return t(r)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=f.bind(null,l.onerror),l.onload=f.bind(null,l.onload),s&&document.head.appendChild(l)}},a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{a.S={};var e={},t={};a.I=(n,r)=>{r||(r=[]);var o=t[n];if(o||(o=t[n]={}),!(r.indexOf(o)>=0)){if(r.push(o),e[n])return e[n];a.o(a.S,n)||(a.S[n]={});var i=a.S[n],l="@openmrs/esm-appointments-app",s=(e,t,n,r)=>{var o=i[e]=i[e]||{},a=o[t];(!a||!a.loaded&&(!r!=!a.eager?r:l>a.from))&&(o[t]={get:n,from:l,eager:!!r})},c=[];return"default"===n&&(s("@openmrs/esm-framework","6.3.1-pre.2944",(()=>Promise.all([a.e(130),a.e(268)]).then((()=>()=>a(130))))),s("@openmrs/esm-patient-common-lib","10.0.1-pre.7526",(()=>Promise.all([a.e(2417),a.e(600),a.e(4437),a.e(5930),a.e(3629),a.e(1858),a.e(268),a.e(7900),a.e(6033),a.e(5907)]).then((()=>()=>a(4437))))),s("react-dom","18.2.0",(()=>Promise.all([a.e(8316),a.e(268)]).then((()=>()=>a(8316))))),s("react-i18next","11.18.6",(()=>Promise.all([a.e(5501),a.e(268)]).then((()=>()=>a(5501))))),s("react-router-dom","6.4.3",(()=>Promise.all([a.e(6591),a.e(268)]).then((()=>()=>a(6591))))),s("react","18.2.0",(()=>a.e(2784).then((()=>()=>a(2784))))),s("swr/_internal","2.2.5",(()=>Promise.all([a.e(1325),a.e(268)]).then((()=>()=>a(1325))))),s("swr/immutable","2.2.5",(()=>Promise.all([a.e(3629),a.e(268),a.e(3372)]).then((()=>()=>a(3372)))))),e[n]=c.length?Promise.all(c).then((()=>e[n]=1)):1}}})(),(()=>{var e;a.g.importScripts&&(e=a.g.location+"");var t=a.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&!e;)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=e})(),(()=>{var e=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),n=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),r=n[1]?t(n[1]):[];return n[2]&&(r.length++,r.push.apply(r,t(n[2]))),n[3]&&(r.push([]),r.push.apply(r,t(n[3]))),r},t=e=>{var n=e[0],r="";if(1===e.length)return"*";if(n+.5){r+=0==n?">=":-1==n?"<":1==n?"^":2==n?"~":n>0?"=":"!=";for(var o=1,i=1;i<e.length;i++)o--,r+="u"==(typeof(l=e[i]))[0]?"-":(o>0?".":"")+(o=2,l);return r}var a=[];for(i=1;i<e.length;i++){var l=e[i];a.push(0===l?"not("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?a.pop()+" "+a.pop():t(l))}return s();function s(){return a.pop().replace(/^\((.+)\)$/,"$1")}},n=(t,r)=>{if(0 in t){r=e(r);var o=t[0],i=o<0;i&&(o=-o-1);for(var a=0,l=1,s=!0;;l++,a++){var c,p,u=l<t.length?(typeof t[l])[0]:"";if(a>=r.length||"o"==(p=(typeof(c=r[a]))[0]))return!s||("u"==u?l>o&&!i:""==u!=i);if("u"==p){if(!s||"u"!=u)return!1}else if(s)if(u==p)if(l<=o){if(c!=t[l])return!1}else{if(i?c>t[l]:c<t[l])return!1;c!=t[l]&&(s=!1)}else if("s"!=u&&"n"!=u){if(i||l<=o)return!1;s=!1,l--}else{if(l<=o||p<u!=i)return!1;s=!1}else"s"!=u&&"n"!=u&&(s=!1,l--)}}var f=[],d=f.pop.bind(f);for(a=1;a<t.length;a++){var h=t[a];f.push(1==h?d()|d():2==h?d()&d():h?n(h,r):!d())}return!!d()},r=(t,n)=>{var r=t[n];return Object.keys(r).reduce(((t,n)=>!t||!r[t].loaded&&((t,n)=>{t=e(t),n=e(n);for(var r=0;;){if(r>=t.length)return r<n.length&&"u"!=(typeof n[r])[0];var o=t[r],i=(typeof o)[0];if(r>=n.length)return"u"==i;var a=n[r],l=(typeof a)[0];if(i!=l)return"o"==i&&"n"==l||"s"==l||"u"==i;if("o"!=i&&"u"!=i&&o!=a)return o<a;r++}})(t,n)?n:t),0)},o=(e,o,a,s)=>{var c=r(e,a);return n(s,c)||i(((e,n,r,o)=>"Unsatisfied version "+r+" from "+(r&&e[n][r].from)+" of shared singleton module "+n+" (required "+t(o)+")")(e,a,c,s)),l(e[a][c])},i=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},l=e=>(e.loaded=1,e.get()),s=(e=>function(t,n,r,o){var i=a.I(t);return i&&i.then?i.then(e.bind(e,t,a.S[t],n,r,o)):e(t,a.S[t],n,r,o)})(((e,t,n,r,i)=>t&&a.o(t,n)?o(t,0,n,r):i())),c={},p={3629:()=>s("default","swr/_internal",[1,2],(()=>a.e(1325).then((()=>()=>a(1325))))),1858:()=>s("default","react-dom",[1,18],(()=>a.e(8316).then((()=>()=>a(8316))))),7900:()=>s("default","@openmrs/esm-patient-common-lib",[1,10],(()=>Promise.all([a.e(2417),a.e(600),a.e(4437),a.e(3629),a.e(1858),a.e(5907)]).then((()=>()=>a(4437))))),268:()=>s("default","react",[1,18],(()=>a.e(2784).then((()=>()=>a(2784))))),4924:()=>s("default","react-i18next",[1,11],(()=>a.e(5501).then((()=>()=>a(5501))))),7234:()=>s("default","@openmrs/esm-framework",[1,6],(()=>a.e(130).then((()=>()=>a(130))))),8744:()=>s("default","react-router-dom",[1,6],(()=>a.e(6591).then((()=>()=>a(6591))))),5907:()=>s("default","swr/immutable",[1,2],(()=>a.e(2).then((()=>()=>a(3372)))))};[7234,268,8744,4924].forEach((e=>{a.m[e]=t=>{c[e]=0,delete a.c[e];var n=p[e]();if("function"!=typeof n)throw new Error("Shared module is not available for eager consumption: "+e);t.exports=n()}}));var u={268:[268],1858:[1858],3629:[3629],5907:[5907],6033:[4924,7234,8744],7900:[7900]};a.f.consumes=(e,t)=>{a.o(u,e)&&u[e].forEach((e=>{if(a.o(c,e))return t.push(c[e]);var n=t=>{c[e]=0,a.m[e]=n=>{delete a.c[e],n.exports=t()}},r=t=>{delete c[e],a.m[e]=n=>{throw delete a.c[e],t}};try{var o=p[e]();o.then?t.push(c[e]=o.then(n).catch(r)):n(o)}catch(e){r(e)}}))}})(),(()=>{var e={179:0,268:0,6179:0,5930:0,6033:0};a.f.j=(t,n)=>{var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(/^(1858|268|3629|5907|6033|7900)$/.test(t))e[t]=0;else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var i=a.p+a.u(t),l=new Error;a.l(i,(n=>{if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;l.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",l.name="ChunkLoadError",l.type=o,l.request=i,r[1](l)}}),"chunk-"+t,t)}};var t=(t,n)=>{var r,o,[i,l,s]=n,c=0;if(i.some((t=>0!==e[t]))){for(r in l)a.o(l,r)&&(a.m[r]=l[r]);s&&s(a)}for(t&&t(n);c<i.length;c++)o=i[c],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0},n=globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),a.nc=void 0,a(6179)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var _openmrs_esm_appointments_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,s,u,p,f,d,c,m,h,v,g={5605:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(5930),t.e(268),t.e(6033),t.e(6179)]).then((()=>()=>t(6179)))},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})}},b={};function y(e){var r=b[e];if(void 0!==r)return r.exports;var t=b[e]={id:e,loaded:!1,exports:{}};return g[e].call(t.exports,t,t.exports,y),t.loaded=!0,t.exports}y.m=g,y.c=b,y.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return y.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,y.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);y.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,y.d(o,a),o},y.d=(e,r)=>{for(var t in r)y.o(r,t)&&!y.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},y.f={},y.e=e=>Promise.all(Object.keys(y.f).reduce(((r,t)=>(y.f[t](e,r),r)),[])),y.u=e=>e+".js",y.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),y.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@openmrs/esm-appointments-app:",y.l=(e,r,o,a)=>{if(t[e])t[e].push(r);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")==e||p.getAttribute("data-webpack")==n+o){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,y.nc&&i.setAttribute("nonce",y.nc),i.setAttribute("data-webpack",n+o),i.src=e),t[e]=[r];var f=(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(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)}},y.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},y.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{y.S={};var e={},r={};y.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];y.o(y.S,t)||(y.S[t]={});var a=y.S[t],i="@openmrs/esm-appointments-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","6.3.1-pre.2944",(()=>Promise.all([y.e(130),y.e(268)]).then((()=>()=>y(130))))),l("@openmrs/esm-patient-common-lib","10.0.1-pre.
|
|
1
|
+
var _openmrs_esm_appointments_app;(()=>{"use strict";var e,r,t,n,o,a,i,l,s,u,p,f,d,c,m,h,v,g={5605:(e,r,t)=>{var n={"./start":()=>Promise.all([t.e(5930),t.e(268),t.e(6033),t.e(6179)]).then((()=>()=>t(6179)))},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})}},b={};function y(e){var r=b[e];if(void 0!==r)return r.exports;var t=b[e]={id:e,loaded:!1,exports:{}};return g[e].call(t.exports,t,t.exports,y),t.loaded=!0,t.exports}y.m=g,y.c=b,y.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return y.d(r,{a:r}),r},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,y.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);y.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,y.d(o,a),o},y.d=(e,r)=>{for(var t in r)y.o(r,t)&&!y.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},y.f={},y.e=e=>Promise.all(Object.keys(y.f).reduce(((r,t)=>(y.f[t](e,r),r)),[])),y.u=e=>e+".js",y.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),y.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),t={},n="@openmrs/esm-appointments-app:",y.l=(e,r,o,a)=>{if(t[e])t[e].push(r);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")==e||p.getAttribute("data-webpack")==n+o){i=p;break}}i||(l=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,y.nc&&i.setAttribute("nonce",y.nc),i.setAttribute("data-webpack",n+o),i.src=e),t[e]=[r];var f=(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(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)}},y.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},y.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{y.S={};var e={},r={};y.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];y.o(y.S,t)||(y.S[t]={});var a=y.S[t],i="@openmrs/esm-appointments-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","6.3.1-pre.2944",(()=>Promise.all([y.e(130),y.e(268)]).then((()=>()=>y(130))))),l("@openmrs/esm-patient-common-lib","10.0.1-pre.7526",(()=>Promise.all([y.e(2417),y.e(600),y.e(4437),y.e(5930),y.e(3629),y.e(1858),y.e(268),y.e(7900),y.e(6033),y.e(5907)]).then((()=>()=>y(4437))))),l("react-dom","18.2.0",(()=>Promise.all([y.e(8316),y.e(268)]).then((()=>()=>y(8316))))),l("react-i18next","11.18.6",(()=>Promise.all([y.e(5501),y.e(268)]).then((()=>()=>y(5501))))),l("react-router-dom","6.4.3",(()=>Promise.all([y.e(6591),y.e(268)]).then((()=>()=>y(6591))))),l("react","18.2.0",(()=>y.e(2784).then((()=>()=>y(2784))))),l("swr/_internal","2.2.5",(()=>Promise.all([y.e(1325),y.e(268)]).then((()=>()=>y(1325))))),l("swr/immutable","2.2.5",(()=>Promise.all([y.e(3629),y.e(268),y.e(3372)]).then((()=>()=>y(3372)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;y.g.importScripts&&(e=y.g.location+"");var r=y.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(/\/[^\/]+$/,"/"),y.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("+s()+")":1===l?"("+s()+" || "+s()+")":2===l?a.pop()+" "+a.pop():i(l))}return s();function s(){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,s=!0;;i++,a++){var u,p,f=i<e.length?(typeof e[i])[0]:"";if(a>=r.length||"o"==(p=(typeof(u=r[a]))[0]))return!s||("u"==f?i>t&&!n:""==f!=n);if("u"==p){if(!s||"u"!=f)return!1}else if(s)if(f==p)if(i<=t){if(u!=e[i])return!1}else{if(n?u>e[i]:u<e[i])return!1;u!=e[i]&&(s=!1)}else if("s"!=f&&"n"!=f){if(n||i<=t)return!1;s=!1,i--}else{if(i<=t||p<f!=n)return!1;s=!1}else"s"!=f&&"n"!=f&&(s=!1,i--)}}var d=[],c=d.pop.bind(d);for(a=1;a<e.length;a++){var m=e[a];d.push(1==m?c()|c():2==m?c()&c():m?l(m,r):!c())}return!!c()},s=(e,r)=>{var t=e[r];return Object.keys(t).reduce(((e,r)=>!e||!t[e].loaded&&a(e,r)?r:e),0)},u=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+i(n)+")",p=(e,r,t,n)=>{var o=s(e,t);return l(n,o)||f(u(e,t,o,n)),d(e[t][o])},f=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},d=e=>(e.loaded=1,e.get()),c=(e=>function(r,t,n,o){var a=y.I(r);return a&&a.then?a.then(e.bind(e,r,y.S[r],t,n,o)):e(0,y.S[r],t,n,o)})(((e,r,t,n,o)=>r&&y.o(r,t)?p(r,0,t,n):o())),m={},h={268:()=>c("default","react",[1,18],(()=>y.e(2784).then((()=>()=>y(2784))))),3629:()=>c("default","swr/_internal",[1,2],(()=>y.e(1325).then((()=>()=>y(1325))))),1858:()=>c("default","react-dom",[1,18],(()=>y.e(8316).then((()=>()=>y(8316))))),7900:()=>c("default","@openmrs/esm-patient-common-lib",[1,10],(()=>Promise.all([y.e(2417),y.e(600),y.e(4437),y.e(3629),y.e(1858),y.e(5907)]).then((()=>()=>y(4437))))),4924:()=>c("default","react-i18next",[1,11],(()=>y.e(5501).then((()=>()=>y(5501))))),7234:()=>c("default","@openmrs/esm-framework",[1,6],(()=>y.e(130).then((()=>()=>y(130))))),8744:()=>c("default","react-router-dom",[1,6],(()=>y.e(6591).then((()=>()=>y(6591))))),5907:()=>c("default","swr/immutable",[1,2],(()=>y.e(2).then((()=>()=>y(3372)))))},v={268:[268],1858:[1858],3629:[3629],5907:[5907],6033:[4924,7234,8744],7900:[7900]},y.f.consumes=(e,r)=>{y.o(v,e)&&v[e].forEach((e=>{if(y.o(m,e))return r.push(m[e]);var t=r=>{m[e]=0,y.m[e]=t=>{delete y.c[e],t.exports=r()}},n=r=>{delete m[e],y.m[e]=t=>{throw delete y.c[e],r}};try{var o=h[e]();o.then?r.push(m[e]=o.then(t).catch(n)):t(o)}catch(e){n(e)}}))},(()=>{var e={9529:0};y.f.j=(r,t)=>{var n=y.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(1858|268|3629|5907|6033|7900)$/.test(r))e[r]=0;else{var o=new Promise(((t,o)=>n=e[r]=[t,o]));t.push(n[2]=o);var a=y.p+y.u(r),i=new Error;y.l(a,(t=>{if(y.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)y.o(i,n)&&(y.m[n]=i[n]);l&&l(y)}for(r&&r(t);s<a.length;s++)o=a[s],y.o(e,o)&&e[o]&&e[o][0](),e[o]=0},t=globalThis.webpackChunk_openmrs_esm_appointments_app=globalThis.webpackChunk_openmrs_esm_appointments_app||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),y.nc=void 0;var w=y(5605);_openmrs_esm_appointments_app=w})();
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"auxiliaryFiles": [
|
|
77
77
|
"main.js.map"
|
|
78
78
|
],
|
|
79
|
-
"hash": "
|
|
79
|
+
"hash": "400ceb8485aec7ce",
|
|
80
80
|
"childrenByOrder": {}
|
|
81
81
|
},
|
|
82
82
|
{
|
|
@@ -1619,7 +1619,7 @@
|
|
|
1619
1619
|
"auxiliaryFiles": [
|
|
1620
1620
|
"openmrs-esm-appointments-app.js.map"
|
|
1621
1621
|
],
|
|
1622
|
-
"hash": "
|
|
1622
|
+
"hash": "c9193f7e01e5734c",
|
|
1623
1623
|
"childrenByOrder": {}
|
|
1624
1624
|
},
|
|
1625
1625
|
{
|
package/dist/routes.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"home-appointments","slot":"homepage-widgets-slot","component":"homeAppointments","order":1},{"name":"clinical-appointments-dashboard-link","slot":"homepage-dashboard-slot","component":"appointmentsDashboardLink","meta":{"name":"appointments","slot":"clinical-appointments-dashboard-slot","title":"Appointments"}},{"component":"root","name":"clinical-appointments-dashboard","slot":"clinical-appointments-dashboard-slot"},{"name":"appointments-calendar-dashboard-link","slot":"calendar-dashboard-slot","component":"appointmentsCalendarDashboardLink"},{"name":"todays-appointments-dashboard","slot":"todays-appointment-slot","component":"homeAppointments"},{"name":"expected-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"checked-in-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"completed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"missed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"cancelled-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"early-appointments-panel","component":"earlyAppointments"},{"name":"patient-appointments-summary-dashboard","component":"patientAppointmentsSummaryDashboardLink","slot":"patient-chart-dashboard-slot","order":11,"meta":{"columns":1,"columnSpan":1,"hideDashboardTitle":true,"path":"Appointments","slot":"patient-chart-appointments-dashboard-slot","title":"Appointments"}},{"name":"appointments-details-widget","component":"patientAppointmentsDetailedSummary","slot":"patient-chart-appointments-dashboard-slot","meta":{"columnSpan":1}},{"name":"patient-upcoming-appointment-widget","component":"patientUpcomingAppointmentsWidget","slot":"visit-form-top-slot"},{"name":"search-patient","component":"searchPatient"},{"name":"home-appointments-tile","slot":"home-metrics-tiles-slot","component":"homeAppointmentsTile"}],"modals":[{"name":"end-appointment-modal","component":"endAppointmentModal"},{"name":"cancel-appointment-modal","component":"cancelAppointmentModal"}],"workspaces":[{"name":"appointments-form-workspace","component":"appointmentsFormWorkspace","title":"createNewAppointment","type":"form"}],"version":"8.4.
|
|
1
|
+
{"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"webservices.rest":"^2.2.0"},"extensions":[{"name":"home-appointments","slot":"homepage-widgets-slot","component":"homeAppointments","order":1},{"name":"clinical-appointments-dashboard-link","slot":"homepage-dashboard-slot","component":"appointmentsDashboardLink","meta":{"name":"appointments","slot":"clinical-appointments-dashboard-slot","title":"Appointments"}},{"component":"root","name":"clinical-appointments-dashboard","slot":"clinical-appointments-dashboard-slot"},{"name":"appointments-calendar-dashboard-link","slot":"calendar-dashboard-slot","component":"appointmentsCalendarDashboardLink"},{"name":"todays-appointments-dashboard","slot":"todays-appointment-slot","component":"homeAppointments"},{"name":"expected-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"checked-in-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"completed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"missed-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"cancelled-appointments-panel","slot":"scheduled-appointments-panels-slot","component":"appointmentsList"},{"name":"early-appointments-panel","component":"earlyAppointments"},{"name":"patient-appointments-summary-dashboard","component":"patientAppointmentsSummaryDashboardLink","slot":"patient-chart-dashboard-slot","order":11,"meta":{"columns":1,"columnSpan":1,"hideDashboardTitle":true,"path":"Appointments","slot":"patient-chart-appointments-dashboard-slot","title":"Appointments"}},{"name":"appointments-details-widget","component":"patientAppointmentsDetailedSummary","slot":"patient-chart-appointments-dashboard-slot","meta":{"columnSpan":1}},{"name":"patient-upcoming-appointment-widget","component":"patientUpcomingAppointmentsWidget","slot":"visit-form-top-slot"},{"name":"search-patient","component":"searchPatient"},{"name":"home-appointments-tile","slot":"home-metrics-tiles-slot","component":"homeAppointmentsTile"}],"modals":[{"name":"end-appointment-modal","component":"endAppointmentModal"},{"name":"cancel-appointment-modal","component":"cancelAppointmentModal"}],"workspaces":[{"name":"appointments-form-workspace","component":"appointmentsFormWorkspace","title":"createNewAppointment","type":"form"}],"version":"8.4.1-pre.5238"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openmrs/esm-appointments-app",
|
|
3
|
-
"version": "8.4.
|
|
3
|
+
"version": "8.4.1-pre.5238",
|
|
4
4
|
"description": "Appointments front-end module for O3",
|
|
5
5
|
"browser": "dist/openmrs-esm-appointments-app.js",
|
|
6
6
|
"main": "src/index.ts",
|
|
@@ -59,5 +59,6 @@
|
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@openmrs/esm-patient-common-lib": "next",
|
|
61
61
|
"webpack": "^5.74.0"
|
|
62
|
-
}
|
|
62
|
+
},
|
|
63
|
+
"stableVersion": "8.4.0"
|
|
63
64
|
}
|