@openmrs/esm-patient-registration-app 9.2.1-pre.7387 → 9.2.1-pre.7408

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.
Files changed (189) hide show
  1. package/.turbo/turbo-build.log +10 -44
  2. package/dist/126.js +1 -0
  3. package/dist/15.js +1 -0
  4. package/dist/1564.js +1 -0
  5. package/dist/1567.js +1 -0
  6. package/dist/1845.js +1 -0
  7. package/dist/1953.js +1 -0
  8. package/dist/200.js +1 -0
  9. package/dist/200.js.map +1 -0
  10. package/dist/215.js +1 -0
  11. package/dist/2178.js +1 -0
  12. package/dist/2523.js +1 -0
  13. package/dist/2523.js.map +1 -0
  14. package/dist/2566.js +1 -0
  15. package/dist/2586.js +1 -0
  16. package/dist/2586.js.map +1 -0
  17. package/dist/2759.js +1 -0
  18. package/dist/3089.js +1 -0
  19. package/dist/3089.js.map +1 -0
  20. package/dist/3230.js +1 -0
  21. package/dist/3441.js +1 -0
  22. package/dist/3565.js +1 -0
  23. package/dist/3571.js +1 -0
  24. package/dist/3571.js.map +1 -0
  25. package/dist/3746.js +1 -0
  26. package/dist/3925.js +1 -0
  27. package/dist/3946.js +1 -0
  28. package/dist/4024.js +1 -0
  29. package/dist/4024.js.map +1 -0
  30. package/dist/4744.js +1 -0
  31. package/dist/4744.js.map +1 -0
  32. package/dist/4809.js +1 -0
  33. package/dist/4894.js +1 -0
  34. package/dist/4970.js +1 -0
  35. package/dist/4970.js.map +1 -0
  36. package/dist/5130.js +1 -0
  37. package/dist/5155.js +1 -0
  38. package/dist/5155.js.map +1 -0
  39. package/dist/5187.js +1 -0
  40. package/dist/5491.js +1 -0
  41. package/dist/5491.js.map +1 -0
  42. package/dist/5564.js +1 -0
  43. package/dist/5564.js.map +1 -0
  44. package/dist/5595.js +1 -0
  45. package/dist/5755.js +1 -0
  46. package/dist/5755.js.map +1 -0
  47. package/dist/5961.js +1 -0
  48. package/dist/6133.js +1 -0
  49. package/dist/634.js +1 -0
  50. package/dist/634.js.map +1 -0
  51. package/dist/6456.js +1 -0
  52. package/dist/6466.js +1 -0
  53. package/dist/6613.js +1 -0
  54. package/dist/6783.js +1 -0
  55. package/dist/7154.js +1 -0
  56. package/dist/7154.js.map +1 -0
  57. package/dist/7267.js +38 -0
  58. package/dist/7267.js.map +1 -0
  59. package/dist/7348.js +1 -0
  60. package/dist/7439.js +1 -0
  61. package/dist/7439.js.map +1 -0
  62. package/dist/7543.js +1 -0
  63. package/dist/7607.js +1 -0
  64. package/dist/772.js +1 -0
  65. package/dist/7984.js +1 -0
  66. package/dist/7984.js.map +1 -0
  67. package/dist/80.js +6 -0
  68. package/dist/80.js.map +1 -0
  69. package/dist/8599.js +1 -0
  70. package/dist/8727.js +1 -0
  71. package/dist/8847.js +1 -0
  72. package/dist/9015.js +1 -0
  73. package/dist/906.js +1 -0
  74. package/dist/9065.js +1 -0
  75. package/dist/9182.js +1 -0
  76. package/dist/9339.js +1 -0
  77. package/dist/9453.js +1 -0
  78. package/dist/9833.js +1 -0
  79. package/dist/9833.js.map +1 -0
  80. package/dist/9856.js +1 -0
  81. package/dist/9856.js.map +1 -0
  82. package/dist/9920.js +1 -0
  83. package/dist/9938.js +1 -0
  84. package/dist/9943.js +1 -0
  85. package/dist/9943.js.map +1 -0
  86. package/dist/main.js +10 -2
  87. package/dist/main.js.map +1 -1
  88. package/dist/openmrs-esm-patient-registration-app.js +5 -1
  89. package/dist/openmrs-esm-patient-registration-app.js.buildmanifest.json +520 -508
  90. package/dist/openmrs-esm-patient-registration-app.js.map +1 -1
  91. package/dist/routes.json +1 -1
  92. package/package.json +6 -4
  93. package/rspack.config.js +1 -0
  94. package/dist/1119.js +0 -1
  95. package/dist/1197.js +0 -1
  96. package/dist/1909.js +0 -2
  97. package/dist/1909.js.LICENSE.txt +0 -30
  98. package/dist/1909.js.map +0 -1
  99. package/dist/2146.js +0 -1
  100. package/dist/2372.js +0 -1
  101. package/dist/2372.js.map +0 -1
  102. package/dist/2470.js +0 -1
  103. package/dist/2470.js.map +0 -1
  104. package/dist/2690.js +0 -1
  105. package/dist/2913.js +0 -2
  106. package/dist/2913.js.LICENSE.txt +0 -32
  107. package/dist/2913.js.map +0 -1
  108. package/dist/3093.js +0 -1
  109. package/dist/3093.js.map +0 -1
  110. package/dist/3099.js +0 -1
  111. package/dist/3144.js +0 -2
  112. package/dist/3144.js.LICENSE.txt +0 -19
  113. package/dist/3144.js.map +0 -1
  114. package/dist/320.js +0 -2
  115. package/dist/320.js.LICENSE.txt +0 -8
  116. package/dist/320.js.map +0 -1
  117. package/dist/3464.js +0 -1
  118. package/dist/3464.js.map +0 -1
  119. package/dist/3474.js +0 -2
  120. package/dist/3474.js.LICENSE.txt +0 -8
  121. package/dist/3474.js.map +0 -1
  122. package/dist/3584.js +0 -1
  123. package/dist/3704.js +0 -1
  124. package/dist/3704.js.map +0 -1
  125. package/dist/4041.js +0 -2
  126. package/dist/4041.js.LICENSE.txt +0 -9
  127. package/dist/4041.js.map +0 -1
  128. package/dist/4055.js +0 -1
  129. package/dist/4132.js +0 -1
  130. package/dist/4300.js +0 -1
  131. package/dist/4335.js +0 -1
  132. package/dist/439.js +0 -1
  133. package/dist/4463.js +0 -1
  134. package/dist/4463.js.map +0 -1
  135. package/dist/4618.js +0 -1
  136. package/dist/4652.js +0 -1
  137. package/dist/4944.js +0 -1
  138. package/dist/5173.js +0 -1
  139. package/dist/5241.js +0 -1
  140. package/dist/5442.js +0 -1
  141. package/dist/5661.js +0 -1
  142. package/dist/6022.js +0 -1
  143. package/dist/6276.js +0 -1
  144. package/dist/6276.js.map +0 -1
  145. package/dist/6336.js +0 -1
  146. package/dist/6336.js.map +0 -1
  147. package/dist/6468.js +0 -1
  148. package/dist/6589.js +0 -1
  149. package/dist/6679.js +0 -1
  150. package/dist/6840.js +0 -1
  151. package/dist/6859.js +0 -1
  152. package/dist/7071.js +0 -1
  153. package/dist/7071.js.map +0 -1
  154. package/dist/7097.js +0 -1
  155. package/dist/7159.js +0 -1
  156. package/dist/723.js +0 -1
  157. package/dist/7248.js +0 -2
  158. package/dist/7248.js.LICENSE.txt +0 -29
  159. package/dist/7248.js.map +0 -1
  160. package/dist/729.js +0 -2
  161. package/dist/729.js.LICENSE.txt +0 -9
  162. package/dist/729.js.map +0 -1
  163. package/dist/7495.js +0 -2
  164. package/dist/7495.js.LICENSE.txt +0 -9
  165. package/dist/7495.js.map +0 -1
  166. package/dist/7617.js +0 -1
  167. package/dist/795.js +0 -1
  168. package/dist/8163.js +0 -1
  169. package/dist/8349.js +0 -1
  170. package/dist/8371.js +0 -1
  171. package/dist/8434.js +0 -1
  172. package/dist/8434.js.map +0 -1
  173. package/dist/8618.js +0 -1
  174. package/dist/89.js +0 -2
  175. package/dist/89.js.LICENSE.txt +0 -9
  176. package/dist/89.js.map +0 -1
  177. package/dist/890.js +0 -1
  178. package/dist/9214.js +0 -1
  179. package/dist/9538.js +0 -1
  180. package/dist/9569.js +0 -1
  181. package/dist/986.js +0 -1
  182. package/dist/9876.js +0 -1
  183. package/dist/9876.js.map +0 -1
  184. package/dist/9879.js +0 -1
  185. package/dist/9895.js +0 -1
  186. package/dist/9900.js +0 -1
  187. package/dist/9913.js +0 -1
  188. package/dist/main.js.LICENSE.txt +0 -59
  189. package/webpack.config.js +0 -1
package/dist/729.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 729.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[]).push([[729],{521:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(39600),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=o&&"object"==typeof module&&module&&!module.nodeType&&module,i=a&&a.exports===o?n.A.Buffer:void 0,u=i?i.allocUnsafe:void 0;const c=function(e,t){if(t)return e.slice();var r=e.length,n=u?u(r):new e.constructor(r);return e.copy(n),n}},3375:(e,t,r)=>{var n;r.d(t,{A:()=>f});var o=new Uint8Array(16);function a(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(o)}const i=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;for(var u=[],c=0;c<256;++c)u.push((c+256).toString(16).substr(1));const s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(u[e[t+0]]+u[e[t+1]]+u[e[t+2]]+u[e[t+3]]+"-"+u[e[t+4]]+u[e[t+5]]+"-"+u[e[t+6]]+u[e[t+7]]+"-"+u[e[t+8]]+u[e[t+9]]+"-"+u[e[t+10]]+u[e[t+11]]+u[e[t+12]]+u[e[t+13]]+u[e[t+14]]+u[e[t+15]]).toLowerCase();if(!function(e){return"string"==typeof e&&i.test(e)}(r))throw TypeError("Stringified UUID is invalid");return r},f=function(e,t,r){var n=(e=e||{}).random||(e.rng||a)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var o=0;o<16;++o)t[r+o]=n[o];return t}return s(n)}},7096:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(64494),o=r(36430),a=r(15150);const i=function(e){return(0,n.A)(e,a.A,o.A)}},15150:(e,t,r)=>{r.d(t,{A:()=>s});var n=r(9158),o=r(97942),a=r(71140);var i=Object.prototype.hasOwnProperty;const u=function(e){if(!(0,o.A)(e))return function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}(e);var t=(0,a.A)(e),r=[];for(var n in e)("constructor"!=n||!t&&i.call(e,n))&&r.push(n);return r};var c=r(31475);const s=function(e){return(0,c.A)(e)?(0,n.A)(e,!0):u(e)}},17545:(e,t,r)=>{function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}r.d(t,{A:()=>n})},28078:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(76124),o=r(99271);const a=function(e,t,r,a){var i=!r;r||(r={});for(var u=-1,c=t.length;++u<c;){var s=t[u],f=a?a(r[s],e[s],s,r,e):void 0;void 0===f&&(f=e[s]),i?(0,o.A)(r,s,f):(0,n.A)(r,s,f)}return r}},30414:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(68515);function o(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,n.A)(o.key),o)}}function a(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}},33339:(e,t,r)=>{r.d(t,{A:()=>c});var n=r(97942),o=Object.create;const a=function(){function e(){}return function(t){if(!(0,n.A)(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();var i=r(34878),u=r(71140);const c=function(e){return"function"!=typeof e.constructor||(0,u.A)(e)?{}:a((0,i.A)(e))}},34878:(e,t,r)=>{r.d(t,{A:()=>n});const n=(0,r(67244).A)(Object.getPrototypeOf,Object)},36430:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(53271),o=r(34878),a=r(53721),i=r(11276);const u=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,n.A)(t,(0,a.A)(e)),e=(0,o.A)(e);return t}:i.A},56723:(e,t,r)=>{r.d(t,{A:()=>n});const n=function(e,t,r){for(var n=-1,o=Object(e),a=r(e),i=a.length;i--;){var u=a[++n];if(!1===t(o[u],u,o))break}return e}},58139:(e,t,r)=>{e.exports=r(93296)},61758:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(91465);const o=function(){try{var e=(0,n.A)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},65246:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(88724);const o=function(e,t){var r=t?(0,n.A)(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},68515:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(17545);function o(e){var t=function(e){if("object"!=(0,n.A)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=(0,n.A)(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,n.A)(t)?t:t+""}},71123:(e,t,r)=>{r.d(t,{Ay:()=>s,BE:()=>c});var n=r(1343),o=r(58139),a=r(55434);const i=n.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),u={dedupe:!0},c=a.OBJECT.defineProperty(a.SWRConfig,"defaultValue",{value:a.defaultConfig}),s=(0,a.withArgs)((e,t,r)=>{const{cache:c,compare:s,suspense:f,fallbackData:d,revalidateOnMount:l,revalidateIfStale:v,refreshInterval:b,refreshWhenHidden:A,refreshWhenOffline:p,keepPreviousData:y}=r,[g,j,m,E]=a.SWRGlobalState.get(c),[h,w]=(0,a.serialize)(e),S=(0,n.useRef)(!1),O=(0,n.useRef)(!1),U=(0,n.useRef)(h),R=(0,n.useRef)(t),V=(0,n.useRef)(r),_=()=>V.current,T=()=>_().isVisible()&&_().isOnline(),[C,I,L,x]=(0,a.createCacheHelper)(c,h),D=(0,n.useRef)({}).current,k=(0,a.isUndefined)(d)?r.fallback[h]:d,P=(e,t)=>{for(const r in D){const n=r;if("data"===n){if(!s(e[n],t[n])){if(!(0,a.isUndefined)(e[n]))return!1;if(!s($,t[n]))return!1}}else if(t[n]!==e[n])return!1}return!0},F=(0,n.useMemo)(()=>{const e=!!h&&!!t&&((0,a.isUndefined)(l)?!_().isPaused()&&!f&&(!!(0,a.isUndefined)(v)||v):l),r=t=>{const r=(0,a.mergeObjects)(t);return delete r._k,e?{isValidating:!0,isLoading:!0,...r}:r},n=C(),o=x(),i=r(n),u=n===o?i:r(o);let c=i;return[()=>{const e=r(C());return P(e,c)?(c.data=e.data,c.isLoading=e.isLoading,c.isValidating=e.isValidating,c.error=e.error,c):(c=e,e)},()=>u]},[c,h]),N=(0,o.useSyncExternalStore)((0,n.useCallback)(e=>L(h,(t,r)=>{P(r,t)||e()}),[c,h]),F[0],F[1]),M=!S.current,B=g[h]&&g[h].length>0,W=N.data,G=(0,a.isUndefined)(W)?k:W,H=N.error,Y=(0,n.useRef)(G),$=y?(0,a.isUndefined)(W)?Y.current:W:G,q=!(B&&!(0,a.isUndefined)(H))&&(M&&!(0,a.isUndefined)(l)?l:!_().isPaused()&&(f?!(0,a.isUndefined)(G)&&v:(0,a.isUndefined)(G)||v)),z=!!(h&&t&&M&&q),J=(0,a.isUndefined)(N.isValidating)?z:N.isValidating,K=(0,a.isUndefined)(N.isLoading)?z:N.isLoading,Q=(0,n.useCallback)(async e=>{const t=R.current;if(!h||!t||O.current||_().isPaused())return!1;let n,o,i=!0;const u=e||{},c=!m[h]||!u.dedupe,f=()=>a.IS_REACT_LEGACY?!O.current&&h===U.current&&S.current:h===U.current,d={isValidating:!1,isLoading:!1},l=()=>{I(d)},v=()=>{const e=m[h];e&&e[1]===o&&delete m[h]},b={isValidating:!0};(0,a.isUndefined)(C().data)&&(b.isLoading=!0);try{if(c&&(I(b),r.loadingTimeout&&(0,a.isUndefined)(C().data)&&setTimeout(()=>{i&&f()&&_().onLoadingSlow(h,r)},r.loadingTimeout),m[h]=[t(w),(0,a.getTimestamp)()]),[n,o]=m[h],n=await n,c&&setTimeout(v,r.dedupingInterval),!m[h]||m[h][1]!==o)return c&&f()&&_().onDiscarded(h),!1;d.error=a.UNDEFINED;const e=j[h];if(!(0,a.isUndefined)(e)&&(o<=e[0]||o<=e[1]||0===e[1]))return l(),c&&f()&&_().onDiscarded(h),!1;const u=C().data;d.data=s(u,n)?u:n,c&&f()&&_().onSuccess(n,h,r)}catch(e){v();const t=_(),{shouldRetryOnError:r}=t;t.isPaused()||(d.error=e,c&&f()&&(t.onError(e,h,t),(!0===r||(0,a.isFunction)(r)&&r(e))&&(_().revalidateOnFocus&&_().revalidateOnReconnect&&!T()||t.onErrorRetry(e,h,t,e=>{const t=g[h];t&&t[0]&&t[0](a.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(u.retryCount||0)+1,dedupe:!0}))))}return i=!1,l(),!0},[h,c]),X=(0,n.useCallback)((...e)=>(0,a.internalMutate)(c,U.current,...e),[]);if((0,a.useIsomorphicLayoutEffect)(()=>{R.current=t,V.current=r,(0,a.isUndefined)(W)||(Y.current=W)}),(0,a.useIsomorphicLayoutEffect)(()=>{if(!h)return;const e=Q.bind(a.UNDEFINED,u);let t=0;const r=(0,a.subscribeCallback)(h,g,(r,n={})=>{if(r==a.revalidateEvents.FOCUS_EVENT){const r=Date.now();_().revalidateOnFocus&&r>t&&T()&&(t=r+_().focusThrottleInterval,e())}else if(r==a.revalidateEvents.RECONNECT_EVENT)_().revalidateOnReconnect&&T()&&e();else{if(r==a.revalidateEvents.MUTATE_EVENT)return Q();if(r==a.revalidateEvents.ERROR_REVALIDATE_EVENT)return Q(n)}});return O.current=!1,U.current=h,S.current=!0,I({_k:w}),q&&((0,a.isUndefined)(G)||a.IS_SERVER?e():(0,a.rAF)(e)),()=>{O.current=!0,r()}},[h]),(0,a.useIsomorphicLayoutEffect)(()=>{let e;function t(){const t=(0,a.isFunction)(b)?b(C().data):b;t&&-1!==e&&(e=setTimeout(r,t))}function r(){C().error||!A&&!_().isVisible()||!p&&!_().isOnline()?t():Q(u).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[b,A,p,h]),(0,n.useDebugValue)($),f&&(0,a.isUndefined)(G)&&h){if(!a.IS_REACT_LEGACY&&a.IS_SERVER)throw new Error("Fallback data is required when using suspense in SSR.");R.current=t,V.current=r,O.current=!1;const e=E[h];if(!(0,a.isUndefined)(e)){const t=X(e);i(t)}if(!(0,a.isUndefined)(H))throw H;{const e=Q(u);(0,a.isUndefined)($)||(e.status="fulfilled",e.value=!0),i(e)}}return{mutate:X,get data(){return D.data=!0,$},get error(){return D.error=!0,H},get isValidating(){return D.isValidating=!0,J},get isLoading(){return D.isLoading=!0,K}}})},76124:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(99271),o=r(26979),a=Object.prototype.hasOwnProperty;const i=function(e,t,r){var i=e[t];a.call(e,t)&&(0,o.A)(i,r)&&(void 0!==r||t in e)||(0,n.A)(e,t,r)}},78938:(e,t,r)=>{r.d(t,{A:()=>d});var n=r(62135),o=r(34878),a=r(47313),i=Function.prototype,u=Object.prototype,c=i.toString,s=u.hasOwnProperty,f=c.call(Object);const d=function(e){if(!(0,a.A)(e)||"[object Object]"!=(0,n.A)(e))return!1;var t=(0,o.A)(e);if(null===t)return!0;var r=s.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&c.call(r)==f}},80084:(e,t,r)=>{r.d(t,{A:()=>n});const n=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},88724:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(97913);const o=function(e){var t=new e.constructor(e.byteLength);return new n.A(t).set(new n.A(e)),t}},93296:(e,t,r)=>{var n=r(1343),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=n.useState,i=n.useEffect,u=n.useLayoutEffect,c=n.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!o(e,r)}catch(e){return!0}}var f="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var r=t(),n=a({inst:{value:r,getSnapshot:t}}),o=n[0].inst,f=n[1];return u(function(){o.value=r,o.getSnapshot=t,s(o)&&f({inst:o})},[e,r,t]),i(function(){return s(o)&&f({inst:o}),e(function(){s(o)&&f({inst:o})})},[e]),c(r),r};t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:f},99271:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(61758);const o=function(e,t,r){"__proto__"==t&&n.A?(0,n.A)(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},99697:(e,t,r)=>{r.d(t,{A:()=>F});var n=r(39791);var o=r(76124),a=r(28078),i=r(7817);var u=r(15150);var c=r(521),s=r(80084),f=r(53721);var d=r(36430);var l=r(2475),v=r(7096),b=r(26781),A=Object.prototype.hasOwnProperty;var p=r(88724);var y=/\w*$/;var g=r(83516),j=g.A?g.A.prototype:void 0,m=j?j.valueOf:void 0;var E=r(65246);const h=function(e,t,r){var n,o,a,i=e.constructor;switch(t){case"[object ArrayBuffer]":return(0,p.A)(e);case"[object Boolean]":case"[object Date]":return new i(+e);case"[object DataView]":return function(e,t){var r=t?(0,p.A)(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,E.A)(e,r);case"[object Map]":case"[object Set]":return new i;case"[object Number]":case"[object String]":return new i(e);case"[object RegExp]":return(a=new(o=e).constructor(o.source,y.exec(o))).lastIndex=o.lastIndex,a;case"[object Symbol]":return n=e,m?Object(m.call(n)):{}}};var w=r(33339),S=r(96956),O=r(15821),U=r(47313);var R=r(58126),V=r(10248),_=V.A&&V.A.isMap;const T=_?(0,R.A)(_):function(e){return(0,U.A)(e)&&"[object Map]"==(0,b.A)(e)};var C=r(97942);var I=V.A&&V.A.isSet;const L=I?(0,R.A)(I):function(e){return(0,U.A)(e)&&"[object Set]"==(0,b.A)(e)};var x="[object Arguments]",D="[object Function]",k="[object Object]",P={};P[x]=P["[object Array]"]=P["[object ArrayBuffer]"]=P["[object DataView]"]=P["[object Boolean]"]=P["[object Date]"]=P["[object Float32Array]"]=P["[object Float64Array]"]=P["[object Int8Array]"]=P["[object Int16Array]"]=P["[object Int32Array]"]=P["[object Map]"]=P["[object Number]"]=P[k]=P["[object RegExp]"]=P["[object Set]"]=P["[object String]"]=P["[object Symbol]"]=P["[object Uint8Array]"]=P["[object Uint8ClampedArray]"]=P["[object Uint16Array]"]=P["[object Uint32Array]"]=!0,P["[object Error]"]=P[D]=P["[object WeakMap]"]=!1;const F=function e(t,r,p,y,g,j){var m,E=1&r,U=2&r,R=4&r;if(p&&(m=g?p(t,y,g,j):p(t)),void 0!==m)return m;if(!(0,C.A)(t))return t;var V=(0,S.A)(t);if(V){if(m=function(e){var t=e.length,r=new e.constructor(t);return t&&"string"==typeof e[0]&&A.call(e,"index")&&(r.index=e.index,r.input=e.input),r}(t),!E)return(0,s.A)(t,m)}else{var _=(0,b.A)(t),I=_==D||"[object GeneratorFunction]"==_;if((0,O.A)(t))return(0,c.A)(t,E);if(_==k||_==x||I&&!g){if(m=U||I?{}:(0,w.A)(t),!E)return U?function(e,t){return(0,a.A)(e,(0,d.A)(e),t)}(t,function(e,t){return e&&(0,a.A)(t,(0,u.A)(t),e)}(m,t)):function(e,t){return(0,a.A)(e,(0,f.A)(e),t)}(t,function(e,t){return e&&(0,a.A)(t,(0,i.A)(t),e)}(m,t))}else{if(!P[_])return g?t:{};m=h(t,_,E)}}j||(j=new n.A);var F=j.get(t);if(F)return F;j.set(t,m),L(t)?t.forEach(function(n){m.add(e(n,r,p,n,t,j))}):T(t)&&t.forEach(function(n,o){m.set(o,e(n,r,p,o,t,j))});var N=R?U?v.A:l.A:U?u.A:i.A,M=V?void 0:N(t);return function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););}(M||t,function(n,a){M&&(n=t[a=n]),(0,o.A)(m,a,e(n,r,p,a,t,j))}),m}}}]);
@@ -1,9 +0,0 @@
1
- /**
2
- * @license React
3
- * use-sync-external-store-shim.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
package/dist/729.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"729.js","mappings":";wMAGIA,EAAgC,iBAAXC,SAAuBA,UAAYA,QAAQC,UAAYD,QAG5EE,EAAaH,GAAgC,iBAAVI,QAAsBA,SAAWA,OAAOF,UAAYE,OAMvFC,EAHgBF,GAAcA,EAAWF,UAAYD,EAG5B,IAAKK,YAASC,EACvCC,EAAcF,EAASA,EAAOE,iBAAcD,EAqBhD,QAXA,SAAqBE,EAAQC,GAC3B,GAAIA,EACF,OAAOD,EAAOE,QAEhB,IAAIC,EAASH,EAAOG,OAChBC,EAASL,EAAcA,EAAYI,GAAU,IAAIH,EAAOK,YAAYF,GAGxE,OADAH,EAAOM,KAAKF,GACLA,CACT,C,iBC7BA,IAAIG,E,iBACJ,IAAIC,EAAQ,IAAIC,WAAW,IACZ,SAASC,IAEtB,IAAKH,KAGHA,EAAoC,oBAAXI,QAA0BA,OAAOJ,iBAAmBI,OAAOJ,gBAAgBK,KAAKD,SAA+B,oBAAbE,UAAgE,mBAA7BA,SAASN,iBAAkCM,SAASN,gBAAgBK,KAAKC,WAGrO,MAAM,IAAIC,MAAM,4GAIpB,OAAOP,EAAgBC,EACzB,CClBA,8HCQA,IAFA,IAAIO,EAAY,GAEPC,EAAI,EAAGA,EAAI,MAAOA,EACzBD,EAAUE,MAAMD,EAAI,KAAOE,SAAS,IAAIC,OAAO,IAoBjD,QAjBA,SAAmBC,GACjB,IAAIC,EAASC,UAAUnB,OAAS,QAAsBL,IAAjBwB,UAAU,GAAmBA,UAAU,GAAK,EAG7EC,GAAQR,EAAUK,EAAIC,EAAS,IAAMN,EAAUK,EAAIC,EAAS,IAAMN,EAAUK,EAAIC,EAAS,IAAMN,EAAUK,EAAIC,EAAS,IAAM,IAAMN,E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L,GAAQA,EAAOsL,KAKtC,CLuIE,CAAUzL,GAAS+B,EAAO,SAASmN,EAAU3P,GACvCS,IAEFkP,EAAWnN,EADXxC,EAAM2P,KAIR,OAAY3R,EAAQgC,EAAK6O,EAAUc,EAAUb,EAASpO,EAAYV,EAAKwC,EAAOuM,GAChF,GACO/Q,CACT,C","sources":["webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_cloneBuffer.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/uuid/dist/esm-browser/rng.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/uuid/dist/esm-browser/regex.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/uuid/dist/esm-browser/stringify.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/uuid/dist/esm-browser/validate.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/uuid/dist/esm-browser/v4.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_getAllKeysIn.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_baseKeysIn.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_nativeKeysIn.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/keysIn.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_copyObject.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/createClass.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_baseCreate.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_initCloneObject.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_getPrototype.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_getSymbolsIn.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_baseFor.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_createBaseFor.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/use-sync-external-store/shim/index.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_defineProperty.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_cloneTypedArray.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/toPropertyKey.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/@babel/runtime/helpers/esm/toPrimitive.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/swr/dist/core/index.mjs","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_assignValue.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/isPlainObject.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_copyArray.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_cloneArrayBuffer.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_baseAssignValue.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_initCloneArray.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_cloneRegExp.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_cloneSymbol.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_initCloneByTag.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_cloneDataView.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/isMap.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_baseIsMap.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/isSet.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_baseIsSet.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_baseClone.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_copySymbolsIn.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_baseAssignIn.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_copySymbols.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_baseAssign.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/lodash-es/_arrayEach.js"],"names":["freeExports","exports","nodeType","freeModule","module","Buffer","undefined","allocUnsafe","buffer","isDeep","slice","length","result","constructor","copy","getRandomValues","rnds8","Uint8Array","rng","crypto","bind","msCrypto","Error","byteToHex","i","push","toString","substr","arr","offset","arguments","uuid","toLowerCase","test","TypeError","options","buf","rnds","random","object","Object","prototype","hasOwnProperty","isObject","key","isProto","call","isArrayLike","_typeof","o","Symbol","iterator","source","props","customizer","isNew","index","newValue","_defineProperties","e","r","t","enumerable","configurable","writable","defineProperty","_createClass","objectCreate","create","proto","getPrototypeOf","getOwnPropertySymbols","iteratee","keysFunc","iterable","func","typedArray","byteOffset","toPropertyKey","toPrimitive","String","use","promise","status","value","reason","then","v","WITH_DEDUPE","dedupe","SWRConfig","OBJECT","defaultConfig","useSWR","withArgs","_key","fetcher","config","cache","compare","suspense","fallbackData","revalidateOnMount","revalidateIfStale","refreshInterval","refreshWhenHidden","refreshWhenOffline","keepPreviousData","EVENT_REVALIDATORS","MUTATION","FETCH","PRELOAD","SWRGlobalState","get","fnArg","serialize","initialMountedRef","useRef","unmountedRef","keyRef","fetcherRef","configRef","getConfig","current","isActive","isVisible","isOnline","getCache","setCache","subscribeCache","getInitialCache","createCacheHelper","stateDependencies","fallback","isUndefined","isEqual","prev","_","returnedData","getSnapshot","useMemo","shouldStartRequest","isPaused","getSelectedCache","state","snapshot","mergeObjects","_k","isValidating","isLoading","cachedData","initialData","clientSnapshot","serverSnapshot","memorizedSnapshot","newSnapshot","data","error","cached","useSyncExternalStore","useCallback","callback","isInitialMount","hasRevalidator","laggyDataRef","shouldDoInitialRevalidation","defaultValidatingState","revalidate","async","revalidateOpts","currentFetcher","newData","startAt","loading","opts","shouldStartNewRequest","callbackSafeguard","IS_REACT_LEGACY","finalState","finishRequestAndUpdateState","cleanupState","requestInfo","initialState","loadingTimeout","setTimeout","onLoadingSlow","getTimestamp","dedupingInterval","onDiscarded","UNDEFINED","mutationInfo","cacheData","onSuccess","err","currentConfig","shouldRetryOnError","onError","isFunction","revalidateOnFocus","revalidateOnReconnect","onErrorRetry","_opts","revalidators","revalidateEvents","ERROR_REVALIDATE_EVENT","retryCount","boundMutate","args","internalMutate","useIsomorphicLayoutEffect","softRevalidate","nextFocusRevalidatedAt","unsubEvents","subscribeCallback","type","FOCUS_EVENT","now","Date","focusThrottleInterval","RECONNECT_EVENT","MUTATE_EVENT","IS_SERVER","rAF","timer","next","interval","execute","clearTimeout","useDebugValue","req","mutate","objValue","funcProto","Function","objectProto","funcToString","objectCtorString","Ctor","array","Array","arrayBuffer","byteLength","set","React","objectIs","is","x","y","useState","useEffect","useLayoutEffect","checkIfSnapshotChanged","inst","latestGetSnapshot","nextValue","shim","window","document","createElement","subscribe","_useState","forceUpdate","reFlags","symbolProto","symbolValueOf","valueOf","tag","symbol","regexp","dataView","exec","lastIndex","nodeIsMap","isMap","isObjectLike","nodeIsSet","isSet","argsTag","funcTag","objectTag","cloneableTags","baseClone","bitmask","stack","isFlat","isFull","isArr","isArray","input","isFunc","isBuffer","keysIn","keys","stacked","forEach","subValue","add"],"sourceRoot":""}
package/dist/7495.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 7495.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[]).push([[7495,9876],{29876:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c,immutable:()=>o});var r=n(1343),i=n(58139),a=n(55434);const s=r.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),u={dedupe:!0};a.OBJECT.defineProperty(a.SWRConfig,"defaultValue",{value:a.defaultConfig});const d=(0,a.withArgs)((e,t,n)=>{const{cache:d,compare:o,suspense:c,fallbackData:l,revalidateOnMount:f,revalidateIfStale:E,refreshInterval:g,refreshWhenHidden:v,refreshWhenOffline:p,keepPreviousData:h}=n,[R,S,U,_]=a.SWRGlobalState.get(d),[m,b]=(0,a.serialize)(e),T=(0,r.useRef)(!1),V=(0,r.useRef)(!1),w=(0,r.useRef)(m),C=(0,r.useRef)(t),O=(0,r.useRef)(n),y=()=>O.current,L=()=>y().isVisible()&&y().isOnline(),[I,k,D,A]=(0,a.createCacheHelper)(d,m),N=(0,r.useRef)({}).current,F=(0,a.isUndefined)(l)?n.fallback[m]:l,P=(e,t)=>{for(const n in N){const r=n;if("data"===r){if(!o(e[r],t[r])){if(!(0,a.isUndefined)(e[r]))return!1;if(!o(z,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},j=(0,r.useMemo)(()=>{const e=!!m&&!!t&&((0,a.isUndefined)(f)?!y().isPaused()&&!c&&(!!(0,a.isUndefined)(E)||E):f),n=t=>{const n=(0,a.mergeObjects)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=I(),i=A(),s=n(r),u=r===i?s:n(i);let d=s;return[()=>{const e=n(I());return P(e,d)?(d.data=e.data,d.isLoading=e.isLoading,d.isValidating=e.isValidating,d.error=e.error,d):(d=e,e)},()=>u]},[d,m]),x=(0,i.useSyncExternalStore)((0,r.useCallback)(e=>D(m,(t,n)=>{P(n,t)||e()}),[d,m]),j[0],j[1]),M=!T.current,W=R[m]&&R[m].length>0,G=x.data,H=(0,a.isUndefined)(G)?F:G,Y=x.error,q=(0,r.useRef)(H),z=h?(0,a.isUndefined)(G)?q.current:G:H,B=!(W&&!(0,a.isUndefined)(Y))&&(M&&!(0,a.isUndefined)(f)?f:!y().isPaused()&&(c?!(0,a.isUndefined)(H)&&E:(0,a.isUndefined)(H)||E)),J=!!(m&&t&&M&&B),K=(0,a.isUndefined)(x.isValidating)?J:x.isValidating,Q=(0,a.isUndefined)(x.isLoading)?J:x.isLoading,X=(0,r.useCallback)(async e=>{const t=C.current;if(!m||!t||V.current||y().isPaused())return!1;let r,i,s=!0;const u=e||{},d=!U[m]||!u.dedupe,c=()=>a.IS_REACT_LEGACY?!V.current&&m===w.current&&T.current:m===w.current,l={isValidating:!1,isLoading:!1},f=()=>{k(l)},E=()=>{const e=U[m];e&&e[1]===i&&delete U[m]},g={isValidating:!0};(0,a.isUndefined)(I().data)&&(g.isLoading=!0);try{if(d&&(k(g),n.loadingTimeout&&(0,a.isUndefined)(I().data)&&setTimeout(()=>{s&&c()&&y().onLoadingSlow(m,n)},n.loadingTimeout),U[m]=[t(b),(0,a.getTimestamp)()]),[r,i]=U[m],r=await r,d&&setTimeout(E,n.dedupingInterval),!U[m]||U[m][1]!==i)return d&&c()&&y().onDiscarded(m),!1;l.error=a.UNDEFINED;const e=S[m];if(!(0,a.isUndefined)(e)&&(i<=e[0]||i<=e[1]||0===e[1]))return f(),d&&c()&&y().onDiscarded(m),!1;const u=I().data;l.data=o(u,r)?u:r,d&&c()&&y().onSuccess(r,m,n)}catch(e){E();const t=y(),{shouldRetryOnError:n}=t;t.isPaused()||(l.error=e,d&&c()&&(t.onError(e,m,t),(!0===n||(0,a.isFunction)(n)&&n(e))&&(y().revalidateOnFocus&&y().revalidateOnReconnect&&!L()||t.onErrorRetry(e,m,t,e=>{const t=R[m];t&&t[0]&&t[0](a.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(u.retryCount||0)+1,dedupe:!0}))))}return s=!1,f(),!0},[m,d]),Z=(0,r.useCallback)((...e)=>(0,a.internalMutate)(d,w.current,...e),[]);if((0,a.useIsomorphicLayoutEffect)(()=>{C.current=t,O.current=n,(0,a.isUndefined)(G)||(q.current=G)}),(0,a.useIsomorphicLayoutEffect)(()=>{if(!m)return;const e=X.bind(a.UNDEFINED,u);let t=0;const n=(0,a.subscribeCallback)(m,R,(n,r={})=>{if(n==a.revalidateEvents.FOCUS_EVENT){const n=Date.now();y().revalidateOnFocus&&n>t&&L()&&(t=n+y().focusThrottleInterval,e())}else if(n==a.revalidateEvents.RECONNECT_EVENT)y().revalidateOnReconnect&&L()&&e();else{if(n==a.revalidateEvents.MUTATE_EVENT)return X();if(n==a.revalidateEvents.ERROR_REVALIDATE_EVENT)return X(r)}});return V.current=!1,w.current=m,T.current=!0,k({_k:b}),B&&((0,a.isUndefined)(H)||a.IS_SERVER?e():(0,a.rAF)(e)),()=>{V.current=!0,n()}},[m]),(0,a.useIsomorphicLayoutEffect)(()=>{let e;function t(){const t=(0,a.isFunction)(g)?g(I().data):g;t&&-1!==e&&(e=setTimeout(n,t))}function n(){I().error||!v&&!y().isVisible()||!p&&!y().isOnline()?t():X(u).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[g,v,p,m]),(0,r.useDebugValue)(z),c&&(0,a.isUndefined)(H)&&m){if(!a.IS_REACT_LEGACY&&a.IS_SERVER)throw new Error("Fallback data is required when using suspense in SSR.");C.current=t,O.current=n,V.current=!1;const e=_[m];if(!(0,a.isUndefined)(e)){const t=Z(e);s(t)}if(!(0,a.isUndefined)(Y))throw Y;{const e=X(u);(0,a.isUndefined)(z)||(e.status="fulfilled",e.value=!0),s(e)}}return{mutate:Z,get data(){return N.data=!0,z},get error(){return N.error=!0,Y},get isValidating(){return N.isValidating=!0,K},get isLoading(){return N.isLoading=!0,Q}}}),o=e=>(t,n,r)=>(r.revalidateOnFocus=!1,r.revalidateIfStale=!1,r.revalidateOnReconnect=!1,e(t,n,r)),c=(0,a.withMiddleware)(d,o)},58139:(e,t,n)=>{e.exports=n(93296)},93296:(e,t,n)=>{var r=n(1343),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useState,s=r.useEffect,u=r.useLayoutEffect,d=r.useDebugValue;function o(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return u(function(){i.value=n,i.getSnapshot=t,o(i)&&c({inst:i})},[e,n,t]),s(function(){return o(i)&&c({inst:i}),e(function(){o(i)&&c({inst:i})})},[e]),d(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c}}]);
@@ -1,9 +0,0 @@
1
- /**
2
- * @license React
3
- * use-sync-external-store-shim.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
package/dist/7495.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"7495.js","mappings":";kQAMA,MAAMA,EAAM,OAAoB,CAAEC,IAC9B,GAAuB,YAAnBA,EAAQC,OACR,MAAMD,EACH,GAAuB,cAAnBA,EAAQC,OACf,OAAOD,EAAQE,MACZ,KAAuB,aAAnBF,EAAQC,OACTD,EAAQG,QAEdH,EAAQC,OAAS,UACjBD,EAAQI,KAAMC,IACVL,EAAQC,OAAS,YACjBD,EAAQE,MAAQG,GAChBC,IACAN,EAAQC,OAAS,WACjBD,EAAQG,OAASG,IAEfN,EAEb,GACKO,EAAc,CAChBC,QAAQ,GA6eZ,EAAAC,OAAOC,eAAe,EAAAC,UAAW,eAAgB,CAC7CT,MAAO,EAAAU,gBAgBP,MAAMC,GAAS,IAAAC,UA5fG,CAACC,EAAMC,EAASC,KAClC,MAAM,MAAEC,EAAK,QAAEC,EAAO,SAAEC,EAAQ,aAAEC,EAAY,kBAAEC,EAAiB,kBAAEC,EAAiB,gBAAEC,EAAe,kBAAEC,EAAiB,mBAAEC,EAAkB,iBAAEC,GAAqBV,GAC5JW,EAAoBC,EAAUC,EAAOC,G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AC7CO,EAAU,WACfR,EAAuBC,IAASS,EAAY,CAAET,KAAMA,GACtD,EACF,EACA,CAACO,IAEH3B,EAActJ,GACPA,CACT,EAoBA+J,EAAQhF,0BACN,IAAWiF,EAAMjF,qBAAuBiF,EAAMjF,qBAAuB8F,C","sources":["webpack://@openmrs/esm-patient-registration-app/../../node_modules/swr/dist/immutable/index.mjs","webpack://@openmrs/esm-patient-registration-app/../../node_modules/use-sync-external-store/shim/index.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js"],"names":["use","promise","status","value","reason","then","v","e","WITH_DEDUPE","dedupe","OBJECT","defineProperty","SWRConfig","defaultConfig","useSWR","withArgs","_key","fetcher","config","cache","compare","suspense","fallbackData","revalidateOnMount","revalidateIfStale","refreshInterval","refreshWhenHidden","refreshWhenOffline","keepPreviousData","EVENT_REVALIDATORS","MUTATION","FETCH","PRELOAD","SWRGlobalState","get","key","fnArg","serialize","initialMountedRef","useRef","unmountedRef","keyRef","fetcherRef","configRef","getConfig","current","isActive","isVisible","isOnline","getCache","setCache","subscribeCache","getInitialCache","createCacheHelper","stateDependencies","fallback","isUndefined","isEqual","prev","_","t","returnedData","getSnapshot","useMemo","shouldStartRequest","isPaused","getSelectedCache","state","snapshot","mergeObjects","_k","isValidating","isLoading","cachedData","initialData","clientSnapshot","serverSnapshot","memorizedSnapshot","newSnapshot","data","error","cached","useSyncExternalStore","useCallback","callback","isInitialMount","hasRevalidator","length","laggyDataRef","shouldDoInitialRevalidation","defaultValidatingState","revalidate","async","revalidateOpts","currentFetcher","newData","startAt","loading","opts","shouldStartNewRequest","callbackSafeguard","IS_REACT_LEGACY","finalState","finishRequestAndUpdateState","cleanupState","requestInfo","initialState","loadingTimeout","setTimeout","onLoadingSlow","getTimestamp","dedupingInterval","onDiscarded","UNDEFINED","mutationInfo","cacheData","onSuccess","err","currentConfig","shouldRetryOnError","onError","isFunction","revalidateOnFocus","revalidateOnReconnect","onErrorRetry","_opts","revalidators","revalidateEvents","ERROR_REVALIDATE_EVENT","retryCount","boundMutate","args","internalMutate","useIsomorphicLayoutEffect","softRevalidate","bind","nextFocusRevalidatedAt","unsubEvents","subscribeCallback","type","FOCUS_EVENT","now","Date","focusThrottleInterval","RECONNECT_EVENT","MUTATE_EVENT","IS_SERVER","rAF","timer","next","interval","execute","clearTimeout","useDebugValue","Error","req","mutate","immutable","useSWRNext","useSWRImmutable","withMiddleware","module","exports","React","objectIs","Object","is","x","y","useState","useEffect","useLayoutEffect","checkIfSnapshotChanged","inst","latestGetSnapshot","nextValue","shim","window","document","createElement","subscribe","_useState","forceUpdate"],"sourceRoot":""}
package/dist/7617.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[]).push([[7617],{37617:e=>{e.exports=JSON.parse('{"addPatient":"Add patient","addRelationshipButtonText":"Add Relationship","addressHeader":"Address","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of death","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"Contact Details","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"Death Info","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","discardModalBody":"The changes you made to this patient\'s details have not been saved. Discard changes?","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"Full Name","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Invalid email","invalidInput":"Invalid Input","isDeadInputLabel":"Is dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"No","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","patientNameKnown":"Patient\'s Name is Known?","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"Firstname Familyname","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"Search location","selectAnOption":"Select an option","sexFieldLabelText":"Sex","source":"Source","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
package/dist/795.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[]).push([[795],{70795:e=>{e.exports=JSON.parse('{"addPatient":"პაციენტის დამატება","addRelationshipButtonText":"ურთიერთობის დამატება","addressHeader":"მისამართი","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"ავტომატურად გენერირებული","birthdayNotInTheFuture":"დაბადების დღე მომავალში ვერ იქნება","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"დაბადების დღის მითითება აუცილებელია","birthFieldLabelText":"დაბადება","cancel":"გაუქმება","causeOfDeathInputLabel":"გარდაცვალების მიზეზი","closeOverlay":"გადალაგების დახურვა","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"მორგება","configureIdentifiers":"იდენტიფიკატორების მორგება","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"კონტაქტის დეტალები","createNewPatient":"ახალი პაციენტის შექმნა","dateOfBirthLabelText":"დაბადების დღე","deathCauseRequired":"გარდაცვალების მიზეზი აუცილებელია","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"გარდაცვალების თარიღი","deathDateRequired":"გარდაცვალების თარიღი აუცილებელია","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"ინფორმაცია სიკვდილის შესახებ","deathTimeFormatInvalid":"დროის ფორმატი არასწორია","deathTimeFormatRequired":"დროის ფორმატი აუცილებელია","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"გარდაცვალების დრო აუცილებელია","deleteIdentifierModalHeading":"წავშალო იდენტიფიკატორი?","deleteIdentifierModalText":" აქვს მნიშვნელობა","deleteIdentifierTooltip":"წაშლა","deleteRelationshipTooltipText":"წაშლა","demographicsSection":"საბაზისო ინფორმაცია","discard":"მოცილება","discardModalBody":"The changes you made to this patient\'s details have not been saved. Discard changes?","dobToggleLabelText":"დაბადების თარიღი ცნობილია?","editIdentifierTooltip":"ჩასწორება","editPatientDetails":"პაციენტის დეტალების ჩასწორება","editPatientDetailsBreadcrumb":"პაციენტის დეტალების ჩასწორება","enterNonCodedCauseOfDeath":"შეიყვანეთ არაკოდირებული გარდაცვალების მიზეზი","error":"შეცდომა","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"დაახლ. ასაკი თვეებში","estimatedAgeInYearsLabelText":"დაახლ. ასაკი წლებში","familyNameLabelText":"საოჯახო სახელი","familyNameRequired":"მეტსახელი აუცილებელია","female":"მდედრი","fieldsWithErrors":"შემდეგი ველები შეიცავს შეცდომებს:","fullNameLabelText":"სრული სახელი","genderLabelText":"სქესი","genderRequired":"სქესის მითითება აუცილებელია","genderUnspecified":"სქესი მითითებული არაა","givenNameLabelText":"სახელი","givenNameRequired":"ოფიციალური სახელი აუცილებელია","identifierValueRequired":"იდენტიფიკატორის მნიშვნელობა აუცილებელია","idFieldLabelText":"იდენტიფიკატორები","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"არასწორი ელფოსტა","invalidInput":"არასწორი შეყვანა","isDeadInputLabel":"მკვდარია","jumpTo":"გადასვლა","male":"მამრი","middleNameLabelText":"შუა სახელი","negativeMonths":"დაახლ. თვეები უარყოფითი ვერ იქნება","negativeYears":"დაახ. წლები უარყოფითი ვერ იქნება","no":"არა","nonCodedCauseOfDeath":"არაკოდირებული გარდაცვალების მიზეზი","nonCodedCauseOfDeathRequired":"გარდაცვალების მიზეზი აუცილებელია","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"რიცხვი სახელში გაურკვეველია","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"არასავალდებულო","optionalIdentifierLabel":"{{identifierName}} (არასავალდებულო)","other":"სხვა","patientNameKnown":"პაციენტის სახელი ცნობილია?","patientRegistrationBreadcrumb":"პაციენტის რეგისტრაცია","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"პაციენტის დარეგისტრირება","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"ახალი პაციენტი შეიქმნა","registrationErrorSnackbarTitle":"პაციენტის რეგისტრაცია ჩავარდა","relationship":"ურთიერთობა","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"ურთიერთობა","relationshipRemovedText":"ურთიერთობა წაიშალა","relationshipsSection":"ურთიერთობები","relationshipToPatient":"ურთიერთობა პაციენტთან","relativeFullNameLabelText":"სრული სახელი","relativeNamePlaceholder":"სახელი მეტსახელი","removeIdentifierButton":"იდენტიფიკატორის წაშლა","resetIdentifierTooltip":"ჩამოყრა","restoreRelationshipActionButton":"გაუქმება","searchAddress":"მისამართის ძებნა","searchIdentifierPlaceholder":"იდენტიფიკატორის ძებნა","searchLocationPersonAttribute":"ძებნის მდებარეობა","selectAnOption":"აირჩიეთ პარამეტრი","sexFieldLabelText":"სქესი","source":"წყარო","submitting":"გადაცემა","timeFormat":"დროის ფორმატი","timeOfDeathInputLabel":"გარდაცვალების დრო (სთ:წთ)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"უცნობი","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"პაციენტის განახლება","updatePatientErrorSnackbarTitle":"პაციენტის დეტალების განახლება ჩავარდა","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"პაციენტის დეტალები განახლდა","yearsEstimateRequired":"დაახლოებით საჭირო წლები","yes":"დიახ"}')}}]);
package/dist/8163.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[]).push([[8163],{88163:e=>{e.exports=JSON.parse('{"addPatient":"Add patient","addRelationshipButtonText":"Add Relationship","addressHeader":"Address","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of death","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"Contact Details","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"Death Info","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","discardModalBody":"The changes you made to this patient\'s details have not been saved. Discard changes?","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"Full Name","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Invalid email","invalidInput":"Invalid Input","isDeadInputLabel":"Is dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"No","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","patientNameKnown":"Patient\'s Name is Known?","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"Firstname Familyname","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"Search location","selectAnOption":"Select an option","sexFieldLabelText":"Sex","source":"Source","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
package/dist/8349.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[]).push([[8349],{88349:e=>{e.exports=JSON.parse('{"addPatient":"Add patient","addRelationshipButtonText":"Add Relationship","addressHeader":"Address","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of death","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"Contact Details","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"Death Info","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","discardModalBody":"The changes you made to this patient\'s details have not been saved. Discard changes?","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"Full Name","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Invalid email","invalidInput":"Invalid Input","isDeadInputLabel":"Is dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"No","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","patientNameKnown":"Patient\'s Name is Known?","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"Firstname Familyname","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"Search location","selectAnOption":"Select an option","sexFieldLabelText":"Sex","source":"Source","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
package/dist/8371.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[]).push([[8371],{88371:e=>{e.exports=JSON.parse('{"addPatient":"Add patient","addRelationshipButtonText":"Add Relationship","addressHeader":"Address","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of death","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"Contact Details","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"Death Info","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","discardModalBody":"The changes you made to this patient\'s details have not been saved. Discard changes?","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"Full Name","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Invalid email","invalidInput":"Invalid Input","isDeadInputLabel":"Is dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"No","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","patientNameKnown":"Patient\'s Name is Known?","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"Firstname Familyname","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"Search location","selectAnOption":"Select an option","sexFieldLabelText":"Sex","source":"Source","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
package/dist/8434.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[]).push([[8434],{58434:(e,n,a)=>{a.r(n),a.d(n,{default:()=>s});var t=a(1343),r=a.n(t),l=a(72339),c=a(7516);const s=function(e){var n=e.close,a=e.onConfirm,t=(0,l.useTranslation)().t;return r().createElement(r().Fragment,null,r().createElement(c.rQ0,{closeModal:n,title:t("confirmDiscardChangesTitle","Are you sure you want to discard these changes?")}),r().createElement(c.cwr,null,r().createElement("p",null,t("confirmDiscardChangesBody","Your unsaved changes will be lost if you proceed to discard the form"),".")),r().createElement(c.jlY,null,r().createElement(c.$nd,{kind:"secondary",onClick:n},t("cancel","Cancel")),r().createElement(c.$nd,{kind:"danger",onClick:a},t("discard","Discard"))))}}}]);
package/dist/8434.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"8434.js","mappings":"qPAgCA,QAvBsE,Y,IAAGA,EAAAA,EAAAA,MAAOC,EAAAA,EAAAA,UACxE,GAAQC,EAAAA,EAAAA,kBAANC,EACR,OACE,oCACE,kBAACC,EAAAA,IAAWA,CACVC,WAAYL,EACZM,MAAOH,EAAE,6BAA8B,qDAEzC,kBAACI,EAAAA,IAASA,KACR,kBAACC,IAAAA,KAAGL,EAAE,4BAA6B,wEAAwE,MAE7G,kBAACM,EAAAA,IAAWA,KACV,kBAACC,EAAAA,IAAMA,CAACC,KAAK,YAAYC,QAASZ,GAC/BG,EAAE,SAAU,WAEf,kBAACO,EAAAA,IAAMA,CAACC,KAAK,SAASC,QAASX,GAC5BE,EAAE,UAAW,aAKxB,C","sources":["webpack://@openmrs/esm-patient-registration-app/./src/widgets/cancel-patient-edit.modal.tsx"],"names":["close","onConfirm","useTranslation","t","ModalHeader","closeModal","title","ModalBody","p","ModalFooter","Button","kind","onClick"],"sourceRoot":""}
package/dist/8618.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[]).push([[8618],{88618:e=>{e.exports=JSON.parse('{"addPatient":"Add patient","addRelationshipButtonText":"Add Relationship","addressHeader":"Address","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of death","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"Contact Details","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"Death Info","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","discardModalBody":"The changes you made to this patient\'s details have not been saved. Discard changes?","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"Full Name","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Invalid email","invalidInput":"Invalid Input","isDeadInputLabel":"Is dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"No","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","patientNameKnown":"Patient\'s Name is Known?","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"Firstname Familyname","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"Search location","selectAnOption":"Select an option","sexFieldLabelText":"Sex","source":"Source","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
package/dist/89.js DELETED
@@ -1,2 +0,0 @@
1
- /*! For license information please see 89.js.LICENSE.txt */
2
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[]).push([[89,2470],{52470:(e,t,n)=>{n.r(t),n.d(t,{default:()=>E,infinite:()=>f,unstable_serialize:()=>l});var r=n(1343),i=n(58139),a=n(55434);const s=r.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),u={dedupe:!0};a.OBJECT.defineProperty(a.SWRConfig,"defaultValue",{value:a.defaultConfig});const o=(0,a.withArgs)((e,t,n)=>{const{cache:o,compare:d,suspense:l,fallbackData:c,revalidateOnMount:f,revalidateIfStale:E,refreshInterval:g,refreshWhenHidden:p,refreshWhenOffline:h,keepPreviousData:v}=n,[_,U,R,S]=a.SWRGlobalState.get(o),[b,m]=(0,a.serialize)(e),C=(0,r.useRef)(!1),y=(0,r.useRef)(!1),I=(0,r.useRef)(b),T=(0,r.useRef)(t),V=(0,r.useRef)(n),w=()=>V.current,k=()=>w().isVisible()&&w().isOnline(),[L,N,D,F]=(0,a.createCacheHelper)(o,b),O=(0,r.useRef)({}).current,A=(0,a.isUndefined)(c)?n.fallback[b]:c,P=(e,t)=>{for(const n in O){const r=n;if("data"===r){if(!d(e[r],t[r])){if(!(0,a.isUndefined)(e[r]))return!1;if(!d(Y,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},z=(0,r.useMemo)(()=>{const e=!!b&&!!t&&((0,a.isUndefined)(f)?!w().isPaused()&&!l&&(!!(0,a.isUndefined)(E)||E):f),n=t=>{const n=(0,a.mergeObjects)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=L(),i=F(),s=n(r),u=r===i?s:n(i);let o=s;return[()=>{const e=n(L());return P(e,o)?(o.data=e.data,o.isLoading=e.isLoading,o.isValidating=e.isValidating,o.error=e.error,o):(o=e,e)},()=>u]},[o,b]),H=(0,i.useSyncExternalStore)((0,r.useCallback)(e=>D(b,(t,n)=>{P(n,t)||e()}),[o,b]),z[0],z[1]),x=!C.current,M=_[b]&&_[b].length>0,j=H.data,W=(0,a.isUndefined)(j)?A:j,G=H.error,X=(0,r.useRef)(W),Y=v?(0,a.isUndefined)(j)?X.current:j:W,q=!(M&&!(0,a.isUndefined)(G))&&(x&&!(0,a.isUndefined)(f)?f:!w().isPaused()&&(l?!(0,a.isUndefined)(W)&&E:(0,a.isUndefined)(W)||E)),B=!!(b&&t&&x&&q),J=(0,a.isUndefined)(H.isValidating)?B:H.isValidating,K=(0,a.isUndefined)(H.isLoading)?B:H.isLoading,Q=(0,r.useCallback)(async e=>{const t=T.current;if(!b||!t||y.current||w().isPaused())return!1;let r,i,s=!0;const u=e||{},o=!R[b]||!u.dedupe,l=()=>a.IS_REACT_LEGACY?!y.current&&b===I.current&&C.current:b===I.current,c={isValidating:!1,isLoading:!1},f=()=>{N(c)},E=()=>{const e=R[b];e&&e[1]===i&&delete R[b]},g={isValidating:!0};(0,a.isUndefined)(L().data)&&(g.isLoading=!0);try{if(o&&(N(g),n.loadingTimeout&&(0,a.isUndefined)(L().data)&&setTimeout(()=>{s&&l()&&w().onLoadingSlow(b,n)},n.loadingTimeout),R[b]=[t(m),(0,a.getTimestamp)()]),[r,i]=R[b],r=await r,o&&setTimeout(E,n.dedupingInterval),!R[b]||R[b][1]!==i)return o&&l()&&w().onDiscarded(b),!1;c.error=a.UNDEFINED;const e=U[b];if(!(0,a.isUndefined)(e)&&(i<=e[0]||i<=e[1]||0===e[1]))return f(),o&&l()&&w().onDiscarded(b),!1;const u=L().data;c.data=d(u,r)?u:r,o&&l()&&w().onSuccess(r,b,n)}catch(e){E();const t=w(),{shouldRetryOnError:n}=t;t.isPaused()||(c.error=e,o&&l()&&(t.onError(e,b,t),(!0===n||(0,a.isFunction)(n)&&n(e))&&(w().revalidateOnFocus&&w().revalidateOnReconnect&&!k()||t.onErrorRetry(e,b,t,e=>{const t=_[b];t&&t[0]&&t[0](a.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(u.retryCount||0)+1,dedupe:!0}))))}return s=!1,f(),!0},[b,o]),Z=(0,r.useCallback)((...e)=>(0,a.internalMutate)(o,I.current,...e),[]);if((0,a.useIsomorphicLayoutEffect)(()=>{T.current=t,V.current=n,(0,a.isUndefined)(j)||(X.current=j)}),(0,a.useIsomorphicLayoutEffect)(()=>{if(!b)return;const e=Q.bind(a.UNDEFINED,u);let t=0;const n=(0,a.subscribeCallback)(b,_,(n,r={})=>{if(n==a.revalidateEvents.FOCUS_EVENT){const n=Date.now();w().revalidateOnFocus&&n>t&&k()&&(t=n+w().focusThrottleInterval,e())}else if(n==a.revalidateEvents.RECONNECT_EVENT)w().revalidateOnReconnect&&k()&&e();else{if(n==a.revalidateEvents.MUTATE_EVENT)return Q();if(n==a.revalidateEvents.ERROR_REVALIDATE_EVENT)return Q(r)}});return y.current=!1,I.current=b,C.current=!0,N({_k:m}),q&&((0,a.isUndefined)(W)||a.IS_SERVER?e():(0,a.rAF)(e)),()=>{y.current=!0,n()}},[b]),(0,a.useIsomorphicLayoutEffect)(()=>{let e;function t(){const t=(0,a.isFunction)(g)?g(L().data):g;t&&-1!==e&&(e=setTimeout(n,t))}function n(){L().error||!p&&!w().isVisible()||!h&&!w().isOnline()?t():Q(u).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[g,p,h,b]),(0,r.useDebugValue)(Y),l&&(0,a.isUndefined)(W)&&b){if(!a.IS_REACT_LEGACY&&a.IS_SERVER)throw new Error("Fallback data is required when using suspense in SSR.");T.current=t,V.current=n,y.current=!1;const e=S[b];if(!(0,a.isUndefined)(e)){const t=Z(e);s(t)}if(!(0,a.isUndefined)(G))throw G;{const e=Q(u);(0,a.isUndefined)(Y)||(e.status="fulfilled",e.value=!0),s(e)}}return{mutate:Z,get data(){return O.data=!0,Y},get error(){return O.error=!0,G},get isValidating(){return O.isValidating=!0,J},get isLoading(){return O.isLoading=!0,K}}}),d=e=>(0,a.serialize)(e?e(0,null):null)[0],l=e=>a.INFINITE_PREFIX+d(e),c=Promise.resolve(),f=e=>(t,n,s)=>{const u=(0,r.useRef)(!1),{cache:o,initialSize:l=1,revalidateAll:f=!1,persistSize:E=!1,revalidateFirstPage:g=!0,revalidateOnMount:p=!1,parallel:h=!1}=s,[,,,v]=a.SWRGlobalState.get(a.cache);let _;try{_=d(t),_&&(_=a.INFINITE_PREFIX+_)}catch(e){}const[U,R,S]=(0,a.createCacheHelper)(o,_),b=(0,r.useCallback)(()=>(0,a.isUndefined)(U()._l)?l:U()._l,[o,_,l]);(0,i.useSyncExternalStore)((0,r.useCallback)(e=>_?S(_,()=>{e()}):()=>{},[o,_]),b,b);const m=(0,r.useCallback)(()=>{const e=U()._l;return(0,a.isUndefined)(e)?l:e},[_,l]),C=(0,r.useRef)(m());(0,a.useIsomorphicLayoutEffect)(()=>{u.current?_&&R({_l:E?C.current:m()}):u.current=!0},[_,o]);const y=p&&!u.current,I=e(_,async e=>{const r=U()._i,i=U()._r;R({_r:a.UNDEFINED});const u=[],d=m(),[l]=(0,a.createCacheHelper)(o,e),c=l().data,E=[];let p=null;for(let e=0;e<d;++e){const[d,l]=(0,a.serialize)(t(e,h?null:p));if(!d)break;const[_,U]=(0,a.createCacheHelper)(o,d);let R=_().data;const S=f||r||(0,a.isUndefined)(R)||g&&!e&&!(0,a.isUndefined)(c)||y||c&&!(0,a.isUndefined)(c[e])&&!s.compare(c[e],R);if(n&&("function"==typeof i?i(R,l):S)){const t=async()=>{if(d in v){const e=v[d];delete v[d],R=await e}else R=await n(l);U({data:R,_k:l}),u[e]=R};h?E.push(t):await t()}else u[e]=R;h||(p=R)}return h&&await Promise.all(E.map(e=>e())),R({_i:a.UNDEFINED}),u},s),T=(0,r.useCallback)(function(e,t){const n="boolean"==typeof t?{revalidate:t}:t||{},r=!1!==n.revalidate;return _?(r&&((0,a.isUndefined)(e)?R({_i:!0,_r:n.revalidate}):R({_i:!1,_r:n.revalidate})),arguments.length?I.mutate(e,{...n,revalidate:r}):I.mutate()):c},[_,o]),V=(0,r.useCallback)(e=>{if(!_)return c;const[,n]=(0,a.createCacheHelper)(o,_);let r;if((0,a.isFunction)(e)?r=e(m()):"number"==typeof e&&(r=e),"number"!=typeof r)return c;n({_l:r}),C.current=r;const i=[],[s]=(0,a.createCacheHelper)(o,_);let u=null;for(let e=0;e<r;++e){const[n]=(0,a.serialize)(t(e,u)),[r]=(0,a.createCacheHelper)(o,n),d=n?r().data:a.UNDEFINED;if((0,a.isUndefined)(d))return T(s().data);i.push(d),u=d}return T(i)},[_,o,T,m]);return{size:m(),setSize:V,mutate:T,get data(){return I.data},get error(){return I.error},get isValidating(){return I.isValidating},get isLoading(){return I.isLoading}}},E=(0,a.withMiddleware)(o,f)},58139:(e,t,n)=>{e.exports=n(93296)},93296:(e,t,n)=>{var r=n(1343),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useState,s=r.useEffect,u=r.useLayoutEffect,o=r.useDebugValue;function d(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var l="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),i=r[0].inst,l=r[1];return u(function(){i.value=n,i.getSnapshot=t,d(i)&&l({inst:i})},[e,n,t]),s(function(){return d(i)&&l({inst:i}),e(function(){d(i)&&l({inst:i})})},[e]),o(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:l}}]);
@@ -1,9 +0,0 @@
1
- /**
2
- * @license React
3
- * use-sync-external-store-shim.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */
package/dist/89.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"89.js","mappings":";wRAMA,MAAMA,EAAM,OAAoB,CAAEC,IAC9B,GAAuB,YAAnBA,EAAQC,OACR,MAAMD,EACH,GAAuB,cAAnBA,EAAQC,OACf,OAAOD,EAAQE,MACZ,KAAuB,aAAnBF,EAAQC,OACTD,EAAQG,QAEdH,EAAQC,OAAS,UACjBD,EAAQI,KAAMC,IACVL,EAAQC,OAAS,YACjBD,EAAQE,MAAQG,GAChBC,IACAN,EAAQC,OAAS,WACjBD,EAAQG,OAASG,IAEfN,EAEb,GACKO,EAAc,CAChBC,QAAQ,GA6eZ,EAAAC,OAAOC,eAAe,EAAAC,UAAW,eAAgB,CAC7CT,MAAO,EAAAU,gBAgBP,MAAMC,GAAS,IAAAC,UA5fG,CAACC,EAAMC,EAASC,KAClC,MAAM,MAAEC,EAAK,QAAEC,EAAO,SAAEC,EAAQ,aAAEC,EAAY,kBAAEC,EAAiB,kBAAEC,EAAiB,gBAAEC,EAAe,kBAAEC,EAAiB,mBAAEC,EAAkB,iBAAEC,GAAqBV,GAC5JW,EAAoBC,EAAUC,EAAOC,GAAW,EAAAC,eAAeC,IAAIf,IAKnEgB,EAAKC,I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uB8I,C","sources":["webpack://@openmrs/esm-patient-registration-app/../../node_modules/swr/dist/infinite/index.mjs","webpack://@openmrs/esm-patient-registration-app/../../node_modules/use-sync-external-store/shim/index.js","webpack://@openmrs/esm-patient-registration-app/../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js"],"names":["use","promise","status","value","reason","then","v","e","WITH_DEDUPE","dedupe","OBJECT","defineProperty","SWRConfig","defaultConfig","useSWR","withArgs","_key","fetcher","config","cache","compare","suspense","fallbackData","revalidateOnMount","revalidateIfStale","refreshInterval","refreshWhenHidden","refreshWhenOffline","keepPreviousData","EVENT_REVALIDATORS","MUTATION","FETCH","PRELOAD","SWRGlobalState","get","key","fnArg","serialize","initialMountedRef","useRef","unmountedRef","keyRef","fetcherRef","configRef","getConfig","current","isActive","isVisible","isOnline","getCache","setCache","subscribeCache","getInitialCache","createCacheHelper","stateDependencies","fallback","isUndefined","isEqual","prev","_","t","returnedData","getSnapshot","useMemo","shouldStartRequest","isPaused","getSelectedCache","state","snapshot","mergeObjects","_k","isValidating","isLoading","cachedData","initialData","clientSnapshot","serverSnapshot","memorizedSnapshot","newSnapshot","data","error","cached","useSyncExternalStore","useCallback","callback","isInitialMount","hasRevalidator","length","laggyDataRef","shouldDoInitialRevalidation","defaultValidatingState","revalidate","async","revalidateOpts","currentFetcher","newData","startAt","loading","opts","shouldStartNewRequest","callbackSafeguard","IS_REACT_LEGACY","finalState","finishRequestAndUpdateState","cleanupState","requestInfo","initialState","loadingTimeout","setTimeout","onLoadingSlow","getTimestamp","dedupingInterval","onDiscarded","UNDEFINED","mutationInfo","cacheData","onSuccess","err","currentConfig","shouldRetryOnError","onError","isFunction","revalidateOnFocus","revalidateOnReconnect","onErrorRetry","_opts","revalidators","revalidateEvents","ERROR_REVALIDATE_EVENT","retryCount","boundMutate","args","internalMutate","useIsomorphicLayoutEffect","softRevalidate","bind","nextFocusRevalidatedAt","unsubEvents","subscribeCallback","type","FOCUS_EVENT","now","Date","focusThrottleInterval","RECONNECT_EVENT","MUTATE_EVENT","IS_SERVER","rAF","timer","next","interval","execute","clearTimeout","useDebugValue","Error","req","mutate","getFirstPageKey","getKey","unstable_serialize","INFINITE_PREFIX","EMPTY_PROMISE","Promise","resolve","infinite","useSWRNext","fn","didMountRef","cache$1","initialSize","revalidateAll","persistSize","revalidateFirstPage","parallel","infiniteKey","set","_l","resolvePageSize","cachedPageSize","lastPageSizeRef","shouldRevalidateOnMount","swr","forceRevalidateAll","_i","shouldRevalidatePage","_r","pageSize","previousPageData","i","pageKey","pageArg","getSWRCache","setSWRCache","pageData","shouldFetchPage","push","all","map","r","options","shouldRevalidate","arguments","setSize","arg","changeSize","size","getInfiniteCache","useSWRInfinite","withMiddleware","module","exports","React","objectIs","Object","is","x","y","useState","useEffect","useLayoutEffect","checkIfSnapshotChanged","inst","latestGetSnapshot","nextValue","shim","window","document","createElement","subscribe","_useState","forceUpdate"],"sourceRoot":""}
package/dist/890.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[]).push([[890],{70890:e=>{e.exports=JSON.parse('{"addPatient":"Add patient","addRelationshipButtonText":"Add Relationship","addressHeader":"Address","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of death","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"Contact Details","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"Death Info","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","discardModalBody":"The changes you made to this patient\'s details have not been saved. Discard changes?","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"Full Name","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Invalid email","invalidInput":"Invalid Input","isDeadInputLabel":"Is dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"No","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","patientNameKnown":"Patient\'s Name is Known?","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"Firstname Familyname","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"Search location","selectAnOption":"Select an option","sexFieldLabelText":"Sex","source":"Source","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
package/dist/9214.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[]).push([[9214],{79214:e=>{e.exports=JSON.parse('{"addPatient":"Add patient","addRelationshipButtonText":"Thêm mối quan hệ","addressHeader":"Địa chỉ","allFieldsRequiredText":"Tất cả các trường đều bắt buộc trừ khi được đánh dấu là tùy chọn","autoGeneratedPlaceholderText":"Tự động tạo ra","birthdayNotInTheFuture":"Ngày sinh không thể là ngày trong tương lai","birthdayNotOver140YearsAgo":"Ngày sinh không thể cách đây quá 140 năm","birthdayRequired":"Ngày sinh là bắt buộc","birthFieldLabelText":"Sinh ra","cancel":"Hủy","causeOfDeathInputLabel":"Nguyên nhân tử vong","closeOverlay":"Đóng lớp phủ","codedPersonAttributeAnswerSetEmpty":"Trường thuộc tính người được mã hóa \'{{codedPersonAttributeFieldId}}\' đã được định nghĩa với tập khái niệm câu trả lời UUID \'{{answerConceptSetUuid}}\' không có bất kỳ câu trả lời khái niệm nào.","codedPersonAttributeAnswerSetInvalid":"Trường thuộc tính người được mã hóa \'{{codedPersonAttributeFieldId}}\' đã được định nghĩa với tập khái niệm câu trả lời không hợp lệ UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"Trường thuộc tính người \'{{codedPersonAttributeFieldId}}\' thuộc loại \'coded\' nhưng đã được định nghĩa mà không có UUID tập hợp khái niệm câu trả lời. Khóa \'answerConceptSetUuid\' là bắt buộc.","configure":"Cấu hình","configureIdentifiers":"Cấu hình định danh","confirmDiscardChangesBody":"Những thay đổi chưa lưu của bạn sẽ bị mất nếu bạn tiếp tục hủy biểu mẫu","confirmDiscardChangesTitle":"Bạn có chắc chắn muốn hủy bỏ thay đổi này?","confirmIdentifierDeletionText":"Bạn có chắc chắn muốn xóa bỏ id này?","contactSection":"Chi tiết liên hệ","createNewPatient":"Thêm mới bệnh nhân","dateOfBirthLabelText":"Ngày sinh","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Ngày tử vong","deathDateRequired":"Ngày tử vong là bắt buộc","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"Thông tin tử vong","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":"có một giá trị của","deleteIdentifierTooltip":"Xóa","deleteRelationshipTooltipText":"Xóa","demographicsSection":"Thông tin cơ bản","discard":"Hủy bỏ","discardModalBody":"The changes you made to this patient\'s details have not been saved. Discard changes?","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Chỉnh sửa","editPatientDetails":"Chỉnh sửa thông tin bệnh nhân","editPatientDetailsBreadcrumb":"Chỉnh sửa thông tin bệnh nhân","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Lỗi","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Nữ giới","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"Tên đầy đủ","genderLabelText":"Giới tính","genderRequired":"Giới tính là bắt buộc","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Email không hợp lệ","invalidInput":"Invalid Input","isDeadInputLabel":"Is dead","jumpTo":"Jump to","male":"Nam giới","middleNameLabelText":"Tên Đệm","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"Không","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Lý do tử vong là bắt buộc","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"không bắt buộc","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Khác","patientNameKnown":"Patient\'s Name is Known?","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Đăng ký bệnh nhân","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"Bệnh nhân mới đã được tạo","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Mối quan hệ","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Mối quan hệ","relationshipRemovedText":"Relationship removed","relationshipsSection":"Mối quan hệ","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Tên đầy đủ","relativeNamePlaceholder":"Firstname Familyname","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"Cài lại","restoreRelationshipActionButton":"Hoàn tác","searchAddress":"Tìm kiếm địa chỉ","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"Tìm kiếm vị trí","selectAnOption":"Chọn một tùy chọn","sexFieldLabelText":"Giới tính","source":"Nguồn","submitting":"Đang nộp","timeFormat":"Định dạng thời gian","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"Có"}')}}]);
package/dist/9538.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[]).push([[9538],{9538:e=>{e.exports=JSON.parse('{"addPatient":"Aggiungi paziente","addRelationshipButtonText":"Aggiungi relazione","addressHeader":"Indirizzo","allFieldsRequiredText":"Tutti i campi sono obbligatori, salvo indicazione contraria","autoGeneratedPlaceholderText":"Generato automaticamente","birthdayNotInTheFuture":"La data di nascita non può essere nel futuro","birthdayNotOver140YearsAgo":"La data di nascita non può risalire a più di 140 anni fa","birthdayRequired":"La data di nascita è obbligatoria","birthFieldLabelText":"Nascita","cancel":"Annulla","causeOfDeathInputLabel":"Causa del decesso","closeOverlay":"Chiudi finestra","codedPersonAttributeAnswerSetEmpty":"Il campo attributo codificato della persona \'{{codedPersonAttributeFieldId}}\' è stato definito con un set di risposte concettuali UUID \'{{answerConceptSetUuid}}\' che non contiene alcuna risposta.","codedPersonAttributeAnswerSetInvalid":"Il campo attributo codificato della persona \'{{codedPersonAttributeFieldId}}\' è stato definito con un UUID di set di risposte concettuali non valido \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"Il campo attributo della persona \'{{codedPersonAttributeFieldId}}\' è di tipo \'codificato\', ma è stato definito senza un set di risposte concettuali UUID. La chiave \'answerConceptSetUuid\' è obbligatoria.","configure":"Configura","configureIdentifiers":"Configura identificativi","confirmDiscardChangesBody":"Se procedi, le modifiche non salvate andranno perse","confirmDiscardChangesTitle":"Sei sicuro di voler annullare queste modifiche?","confirmIdentifierDeletionText":"Sei sicuro di voler rimuovere questo identificativo?","contactSection":"Dettagli di contatto","createNewPatient":"Crea nuovo paziente","dateOfBirthLabelText":"Data di nascita","deathCauseRequired":"La causa del decesso è obbligatoria","deathDateInFuture":"La data del decesso non può essere nel futuro","deathDateInputLabel":"Data del decesso","deathDateRequired":"La data del decesso è obbligatoria","deathdayInvalidDate":"La data e l\'ora del decesso non possono precedere la nascita","deathdayIsRequired":"La data del decesso è obbligatoria se il paziente è indicato come deceduto","deathdayNotInTheFuture":"","deathSection":"Informazioni sul decesso","deathTimeFormatInvalid":"Formato ora non valido","deathTimeFormatRequired":"Il formato dell\'ora è obbligatorio","deathTimeInvalid":"L\'orario deve essere nel formato \'hh:mm\'","deathTimeRequired":"L\'orario del decesso è obbligatorio","deleteIdentifierModalHeading":"Rimuovere l\'identificativo?","deleteIdentifierModalText":" ha un valore di ","deleteIdentifierTooltip":"Elimina","deleteRelationshipTooltipText":"Elimina","demographicsSection":"Informazioni di base","discard":"Annulla modifiche","discardModalBody":"The changes you made to this patient\'s details have not been saved. Discard changes?","dobToggleLabelText":"La data di nascita è conosciuta?","editIdentifierTooltip":"Modifica","editPatientDetails":"Modifica dettagli paziente","editPatientDetailsBreadcrumb":"Modifica dettagli paziente","enterNonCodedCauseOfDeath":"Inserisci una causa di decesso non codificata","error":"Errore","errorFetchingCodedCausesOfDeath":"Errore nel recupero delle cause di decesso codificate","errorFetchingOrderedFields":"Errore nel recupero dei campi ordinati per la gerarchia degli indirizzi","estimatedAgeInMonthsLabelText":"Età stimata in mesi","estimatedAgeInYearsLabelText":"Età stimata in anni","familyNameLabelText":"Cognome","familyNameRequired":"Il cognome è obbligatorio","female":"Femmina","fieldsWithErrors":"I seguenti campi contengono errori:","fullNameLabelText":"Nome completo","genderLabelText":"Sesso","genderRequired":"Il sesso è obbligatorio","genderUnspecified":"Sesso non specificato","givenNameLabelText":"Nome","givenNameRequired":"Il nome è obbligatorio","identifierValueRequired":"Il valore dell\'identificativo è obbligatorio","idFieldLabelText":"Identificativi","IDInstructions":"Seleziona gli identificativi da aggiungere per questo paziente:","invalidEmail":"Email non valida","invalidInput":"Input non valido","isDeadInputLabel":"Deceduto","jumpTo":"Vai a","male":"Maschio","middleNameLabelText":"Secondo nome","negativeMonths":"I mesi stimati non possono essere negativi","negativeYears":"Gli anni stimati non possono essere negativi","no":"No","nonCodedCauseOfDeath":"Causa del decesso non codificata","nonCodedCauseOfDeathRequired":"La causa del decesso è obbligatoria","nonsensicalYears":"Gli anni stimati non possono superare i 140","numberInNameDubious":"Numero nel nome sospetto","obsFieldUnknownDatatype":"Il concetto per il campo osservazione \'{{fieldDefinitionId}}\' ha un tipo di dato sconosciuto \'{{datatypeName}}\'","optional":"Opzionale","optionalIdentifierLabel":"{{identifierName}} (opzionale)","other":"Altro","patientNameKnown":"Il nome del paziente è conosciuto?","patientRegistrationBreadcrumb":"Registrazione paziente","refreshOrContactAdmin":"Prova a ricaricare la pagina o contatta l\'amministratore del sistema","registerPatient":"Registra paziente","registerPatientSuccessSnackbarSubtitle":"Il paziente può ora essere trovato tramite ricerca per nome o ID","registerPatientSuccessSnackbarTitle":"Nuovo paziente registrato","registrationErrorSnackbarTitle":"Registrazione paziente fallita","relationship":"Relazione","relationshipPersonMustExist":"La persona correlata deve essere un paziente esistente","relationshipPlaceholder":"Relazione","relationshipRemovedText":"Relazione rimossa","relationshipsSection":"Relazioni","relationshipToPatient":"Relazione con il paziente","relativeFullNameLabelText":"Nome completo","relativeNamePlaceholder":"Nome Cognome","removeIdentifierButton":"Rimuovi identificativo","resetIdentifierTooltip":"Reimposta","restoreRelationshipActionButton":"Annulla","searchAddress":"Cerca indirizzo","searchIdentifierPlaceholder":"Cerca identificativo","searchLocationPersonAttribute":"Cerca sede","selectAnOption":"Seleziona un\'opzione","sexFieldLabelText":"Sesso","source":"Fonte","submitting":"Invio in corso","timeFormat":"Formato ora","timeOfDeathInputLabel":"Orario del decesso (hh:mm)","unableToFetch":"Impossibile recuperare l\'attributo della persona - {{personattributetype}}","unknown":"Sconosciuto","unknownPatientAttributeType":"Il tipo di attributo paziente ha un formato sconosciuto {{personAttributeTypeFormat}}","updatePatient":"Aggiorna paziente","updatePatientErrorSnackbarTitle":"Errore nell\'aggiornamento dei dettagli del paziente","updatePatientSuccessSnackbarSubtitle":"Le informazioni del paziente sono state aggiornate con successo","updatePatientSuccessSnackbarTitle":"Dettagli paziente aggiornati","yearsEstimateRequired":"Anni stimati obbligatori","yes":"Sì"}')}}]);
package/dist/9569.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[]).push([[9569],{59569:e=>{e.exports=JSON.parse('{"addPatient":"Add patient","addRelationshipButtonText":"Add Relationship","addressHeader":"Address","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of death","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"Contact Details","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"Death Info","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","discardModalBody":"The changes you made to this patient\'s details have not been saved. Discard changes?","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"Full Name","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Invalid email","invalidInput":"Invalid Input","isDeadInputLabel":"Is dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"No","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","patientNameKnown":"Patient\'s Name is Known?","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"Firstname Familyname","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"Search location","selectAnOption":"Select an option","sexFieldLabelText":"Sex","source":"Source","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
package/dist/986.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[]).push([[986],{60986:e=>{e.exports=JSON.parse('{"addPatient":"Add patient","addRelationshipButtonText":"Add Relationship","addressHeader":"Address","allFieldsRequiredText":"All fields are required unless marked optional","autoGeneratedPlaceholderText":"Auto-generated","birthdayNotInTheFuture":"Birthday cannot be in future","birthdayNotOver140YearsAgo":"Birthday cannot be more than 140 years ago","birthdayRequired":"Birthday is required","birthFieldLabelText":"Birth","cancel":"Cancel","causeOfDeathInputLabel":"Cause of death","closeOverlay":"Close overlay","codedPersonAttributeAnswerSetEmpty":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an answer concept set UUID \'{{answerConceptSetUuid}}\' that does not have any concept answers.","codedPersonAttributeAnswerSetInvalid":"The coded person attribute field \'{{codedPersonAttributeFieldId}}\' has been defined with an invalid answer concept set UUID \'{{answerConceptSetUuid}}\'.","codedPersonAttributeNoAnswerSet":"The person attribute field \'{{codedPersonAttributeFieldId}}\' is of type \'coded\' but has been defined without an answer concept set UUID. The \'answerConceptSetUuid\' key is required.","configure":"Configure","configureIdentifiers":"Configure identifiers","confirmDiscardChangesBody":"Your unsaved changes will be lost if you proceed to discard the form","confirmDiscardChangesTitle":"Are you sure you want to discard these changes?","confirmIdentifierDeletionText":"Are you sure you want to remove this identifier?","contactSection":"Contact Details","createNewPatient":"Create new patient","dateOfBirthLabelText":"Date of birth","deathCauseRequired":"Cause of death is required","deathDateInFuture":"Death date cannot be in future","deathDateInputLabel":"Date of death","deathDateRequired":"Death date is required","deathdayInvalidDate":"Death date and time cannot be before the birthday","deathdayIsRequired":"Death date is required when the patient is marked as deceased.","deathdayNotInTheFuture":"","deathSection":"Death Info","deathTimeFormatInvalid":"Time format is invalid","deathTimeFormatRequired":"Time format is required","deathTimeInvalid":"Time doesn\'t match the format \'hh:mm\'","deathTimeRequired":"Death time is required","deleteIdentifierModalHeading":"Remove identifier?","deleteIdentifierModalText":" has a value of ","deleteIdentifierTooltip":"Delete","deleteRelationshipTooltipText":"Delete","demographicsSection":"Basic Info","discard":"Discard","discardModalBody":"The changes you made to this patient\'s details have not been saved. Discard changes?","dobToggleLabelText":"Date of Birth Known?","editIdentifierTooltip":"Edit","editPatientDetails":"Edit patient details","editPatientDetailsBreadcrumb":"Edit patient details","enterNonCodedCauseOfDeath":"Enter non-coded cause of death","error":"Error","errorFetchingCodedCausesOfDeath":"Error fetching coded causes of death","errorFetchingOrderedFields":"Error occured fetching ordered fields for address hierarchy","estimatedAgeInMonthsLabelText":"Estimated age in months","estimatedAgeInYearsLabelText":"Estimated age in years","familyNameLabelText":"Family Name","familyNameRequired":"Family name is required","female":"Female","fieldsWithErrors":"The following fields have errors: ","fullNameLabelText":"Full Name","genderLabelText":"Sex","genderRequired":"Gender is required","genderUnspecified":"Gender unspecified","givenNameLabelText":"First Name","givenNameRequired":"Given name is required","identifierValueRequired":"Identifier value is required","idFieldLabelText":"Identifiers","IDInstructions":"Select the identifiers you\'d like to add for this patient:","invalidEmail":"Invalid email","invalidInput":"Invalid Input","isDeadInputLabel":"Is dead","jumpTo":"Jump to","male":"Male","middleNameLabelText":"Middle Name","negativeMonths":"Estimated months cannot be negative","negativeYears":"Estimated years cannot be negative","no":"No","nonCodedCauseOfDeath":"Non-coded cause of death","nonCodedCauseOfDeathRequired":"Cause of death is required","nonsensicalYears":"Estimated years cannot be more than 140","numberInNameDubious":"Number in name is dubious","obsFieldUnknownDatatype":"Concept for obs field \'{{fieldDefinitionId}}\' has unknown datatype \'{{datatypeName}}\'","optional":"optional","optionalIdentifierLabel":"{{identifierName}} (optional)","other":"Other","patientNameKnown":"Patient\'s Name is Known?","patientRegistrationBreadcrumb":"Patient Registration","refreshOrContactAdmin":"Try refreshing the page or contact your system administrator","registerPatient":"Register patient","registerPatientSuccessSnackbarSubtitle":"The patient can now be found by searching for them using their name or ID number","registerPatientSuccessSnackbarTitle":"New Patient Created","registrationErrorSnackbarTitle":"Patient Registration Failed","relationship":"Relationship","relationshipPersonMustExist":"Related person must be an existing person","relationshipPlaceholder":"Relationship","relationshipRemovedText":"Relationship removed","relationshipsSection":"Relationships","relationshipToPatient":"Relationship to patient","relativeFullNameLabelText":"Full name","relativeNamePlaceholder":"Firstname Familyname","removeIdentifierButton":"Remove identifier","resetIdentifierTooltip":"Reset","restoreRelationshipActionButton":"Undo","searchAddress":"Search address","searchIdentifierPlaceholder":"Search identifier","searchLocationPersonAttribute":"Search location","selectAnOption":"Select an option","sexFieldLabelText":"Sex","source":"Source","submitting":"Submitting","timeFormat":"Time Format","timeOfDeathInputLabel":"Time of death (hh:mm)","unableToFetch":"Unable to fetch person attribute type - {{personattributetype}}","unknown":"Unknown","unknownPatientAttributeType":"Patient attribute type has unknown format {{personAttributeTypeFormat}}","updatePatient":"Update patient","updatePatientErrorSnackbarTitle":"Patient Details Update Failed","updatePatientSuccessSnackbarSubtitle":"The patient\'s information has been successfully updated","updatePatientSuccessSnackbarTitle":"Patient Details Updated","yearsEstimateRequired":"Estimated years required","yes":"Yes"}')}}]);
package/dist/9876.js DELETED
@@ -1 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_registration_app=globalThis.webpackChunk_openmrs_esm_patient_registration_app||[]).push([[9876],{29876:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l,immutable:()=>o});var r=n(1343),i=n(58139),a=n(55434);const s=r.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),d={dedupe:!0};a.OBJECT.defineProperty(a.SWRConfig,"defaultValue",{value:a.defaultConfig});const u=(0,a.withArgs)((e,t,n)=>{const{cache:u,compare:o,suspense:l,fallbackData:c,revalidateOnMount:f,revalidateIfStale:E,refreshInterval:g,refreshWhenHidden:R,refreshWhenOffline:h,keepPreviousData:v}=n,[p,U,_,T]=a.SWRGlobalState.get(u),[V,m]=(0,a.serialize)(e),b=(0,r.useRef)(!1),C=(0,r.useRef)(!1),S=(0,r.useRef)(V),L=(0,r.useRef)(t),O=(0,r.useRef)(n),I=()=>O.current,k=()=>I().isVisible()&&I().isOnline(),[w,D,y,A]=(0,a.createCacheHelper)(u,V),N=(0,r.useRef)({}).current,F=(0,a.isUndefined)(c)?n.fallback[V]:c,P=(e,t)=>{for(const n in N){const r=n;if("data"===r){if(!o(e[r],t[r])){if(!(0,a.isUndefined)(e[r]))return!1;if(!o(z,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},M=(0,r.useMemo)(()=>{const e=!!V&&!!t&&((0,a.isUndefined)(f)?!I().isPaused()&&!l&&(!!(0,a.isUndefined)(E)||E):f),n=t=>{const n=(0,a.mergeObjects)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=w(),i=A(),s=n(r),d=r===i?s:n(i);let u=s;return[()=>{const e=n(w());return P(e,u)?(u.data=e.data,u.isLoading=e.isLoading,u.isValidating=e.isValidating,u.error=e.error,u):(u=e,e)},()=>d]},[u,V]),W=(0,i.useSyncExternalStore)((0,r.useCallback)(e=>y(V,(t,n)=>{P(n,t)||e()}),[u,V]),M[0],M[1]),j=!b.current,G=p[V]&&p[V].length>0,H=W.data,Y=(0,a.isUndefined)(H)?F:H,q=W.error,x=(0,r.useRef)(Y),z=v?(0,a.isUndefined)(H)?x.current:H:Y,B=!(G&&!(0,a.isUndefined)(q))&&(j&&!(0,a.isUndefined)(f)?f:!I().isPaused()&&(l?!(0,a.isUndefined)(Y)&&E:(0,a.isUndefined)(Y)||E)),J=!!(V&&t&&j&&B),K=(0,a.isUndefined)(W.isValidating)?J:W.isValidating,Q=(0,a.isUndefined)(W.isLoading)?J:W.isLoading,X=(0,r.useCallback)(async e=>{const t=L.current;if(!V||!t||C.current||I().isPaused())return!1;let r,i,s=!0;const d=e||{},u=!_[V]||!d.dedupe,l=()=>a.IS_REACT_LEGACY?!C.current&&V===S.current&&b.current:V===S.current,c={isValidating:!1,isLoading:!1},f=()=>{D(c)},E=()=>{const e=_[V];e&&e[1]===i&&delete _[V]},g={isValidating:!0};(0,a.isUndefined)(w().data)&&(g.isLoading=!0);try{if(u&&(D(g),n.loadingTimeout&&(0,a.isUndefined)(w().data)&&setTimeout(()=>{s&&l()&&I().onLoadingSlow(V,n)},n.loadingTimeout),_[V]=[t(m),(0,a.getTimestamp)()]),[r,i]=_[V],r=await r,u&&setTimeout(E,n.dedupingInterval),!_[V]||_[V][1]!==i)return u&&l()&&I().onDiscarded(V),!1;c.error=a.UNDEFINED;const e=U[V];if(!(0,a.isUndefined)(e)&&(i<=e[0]||i<=e[1]||0===e[1]))return f(),u&&l()&&I().onDiscarded(V),!1;const d=w().data;c.data=o(d,r)?d:r,u&&l()&&I().onSuccess(r,V,n)}catch(e){E();const t=I(),{shouldRetryOnError:n}=t;t.isPaused()||(c.error=e,u&&l()&&(t.onError(e,V,t),(!0===n||(0,a.isFunction)(n)&&n(e))&&(I().revalidateOnFocus&&I().revalidateOnReconnect&&!k()||t.onErrorRetry(e,V,t,e=>{const t=p[V];t&&t[0]&&t[0](a.revalidateEvents.ERROR_REVALIDATE_EVENT,e)},{retryCount:(d.retryCount||0)+1,dedupe:!0}))))}return s=!1,f(),!0},[V,u]),Z=(0,r.useCallback)((...e)=>(0,a.internalMutate)(u,S.current,...e),[]);if((0,a.useIsomorphicLayoutEffect)(()=>{L.current=t,O.current=n,(0,a.isUndefined)(H)||(x.current=H)}),(0,a.useIsomorphicLayoutEffect)(()=>{if(!V)return;const e=X.bind(a.UNDEFINED,d);let t=0;const n=(0,a.subscribeCallback)(V,p,(n,r={})=>{if(n==a.revalidateEvents.FOCUS_EVENT){const n=Date.now();I().revalidateOnFocus&&n>t&&k()&&(t=n+I().focusThrottleInterval,e())}else if(n==a.revalidateEvents.RECONNECT_EVENT)I().revalidateOnReconnect&&k()&&e();else{if(n==a.revalidateEvents.MUTATE_EVENT)return X();if(n==a.revalidateEvents.ERROR_REVALIDATE_EVENT)return X(r)}});return C.current=!1,S.current=V,b.current=!0,D({_k:m}),B&&((0,a.isUndefined)(Y)||a.IS_SERVER?e():(0,a.rAF)(e)),()=>{C.current=!0,n()}},[V]),(0,a.useIsomorphicLayoutEffect)(()=>{let e;function t(){const t=(0,a.isFunction)(g)?g(w().data):g;t&&-1!==e&&(e=setTimeout(n,t))}function n(){w().error||!R&&!I().isVisible()||!h&&!I().isOnline()?t():X(d).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[g,R,h,V]),(0,r.useDebugValue)(z),l&&(0,a.isUndefined)(Y)&&V){if(!a.IS_REACT_LEGACY&&a.IS_SERVER)throw new Error("Fallback data is required when using suspense in SSR.");L.current=t,O.current=n,C.current=!1;const e=T[V];if(!(0,a.isUndefined)(e)){const t=Z(e);s(t)}if(!(0,a.isUndefined)(q))throw q;{const e=X(d);(0,a.isUndefined)(z)||(e.status="fulfilled",e.value=!0),s(e)}}return{mutate:Z,get data(){return N.data=!0,z},get error(){return N.error=!0,q},get isValidating(){return N.isValidating=!0,K},get isLoading(){return N.isLoading=!0,Q}}}),o=e=>(t,n,r)=>(r.revalidateOnFocus=!1,r.revalidateIfStale=!1,r.revalidateOnReconnect=!1,e(t,n,r)),l=(0,a.withMiddleware)(u,o)}}]);
package/dist/9876.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"9876.js","mappings":"6PAMA,MAAMA,EAAM,OAAoB,CAAEC,IAC9B,GAAuB,YAAnBA,EAAQC,OACR,MAAMD,EACH,GAAuB,cAAnBA,EAAQC,OACf,OAAOD,EAAQE,MACZ,KAAuB,aAAnBF,EAAQC,OACTD,EAAQG,QAEdH,EAAQC,OAAS,UACjBD,EAAQI,KAAMC,IACVL,EAAQC,OAAS,YACjBD,EAAQE,MAAQG,GAChBC,IACAN,EAAQC,OAAS,WACjBD,EAAQG,OAASG,IAEfN,EAEb,GACKO,EAAc,CAChBC,QAAQ,GA6eZ,EAAAC,OAAOC,eAAe,EAAAC,UAAW,eAAgB,CAC7CT,MAAO,EAAAU,gBAgBP,MAAMC,GAAS,IAAAC,UA5fG,CAACC,EAAMC,EAASC,KAClC,MAAM,MAAEC,EAAK,QAAEC,EAAO,SAAEC,EAAQ,aAAEC,EAAY,kBAAEC,EAAiB,kBAAEC,EAAiB,gBAAEC,EAAe,kBAAEC,EAAiB,mBAAEC,EAAkB,iBAAEC,GAAqBV,GAC5JW,EAAoBC,EAAUC,EAAOC,GAAW,EAAAC,eAAeC,IAAIf,IAKnEgB,EAAKC,IAAS,IAAAC,WAAUrB,GAEzBsB,GAAoB,IAAAC,SAAO,GAG3BC,GAAe,IAAAD,SA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BAAoB,EAC3BxG,EAAOM,mBAAoB,EAC3BN,EAAOyG,uBAAwB,EACxBmC,EAAW3H,EAAKlB,EAASC,IAElC6I,GAAkB,IAAAC,gBAAelJ,EAAQ+I,E","sources":["webpack://@openmrs/esm-patient-registration-app/../../node_modules/swr/dist/immutable/index.mjs"],"names":["use","promise","status","value","reason","then","v","e","WITH_DEDUPE","dedupe","OBJECT","defineProperty","SWRConfig","defaultConfig","useSWR","withArgs","_key","fetcher","config","cache","compare","suspense","fallbackData","revalidateOnMount","revalidateIfStale","refreshInterval","refreshWhenHidden","refreshWhenOffline","keepPreviousData","EVENT_REVALIDATORS","MUTATION","FETCH","PRELOAD","SWRGlobalState","get","key","fnArg","serialize","initialMountedRef","useRef","unmountedRef","keyRef","fetcherRef","configRef","getConfig","current","isActive","isVisible","isOnline","getCache","setCache","subscribeCache","getInitialCache","createCacheHelper","stateDependencies","fallback","isUndefined","isEqual","prev","_","t","returnedData","getSnapshot","useMemo","shouldStartRequest","isPaused","getSelectedCache","state","snapshot","mergeObjects","_k","isValidating","isLoading","cachedData","initialData","clientSnapshot","serverSnapshot","memorizedSnapshot","newSnapshot","data","error","cached","useSyncExternalStore","useCallback","callback","isInitialMount","hasRevalidator","length","laggyDataRef","shouldDoInitialRevalidation","defaultValidatingState","revalidate","async","revalidateOpts","currentFetcher","newData","startAt","loading","opts","shouldStartNewRequest","callbackSafeguard","IS_REACT_LEGACY","finalState","finishRequestAndUpdateState","cleanupState","requestInfo","initialState","loadingTimeout","setTimeout","onLoadingSlow","getTimestamp","dedupingInterval","onDiscarded","UNDEFINED","mutationInfo","cacheData","onSuccess","err","currentConfig","shouldRetryOnError","onError","isFunction","revalidateOnFocus","revalidateOnReconnect","onErrorRetry","_opts","revalidators","revalidateEvents","ERROR_REVALIDATE_EVENT","retryCount","boundMutate","args","internalMutate","useIsomorphicLayoutEffect","softRevalidate","bind","nextFocusRevalidatedAt","unsubEvents","subscribeCallback","type","FOCUS_EVENT","now","Date","focusThrottleInterval","RECONNECT_EVENT","MUTATE_EVENT","IS_SERVER","rAF","timer","next","interval","execute","clearTimeout","useDebugValue","Error","req","mutate","immutable","useSWRNext","useSWRImmutable","withMiddleware"],"sourceRoot":""}