@openmrs/esm-patient-forms-app 11.3.1-pre.9258 → 11.3.1-pre.9277

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 (90) hide show
  1. package/.turbo/turbo-build.log +4 -4
  2. package/dist/1119.js +1 -1
  3. package/dist/1197.js +1 -1
  4. package/dist/2146.js +1 -1
  5. package/dist/2690.js +1 -1
  6. package/dist/3099.js +1 -1
  7. package/dist/3584.js +1 -1
  8. package/dist/4055.js +1 -1
  9. package/dist/4078.js +1 -1
  10. package/dist/4078.js.map +1 -1
  11. package/dist/4132.js +1 -1
  12. package/dist/4300.js +1 -1
  13. package/dist/4335.js +1 -1
  14. package/dist/4618.js +1 -1
  15. package/dist/4652.js +1 -1
  16. package/dist/4944.js +1 -1
  17. package/dist/5173.js +1 -1
  18. package/dist/5241.js +1 -1
  19. package/dist/5442.js +1 -1
  20. package/dist/5661.js +1 -1
  21. package/dist/6022.js +1 -1
  22. package/dist/6468.js +1 -1
  23. package/dist/6679.js +1 -1
  24. package/dist/6840.js +1 -1
  25. package/dist/6859.js +1 -1
  26. package/dist/7007.js +1 -1
  27. package/dist/7007.js.map +1 -1
  28. package/dist/7097.js +1 -1
  29. package/dist/7159.js +1 -1
  30. package/dist/723.js +1 -1
  31. package/dist/7617.js +1 -1
  32. package/dist/795.js +1 -1
  33. package/dist/8163.js +1 -1
  34. package/dist/8349.js +1 -1
  35. package/dist/8618.js +1 -1
  36. package/dist/890.js +1 -1
  37. package/dist/9214.js +1 -1
  38. package/dist/9538.js +1 -1
  39. package/dist/9569.js +1 -1
  40. package/dist/986.js +1 -1
  41. package/dist/9879.js +1 -1
  42. package/dist/9895.js +1 -1
  43. package/dist/9900.js +1 -1
  44. package/dist/9913.js +1 -1
  45. package/dist/main.js +1 -1
  46. package/dist/openmrs-esm-patient-forms-app.js +1 -1
  47. package/dist/openmrs-esm-patient-forms-app.js.buildmanifest.json +126 -126
  48. package/dist/routes.json +1 -1
  49. package/package.json +2 -2
  50. package/src/forms/forms-table.component.tsx +1 -1
  51. package/src/offline-forms/offline-forms.component.tsx +3 -3
  52. package/translations/am.json +2 -0
  53. package/translations/ar.json +2 -0
  54. package/translations/ar_SY.json +2 -0
  55. package/translations/bn.json +2 -0
  56. package/translations/de.json +2 -0
  57. package/translations/en.json +2 -0
  58. package/translations/en_US.json +2 -0
  59. package/translations/es.json +2 -0
  60. package/translations/es_MX.json +2 -0
  61. package/translations/fr.json +2 -0
  62. package/translations/he.json +2 -0
  63. package/translations/hi.json +2 -0
  64. package/translations/hi_IN.json +2 -0
  65. package/translations/id.json +2 -0
  66. package/translations/it.json +2 -0
  67. package/translations/ka.json +2 -0
  68. package/translations/km.json +2 -0
  69. package/translations/ku.json +2 -0
  70. package/translations/ky.json +2 -0
  71. package/translations/lg.json +2 -0
  72. package/translations/ne.json +2 -0
  73. package/translations/pl.json +2 -0
  74. package/translations/pt.json +2 -0
  75. package/translations/pt_BR.json +2 -0
  76. package/translations/qu.json +2 -0
  77. package/translations/ro_RO.json +2 -0
  78. package/translations/ru_RU.json +2 -0
  79. package/translations/si.json +2 -0
  80. package/translations/sw.json +2 -0
  81. package/translations/sw_KE.json +2 -0
  82. package/translations/tr.json +2 -0
  83. package/translations/tr_TR.json +2 -0
  84. package/translations/uk.json +2 -0
  85. package/translations/uz.json +2 -0
  86. package/translations/uz@Latn.json +2 -0
  87. package/translations/uz_UZ.json +2 -0
  88. package/translations/vi.json +2 -0
  89. package/translations/zh.json +2 -0
  90. package/translations/zh_CN.json +2 -0
package/dist/4078.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"4078.js","mappings":"gNAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,46FAA+6F,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,yCAAyC,6EAA6E,iEAAiE,MAAQ,GAAG,SAAW,w1BAAw1B,eAAiB,CAAC,g/DAAg/D,osEAAos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,SAASE,EAAiBC,GAC/B,MAAiC,qBAA1BA,EAAaC,UAAyD,gBAAtBD,EAAa1K,IACtE,CAEO,SAAS4K,IACd,OAAO9D,EAAAA,EAAAA,IAAO,sBAAsB,W,OAAMM,EAAAA,EAAAA,8BAA6B,O,GACzE,C,gDCIA,QALA,SAAkBrP,GAChB,IAAI8S,SAAc9S,EAClB,OAAgB,MAATA,IAA0B,UAAR8S,GAA4B,YAARA,EAC/C,C","sources":["webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-table.scss","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/now.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/_trimmedEndIndex.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/_baseTrim.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/toNumber.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/debounce.js","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-table.scss?25c4","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-table.component.tsx","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-list.scss?3ed9","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-list.component.tsx","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-dashboard.scss?d487","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-dashboard.component.tsx","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-dashboard-workspace.scss?86a8","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-dashboard.workspace.tsx","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-dashboard-workspace.scss","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-list.scss","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/_freeGlobal.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/fuzzy/lib/fuzzy.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/_root.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/isObjectLike.js","webpack://@openmrs/esm-patient-forms-app/./src/hooks/use-forms.ts","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/_getRawTag.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/_objectToString.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/_baseGetTag.js","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-dashboard.scss","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/_Symbol.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/isSymbol.js","webpack://@openmrs/esm-patient-forms-app/./src/offline-forms/offline-form-helpers.ts","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/isObject.js"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","Date","now","reWhitespace","reTrimStart","string","slice","index","length","test","charAt","replace","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","value","isSymbol","isObject","other","valueOf","isBinary","nativeMax","Math","max","nativeMin","min","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","tableHeaders","tableRows","isTablet","handleSearch","handleFormOpen","useTranslation","t","DataTable","rows","headers","size","useZebraStyles","getTableProps","getHeaderProps","getRowProps","TableContainer","className","styles","tableContainer","div","toolbarWrapper","TableToolbar","tableToolbar","TableToolbarContent","TableToolbarSearch","search","expanded","onChange","event","target","placeholder","Table","aria-label","table","TableHead","TableRow","map","header","TableHeader","TableBody","row","i","TableCell","key","cells","Link","style","cursor","onClick","form","role","formName","editCell","label","window","completedForms","error","sectionName","useState","searchTerm","setSearchTerm","useLayoutType","i18next","language","navigator","setLocale","useEffect","on","languageChanged","lng","off","useMemo","func","wait","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","apply","shouldInvoke","timeSinceLastCall","timerExpired","trailingEdge","setTimeout","timeWaiting","remainingWait","debounced","isInvoking","arguments","this","leadingEdge","clearTimeout","cancel","flush","debounce","filteredForms","fuzzy","extract","formInfo","display","name","sort","r1","r2","score","original","formData","uuid","lastCompleted","lastCompletedDate","formatDatetime","formUuid","encounterUuid","associatedEncounters","ResponsiveWrapper","FormsTable","tabletHeading","desktopHeading","h4","DataTableSkeleton","patientUuid","clinicalFormsWorkspaceName","formEntryWorkspaceName","htmlFormEntryWorkspaceName","config","useConfig","isOnline","useConnectivity","useVisitOrOfflineVisit","currentVisit","useForms","orderBy","data","allForms","mutateForms","htmlFormEntryForms","mapFormsToHtmlFormEntryForms","useCallback","launchFormEntryOrHtmlForms","visitType","startDatetime","stopDatetime","sections","formSections","formSection","availableForms","forms","filter","some","formConfig","Tile","emptyState","EmptyDataIllustration","p","emptyStateContent","container","FormsList","section","FormsWorkspace","props","ExtensionSlot","state","FormsDashboard","global","Object","exports","simpleFilter","pattern","array","str","match","opts","ch","patternIdx","len","totalScore","currScore","pre","post","compareString","caseSensitive","toLowerCase","idx","Infinity","rendered","join","arr","reduce","prev","element","a","b","freeSelf","self","Function","useFormEncounters","cachedOfflineFormsOnly","useCustomFormsUrl","visitUuid","customFormsUrl","showHtmlFormEntryForms","hasCustomFormsUrl","Boolean","baseUrl","formEncounterUrl","formEncounterUrlPoc","url","interpolateUrl","representation","customFormRepresentation","useSWR","res","dynamicFormData","openmrsFetch","results","published","getDynamicOfflineDataEntries","entry","identifier","MINIMUM_DATE","startDate","endDate","encountersRes","encounters","allFormsRes","dayjs","startOf","subtract","toDate","endOf","customEncounterRepresentation","restBaseUrl","toISOString","useEncountersWithFormRef","pastEncounters","encounter","e","encounterDatetime","getTime","session","useSession","formsToDisplay","isValidOfflineFormEncounter","user","userHasAccess","encounterType","editPrivilege","formInfo1","formInfo2","localeCompare","getDate","isValidating","mutate","objectProto","prototype","hasOwnProperty","nativeObjectToString","toString","symToStringTag","toStringTag","isOwn","call","tag","unmasked","Symbol","isHtmlForm","htmlForm","hasJsonSchema","resources","isFormJsonSchema","formResource","dataType","useDynamicFormDataEntries","type"],"sourceRoot":""}
1
+ {"version":3,"file":"4078.js","mappings":"gNAGIA,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,46FAA+6F,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,wEAAwE,yCAAyC,6EAA6E,iEAAiE,MAAQ,GAAG,SAAW,w1BAAw1B,eAAiB,CAAC,g/DAAg/D,osEAAosE,05DAA05D,w8uBAAw8uB,WAAa,MAErpjCH,EAAwBI,OAAS,CAChC,UAAa,qDACb,gCAAmC,2EACnC,cAAiB,yDACjB,eAAkB,0DAClB,aAAgB,wDAChB,OAAU,kDACV,MAAS,iDACT,QAAW,mDACX,QAAW,mDACX,eAAkB,0DAClB,eAAkB,0DAClB,gBAAmB,2DACnB,cAAiB,yDACjB,KAAQ,gDACR,QAAW,mDACX,YAAe,wDAEhB,S,kKCHA,QAJU,WACR,OAAO,IAAKC,KAAKC,KACnB,ECnBA,IAAIC,EAAe,KCEnB,IAAIC,EAAc,OAelB,QANA,SAAkBC,GAChB,OAAOA,EACHA,EAAOC,MAAM,EDHnB,SAAyBD,GAGvB,IAFA,IAAIE,EAAQF,EAAOG,OAEZD,KAAWJ,EAAaM,KAAKJ,EAAOK,OAAOH,MAClD,OAAOA,CACT,CCFsB,CAAgBF,GAAU,GAAGM,QAAQP,EAAa,IAClEC,CACN,E,eCRIO,EAAa,qBAGbC,EAAa,aAGbC,EAAY,cAGZC,EAAeC,SA8CnB,QArBA,SAAkBC,GAChB,GAAoB,iBAATA,EACT,OAAOA,EAET,IAAI,EAAAC,EAAA,GAASD,GACX,OA1CM,IA4CR,IAAI,EAAAE,EAAA,GAASF,GAAQ,CACnB,IAAIG,EAAgC,mBAAjBH,EAAMI,QAAwBJ,EAAMI,UAAYJ,EACnEA,GAAQ,EAAAE,EAAA,GAASC,GAAUA,EAAQ,GAAMA,CAC3C,CACA,GAAoB,iBAATH,EACT,OAAiB,IAAVA,EAAcA,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ECyBlB,QALA,SAAkBrS,GAChB,MAAuB,iBAATA,IACX,OAAaA,IArBF,oBAqBY,OAAWA,EACvC,C,oFCjBO,SAAS+Q,EAA4B5M,EAAYiG,GACtD,IAAMkI,EAAalI,EAAmBa,MAAK,SAACsH,G,OAAaA,EAAS3J,WAAazE,EAAKqE,I,IAC9EgK,EAAgBrO,EAAKsO,UAAUxH,KAAKyH,GAC1C,OAAQJ,GAAcE,CACxB,CAOO,SAASE,EAAiBC,GAC/B,MAAiC,qBAA1BA,EAAaC,UAAyD,gBAAtBD,EAAa1K,IACtE,CAEO,SAAS4K,IACd,OAAO9D,EAAAA,EAAAA,IAAO,sBAAsB,W,OAAMM,EAAAA,EAAAA,8BAA6B,O,GACzE,C,gDCIA,QALA,SAAkBrP,GAChB,IAAI8S,SAAc9S,EAClB,OAAgB,MAATA,IAA0B,UAAR8S,GAA4B,YAARA,EAC/C,C","sources":["webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-table.scss","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/now.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/_trimmedEndIndex.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/_baseTrim.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/toNumber.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/debounce.js","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-table.scss?25c4","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-table.component.tsx","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-list.scss?3ed9","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-list.component.tsx","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-dashboard.scss?d487","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-dashboard.component.tsx","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-dashboard-workspace.scss?86a8","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-dashboard.workspace.tsx","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-dashboard-workspace.scss","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-list.scss","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/_freeGlobal.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/fuzzy/lib/fuzzy.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/_root.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/isObjectLike.js","webpack://@openmrs/esm-patient-forms-app/./src/hooks/use-forms.ts","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/_getRawTag.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/_objectToString.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/_baseGetTag.js","webpack://@openmrs/esm-patient-forms-app/./src/forms/forms-dashboard.scss","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/_Symbol.js","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/isSymbol.js","webpack://@openmrs/esm-patient-forms-app/./src/offline-forms/offline-form-helpers.ts","webpack://@openmrs/esm-patient-forms-app/../../node_modules/lodash-es/isObject.js"],"names":["___CSS_LOADER_EXPORT___","push","module","id","locals","Date","now","reWhitespace","reTrimStart","string","slice","index","length","test","charAt","replace","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","parseInt","value","isSymbol","isObject","other","valueOf","isBinary","nativeMax","Math","max","nativeMin","min","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","tableHeaders","tableRows","isTablet","handleSearch","handleFormOpen","useTranslation","t","DataTable","rows","headers","size","useZebraStyles","getTableProps","getHeaderProps","getRowProps","TableContainer","className","styles","tableContainer","div","toolbarWrapper","TableToolbar","tableToolbar","TableToolbarContent","TableToolbarSearch","search","expanded","onChange","event","target","placeholder","Table","aria-label","table","TableHead","TableRow","map","header","TableHeader","TableBody","row","i","TableCell","key","cells","Link","style","cursor","onClick","form","role","formName","editCell","span","window","completedForms","error","sectionName","useState","searchTerm","setSearchTerm","useLayoutType","i18next","language","navigator","setLocale","useEffect","on","languageChanged","lng","off","useMemo","func","wait","lastArgs","lastThis","maxWait","result","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","TypeError","invokeFunc","time","args","thisArg","apply","shouldInvoke","timeSinceLastCall","timerExpired","trailingEdge","setTimeout","timeWaiting","remainingWait","debounced","isInvoking","arguments","this","leadingEdge","clearTimeout","cancel","flush","debounce","filteredForms","fuzzy","extract","formInfo","display","name","sort","r1","r2","score","original","formData","uuid","lastCompleted","lastCompletedDate","formatDatetime","formUuid","encounterUuid","associatedEncounters","ResponsiveWrapper","FormsTable","tabletHeading","desktopHeading","h4","DataTableSkeleton","patientUuid","clinicalFormsWorkspaceName","formEntryWorkspaceName","htmlFormEntryWorkspaceName","config","useConfig","isOnline","useConnectivity","useVisitOrOfflineVisit","currentVisit","useForms","orderBy","data","allForms","mutateForms","htmlFormEntryForms","mapFormsToHtmlFormEntryForms","useCallback","launchFormEntryOrHtmlForms","visitType","startDatetime","stopDatetime","sections","formSections","formSection","availableForms","forms","filter","some","formConfig","Tile","emptyState","EmptyDataIllustration","p","emptyStateContent","container","FormsList","section","FormsWorkspace","props","ExtensionSlot","state","FormsDashboard","global","Object","exports","simpleFilter","pattern","array","str","match","opts","ch","patternIdx","len","totalScore","currScore","pre","post","compareString","caseSensitive","toLowerCase","idx","Infinity","rendered","join","arr","reduce","prev","element","a","b","freeSelf","self","Function","useFormEncounters","cachedOfflineFormsOnly","useCustomFormsUrl","visitUuid","customFormsUrl","showHtmlFormEntryForms","hasCustomFormsUrl","Boolean","baseUrl","formEncounterUrl","formEncounterUrlPoc","url","interpolateUrl","representation","customFormRepresentation","useSWR","res","dynamicFormData","openmrsFetch","results","published","getDynamicOfflineDataEntries","entry","identifier","MINIMUM_DATE","startDate","endDate","encountersRes","encounters","allFormsRes","dayjs","startOf","subtract","toDate","endOf","customEncounterRepresentation","restBaseUrl","toISOString","useEncountersWithFormRef","pastEncounters","encounter","e","encounterDatetime","getTime","session","useSession","formsToDisplay","isValidOfflineFormEncounter","user","userHasAccess","encounterType","editPrivilege","formInfo1","formInfo2","localeCompare","getDate","isValidating","mutate","objectProto","prototype","hasOwnProperty","nativeObjectToString","toString","symToStringTag","toStringTag","isOwn","call","tag","unmasked","Symbol","isHtmlForm","htmlForm","hasJsonSchema","resources","isFormJsonSchema","formResource","dataType","useDynamicFormDataEntries","type"],"sourceRoot":""}
package/dist/4132.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[4132],{14132:e=>{e.exports=JSON.parse('{"clinicalForm":"النموذج السريري","clinicalForms":"النماذج السريرية","formName":"اسم النموذج (أ-ي)","forms":"النماذج","homeOverviewCardView":"عرض","lastCompleted":"آخر اكتمال","never":"أبدًا","noFormsToDisplay":"لا يوجد نماذج للعرض.","offlineForms":"نماذج بدون اتصال","offlineForms__lower":"نماذج بدون اتصال","offlineFormsOverviewCardAvailableOffline":"متاح بدون اتصال","offlineFormsTableFormAvailableOffline":"بدون اتصال","offlineFormsTableFormNameHeader":"اسم النموذج","offlineFormsTitle":"نماذج بدون اتصال","offlinePatientsTableSearchLabel":"ابحث في هذه القائمة","offlinePatientsTableSearchPlaceholder":"ابحث في هذه القائمة","offlineToggle":"تبديل الوضع بدون اتصال","searchThisList":"ابحث في هذه القائمة"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[4132],{14132:e=>{e.exports=JSON.parse('{"clinicalForm":"النموذج السريري","clinicalForms":"النماذج السريرية","formName":"اسم النموذج (أ-ي)","forms":"النماذج","homeOverviewCardView":"عرض","lastCompleted":"آخر اكتمال","never":"أبدًا","noFormsToDisplay":"لا يوجد نماذج للعرض.","off":"Off","offlineForms":"نماذج بدون اتصال","offlineForms__lower":"نماذج بدون اتصال","offlineFormsOverviewCardAvailableOffline":"متاح بدون اتصال","offlineFormsTableFormAvailableOffline":"بدون اتصال","offlineFormsTableFormNameHeader":"اسم النموذج","offlineFormsTitle":"نماذج بدون اتصال","offlinePatientsTableSearchLabel":"ابحث في هذه القائمة","offlinePatientsTableSearchPlaceholder":"ابحث في هذه القائمة","offlineToggle":"تبديل الوضع بدون اتصال","on":"On","searchThisList":"ابحث في هذه القائمة"}')}}]);
package/dist/4300.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[4300],{34300:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"Clinical forms","formName":"Form Name (A-Z)","forms":"Forms","homeOverviewCardView":"View","lastCompleted":"Last completed","never":"Never","noFormsToDisplay":"There are no forms to display.","offlineForms":"Offline forms","offlineForms__lower":"offline forms","offlineFormsOverviewCardAvailableOffline":"Available offline","offlineFormsTableFormAvailableOffline":"Offline","offlineFormsTableFormNameHeader":"Form name","offlineFormsTitle":"Offline forms","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlineToggle":"Offline toggle","searchThisList":"Search this list"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[4300],{34300:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"Clinical forms","formName":"Form Name (A-Z)","forms":"Forms","homeOverviewCardView":"View","lastCompleted":"Last completed","never":"Never","noFormsToDisplay":"There are no forms to display.","off":"Off","offlineForms":"Offline forms","offlineForms__lower":"offline forms","offlineFormsOverviewCardAvailableOffline":"Available offline","offlineFormsTableFormAvailableOffline":"Offline","offlineFormsTableFormNameHeader":"Form name","offlineFormsTitle":"Offline forms","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlineToggle":"Offline toggle","on":"On","searchThisList":"Search this list"}')}}]);
package/dist/4335.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[4335],{54335:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"ទម្រង់វេជ្ជសាស្ត្រ","formName":"ឈ្មោះទម្រង់ (ក-ហ្ស)","forms":"ទម្រង់ទាំងអស់","homeOverviewCardView":"ពិនិត្យមើល","lastCompleted":"បញ្ចប់ចុងក្រោយ","never":"មិនដែលសោះ","noFormsToDisplay":"មិនមានទម្រង់ដែលត្រូវបង្ហាញទេ.","offlineForms":"ទម្រង់មិនមានភ្ជាប់អ៊ីនធើណេត","offlineForms__lower":"ទម្រង់មិនមានភ្ជាប់អ៊ីនធើណេត","offlineFormsOverviewCardAvailableOffline":"ភាពអាចរកបាននៅក្រៅបណ្តាញ (អត់មានបណ្តាញ)","offlineFormsTableFormAvailableOffline":"ក្រៅបណ្តាញ (អត់មានបណ្តាញ)","offlineFormsTableFormNameHeader":"ឈ្មោះទម្រង់","offlineFormsTitle":"ទម្រង់ក្រៅបណ្តាញ (ទម្រង់អត់មានបណ្តាញ)","offlinePatientsTableSearchLabel":"ស្វែងរកបញ្ជីនេះ។","offlinePatientsTableSearchPlaceholder":"ស្វែងរកបញ្ជីនេះ។","offlineToggle":"បិទបើកក្រៅបណ្តាញ","searchThisList":"ស្វែងរកបញ្ជីនេះ"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[4335],{54335:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"ទម្រង់វេជ្ជសាស្ត្រ","formName":"ឈ្មោះទម្រង់ (ក-ហ្ស)","forms":"ទម្រង់ទាំងអស់","homeOverviewCardView":"ពិនិត្យមើល","lastCompleted":"បញ្ចប់ចុងក្រោយ","never":"មិនដែលសោះ","noFormsToDisplay":"មិនមានទម្រង់ដែលត្រូវបង្ហាញទេ.","off":"Off","offlineForms":"ទម្រង់មិនមានភ្ជាប់អ៊ីនធើណេត","offlineForms__lower":"ទម្រង់មិនមានភ្ជាប់អ៊ីនធើណេត","offlineFormsOverviewCardAvailableOffline":"ភាពអាចរកបាននៅក្រៅបណ្តាញ (អត់មានបណ្តាញ)","offlineFormsTableFormAvailableOffline":"ក្រៅបណ្តាញ (អត់មានបណ្តាញ)","offlineFormsTableFormNameHeader":"ឈ្មោះទម្រង់","offlineFormsTitle":"ទម្រង់ក្រៅបណ្តាញ (ទម្រង់អត់មានបណ្តាញ)","offlinePatientsTableSearchLabel":"ស្វែងរកបញ្ជីនេះ។","offlinePatientsTableSearchPlaceholder":"ស្វែងរកបញ្ជីនេះ។","offlineToggle":"បិទបើកក្រៅបណ្តាញ","on":"On","searchThisList":"ស្វែងរកបញ្ជីនេះ"}')}}]);
package/dist/4618.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[4618],{64618:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"Clinical forms","formName":"Form Name (A-Z)","forms":"Forms","homeOverviewCardView":"View","lastCompleted":"Last completed","never":"Never","noFormsToDisplay":"There are no forms to display.","offlineForms":"Offline forms","offlineForms__lower":"offline forms","offlineFormsOverviewCardAvailableOffline":"Available offline","offlineFormsTableFormAvailableOffline":"Offline","offlineFormsTableFormNameHeader":"Form name","offlineFormsTitle":"Offline forms","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlineToggle":"Offline toggle","searchThisList":"Search this list"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[4618],{64618:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"Clinical forms","formName":"Form Name (A-Z)","forms":"Forms","homeOverviewCardView":"View","lastCompleted":"Last completed","never":"Never","noFormsToDisplay":"There are no forms to display.","off":"Off","offlineForms":"Offline forms","offlineForms__lower":"offline forms","offlineFormsOverviewCardAvailableOffline":"Available offline","offlineFormsTableFormAvailableOffline":"Offline","offlineFormsTableFormNameHeader":"Form name","offlineFormsTitle":"Offline forms","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlineToggle":"Offline toggle","on":"On","searchThisList":"Search this list"}')}}]);
package/dist/4652.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[4652],{84652:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"טפסים קליניים","formName":"שם הטופס (א-ת)","forms":"טפסים","homeOverviewCardView":"תצוגה","lastCompleted":"הושלם לאחרונה","never":"אף פעם","noFormsToDisplay":"אין טפסים לתצוגה.","offlineForms":"טפסים לא מקוונים","offlineForms__lower":"טפסים לא מקוונים","offlineFormsOverviewCardAvailableOffline":"זמין לשימוש לא מקוון","offlineFormsTableFormAvailableOffline":"לא מקוון","offlineFormsTableFormNameHeader":"שם הטופס","offlineFormsTitle":"טפסים לא מקוונים","offlinePatientsTableSearchLabel":"חפש ברשימה זו","offlinePatientsTableSearchPlaceholder":"חפש ברשימה זו","offlineToggle":"מצב לא מקוון","searchThisList":"חפש ברשימה זו"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[4652],{84652:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"טפסים קליניים","formName":"שם הטופס (א-ת)","forms":"טפסים","homeOverviewCardView":"תצוגה","lastCompleted":"הושלם לאחרונה","never":"אף פעם","noFormsToDisplay":"אין טפסים לתצוגה.","off":"Off","offlineForms":"טפסים לא מקוונים","offlineForms__lower":"טפסים לא מקוונים","offlineFormsOverviewCardAvailableOffline":"זמין לשימוש לא מקוון","offlineFormsTableFormAvailableOffline":"לא מקוון","offlineFormsTableFormNameHeader":"שם הטופס","offlineFormsTitle":"טפסים לא מקוונים","offlinePatientsTableSearchLabel":"חפש ברשימה זו","offlinePatientsTableSearchPlaceholder":"חפש ברשימה זו","offlineToggle":"מצב לא מקוון","on":"On","searchThisList":"חפש ברשימה זו"}')}}]);
package/dist/4944.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[4944],{34944:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"Clinical forms","formName":"Form Name (A-Z)","forms":"Forms","homeOverviewCardView":"View","lastCompleted":"Last completed","never":"Never","noFormsToDisplay":"There are no forms to display.","offlineForms":"Offline forms","offlineForms__lower":"offline forms","offlineFormsOverviewCardAvailableOffline":"Available offline","offlineFormsTableFormAvailableOffline":"Offline","offlineFormsTableFormNameHeader":"Form name","offlineFormsTitle":"Offline forms","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlineToggle":"Offline toggle","searchThisList":"Search this list"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[4944],{34944:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"Clinical forms","formName":"Form Name (A-Z)","forms":"Forms","homeOverviewCardView":"View","lastCompleted":"Last completed","never":"Never","noFormsToDisplay":"There are no forms to display.","off":"Off","offlineForms":"Offline forms","offlineForms__lower":"offline forms","offlineFormsOverviewCardAvailableOffline":"Available offline","offlineFormsTableFormAvailableOffline":"Offline","offlineFormsTableFormNameHeader":"Form name","offlineFormsTitle":"Offline forms","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlineToggle":"Offline toggle","on":"On","searchThisList":"Search this list"}')}}]);
package/dist/5173.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[5173],{35173:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"Clinical forms","formName":"Form Name (A-Z)","forms":"Forms","homeOverviewCardView":"View","lastCompleted":"Last completed","never":"Never","noFormsToDisplay":"There are no forms to display.","offlineForms":"Offline forms","offlineForms__lower":"offline forms","offlineFormsOverviewCardAvailableOffline":"Available offline","offlineFormsTableFormAvailableOffline":"Offline","offlineFormsTableFormNameHeader":"Form name","offlineFormsTitle":"Offline forms","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlineToggle":"Offline toggle","searchThisList":"Search this list"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[5173],{35173:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"Clinical forms","formName":"Form Name (A-Z)","forms":"Forms","homeOverviewCardView":"View","lastCompleted":"Last completed","never":"Never","noFormsToDisplay":"There are no forms to display.","off":"Off","offlineForms":"Offline forms","offlineForms__lower":"offline forms","offlineFormsOverviewCardAvailableOffline":"Available offline","offlineFormsTableFormAvailableOffline":"Offline","offlineFormsTableFormNameHeader":"Form name","offlineFormsTitle":"Offline forms","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlineToggle":"Offline toggle","on":"On","searchThisList":"Search this list"}')}}]);
package/dist/5241.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[5241],{55241:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"Clinical forms","formName":"Form Name (A-Z)","forms":"Forms","homeOverviewCardView":"View","lastCompleted":"Last completed","never":"Never","noFormsToDisplay":"There are no forms to display.","offlineForms":"Offline forms","offlineForms__lower":"offline forms","offlineFormsOverviewCardAvailableOffline":"Available offline","offlineFormsTableFormAvailableOffline":"Offline","offlineFormsTableFormNameHeader":"Form name","offlineFormsTitle":"Offline forms","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlineToggle":"Offline toggle","searchThisList":"Search this list"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[5241],{55241:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"Clinical forms","formName":"Form Name (A-Z)","forms":"Forms","homeOverviewCardView":"View","lastCompleted":"Last completed","never":"Never","noFormsToDisplay":"There are no forms to display.","off":"Off","offlineForms":"Offline forms","offlineForms__lower":"offline forms","offlineFormsOverviewCardAvailableOffline":"Available offline","offlineFormsTableFormAvailableOffline":"Offline","offlineFormsTableFormNameHeader":"Form name","offlineFormsTitle":"Offline forms","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlineToggle":"Offline toggle","on":"On","searchThisList":"Search this list"}')}}]);
package/dist/5442.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[5442],{55442:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"Clinical forms","formName":"Form Name (A-Z)","forms":"Forms","homeOverviewCardView":"View","lastCompleted":"Last completed","never":"Never","noFormsToDisplay":"There are no forms to display.","offlineForms":"Offline forms","offlineForms__lower":"offline forms","offlineFormsOverviewCardAvailableOffline":"Available offline","offlineFormsTableFormAvailableOffline":"Offline","offlineFormsTableFormNameHeader":"Form name","offlineFormsTitle":"Offline forms","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlineToggle":"Offline toggle","searchThisList":"Search this list"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[5442],{55442:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"Clinical forms","formName":"Form Name (A-Z)","forms":"Forms","homeOverviewCardView":"View","lastCompleted":"Last completed","never":"Never","noFormsToDisplay":"There are no forms to display.","off":"Off","offlineForms":"Offline forms","offlineForms__lower":"offline forms","offlineFormsOverviewCardAvailableOffline":"Available offline","offlineFormsTableFormAvailableOffline":"Offline","offlineFormsTableFormNameHeader":"Form name","offlineFormsTitle":"Offline forms","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlineToggle":"Offline toggle","on":"On","searchThisList":"Search this list"}')}}]);
package/dist/5661.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[5661],{35661:e=>{e.exports=JSON.parse('{"clinicalForm":"临床表单","clinicalForms":"临床表单","formName":"表单名称(A-Z)","forms":"表单","homeOverviewCardView":"查看","lastCompleted":"最后完成","never":"从未","noFormsToDisplay":"没有表单可显示","offlineForms":"离线表单","offlineForms__lower":"离线表单","offlineFormsOverviewCardAvailableOffline":"离线可用","offlineFormsTableFormAvailableOffline":"离线","offlineFormsTableFormNameHeader":"表单名称","offlineFormsTitle":"离线表单","offlinePatientsTableSearchLabel":"搜索此列表","offlinePatientsTableSearchPlaceholder":"搜索此列表","offlineToggle":"离线切换","searchThisList":"搜索此列表"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[5661],{35661:e=>{e.exports=JSON.parse('{"clinicalForm":"临床表单","clinicalForms":"临床表单","formName":"表单名称(A-Z)","forms":"表单","homeOverviewCardView":"查看","lastCompleted":"最后完成","never":"从未","noFormsToDisplay":"没有表单可显示","off":"Off","offlineForms":"离线表单","offlineForms__lower":"离线表单","offlineFormsOverviewCardAvailableOffline":"离线可用","offlineFormsTableFormAvailableOffline":"离线","offlineFormsTableFormNameHeader":"表单名称","offlineFormsTitle":"离线表单","offlinePatientsTableSearchLabel":"搜索此列表","offlinePatientsTableSearchPlaceholder":"搜索此列表","offlineToggle":"离线切换","on":"On","searchThisList":"搜索此列表"}')}}]);
package/dist/6022.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[6022],{46022:e=>{e.exports=JSON.parse('{"clinicalForm":"Formular clinic","clinicalForms":"Formulare clinice","formName":"Nume formular (A-Z)","forms":"Formulare","homeOverviewCardView":"Vezi","lastCompleted":"Ultima completare","never":"Niciodata","noFormsToDisplay":"Nu exista formulare de afisat.","offlineForms":"Formulare offline","offlineForms__lower":"formulare offline","offlineFormsOverviewCardAvailableOffline":"Disponibil offline","offlineFormsTableFormAvailableOffline":"Offline","offlineFormsTableFormNameHeader":"Nume formular","offlineFormsTitle":"Formulare offline","offlinePatientsTableSearchLabel":"Cauta in aceasta lista","offlinePatientsTableSearchPlaceholder":"Cauta in aceasta lista","offlineToggle":"Comutare offline","searchThisList":"Cauta in aceasta lista"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[6022],{46022:e=>{e.exports=JSON.parse('{"clinicalForm":"Formular clinic","clinicalForms":"Formulare clinice","formName":"Nume formular (A-Z)","forms":"Formulare","homeOverviewCardView":"Vezi","lastCompleted":"Ultima completare","never":"Niciodata","noFormsToDisplay":"Nu exista formulare de afisat.","off":"Off","offlineForms":"Formulare offline","offlineForms__lower":"formulare offline","offlineFormsOverviewCardAvailableOffline":"Disponibil offline","offlineFormsTableFormAvailableOffline":"Offline","offlineFormsTableFormNameHeader":"Nume formular","offlineFormsTitle":"Formulare offline","offlinePatientsTableSearchLabel":"Cauta in aceasta lista","offlinePatientsTableSearchPlaceholder":"Cauta in aceasta lista","offlineToggle":"Comutare offline","on":"On","searchThisList":"Cauta in aceasta lista"}')}}]);
package/dist/6468.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[6468],{36468:e=>{e.exports=JSON.parse('{"clinicalForm":"Formulário clínico","clinicalForms":"Formulários clínicos","formName":"Nome do formulário (A-Z)","forms":"Formulários","homeOverviewCardView":"Exibir","lastCompleted":"Último preenchimento","never":"Nunca","noFormsToDisplay":"Não há formulários para exibir.","offlineForms":"Formulários off-line","offlineForms__lower":"formulários off-line","offlineFormsOverviewCardAvailableOffline":"Disponível off-line","offlineFormsTableFormAvailableOffline":"Off-line","offlineFormsTableFormNameHeader":"Nome do formulário","offlineFormsTitle":"Formulários off-line","offlinePatientsTableSearchLabel":"Pesquisar nesta lista","offlinePatientsTableSearchPlaceholder":"Pesquisar nesta lista","offlineToggle":"Alternar off-line","searchThisList":"Pesquisar nesta lista"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[6468],{36468:e=>{e.exports=JSON.parse('{"clinicalForm":"Formulário clínico","clinicalForms":"Formulários clínicos","formName":"Nome do formulário (A-Z)","forms":"Formulários","homeOverviewCardView":"Exibir","lastCompleted":"Último preenchimento","never":"Nunca","noFormsToDisplay":"Não há formulários para exibir.","off":"Off","offlineForms":"Formulários off-line","offlineForms__lower":"formulários off-line","offlineFormsOverviewCardAvailableOffline":"Disponível off-line","offlineFormsTableFormAvailableOffline":"Off-line","offlineFormsTableFormNameHeader":"Nome do formulário","offlineFormsTitle":"Formulários off-line","offlinePatientsTableSearchLabel":"Pesquisar nesta lista","offlinePatientsTableSearchPlaceholder":"Pesquisar nesta lista","offlineToggle":"Alternar off-line","on":"On","searchThisList":"Pesquisar nesta lista"}')}}]);
package/dist/6679.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[6679],{96679:e=>{e.exports=JSON.parse('{"clinicalForm":"Formulário Clínico","clinicalForms":"Formulários clínicos","formName":"Nome do Formulário (A-Z)","forms":"Formulários","homeOverviewCardView":"Visualizar","lastCompleted":"Último preenchido","never":"Nunca","noFormsToDisplay":"Não há formulários para visualizar.","offlineForms":"Formulários off-line","offlineForms__lower":"Formulários on-line","offlineFormsOverviewCardAvailableOffline":"Disponível off-line","offlineFormsTableFormAvailableOffline":"Off-line","offlineFormsTableFormNameHeader":"Nome do formulário","offlineFormsTitle":"Formulários off-line","offlinePatientsTableSearchLabel":"Pesquisar esta lista","offlinePatientsTableSearchPlaceholder":"Pesquisar esta lista","offlineToggle":"Alternar off-line","searchThisList":"Pesquisar esta lista"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[6679],{96679:e=>{e.exports=JSON.parse('{"clinicalForm":"Formulário Clínico","clinicalForms":"Formulários clínicos","formName":"Nome do Formulário (A-Z)","forms":"Formulários","homeOverviewCardView":"Visualizar","lastCompleted":"Último preenchido","never":"Nunca","noFormsToDisplay":"Não há formulários para visualizar.","off":"Off","offlineForms":"Formulários off-line","offlineForms__lower":"Formulários on-line","offlineFormsOverviewCardAvailableOffline":"Disponível off-line","offlineFormsTableFormAvailableOffline":"Off-line","offlineFormsTableFormNameHeader":"Nome do formulário","offlineFormsTitle":"Formulários off-line","offlinePatientsTableSearchLabel":"Pesquisar esta lista","offlinePatientsTableSearchPlaceholder":"Pesquisar esta lista","offlineToggle":"Alternar off-line","on":"On","searchThisList":"Pesquisar esta lista"}')}}]);
package/dist/6840.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[6840],{36840:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"Clinical forms","formName":"Form Name (A-Z)","forms":"Forms","homeOverviewCardView":"View","lastCompleted":"Last completed","never":"Never","noFormsToDisplay":"There are no forms to display.","offlineForms":"Offline forms","offlineForms__lower":"offline forms","offlineFormsOverviewCardAvailableOffline":"Available offline","offlineFormsTableFormAvailableOffline":"Offline","offlineFormsTableFormNameHeader":"Form name","offlineFormsTitle":"Offline forms","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlineToggle":"Offline toggle","searchThisList":"Search this list"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[6840],{36840:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"Clinical forms","formName":"Form Name (A-Z)","forms":"Forms","homeOverviewCardView":"View","lastCompleted":"Last completed","never":"Never","noFormsToDisplay":"There are no forms to display.","off":"Off","offlineForms":"Offline forms","offlineForms__lower":"offline forms","offlineFormsOverviewCardAvailableOffline":"Available offline","offlineFormsTableFormAvailableOffline":"Offline","offlineFormsTableFormNameHeader":"Form name","offlineFormsTitle":"Offline forms","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlineToggle":"Offline toggle","on":"On","searchThisList":"Search this list"}')}}]);
package/dist/6859.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[6859],{56859:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"Clinical forms","formName":"Form Name (A-Z)","forms":"Forms","homeOverviewCardView":"View","lastCompleted":"Last completed","never":"Never","noFormsToDisplay":"There are no forms to display.","offlineForms":"Offline forms","offlineForms__lower":"offline forms","offlineFormsOverviewCardAvailableOffline":"Available offline","offlineFormsTableFormAvailableOffline":"Offline","offlineFormsTableFormNameHeader":"Form name","offlineFormsTitle":"Offline forms","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlineToggle":"Offline toggle","searchThisList":"Search this list"}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[6859],{56859:e=>{e.exports=JSON.parse('{"clinicalForm":"Clinical Form","clinicalForms":"Clinical forms","formName":"Form Name (A-Z)","forms":"Forms","homeOverviewCardView":"View","lastCompleted":"Last completed","never":"Never","noFormsToDisplay":"There are no forms to display.","off":"Off","offlineForms":"Offline forms","offlineForms__lower":"offline forms","offlineFormsOverviewCardAvailableOffline":"Available offline","offlineFormsTableFormAvailableOffline":"Offline","offlineFormsTableFormNameHeader":"Form name","offlineFormsTitle":"Offline forms","offlinePatientsTableSearchLabel":"Search this list","offlinePatientsTableSearchPlaceholder":"Search this list","offlineToggle":"Offline toggle","on":"On","searchThisList":"Search this list"}')}}]);
package/dist/7007.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[7007],{177:(e,n,t)=>{t.d(n,{A:()=>l});var a=t(30977),i=t.n(a),r=t(95924),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-patient-forms__offline-forms__heading___SjJuE{font-size:var(--cds-heading-04-font-size, 1.75rem);font-weight:var(--cds-heading-04-font-weight, 400);line-height:var(--cds-heading-04-line-height, 1.28572);letter-spacing:var(--cds-heading-04-letter-spacing, 0)}.-esm-patient-forms__offline-forms__productiveHeading03___hOzmy,.-esm-patient-forms__offline-forms__pageHeaderContainer___Y-OYT .-esm-patient-forms__offline-forms__pageHeader___Q5RUx{font-size:var(--cds-heading-03-font-size, 1.25rem);font-weight:var(--cds-heading-03-font-weight, 400);line-height:var(--cds-heading-03-line-height, 1.4);letter-spacing:var(--cds-heading-03-letter-spacing, 0)}.-esm-patient-forms__offline-forms__pageHeaderContainer___Y-OYT{display:flex;justify-content:space-between;align-items:center;margin:0 1rem 1rem 1rem}.-esm-patient-forms__offline-forms__pageHeaderContainer___Y-OYT .-esm-patient-forms__offline-forms__pageHeader___Q5RUx{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.-esm-patient-forms__offline-forms__contentContainer___BtiJT{margin:0 1rem}.-esm-patient-forms__offline-forms__tableHeaderContainer___ETr1m{display:grid;grid-template-columns:1fr 50%}.-esm-patient-forms__offline-forms__tableHeaderContainer___ETr1m .-esm-patient-forms__offline-forms__tableSearch___qGyEm{grid-column:2;align-self:end}.omrs-breakpoint-gt-tablet .-esm-patient-forms__offline-forms__tableHeaderContainer___ETr1m{grid-template-columns:1fr 250px}.omrs-breakpoint-gt-tablet .-esm-patient-forms__offline-forms__tableHeaderContainer___ETr1m .-esm-patient-forms__offline-forms__tableSearch___qGyEm{grid-column:3}.-esm-patient-forms__offline-forms__availableOfflineToggle___M\\+FUg .cds--toggle__switch{margin-top:0 !important}.-esm-patient-forms__offline-forms__availableOfflineToggle___M\\+FUg .cds--toggle__label-text{display:none}.-esm-patient-forms__offline-forms__availableOfflineToggleSkeleton___u29\\+w{width:2rem;height:1rem}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/offline-forms/offline-forms.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,oDC81BI,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CAAA,sDAAA,CD11BJ,uLC01BI,kDAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CDt1BJ,gEACE,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,uBAAA,CAEA,uHAEE,sBAAA,CACA,eAAA,CACA,kBAAA,CAIJ,6DACE,aAAA,CAGF,iEACE,YAAA,CACA,6BAAA,CAEA,yHACE,aAAA,CACA,cAAA,CAIJ,4FACE,+BAAA,CAEA,oJACE,aAAA,CAKF,yFAKE,uBAAA,CAGF,6FACE,YAAA,CAIJ,4EACE,UEtBW,CFuBX,WEjCW",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.heading {\n @include type.type-style('heading-04');\n}\n\n.productiveHeading03 {\n @include type.type-style('heading-03');\n}\n\n.pageHeaderContainer {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0 layout.$spacing-05 layout.$spacing-05 layout.$spacing-05;\n\n .pageHeader {\n @extend .productiveHeading03;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n}\n\n.contentContainer {\n margin: 0 layout.$spacing-05;\n}\n\n.tableHeaderContainer {\n display: grid;\n grid-template-columns: 1fr 50%;\n\n .tableSearch {\n grid-column: 2;\n align-self: end;\n }\n}\n\n:global(.omrs-breakpoint-gt-tablet) .tableHeaderContainer {\n grid-template-columns: 1fr 250px;\n\n .tableSearch {\n grid-column: 3;\n }\n}\n\n.availableOfflineToggle {\n :global(.cds--toggle__switch) {\n /*\n Carbon's Toggle component always has a margin-top value, despite no label being used.\n Per designs, this is unintended.\n */\n margin-top: 0 !important;\n }\n\n :global(.cds--toggle__label-text) {\n display: none;\n }\n}\n\n.availableOfflineToggleSkeleton {\n width: layout.$spacing-07;\n height: layout.$spacing-05;\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={heading:"-esm-patient-forms__offline-forms__heading___SjJuE",productiveHeading03:"-esm-patient-forms__offline-forms__productiveHeading03___hOzmy",pageHeaderContainer:"-esm-patient-forms__offline-forms__pageHeaderContainer___Y-OYT",pageHeader:"-esm-patient-forms__offline-forms__pageHeader___Q5RUx",contentContainer:"-esm-patient-forms__offline-forms__contentContainer___BtiJT",tableHeaderContainer:"-esm-patient-forms__offline-forms__tableHeaderContainer___ETr1m",tableSearch:"-esm-patient-forms__offline-forms__tableSearch___qGyEm",availableOfflineToggle:"-esm-patient-forms__offline-forms__availableOfflineToggle___M+FUg",availableOfflineToggleSkeleton:"-esm-patient-forms__offline-forms__availableOfflineToggleSkeleton___u29+w"};const l=o},17007:(e,n,t)=>{t.r(n),t.d(n,{default:()=>j});var a=t(1343),i=t.n(a),r=t(72339),o=t(79278),l=t(54440),s=t(36274),p=t(89190),c=t(55400);function u(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function f(){var e,n,t,a=(0,c.MP)(),i=(0,l.useConfig)();return n=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){u(e,n,t[n])}))}return e}({},a),t=null!=(t={data:null===(e=a.data)||void 0===e?void 0:e.filter((function(e){return(0,p.vq)(e,i.htmlFormEntryForms)}))})?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))})),n}var d=t(72591),g=t.n(d),h=t(1740),y=t.n(h),m=t(88128),b=t.n(m),$=t(30855),v=t.n($),w=t(93051),_=t.n(w),A=t(73656),k=t.n(A),x=t(177),z={};z.styleTagTransform=k(),z.setAttributes=v(),z.insert=b().bind(null,"head"),z.domAPI=y(),z.insertStyleElement=_(),g()(x.A,z);const C=x.A&&x.A.locals?x.A.locals:void 0;function O(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}function M(e,n,t,a,i,r,o){try{var l=e[r](o),s=l.value}catch(e){return void t(e)}l.done?n(s):Promise.resolve(s).then(a,i)}function E(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function T(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){E(e,n,t[n])}))}return e}function S(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})),e}function D(e){var n,t,s,c=e.form,u=e.disabled,f=(0,r.useTranslation)().t,d=(t=(0,a.useState)(!1),s=2,function(e){if(Array.isArray(e))return e}(t)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,i,r=[],o=!0,l=!1;try{for(t=t.call(e);!(o=(a=t.next()).done)&&(r.push(a.value),!n||r.length!==n);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==t.return||t.return()}finally{if(l)throw i}}return r}}(t,s)||function(e,n){if(e){if("string"==typeof e)return O(e,n);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)?O(e,n):void 0}}(t,s)||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.")}()),g=d[0],h=d[1],y=(0,p.pq)(),m=null===(n=y.data)||void 0===n?void 0:n.some((function(e){return e.identifier===c.uuid}));return y.isValidating?i().createElement(o.PuA,{className:C.availableOfflineToggleSkeleton}):i().createElement("div",null,i().createElement(o.lMk,{"aria-label":f("offlineToggle","Offline toggle"),id:"".concat(c.uuid,"-offline-toggle"),className:C.availableOfflineToggle,labelA:"",labelB:"",labelText:"",size:"sm",toggled:m,disabled:u||g||y.isValidating,onToggle:function(e){return(n=function(){return function(e,n){var t,a,i,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=l(0),o.throw=l(1),o.return=l(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(r=0)),r;)try{if(t=1,a&&(i=2&l[0]?a.return:l[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;switch(a=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,a=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(!((i=(i=r.trys).length>0&&i[i.length-1])||6!==l[0]&&2!==l[0])){r=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(6===l[0]&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=n.call(e,r)}catch(e){l=[6,e],a=0}finally{t=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}}(this,(function(n){switch(n.label){case 0:h(!0),n.label=1;case 1:return n.trys.push([1,,7,8]),e?[4,(0,l.putDynamicOfflineData)("form",c.uuid)]:[3,4];case 2:return n.sent(),[4,(0,l.syncDynamicOfflineData)("form",c.uuid)];case 3:return n.sent(),[3,6];case 4:return[4,(0,l.removeDynamicOfflineData)("form",c.uuid)];case 5:n.sent(),n.label=6;case 6:return[3,8];case 7:return h(!1),y.mutate(),[7];case 8:return[2]}}))},function(){var e=this,t=arguments;return new Promise((function(a,i){var r=n.apply(e,t);function o(e){M(r,a,i,o,l,"next",e)}function l(e){M(r,a,i,o,l,"throw",e)}o(void 0)}))})();var n}}))}const j=function(){var e=(0,r.useTranslation)().t,n=(0,l.useSession)(),t=f(),p=(0,l.useLayoutType)(),c=(0,l.useConnectivity)(),u=(0,l.isDesktop)(p)?"sm":void 0,d=[{key:"formName",header:e("offlineFormsTableFormNameHeader","Form name")},{key:"availableOffline",header:e("offlineFormsTableFormAvailableOffline","Offline")}],g=(0,a.useMemo)((function(){var e,a,r=null==t||null===(e=t.data)||void 0===e?void 0:e.filter((function(e){var t,a;return(0,l.userHasAccess)(null==e||null===(a=e.encounterType)||void 0===a||null===(t=a.editPrivilege)||void 0===t?void 0:t.display,null==n?void 0:n.user)})),o=null==r||null===(a=r.map((function(e){return{id:e.uuid,formName:e.display,availableOffline:i().createElement(D,{form:e,disabled:!c})}})))||void 0===a?void 0:a.sort((function(e,n){return e.formName.localeCompare(n.formName)}));return null!=o?o:[]}),[t.data,n.user,c]);return 0===g.length?i().createElement("div",{className:C.contentContainer},i().createElement(s.EmptyState,{displayText:e("offlineForms__lower","offline forms"),headerTitle:e("offlineForms","Offline forms")})):i().createElement(i().Fragment,null,i().createElement("header",{className:C.pageHeaderContainer},i().createElement("h1",{className:C.pageHeader},e("offlineFormsTitle","Offline forms"))),i().createElement("main",{className:C.contentContainer},i().createElement(o.bQt,{rows:g,headers:d,size:"sm",useZebraStyles:!0},(function(n){var t=n.rows,a=n.headers,r=n.getTableProps,l=n.getHeaderProps,s=n.getRowProps,p=n.getTableContainerProps,c=n.onInputChange;return i().createElement(o.K3K,p(),i().createElement("div",{className:C.tableHeaderContainer},i().createElement(o.Wdr,null,i().createElement(o.vji,{className:C.tableSearch,labelText:e("offlinePatientsTableSearchLabel","Search this list"),placeholder:e("offlinePatientsTableSearchPlaceholder","Search this list"),size:u,onChange:function(e){return c(e)}}))),i().createElement(o.XIK,S(T({},r()),{isSortable:!0,useZebraStyles:!0}),i().createElement(o.ndF,null,i().createElement(o.Hjg,null,a.map((function(e){return i().createElement(o.A0N,S(T({},l({header:e})),{isSortable:!0}),e.header)})))),i().createElement(o.BFY,null,t.map((function(e){return i().createElement(o.Hjg,s({row:e}),e.cells.map((function(e){var n,t;return i().createElement(o.nA6,{key:e.id},null!==(t=null===(n=e.value)||void 0===n?void 0:n.value)&&void 0!==t?t:e.value)})))})))))}))))}},55400:(e,n,t)=>{t.d(n,{MP:()=>u,h7:()=>d});var a=t(46372),i=t.n(a),r=t(71123),o=t(54440),l=t(57691),s=t(89190);function p(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}function c(e,n,t,a,i,r,o){try{var l=e[r](o),s=l.value}catch(e){return void t(e)}l.done?n(s):Promise.resolve(s).then(a,i)}function u(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=function(e,n){var t=(0,o.useConfig)(),a=t.customFormsUrl,i=t.showHtmlFormEntryForms,r=Boolean(a),s=r?a:i?l.dc:l.hw;return{url:(0,o.interpolateUrl)(s,{patientUuid:e,visitUuid:n,representation:l.xG}),hasCustomFormsUrl:r}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",arguments.length>2&&void 0!==arguments[2]?arguments[2]:""),t=n.url,a=n.hasCustomFormsUrl;return(0,r.Ay)([t,e],(function(){return(n=function(){var n,i,r,l,s,p;return function(e,n){var t,a,i,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=l(0),o.throw=l(1),o.return=l(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(r=0)),r;)try{if(t=1,a&&(i=2&l[0]?a.return:l[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;switch(a=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,a=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(!((i=(i=r.trys).length>0&&i[i.length-1])||6!==l[0]&&2!==l[0])){r=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(6===l[0]&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=n.call(e,r)}catch(e){l=[6,e],a=0}finally{t=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}}(this,(function(c){switch(c.label){case 0:return[4,(0,o.openmrsFetch)(t)];case 1:return r=c.sent(),s=a?null==r?void 0:r.data.results:null!==(l=null===(i=r.data)||void 0===i||null===(n=i.results)||void 0===n?void 0:n.filter((function(e){return e.published&&!/component/i.test(e.name)})))&&void 0!==l?l:[],e?[4,(0,o.getDynamicOfflineDataEntries)("form")]:[2,s];case 2:return p=c.sent(),[2,s.filter((function(e){return p.some((function(n){return n.identifier===e.uuid}))}))]}}))},function(){var e=this,t=arguments;return new Promise((function(a,i){var r=n.apply(e,t);function o(e){c(r,a,i,o,l,"next",e)}function l(e){c(r,a,i,o,l,"throw",e)}o(void 0)}))})();var n}))}var f=new Date(0);function d(e,n,t,a){var c,d,g,h,y,m=arguments.length>4&&void 0!==arguments[4]&&arguments[4],b=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"name",$=(0,o.useConfig)().htmlFormEntryForms,v=u(m,e,n),w=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i()(new Date).startOf("day").subtract(500,"day").toDate(),t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i()(new Date).endOf("day").toDate(),a=e?"".concat(o.restBaseUrl,"/encounter?v=").concat(l.s8,"&patient=").concat(e,"&fromdate=").concat(n.toISOString(),"&todate=").concat(t.toISOString()):null;return(0,r.Ay)(a,o.openmrsFetch)}(e,t,a),_=null!==(g=null===(d=w.data)||void 0===d||null===(c=d.data)||void 0===c?void 0:c.results)&&void 0!==g?g:[],A=v.data?(h=v.data,y=_,h.map((function(e){var n,t,a=y.filter((function(n){var t;return(null===(t=n.form)||void 0===t?void 0:t.uuid)===(null==e?void 0:e.uuid)})),i=a.length>0?new Date((n=Math).max.apply(n,function(e){if(Array.isArray(e))return p(e)}(t=a.map((function(e){return new Date(e.encounterDatetime).getTime()})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,n){if(e){if("string"==typeof e)return p(e,n);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)?p(e,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())):void 0;return{form:e,associatedEncounters:a,lastCompletedDate:i}}))):void 0,k=(0,o.useSession)(),x=m?null==A?void 0:A.filter((function(e){return(0,s.vq)(e.form,$)})):A;return(null==k?void 0:k.user)&&(x=null==x?void 0:x.filter((function(e){var n,t,a;return(0,o.userHasAccess)(null==e||null===(a=e.form)||void 0===a||null===(t=a.encounterType)||void 0===t||null===(n=t.editPrivilege)||void 0===n?void 0:n.display,k.user)}))),"name"===b?null==x||x.sort((function(e,n){var t,a;return(null!==(t=e.form.display)&&void 0!==t?t:e.form.name).localeCompare(null!==(a=n.form.display)&&void 0!==a?a:n.form.name)})):null==x||x.sort((function(e,n){var t,a;return(null!==(t=e.lastCompletedDate)&&void 0!==t?t:f).getDate()-(null!==(a=n.lastCompletedDate)&&void 0!==a?a:f).getDate()})),{data:x,error:v.error,isValidating:v.isValidating||w.isValidating,allForms:v.data,mutateForms:function(){v.mutate(),w.mutate()}}}},89190:(e,n,t)=>{t.d(n,{pq:()=>l,vq:()=>r});var a=t(71123),i=t(54440);function r(e,n){var t=n.some((function(n){return n.formUuid===e.uuid})),a=e.resources.some(o);return!t&&a}function o(e){return"AmpathJsonSchema"===e.dataType||"JSON schema"===e.name}function l(){return(0,a.Ay)("dynamicFormEntries",(function(){return(0,i.getDynamicOfflineDataEntries)("form")}))}}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_patient_forms_app=globalThis.webpackChunk_openmrs_esm_patient_forms_app||[]).push([[7007],{177:(e,n,t)=>{t.d(n,{A:()=>l});var a=t(30977),i=t.n(a),r=t(95924),o=t.n(r)()(i());o.push([e.id,":root{--brand-01: #005d5d;--brand-02: #004144;--brand-03: #007d79;--bottom-nav-height: 4rem;--workspace-header-height: 3rem;--tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));--desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height))}.-esm-patient-forms__offline-forms__heading___SjJuE{font-size:var(--cds-heading-04-font-size, 1.75rem);font-weight:var(--cds-heading-04-font-weight, 400);line-height:var(--cds-heading-04-line-height, 1.28572);letter-spacing:var(--cds-heading-04-letter-spacing, 0)}.-esm-patient-forms__offline-forms__productiveHeading03___hOzmy,.-esm-patient-forms__offline-forms__pageHeaderContainer___Y-OYT .-esm-patient-forms__offline-forms__pageHeader___Q5RUx{font-size:var(--cds-heading-03-font-size, 1.25rem);font-weight:var(--cds-heading-03-font-weight, 400);line-height:var(--cds-heading-03-line-height, 1.4);letter-spacing:var(--cds-heading-03-letter-spacing, 0)}.-esm-patient-forms__offline-forms__pageHeaderContainer___Y-OYT{display:flex;justify-content:space-between;align-items:center;margin:0 1rem 1rem 1rem}.-esm-patient-forms__offline-forms__pageHeaderContainer___Y-OYT .-esm-patient-forms__offline-forms__pageHeader___Q5RUx{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.-esm-patient-forms__offline-forms__contentContainer___BtiJT{margin:0 1rem}.-esm-patient-forms__offline-forms__tableHeaderContainer___ETr1m{display:grid;grid-template-columns:1fr 50%}.-esm-patient-forms__offline-forms__tableHeaderContainer___ETr1m .-esm-patient-forms__offline-forms__tableSearch___qGyEm{grid-column:2;align-self:end}.omrs-breakpoint-gt-tablet .-esm-patient-forms__offline-forms__tableHeaderContainer___ETr1m{grid-template-columns:1fr 250px}.omrs-breakpoint-gt-tablet .-esm-patient-forms__offline-forms__tableHeaderContainer___ETr1m .-esm-patient-forms__offline-forms__tableSearch___qGyEm{grid-column:3}.-esm-patient-forms__offline-forms__availableOfflineToggle___M\\+FUg .cds--toggle__switch{margin-top:0 !important}.-esm-patient-forms__offline-forms__availableOfflineToggle___M\\+FUg .cds--toggle__label-text{display:none}.-esm-patient-forms__offline-forms__availableOfflineToggleSkeleton___u29\\+w{width:2rem;height:1rem}","",{version:3,sources:["webpack://./../../node_modules/@openmrs/esm-styleguide/src/_vars.scss","webpack://./src/offline-forms/offline-forms.scss","webpack://./../../node_modules/@carbon/type/scss/_styles.scss","webpack://./../../node_modules/@carbon/layout/scss/generated/_spacing.scss"],names:[],mappings:"AAsDA,MACE,mBAAA,CACA,mBAAA,CACA,mBAAA,CACA,yBAAA,CACA,+BAAA,CACA,oGAAA,CACA,2GAAA,CCzDF,oDC81BI,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CAAA,sDAAA,CD11BJ,uLC01BI,kDAAA,CAAA,kDAAA,CAAA,kDAAA,CAAA,sDAAA,CDt1BJ,gEACE,YAAA,CACA,6BAAA,CACA,kBAAA,CACA,uBAAA,CAEA,uHAEE,sBAAA,CACA,eAAA,CACA,kBAAA,CAIJ,6DACE,aAAA,CAGF,iEACE,YAAA,CACA,6BAAA,CAEA,yHACE,aAAA,CACA,cAAA,CAIJ,4FACE,+BAAA,CAEA,oJACE,aAAA,CAKF,yFAKE,uBAAA,CAGF,6FACE,YAAA,CAIJ,4EACE,UEtBW,CFuBX,WEjCW",sourcesContent:["@use '@carbon/layout';\n\n$ui-01: #f4f4f4;\n$ui-02: #ffffff;\n$ui-03: #e0e0e0;\n$ui-04: #8d8d8d;\n$ui-05: #161616;\n$text-02: #525252;\n$text-03: #a8a8a8;\n$ui-background: #ffffff;\n$color-gray-30: #c6c6c6;\n$color-gray-70: #525252;\n$color-gray-100: #161616;\n$color-blue-60-2: #0f62fe;\n$color-blue-10: #edf5ff;\n$color-yellow-50: #feecae;\n$carbon--red-50: #fa4d56;\n$inverse-link: #78a9ff;\n$support-02: #24a148;\n$inverse-support-03: #f1c21b;\n$warning-background: #fff8e1;\n$openmrs-background-grey: #f4f4f4;\n$danger: #da1e28;\n$interactive-01: #0f62fe;\n$field-01: #f4f4f4;\n$grey-2: #e0e0e0;\n$labeldropdown: #c6c6c6;\n\n$brand-primary-10: #d9fbfb;\n$brand-primary-20: #9ef0f0;\n$brand-primary-30: #3ddbd9;\n$brand-primary-40: #08bdba;\n$brand-primary-50: #009d9a;\n\n/* 60,70 and 80 are already declared as brand-01, 02 and 03 respectively */\n\n$brand-primary-90: #022b30;\n$brand-primary-100: #081a1c;\n\n@mixin brand-01($property) {\n #{$property}: #005d5d;\n #{$property}: var(--brand-01);\n}\n\n@mixin brand-02($property) {\n #{$property}: #004144;\n #{$property}: var(--brand-02);\n}\n\n@mixin brand-03($property) {\n #{$property}: #007d79;\n #{$property}: var(--brand-03);\n}\n\n:root {\n --brand-01: #005d5d;\n --brand-02: #004144;\n --brand-03: #007d79;\n --bottom-nav-height: #{layout.$spacing-10};\n --workspace-header-height: #{layout.$spacing-09};\n --tablet-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--bottom-nav-height));\n --desktop-workspace-window-height: calc(100vh - var(--omrs-navbar-height) - var(--workspace-header-height));\n}\n\n$breakpoint-phone-min: 0px;\n$breakpoint-phone-max: 600px;\n$breakpoint-tablet-min: 601px;\n$breakpoint-tablet-max: 1023px;\n$breakpoint-small-desktop-min: 1024px;\n$breakpoint-small-desktop-max: 1439px;\n$breakpoint-large-desktop-min: 1440px;\n$breakpoint-large-desktop-max: 99999999px;\n\n/* These color variables will be removed in a future release */\n$brand-teal-01: #007d79;\n$brand-01: #005d5d;\n$brand-02: #004144;\n","@use '@carbon/layout';\n@use '@carbon/type';\n@use '@openmrs/esm-styleguide/src/vars' as *;\n\n.heading {\n @include type.type-style('heading-04');\n}\n\n.productiveHeading03 {\n @include type.type-style('heading-03');\n}\n\n.pageHeaderContainer {\n display: flex;\n justify-content: space-between;\n align-items: center;\n margin: 0 layout.$spacing-05 layout.$spacing-05 layout.$spacing-05;\n\n .pageHeader {\n @extend .productiveHeading03;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n}\n\n.contentContainer {\n margin: 0 layout.$spacing-05;\n}\n\n.tableHeaderContainer {\n display: grid;\n grid-template-columns: 1fr 50%;\n\n .tableSearch {\n grid-column: 2;\n align-self: end;\n }\n}\n\n:global(.omrs-breakpoint-gt-tablet) .tableHeaderContainer {\n grid-template-columns: 1fr 250px;\n\n .tableSearch {\n grid-column: 3;\n }\n}\n\n.availableOfflineToggle {\n :global(.cds--toggle__switch) {\n /*\n Carbon's Toggle component always has a margin-top value, despite no label being used.\n Per designs, this is unintended.\n */\n margin-top: 0 !important;\n }\n\n :global(.cds--toggle__label-text) {\n display: none;\n }\n}\n\n.availableOfflineToggleSkeleton {\n width: layout.$spacing-07;\n height: layout.$spacing-05;\n}\n","//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n// stylelint-disable number-max-precision\n\n@use 'sass:map';\n@use 'sass:math';\n@use '@carbon/grid/scss/config' as gridconfig;\n@use '@carbon/grid/scss/breakpoint' as grid;\n@use 'prefix' as *;\n@use 'font-family';\n@use 'scale';\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$caption-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$label-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-01: (\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$legal-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-01: (\n font-size: scale.type-scale(1),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @deprecated\n/// @group @carbon/type\n$helper-text-02: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-01: $body-short-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-01: $body-long-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-short-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-compact-02: $body-short-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-long-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$body-02: $body-long-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-01: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(1),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.33333,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$code-02: (\n font-family: font-family.font-family('mono'),\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.42857,\n letter-spacing: 0.32px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.42857,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-01: (\n font-size: scale.type-scale(2),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.28572,\n letter-spacing: 0.16px,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-01: $productive-heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.5,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-02: (\n font-size: scale.type-scale(3),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.375,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-compact-02: $productive-heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-03: $productive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-04: $productive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-05: $productive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-06: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n // Extra digit needed for precision in Chrome\n line-height: 1.199,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-06: $productive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$productive-heading-07: (\n font-size: scale.type-scale(12),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$heading-07: $productive-heading-07 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-01: $heading-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-02: $heading-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-03: (\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.4,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(5),\n line-height: 1.4,\n ),\n max: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-03: $expressive-heading-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-04: (\n font-size: scale.type-scale(7),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.28572,\n letter-spacing: 0,\n breakpoints: (\n xlg: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n font-weight: font-family.font-weight('regular'),\n ),\n max: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-04: $expressive-heading-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-05: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n font-weight: font-family.font-weight('light'),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-05: $expressive-heading-05 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-heading-06: (\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-heading-06: $expressive-heading-06 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$expressive-paragraph-01: (\n font-size: scale.type-scale(6),\n font-weight: font-family.font-weight('light'),\n line-height: 1.334,\n letter-spacing: 0,\n breakpoints: (\n lg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n);\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-paragraph-01: $expressive-paragraph-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-01: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(5),\n font-weight: font-family.font-weight('regular'),\n line-height: 1.3,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(5),\n ),\n lg: (\n font-size: scale.type-scale(6),\n line-height: 1.334,\n ),\n xlg: (\n font-size: scale.type-scale(7),\n line-height: 1.28572,\n ),\n max: (\n font-size: scale.type-scale(8),\n line-height: 1.25,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-01: $quotation-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$quotation-02: (\n font-family: font-family.font-family('serif'),\n font-size: scale.type-scale(8),\n font-weight: font-family.font-weight('light'),\n line-height: 1.25,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(9),\n line-height: 1.22,\n ),\n lg: (\n font-size: scale.type-scale(10),\n line-height: 1.19,\n ),\n xlg: (\n font-size: scale.type-scale(11),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(13),\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-quotation-02: $quotation-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-01: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.17,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-01: $display-01 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-02: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('semibold'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(10),\n ),\n lg: (\n font-size: scale.type-scale(12),\n ),\n xlg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n ),\n max: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-02: $display-02 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-03: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(12),\n line-height: 1.18,\n ),\n lg: (\n font-size: scale.type-scale(13),\n line-height: 1.16,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(15),\n line-height: 1.13,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(16),\n line-height: 1.11,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-03: $display-03 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$display-04: (\n font-size: scale.type-scale(10),\n font-weight: font-family.font-weight('light'),\n line-height: 1.19,\n letter-spacing: 0,\n breakpoints: (\n md: (\n font-size: scale.type-scale(14),\n line-height: 1.15,\n ),\n lg: (\n font-size: scale.type-scale(17),\n line-height: 1.11,\n letter-spacing: -0.64px,\n ),\n xlg: (\n font-size: scale.type-scale(20),\n line-height: 1.07,\n letter-spacing: -0.64px,\n ),\n max: (\n font-size: scale.type-scale(23),\n line-height: 1.05,\n letter-spacing: -0.96px,\n ),\n ),\n) !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$fluid-display-04: $display-04 !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/type\n$tokens: (\n caption-01: $caption-01,\n caption-02: $caption-02,\n label-01: $label-01,\n label-02: $label-02,\n helper-text-01: $helper-text-01,\n helper-text-02: $helper-text-02,\n body-short-01: $body-short-01,\n body-short-02: $body-short-02,\n body-long-01: $body-long-01,\n body-long-02: $body-long-02,\n code-01: $code-01,\n code-02: $code-02,\n heading-01: $heading-01,\n heading-02: $heading-02,\n productive-heading-01: $productive-heading-01,\n productive-heading-02: $productive-heading-02,\n productive-heading-03: $productive-heading-03,\n productive-heading-04: $productive-heading-04,\n productive-heading-05: $productive-heading-05,\n productive-heading-06: $productive-heading-06,\n productive-heading-07: $productive-heading-07,\n expressive-paragraph-01: $expressive-paragraph-01,\n expressive-heading-01: $expressive-heading-01,\n expressive-heading-02: $expressive-heading-02,\n expressive-heading-03: $expressive-heading-03,\n expressive-heading-04: $expressive-heading-04,\n expressive-heading-05: $expressive-heading-05,\n expressive-heading-06: $expressive-heading-06,\n quotation-01: $quotation-01,\n quotation-02: $quotation-02,\n display-01: $display-01,\n display-02: $display-02,\n display-03: $display-03,\n display-04: $display-04,\n // V11 Tokens\n legal-01: $legal-01,\n legal-02: $legal-02,\n body-compact-01: $body-compact-01,\n body-compact-02: $body-compact-02,\n heading-compact-01: $heading-compact-01,\n heading-compact-02: $heading-compact-02,\n body-01: $body-01,\n body-02: $body-02,\n heading-03: $heading-03,\n heading-04: $heading-04,\n heading-05: $heading-05,\n heading-06: $heading-06,\n heading-07: $heading-07,\n fluid-heading-03: $fluid-heading-03,\n fluid-heading-04: $fluid-heading-04,\n fluid-heading-05: $fluid-heading-05,\n fluid-heading-06: $fluid-heading-06,\n fluid-paragraph-01: $fluid-paragraph-01,\n fluid-quotation-01: $fluid-quotation-01,\n fluid-quotation-02: $fluid-quotation-02,\n fluid-display-01: $fluid-display-01,\n fluid-display-02: $fluid-display-02,\n fluid-display-03: $fluid-display-03,\n fluid-display-04: $fluid-display-04,\n) !default;\n\n/// @param {Map} $map\n/// @access public\n/// @group @carbon/type\n@mixin properties($map) {\n @each $name, $value in $map {\n #{$name}: $value;\n }\n}\n\n/// @param {Number} $value - Number with units\n/// @return {Number} Without units\n/// @access public\n/// @group @carbon/type\n@function strip-unit($value) {\n @return math.div($value, $value * 0 + 1);\n}\n\n/// This helper includes fluid type styles for the given token value. Fluid type\n/// means that the `font-size` is computed using `calc()` in order to be\n/// determined by the screen size instead of a breakpoint. As a result, fluid\n/// styles should be used with caution in fixed width contexts.\n///\n/// In addition, we make use of %-based line-heights so that the line-height of\n/// each type style is computed correctly due to the dynamic nature of the\n/// `font-size`.\n///\n/// Most of the logic for this work comes from CSS Tricks:\n/// https://css-tricks.com/snippets/css/fluid-typography/\n///\n/// @param {Map} $type-styles - The value of a given type token\n/// @param {Map} $breakpoints [$grid-breakpoints] - Custom breakpoints to use\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type($type-styles, $breakpoints: gridconfig.$grid-breakpoints) {\n // Include the initial styles for the given token by default without any\n // media query guard. This includes `font-size` as a fallback in the case\n // that a browser does not support `calc()`\n @include properties(map.remove($type-styles, breakpoints));\n // We also need to include the `sm` styles by default since they don't\n // appear in the fluid styles for tokens\n @include fluid-type-size($type-styles, sm, $breakpoints);\n\n // Finally, we need to go through all the breakpoints defined in the type\n // token and apply the properties and fluid type size for that given\n // breakpoint\n @each $name, $values in map.get($type-styles, breakpoints) {\n @include grid.breakpoint($name) {\n @include properties($values);\n @include fluid-type-size($type-styles, $name, $breakpoints);\n }\n }\n}\n\n/// Computes the fluid `font-size` for a given type style and breakpoint\n/// @param {Map} $type-styles - The styles for a given token\n/// @param {String} $name - The name of the breakpoint to which we apply the fluid\n/// @param {Map} $breakpoints [$grid-breakpoints] - The breakpoints for the grid system\n/// @access public\n/// @group @carbon/type\n@mixin fluid-type-size(\n $type-styles,\n $name,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n // Get the information about the breakpoint we're currently working in. Useful\n // for getting initial width information\n $breakpoint: map.get($breakpoints, $name);\n\n // Our fluid styles are captured under the 'breakpoints' property in our type\n // styles map. These define what values to treat as `max-` variables below\n $fluid-sizes: map.get($type-styles, breakpoints);\n $fluid-breakpoint: ();\n // Special case for `sm` because the styles for small are on the type style\n // directly\n @if $name == sm {\n $fluid-breakpoint: map.remove($type-styles, breakpoints);\n } @else {\n $fluid-breakpoint: map.get($fluid-sizes, $name);\n }\n\n // Initialize our font-sizes to the default size for the type style\n $max-font-size: map.get($type-styles, font-size);\n $min-font-size: map.get($type-styles, font-size);\n @if map.has-key($fluid-breakpoint, font-size) {\n $min-font-size: map.get($fluid-breakpoint, font-size);\n }\n\n // Initialize our min and max width to the width of the current breakpoint\n $max-vw: map.get($breakpoint, width);\n $min-vw: map.get($breakpoint, width);\n\n // We can use `breakpoint-next` to see if there is another breakpoint we can\n // use to update `max-font-size` and `max-vw` with larger values\n $next-breakpoint-available: grid.breakpoint-next($name, $breakpoints);\n $next-fluid-breakpoint-name: null;\n\n // We need to figure out what the next available fluid breakpoint is for our\n // given $type-styles. In this loop we try and iterate through breakpoints\n // until we either manually set $next-breakpoint-available to null or\n // `breakpoint-next` returns null.\n @while $next-breakpoint-available {\n @if map.has-key($fluid-sizes, $next-breakpoint-available) {\n $next-fluid-breakpoint-name: $next-breakpoint-available;\n $next-breakpoint-available: null;\n } @else {\n $next-breakpoint-available: grid.breakpoint-next(\n $next-breakpoint-available,\n $breakpoints\n );\n }\n }\n\n // If we have found the next available fluid breakpoint name, then we know\n // that we have values that we can use to set max-font-size and max-vw as both\n // values derive from the next breakpoint\n @if $next-fluid-breakpoint-name {\n $next-fluid-breakpoint: map.get($breakpoints, $next-fluid-breakpoint-name);\n $max-font-size: map.get(\n map.get($fluid-sizes, $next-fluid-breakpoint-name),\n font-size\n );\n $max-vw: map.get($next-fluid-breakpoint, width);\n\n // prettier-ignore\n font-size: calc(#{$min-font-size} +\n #{strip-unit($max-font-size - $min-font-size)} *\n ((100vw - #{$min-vw}) / #{strip-unit($max-vw - $min-vw)})\n );\n } @else {\n // Otherwise, just default to setting the font size found from the type\n // style or the given fluid breakpoint in the type style\n font-size: $min-font-size;\n }\n}\n\n// TODO move following variable and `custom-property` mixin into shared file for\n// both `@carbon/type` and `@carbon/themes`\n\n/// @access private\n/// @group @carbon/type\n@mixin custom-properties($name, $value) {\n @each $property, $value in $value {\n #{$property}: var(\n --#{$custom-property-prefix}-#{$name}-#{$property},\n #{$value}\n );\n }\n}\n\n/// Helper mixin to include the styles for a given token in any selector in your\n/// project. Also includes an optional fluid option that will enable fluid\n/// styles for the token if they are defined. Fluid styles will cause the\n/// token's font-size to be computed based on the viewport size. As a result, use\n/// with caution in fixed contexts.\n/// @param {String} $name - The name of the token to get the styles for\n/// @param {Boolean} $fluid [false] - Specify whether to include fluid styles for the\n/// @param {Map} $breakpoints [$grid-breakpoints] - Provide a custom breakpoint map to use\n/// @access public\n/// @group @carbon/type\n@mixin type-style(\n $name,\n $fluid: false,\n $breakpoints: gridconfig.$grid-breakpoints\n) {\n @if not map.has-key($tokens, $name) {\n @error 'Unable to find a token with the name: `#{$name}`';\n }\n\n $token: map.get($tokens, $name);\n\n // If $fluid is set to true and the token has breakpoints defined for fluid\n // styles, delegate to the fluid-type helper for the given token\n @if $fluid == true and map.has-key($token, 'breakpoints') {\n @include fluid-type($token, $breakpoints);\n } @else {\n @include custom-properties($name, $token);\n }\n}\n","// Code generated by @carbon/layout. DO NOT EDIT.\n//\n// Copyright IBM Corp. 2018, 2023\n//\n// This source code is licensed under the Apache-2.0 license found in the\n// LICENSE file in the root directory of this source tree.\n//\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-01: 0.125rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-02: 0.25rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-03: 0.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-04: 0.75rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-05: 1rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-06: 1.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-07: 2rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-08: 2.5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-09: 3rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-10: 4rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-11: 5rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-12: 6rem !default;\n\n/// @type Number\n/// @access public\n/// @group @carbon/layout\n$spacing-13: 10rem !default;\n\n/// @type Map\n/// @access public\n/// @group @carbon/layout\n$spacing: (\n spacing-01: $spacing-01,\n spacing-02: $spacing-02,\n spacing-03: $spacing-03,\n spacing-04: $spacing-04,\n spacing-05: $spacing-05,\n spacing-06: $spacing-06,\n spacing-07: $spacing-07,\n spacing-08: $spacing-08,\n spacing-09: $spacing-09,\n spacing-10: $spacing-10,\n spacing-11: $spacing-11,\n spacing-12: $spacing-12,\n spacing-13: $spacing-13,\n);\n"],sourceRoot:""}]),o.locals={heading:"-esm-patient-forms__offline-forms__heading___SjJuE",productiveHeading03:"-esm-patient-forms__offline-forms__productiveHeading03___hOzmy",pageHeaderContainer:"-esm-patient-forms__offline-forms__pageHeaderContainer___Y-OYT",pageHeader:"-esm-patient-forms__offline-forms__pageHeader___Q5RUx",contentContainer:"-esm-patient-forms__offline-forms__contentContainer___BtiJT",tableHeaderContainer:"-esm-patient-forms__offline-forms__tableHeaderContainer___ETr1m",tableSearch:"-esm-patient-forms__offline-forms__tableSearch___qGyEm",availableOfflineToggle:"-esm-patient-forms__offline-forms__availableOfflineToggle___M+FUg",availableOfflineToggleSkeleton:"-esm-patient-forms__offline-forms__availableOfflineToggleSkeleton___u29+w"};const l=o},17007:(e,n,t)=>{t.r(n),t.d(n,{default:()=>j});var a=t(1343),i=t.n(a),r=t(72339),o=t(79278),l=t(54440),s=t(36274),p=t(89190),c=t(55400);function u(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function f(){var e,n,t,a=(0,c.MP)(),i=(0,l.useConfig)();return n=function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){u(e,n,t[n])}))}return e}({},a),t=null!=(t={data:null===(e=a.data)||void 0===e?void 0:e.filter((function(e){return(0,p.vq)(e,i.htmlFormEntryForms)}))})?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(t)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(t,e))})),n}var d=t(72591),g=t.n(d),h=t(1740),y=t.n(h),m=t(88128),b=t.n(m),$=t(30855),v=t.n($),w=t(93051),_=t.n(w),A=t(73656),k=t.n(A),x=t(177),z={};z.styleTagTransform=k(),z.setAttributes=v(),z.insert=b().bind(null,"head"),z.domAPI=y(),z.insertStyleElement=_(),g()(x.A,z);const C=x.A&&x.A.locals?x.A.locals:void 0;function O(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}function M(e,n,t,a,i,r,o){try{var l=e[r](o),s=l.value}catch(e){return void t(e)}l.done?n(s):Promise.resolve(s).then(a,i)}function E(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function T(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},a=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(a=a.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),a.forEach((function(n){E(e,n,t[n])}))}return e}function S(e,n){return n=null!=n?n:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):function(e){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n.push.apply(n,t)}return n}(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})),e}function D(e){var n,t,s,c=e.form,u=e.disabled,f=(0,r.useTranslation)().t,d=(t=(0,a.useState)(!1),s=2,function(e){if(Array.isArray(e))return e}(t)||function(e,n){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var a,i,r=[],o=!0,l=!1;try{for(t=t.call(e);!(o=(a=t.next()).done)&&(r.push(a.value),!n||r.length!==n);o=!0);}catch(e){l=!0,i=e}finally{try{o||null==t.return||t.return()}finally{if(l)throw i}}return r}}(t,s)||function(e,n){if(e){if("string"==typeof e)return O(e,n);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)?O(e,n):void 0}}(t,s)||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.")}()),g=d[0],h=d[1],y=(0,p.pq)(),m=null===(n=y.data)||void 0===n?void 0:n.some((function(e){return e.identifier===c.uuid}));return y.isValidating?i().createElement(o.PuA,{className:C.availableOfflineToggleSkeleton}):i().createElement("div",null,i().createElement(o.lMk,{"aria-label":f("offlineToggle","Offline toggle"),id:"".concat(c.uuid,"-offline-toggle"),className:C.availableOfflineToggle,labelA:f("off","Off"),labelB:f("on","On"),labelText:f("offlineToggle","Offline toggle"),size:"sm",toggled:m,disabled:u||g||y.isValidating,onToggle:function(e){return(n=function(){return function(e,n){var t,a,i,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=l(0),o.throw=l(1),o.return=l(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(r=0)),r;)try{if(t=1,a&&(i=2&l[0]?a.return:l[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;switch(a=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,a=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(!((i=(i=r.trys).length>0&&i[i.length-1])||6!==l[0]&&2!==l[0])){r=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(6===l[0]&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=n.call(e,r)}catch(e){l=[6,e],a=0}finally{t=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}}(this,(function(n){switch(n.label){case 0:h(!0),n.label=1;case 1:return n.trys.push([1,,7,8]),e?[4,(0,l.putDynamicOfflineData)("form",c.uuid)]:[3,4];case 2:return n.sent(),[4,(0,l.syncDynamicOfflineData)("form",c.uuid)];case 3:return n.sent(),[3,6];case 4:return[4,(0,l.removeDynamicOfflineData)("form",c.uuid)];case 5:n.sent(),n.label=6;case 6:return[3,8];case 7:return h(!1),y.mutate(),[7];case 8:return[2]}}))},function(){var e=this,t=arguments;return new Promise((function(a,i){var r=n.apply(e,t);function o(e){M(r,a,i,o,l,"next",e)}function l(e){M(r,a,i,o,l,"throw",e)}o(void 0)}))})();var n}}))}const j=function(){var e=(0,r.useTranslation)().t,n=(0,l.useSession)(),t=f(),p=(0,l.useLayoutType)(),c=(0,l.useConnectivity)(),u=(0,l.isDesktop)(p)?"sm":void 0,d=[{key:"formName",header:e("offlineFormsTableFormNameHeader","Form name")},{key:"availableOffline",header:e("offlineFormsTableFormAvailableOffline","Offline")}],g=(0,a.useMemo)((function(){var e,a,r=null==t||null===(e=t.data)||void 0===e?void 0:e.filter((function(e){var t,a;return(0,l.userHasAccess)(null==e||null===(a=e.encounterType)||void 0===a||null===(t=a.editPrivilege)||void 0===t?void 0:t.display,null==n?void 0:n.user)})),o=null==r||null===(a=r.map((function(e){return{id:e.uuid,formName:e.display,availableOffline:i().createElement(D,{form:e,disabled:!c})}})))||void 0===a?void 0:a.sort((function(e,n){return e.formName.localeCompare(n.formName)}));return null!=o?o:[]}),[t.data,n.user,c]);return 0===g.length?i().createElement("div",{className:C.contentContainer},i().createElement(s.EmptyState,{displayText:e("offlineForms__lower","offline forms"),headerTitle:e("offlineForms","Offline forms")})):i().createElement(i().Fragment,null,i().createElement("header",{className:C.pageHeaderContainer},i().createElement("h1",{className:C.pageHeader},e("offlineFormsTitle","Offline forms"))),i().createElement("main",{className:C.contentContainer},i().createElement(o.bQt,{rows:g,headers:d,size:"sm",useZebraStyles:!0},(function(n){var t=n.rows,a=n.headers,r=n.getTableProps,l=n.getHeaderProps,s=n.getRowProps,p=n.getTableContainerProps,c=n.onInputChange;return i().createElement(o.K3K,p(),i().createElement("div",{className:C.tableHeaderContainer},i().createElement(o.Wdr,null,i().createElement(o.vji,{className:C.tableSearch,labelText:e("offlinePatientsTableSearchLabel","Search this list"),placeholder:e("offlinePatientsTableSearchPlaceholder","Search this list"),size:u,onChange:function(e){return c(e)}}))),i().createElement(o.XIK,S(T({},r()),{isSortable:!0,useZebraStyles:!0}),i().createElement(o.ndF,null,i().createElement(o.Hjg,null,a.map((function(e){return i().createElement(o.A0N,S(T({},l({header:e})),{isSortable:!0}),e.header)})))),i().createElement(o.BFY,null,t.map((function(e){return i().createElement(o.Hjg,s({row:e}),e.cells.map((function(e){var n,t;return i().createElement(o.nA6,{key:e.id},null!==(t=null===(n=e.value)||void 0===n?void 0:n.value)&&void 0!==t?t:e.value)})))})))))}))))}},55400:(e,n,t)=>{t.d(n,{MP:()=>u,h7:()=>d});var a=t(46372),i=t.n(a),r=t(71123),o=t(54440),l=t(57691),s=t(89190);function p(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,a=new Array(n);t<n;t++)a[t]=e[t];return a}function c(e,n,t,a,i,r,o){try{var l=e[r](o),s=l.value}catch(e){return void t(e)}l.done?n(s):Promise.resolve(s).then(a,i)}function u(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=function(e,n){var t=(0,o.useConfig)(),a=t.customFormsUrl,i=t.showHtmlFormEntryForms,r=Boolean(a),s=r?a:i?l.dc:l.hw;return{url:(0,o.interpolateUrl)(s,{patientUuid:e,visitUuid:n,representation:l.xG}),hasCustomFormsUrl:r}}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",arguments.length>2&&void 0!==arguments[2]?arguments[2]:""),t=n.url,a=n.hasCustomFormsUrl;return(0,r.Ay)([t,e],(function(){return(n=function(){var n,i,r,l,s,p;return function(e,n){var t,a,i,r={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=l(0),o.throw=l(1),o.return=l(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(l){return function(s){return function(l){if(t)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(r=0)),r;)try{if(t=1,a&&(i=2&l[0]?a.return:l[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;switch(a=0,i&&(l=[2&l[0],i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,a=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(!((i=(i=r.trys).length>0&&i[i.length-1])||6!==l[0]&&2!==l[0])){r=0;continue}if(3===l[0]&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(6===l[0]&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=n.call(e,r)}catch(e){l=[6,e],a=0}finally{t=i=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,s])}}}(this,(function(c){switch(c.label){case 0:return[4,(0,o.openmrsFetch)(t)];case 1:return r=c.sent(),s=a?null==r?void 0:r.data.results:null!==(l=null===(i=r.data)||void 0===i||null===(n=i.results)||void 0===n?void 0:n.filter((function(e){return e.published&&!/component/i.test(e.name)})))&&void 0!==l?l:[],e?[4,(0,o.getDynamicOfflineDataEntries)("form")]:[2,s];case 2:return p=c.sent(),[2,s.filter((function(e){return p.some((function(n){return n.identifier===e.uuid}))}))]}}))},function(){var e=this,t=arguments;return new Promise((function(a,i){var r=n.apply(e,t);function o(e){c(r,a,i,o,l,"next",e)}function l(e){c(r,a,i,o,l,"throw",e)}o(void 0)}))})();var n}))}var f=new Date(0);function d(e,n,t,a){var c,d,g,h,y,m=arguments.length>4&&void 0!==arguments[4]&&arguments[4],b=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"name",$=(0,o.useConfig)().htmlFormEntryForms,v=u(m,e,n),w=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i()(new Date).startOf("day").subtract(500,"day").toDate(),t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:i()(new Date).endOf("day").toDate(),a=e?"".concat(o.restBaseUrl,"/encounter?v=").concat(l.s8,"&patient=").concat(e,"&fromdate=").concat(n.toISOString(),"&todate=").concat(t.toISOString()):null;return(0,r.Ay)(a,o.openmrsFetch)}(e,t,a),_=null!==(g=null===(d=w.data)||void 0===d||null===(c=d.data)||void 0===c?void 0:c.results)&&void 0!==g?g:[],A=v.data?(h=v.data,y=_,h.map((function(e){var n,t,a=y.filter((function(n){var t;return(null===(t=n.form)||void 0===t?void 0:t.uuid)===(null==e?void 0:e.uuid)})),i=a.length>0?new Date((n=Math).max.apply(n,function(e){if(Array.isArray(e))return p(e)}(t=a.map((function(e){return new Date(e.encounterDatetime).getTime()})))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,n){if(e){if("string"==typeof e)return p(e,n);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)?p(e,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())):void 0;return{form:e,associatedEncounters:a,lastCompletedDate:i}}))):void 0,k=(0,o.useSession)(),x=m?null==A?void 0:A.filter((function(e){return(0,s.vq)(e.form,$)})):A;return(null==k?void 0:k.user)&&(x=null==x?void 0:x.filter((function(e){var n,t,a;return(0,o.userHasAccess)(null==e||null===(a=e.form)||void 0===a||null===(t=a.encounterType)||void 0===t||null===(n=t.editPrivilege)||void 0===n?void 0:n.display,k.user)}))),"name"===b?null==x||x.sort((function(e,n){var t,a;return(null!==(t=e.form.display)&&void 0!==t?t:e.form.name).localeCompare(null!==(a=n.form.display)&&void 0!==a?a:n.form.name)})):null==x||x.sort((function(e,n){var t,a;return(null!==(t=e.lastCompletedDate)&&void 0!==t?t:f).getDate()-(null!==(a=n.lastCompletedDate)&&void 0!==a?a:f).getDate()})),{data:x,error:v.error,isValidating:v.isValidating||w.isValidating,allForms:v.data,mutateForms:function(){v.mutate(),w.mutate()}}}},89190:(e,n,t)=>{t.d(n,{pq:()=>l,vq:()=>r});var a=t(71123),i=t(54440);function r(e,n){var t=n.some((function(n){return n.formUuid===e.uuid})),a=e.resources.some(o);return!t&&a}function o(e){return"AmpathJsonSchema"===e.dataType||"JSON schema"===e.name}function l(){return(0,a.Ay)("dynamicFormEntries",(function(){return(0,i.getDynamicOfflineDataEntries)("form")}))}}}]);