@openmrs/esm-patient-search-app 9.2.1-pre.7118 → 9.2.1-pre.7126

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.
@@ -1,23 +1,23 @@
1
1
  assets by path *.js 3.06 MiB
2
2
  assets by chunk 2.51 MiB (id hint: vendors)
3
- asset 1408.js 2.04 MiB [emitted] [minimized] [big] (id hint: vendors) 2 related assets
3
+ asset 578.js 2.04 MiB [emitted] [minimized] [big] (id hint: vendors) 2 related assets
4
4
  asset 2794.js 213 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
5
5
  asset 3144.js 130 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
6
6
  asset 2913.js 83.2 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
7
7
  asset 4349.js 36.3 KiB [emitted] [minimized] (id hint: vendors) 2 related assets
8
8
  asset 6336.js 13.5 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
9
9
  asset 2372.js 6.08 KiB [emitted] [minimized] (id hint: vendors) 1 related asset
10
- + 53 assets
11
- assets by path *.json 31.4 KiB
12
- asset openmrs-esm-patient-search-app.js.buildmanifest.json 30.7 KiB [emitted]
13
- asset routes.json 739 bytes [emitted] [from: src/routes.json] [copied]
10
+ + 56 assets
11
+ assets by path *.json 32.9 KiB
12
+ asset openmrs-esm-patient-search-app.js.buildmanifest.json 32 KiB [emitted]
13
+ asset routes.json 878 bytes [emitted] [from: src/routes.json] [copied]
14
14
  orphan modules 9.8 MiB [orphan] 3152 modules
15
15
  runtime modules 42 KiB 28 modules
16
- built modules 7.69 MiB (javascript) 294 bytes (share-init) 294 bytes (consume-shared) [built]
16
+ built modules 7.7 MiB (javascript) 294 bytes (share-init) 294 bytes (consume-shared) [built]
17
17
  modules by path ../../node_modules/ 7.13 MiB 486 modules
18
- modules by path ./ 575 KiB
19
- modules by path ./translations/ 80.9 KiB 40 modules
20
- modules by path ./src/ 494 KiB 34 modules
18
+ modules by path ./ 583 KiB
19
+ modules by path ./translations/ 81 KiB 40 modules
20
+ modules by path ./src/ 502 KiB 36 modules
21
21
  provide-module modules 294 bytes
22
22
  modules by path provide shared module (default) swr/ 126 bytes 3 modules
23
23
  + 4 modules
@@ -29,6 +29,6 @@ built modules 7.69 MiB (javascript) 294 bytes (share-init) 294 bytes (consume-sh
29
29
  WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
30
30
  This can impact web performance.
31
31
  Assets:
32
- 1408.js (2.04 MiB)
32
+ 578.js (2.04 MiB)
33
33
 
34
- webpack 5.99.9 compiled with 1 warning in 112343 ms
34
+ webpack 5.99.9 compiled with 1 warning in 130677 ms
package/dist/1218.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_search_app=globalThis.webpackChunk_openmrs_esm_patient_search_app||[]).push([[1218],{81218:(e,r,t)=>{t.r(r),t.d(r,{default:()=>s});var n=t(1343),a=t.n(n),o=t(54440),l=t(58863),i=t(44141),c=t(25858);function u(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}const s=function(e){var r,t,s=e.workspaceProps,p=s.initialQuery,h=void 0===p?"":p,f=s.onPatientSelected,m=s.workspaceTitle,y=e.windowProps.startVisitWorkspaceName,d=e.launchChildWorkspace,b=e.closeWorkspace,v=(0,o.useConfig)().search.disableTabletSearchOnKeyUp,k=(r=(0,n.useState)(h),t=2,function(e){if(Array.isArray(e))return e}(r)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,a,o=[],l=!0,i=!1;try{for(t=t.call(e);!(l=(n=t.next()).done)&&(o.push(n.value),!r||o.length!==r);l=!0);}catch(e){i=!0,a=e}finally{try{l||null==t.return||t.return()}finally{if(i)throw a}}return o}}(r,t)||function(e,r){if(e){if("string"==typeof e)return u(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(t):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?u(e,r):void 0}}(r,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),S=k[0],g=k[1],w=(0,o.useDebounce)(S),_=Boolean(null==w?void 0:w.trim()),C=(0,n.useCallback)(function(){return g("")},[g]);return a().createElement(o.Workspace2,{title:m},a().createElement(c.V2.Provider,{value:{onPatientSelected:f,launchChildWorkspace:d,closeWorkspace:b,startVisitWorkspaceName:y}},a().createElement(l.A,{initialSearchTerm:h,onChange:function(e){return!v&&g(e)},onClear:C,onSubmit:g}),_&&a().createElement(i.A,{query:w,inTabletOrOverlay:!0})))}}}]);
@@ -0,0 +1 @@
1
+ {"version":3,"file":"1218.js","mappings":"0WAyDA,QA/BI,Y,YACFA,eAAAA,EAAAA,EAAkBC,aAAAA,OAAAA,IAAe,OAAIC,EAAAA,EAAAA,kBAAmBC,EAAAA,EAAAA,eACxDC,EAAAA,EAAAA,YAAeC,wBACfC,EAAAA,EAAAA,qBACAC,EAAAA,EAAAA,eAGEC,GACEC,EAAAA,EAAAA,aADFD,OAAUE,2BAEwBC,G,GAAAA,EAAAA,EAAAA,UAASV,G,EAAAA,E,+zBAAtCW,EAA6BD,EAAAA,GAAjBE,EAAiBF,EAAAA,GAC9BG,GAAsBC,EAAAA,EAAAA,aAAYH,GAClCI,EAAoBC,QAAQH,aAAAA,EAAAA,EAAqBI,QAEjDC,GAAwBC,EAAAA,EAAAA,aAAY,W,OAAMP,EAAc,G,EAAK,CAACA,IAEpE,OACE,kBAACQ,EAAAA,WAAUA,CAACC,MAAOnB,GACjB,kBAACoB,EAAAA,GAAsBC,SAAQ,CAC7BC,MAAO,CAAEvB,kBAAAA,EAAmBI,qBAAAA,EAAsBC,eAAAA,EAAgBF,wBAAAA,IAClE,kBAACqB,EAAAA,EAAgBA,CACfC,kBAAmB1B,EACnB2B,SAAU,SAACH,G,OAAWf,GAA8BG,EAAcY,E,EAClEI,QAASV,EACTW,SAAUjB,IAEXG,GAAqB,kBAACe,EAAAA,EAA8BA,CAACC,MAAOlB,EAAqBmB,mBAAAA,KAI1F,C","sources":["webpack://@openmrs/esm-patient-search-app/./src/patient-search-workspace/patient-search2.workspace.tsx"],"names":["workspaceProps","initialQuery","onPatientSelected","workspaceTitle","windowProps","startVisitWorkspaceName","launchChildWorkspace","closeWorkspace","search","useConfig","disableTabletSearchOnKeyUp","useState","searchTerm","setSearchTerm","debouncedSearchTerm","useDebounce","showSearchResults","Boolean","trim","handleClearSearchTerm","useCallback","Workspace2","title","PatientSearchContext2","Provider","value","PatientSearchBar","initialSearchTerm","onChange","onClear","onSubmit","AdvancedPatientSearchComponent","query","inTabletOrOverlay"],"sourceRoot":""}