@openmrs/esm-openconceptlab-app 4.4.1-pre.949 → 4.4.1-pre.955

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 (136) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/dist/1480.js +1 -1
  3. package/dist/1480.js.map +1 -1
  4. package/dist/1646.js +1 -1
  5. package/dist/1646.js.map +1 -1
  6. package/dist/1869.js +1 -1
  7. package/dist/1869.js.map +1 -1
  8. package/dist/1877.js +1 -1
  9. package/dist/1877.js.map +1 -1
  10. package/dist/2317.js +1 -1
  11. package/dist/2317.js.map +1 -1
  12. package/dist/2416.js +1 -1
  13. package/dist/2416.js.map +1 -1
  14. package/dist/282.js +1 -1
  15. package/dist/282.js.map +1 -1
  16. package/dist/2881.js +1 -1
  17. package/dist/2881.js.map +1 -1
  18. package/dist/3799.js +1 -1
  19. package/dist/3799.js.map +1 -1
  20. package/dist/3963.js +1 -1
  21. package/dist/3963.js.map +1 -1
  22. package/dist/4106.js +1 -1
  23. package/dist/4106.js.map +1 -1
  24. package/dist/4111.js +1 -1
  25. package/dist/4111.js.map +1 -1
  26. package/dist/434.js +1 -1
  27. package/dist/434.js.map +1 -1
  28. package/dist/4348.js +1 -1
  29. package/dist/4348.js.map +1 -1
  30. package/dist/4383.js +1 -1
  31. package/dist/4383.js.map +1 -1
  32. package/dist/4658.js +1 -1
  33. package/dist/4658.js.map +1 -1
  34. package/dist/4928.js +1 -1
  35. package/dist/4928.js.map +1 -1
  36. package/dist/5117.js +1 -1
  37. package/dist/5117.js.map +1 -1
  38. package/dist/5132.js +1 -1
  39. package/dist/5132.js.map +1 -1
  40. package/dist/5145.js +1 -1
  41. package/dist/5145.js.map +1 -1
  42. package/dist/5503.js +1 -1
  43. package/dist/5503.js.map +1 -1
  44. package/dist/556.js +1 -1
  45. package/dist/556.js.map +1 -1
  46. package/dist/5644.js +1 -1
  47. package/dist/5644.js.map +1 -1
  48. package/dist/5940.js +1 -1
  49. package/dist/5940.js.map +1 -1
  50. package/dist/6047.js +1 -1
  51. package/dist/6047.js.map +1 -1
  52. package/dist/6371.js +1 -1
  53. package/dist/6371.js.map +1 -1
  54. package/dist/6377.js +1 -1
  55. package/dist/6377.js.map +1 -1
  56. package/dist/6444.js +1 -1
  57. package/dist/6444.js.map +1 -1
  58. package/dist/6508.js +1 -1
  59. package/dist/6508.js.map +1 -1
  60. package/dist/6724.js +1 -1
  61. package/dist/6724.js.map +1 -1
  62. package/dist/6904.js +1 -1
  63. package/dist/6904.js.map +1 -1
  64. package/dist/7045.js +1 -1
  65. package/dist/7045.js.map +1 -1
  66. package/dist/7175.js +1 -1
  67. package/dist/7175.js.map +1 -1
  68. package/dist/7182.js +1 -1
  69. package/dist/7182.js.map +1 -1
  70. package/dist/7742.js +1 -1
  71. package/dist/7742.js.map +1 -1
  72. package/dist/7912.js +1 -1
  73. package/dist/7912.js.map +1 -1
  74. package/dist/8358.js +1 -1
  75. package/dist/8358.js.map +1 -1
  76. package/dist/8359.js +1 -1
  77. package/dist/8359.js.map +1 -1
  78. package/dist/8695.js +1 -1
  79. package/dist/8695.js.map +1 -1
  80. package/dist/903.js +1 -1
  81. package/dist/903.js.map +1 -1
  82. package/dist/9072.js +1 -1
  83. package/dist/9072.js.map +1 -1
  84. package/dist/9806.js +1 -1
  85. package/dist/9806.js.map +1 -1
  86. package/dist/997.js +1 -1
  87. package/dist/997.js.map +1 -1
  88. package/dist/openmrs-esm-openconceptlab-app.js +1 -1
  89. package/dist/routes.json +1 -1
  90. package/package.json +1 -1
  91. package/src/import/import.component.tsx +4 -4
  92. package/src/import/import.test.tsx +22 -0
  93. package/src/subscription/subscription.component.tsx +8 -8
  94. package/src/subscription/subscription.test.tsx +41 -3
  95. package/translations/am.json +1 -0
  96. package/translations/ar.json +1 -0
  97. package/translations/ar_SY.json +1 -0
  98. package/translations/bn.json +1 -0
  99. package/translations/cs.json +1 -0
  100. package/translations/de.json +1 -0
  101. package/translations/en.json +1 -0
  102. package/translations/en_US.json +1 -0
  103. package/translations/es.json +1 -0
  104. package/translations/es_MX.json +1 -0
  105. package/translations/fr.json +1 -0
  106. package/translations/he.json +1 -0
  107. package/translations/hi.json +1 -0
  108. package/translations/hi_IN.json +1 -0
  109. package/translations/id.json +1 -0
  110. package/translations/it.json +1 -0
  111. package/translations/ka.json +1 -0
  112. package/translations/km.json +1 -0
  113. package/translations/ku.json +1 -0
  114. package/translations/ky.json +1 -0
  115. package/translations/lg.json +1 -0
  116. package/translations/ne.json +1 -0
  117. package/translations/pl.json +1 -0
  118. package/translations/pt.json +1 -0
  119. package/translations/pt_BR.json +1 -0
  120. package/translations/qu.json +1 -0
  121. package/translations/ro_RO.json +1 -0
  122. package/translations/ru_RU.json +1 -0
  123. package/translations/si.json +1 -0
  124. package/translations/sq.json +1 -0
  125. package/translations/sw.json +1 -0
  126. package/translations/sw_KE.json +1 -0
  127. package/translations/tr.json +1 -0
  128. package/translations/tr_TR.json +1 -0
  129. package/translations/uk.json +1 -0
  130. package/translations/uz.json +1 -0
  131. package/translations/uz@Latn.json +1 -0
  132. package/translations/uz_UZ.json +1 -0
  133. package/translations/vi.json +1 -0
  134. package/translations/zh.json +1 -0
  135. package/translations/zh_CN.json +1 -0
  136. package/translations/zh_TW.json +1 -0
package/dist/7742.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"7742.js","sources":["webpack://@openmrs/esm-openconceptlab-app/json|/home/runner/work/openmrs-esm-admin-tools/openmrs-esm-admin-tools/packages/esm-admin-openconceptlab-app/translations/zh.json"],"names":["JSON"],"mappings":"yJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,23C"}
1
+ {"version":3,"file":"7742.js","sources":["webpack://@openmrs/esm-openconceptlab-app/json|/home/runner/work/openmrs-esm-admin-tools/openmrs-esm-admin-tools/packages/esm-admin-openconceptlab-app/translations/zh.json"],"names":["JSON"],"mappings":"yJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,46C"}
package/dist/7912.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_openconceptlab_app=globalThis.webpackChunk_openmrs_esm_openconceptlab_app||[]).push([["7912"],{3099(r){r.exports=JSON.parse('{"advancedOptions":"Opciones avanzadas","apiToken":"Token","cancelButton":"Cancelar cambios","cancelledChanges":"Cambios cancelados con \xe9xito","completedOn":"Completado El","conceptOrMapping":"Conceptos/Mapeos","conceptsAdded":"Conceptos a\xf1adidos","conceptsRetired":"Conceptos Retirados","conceptsUpdated":"Conceptos Actualizados","conceptsUpToDate":"Conceptos al d\xeda","dateAndTime":"Fecha y hora","disableValidationText":"Desactivar validaci\xf3n (debe usarse con precauci\xf3n para colecciones o fuentes bien curadas)","duration":"Duraci\xf3n","errorDeletingSubscription":"Ocurri\xf3 un error al eliminar la suscripci\xf3n","errorSavingSubscription":"Ocurri\xf3 un error al guardar la suscripci\xf3n","errorsFound":"Errores encontrados","errorsIgnored":"Errores Ignorados","fileAdded":"Archivo agregado","fileFormatError":"Solo se permiten archivos .zip","import":"Importar","importConcepts":"Importar Conceptos","importFailed":"Importaci\xf3n fall\xf3","importFromFile":"Importar desde archivo","importFromFileDragInfo":"Arrastra y suelta el archivo aqu\xed o haz clic para subirlo","importFromFileHeading":"Importar desde archivo (Sin Internet)","importFromFileInfo":"Puedes importar datos sin configurar una suscripci\xf3n utilizando esta opci\xf3n.","importFromSubscription":"Importar desde Suscripci\xf3n","importInstructions":"Evita importar durante las horas de ingreso de datos, ya que la operaci\xf3n puede ralentizar significativamente el sistema. Puedes usar la suscripci\xf3n o un archivo zip para importar los conceptos.","importItemsFetchError":"Ocurri\xf3 un error al recuperar los elementos de importaci\xf3n","importSuccess":"Importaci\xf3n iniciada con \xe9xito","manageConcepts":"Gestionar Conceptos","message":"Mensaje","moduleTitle":"M\xf3dulo de suscripci\xf3n de OCL","noFileSelected":"Ning\xfan archivo seleccionado","noSubscriptionError":"Sin suscripci\xf3n guardada","openConceptLab":"Open Concept Lab","previousImports":"Importaciones anteriores","previousImportsFetchError":"Ocurri\xf3 un error al recuperar los elementos de importaci\xf3n","result":"Resultado:","setupSubscription":"Configurar Suscripci\xf3n","snapshotDisabledError":"No puede suscribirse a un SNAPSHOT si ha proporcionado la versi\xf3n de colecci\xf3n","startedOn":"Iniciado el","status":"Estado","subscribeButton":"Guardar cambios","subscribeToSnapshotText":"Suscribirse a versiones SNAPSHOT (no recomendado)","subscription":"Suscripci\xf3n","subscriptionDeleted":"Cancelada la suscripci\xf3n con \xe9xito","subscriptionError":"Se ha producido un error al obtener la suscripci\xf3n","subscriptionUrl":"URL de suscripci\xf3n","unsubscribe":"Cancelar suscripci\xf3n","unsubscribeButton":"Cancelar suscripci\xf3n","unsubscribeInfo":"Si te cancelas la suscripci\xf3n, ning\xfan concepto ser\xe1 eliminado ni modificado. Toda la informaci\xf3n sobre la suscripci\xf3n ser\xe1 eliminada de tu sistema.","uploading":"Subiendo..."}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_openconceptlab_app=globalThis.webpackChunk_openmrs_esm_openconceptlab_app||[]).push([["7912"],{3099(r){r.exports=JSON.parse('{"advancedOptions":"Opciones avanzadas","apiToken":"Token","cancelButton":"Cancelar cambios","cancelledChanges":"Cambios cancelados con \xe9xito","completedOn":"Completado El","conceptOrMapping":"Conceptos/Mapeos","conceptsAdded":"Conceptos a\xf1adidos","conceptsRetired":"Conceptos Retirados","conceptsUpdated":"Conceptos Actualizados","conceptsUpToDate":"Conceptos al d\xeda","dateAndTime":"Fecha y hora","disableValidationText":"Desactivar validaci\xf3n (debe usarse con precauci\xf3n para colecciones o fuentes bien curadas)","duration":"Duraci\xf3n","errorDeletingSubscription":"Ocurri\xf3 un error al eliminar la suscripci\xf3n","errorSavingSubscription":"Ocurri\xf3 un error al guardar la suscripci\xf3n","errorsFound":"Errores encontrados","errorsIgnored":"Errores Ignorados","fileAdded":"Archivo agregado","fileFormatError":"Solo se permiten archivos .zip","import":"Importar","importConcepts":"Importar Conceptos","importFailed":"Importaci\xf3n fall\xf3","importFromFile":"Importar desde archivo","importFromFileDragInfo":"Arrastra y suelta el archivo aqu\xed o haz clic para subirlo","importFromFileHeading":"Importar desde archivo (Sin Internet)","importFromFileInfo":"Puedes importar datos sin configurar una suscripci\xf3n utilizando esta opci\xf3n.","importFromSubscription":"Importar desde Suscripci\xf3n","importInstructions":"Evita importar durante las horas de ingreso de datos, ya que la operaci\xf3n puede ralentizar significativamente el sistema. Puedes usar la suscripci\xf3n o un archivo zip para importar los conceptos.","importItemsFetchError":"Ocurri\xf3 un error al recuperar los elementos de importaci\xf3n","importSuccess":"Importaci\xf3n iniciada con \xe9xito","manageConcepts":"Gestionar Conceptos","message":"Mensaje","moduleTitle":"M\xf3dulo de suscripci\xf3n de OCL","noFileSelected":"Ning\xfan archivo seleccionado","noSubscriptionError":"Sin suscripci\xf3n guardada","openConceptLab":"Open Concept Lab","previousImports":"Importaciones anteriores","previousImportsFetchError":"Ocurri\xf3 un error al recuperar los elementos de importaci\xf3n","result":"Resultado:","setupSubscription":"Configurar Suscripci\xf3n","snapshotDisabledError":"No puede suscribirse a un SNAPSHOT si ha proporcionado la versi\xf3n de colecci\xf3n","startedOn":"Iniciado el","status":"Estado","subscribeButton":"Guardar cambios","subscribeToSnapshotText":"Suscribirse a versiones SNAPSHOT (no recomendado)","subscription":"Suscripci\xf3n","subscriptionDeleted":"Cancelada la suscripci\xf3n con \xe9xito","subscriptionError":"Se ha producido un error al obtener la suscripci\xf3n","subscriptionUrl":"URL de suscripci\xf3n","unexpectedError":"An unexpected error occurred","unsubscribe":"Cancelar suscripci\xf3n","unsubscribeButton":"Cancelar suscripci\xf3n","unsubscribeInfo":"Si te cancelas la suscripci\xf3n, ning\xfan concepto ser\xe1 eliminado ni modificado. Toda la informaci\xf3n sobre la suscripci\xf3n ser\xe1 eliminada de tu sistema.","uploading":"Subiendo..."}')}}]);
package/dist/7912.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"7912.js","sources":["webpack://@openmrs/esm-openconceptlab-app/json|/home/runner/work/openmrs-esm-admin-tools/openmrs-esm-admin-tools/packages/esm-admin-openconceptlab-app/translations/es.json"],"names":["JSON"],"mappings":"yJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,u3F"}
1
+ {"version":3,"file":"7912.js","sources":["webpack://@openmrs/esm-openconceptlab-app/json|/home/runner/work/openmrs-esm-admin-tools/openmrs-esm-admin-tools/packages/esm-admin-openconceptlab-app/translations/es.json"],"names":["JSON"],"mappings":"yJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,w6F"}
package/dist/8358.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_openconceptlab_app=globalThis.webpackChunk_openmrs_esm_openconceptlab_app||[]).push([["8358"],{5173(e){e.exports=JSON.parse('{"advancedOptions":"Advanced Options","apiToken":"Token","cancelButton":"Cancel changes","cancelledChanges":"Cancelled changes successfully","completedOn":"Completed on","conceptOrMapping":"Concept/Mapping","conceptsAdded":"concepts added","conceptsRetired":"concepts retired","conceptsUpdated":"concepts updated","conceptsUpToDate":"concepts up to date","dateAndTime":"Date and Time","disableValidationText":"Disable validation (should be used with care for well curated collections or sources)","duration":"Duration","errorDeletingSubscription":"Error occured while deleting the subscription","errorSavingSubscription":"Error occured while saving the subscription","errorsFound":"errors found","errorsIgnored":"errors ignored","fileAdded":"File Added","fileFormatError":"Only .zip files are allowed","import":"Import","importConcepts":"Import Concepts","importFailed":"Import failed","importFromFile":"Import from file","importFromFileDragInfo":"Drag and drop file here or click to upload","importFromFileHeading":"Import from file (Offline)","importFromFileInfo":"You can import data without setting up a subscription by using this option.","importFromSubscription":"Import from Subscription","importInstructions":"Avoid importing during data entry hours, because the operation may significantly slow down the system. You can either use the subscription or a zip file to import concepts.","importItemsFetchError":"Error occured while fetching the import items","importSuccess":"Import started successfully","manageConcepts":"Manage Concepts","message":"Message","moduleTitle":"OCL Subscription Module","noFileSelected":"No file selected","noSubscriptionError":"No saved subscription","openConceptLab":"Open Concept Lab","previousImports":"Previous Imports","previousImportsFetchError":"Error occured while fetching the imports","result":"Result:","setupSubscription":"Setup Subscription","snapshotDisabledError":"You cannot subscribe to a SNAPSHOT if you\'ve provided the collection version","startedOn":"Started on","status":"Status","subscribeButton":"Save changes","subscribeToSnapshotText":"Subscribe to SNAPSHOT versions (not recommended)","subscription":"Subscription","subscriptionDeleted":"Successfully unsubscribed","subscriptionError":"Error occured while fetching the subscription","subscriptionUrl":"Subscription URL","unsubscribe":"Unsubscribe","unsubscribeButton":"Unsubscribe","unsubscribeInfo":"If you unsubscribe, no concepts will be deleted nor changed. All information about subscription will be deleted from your system.","uploading":"Uploading..."}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_openconceptlab_app=globalThis.webpackChunk_openmrs_esm_openconceptlab_app||[]).push([["8358"],{5173(e){e.exports=JSON.parse('{"advancedOptions":"Advanced Options","apiToken":"Token","cancelButton":"Cancel changes","cancelledChanges":"Cancelled changes successfully","completedOn":"Completed on","conceptOrMapping":"Concept/Mapping","conceptsAdded":"concepts added","conceptsRetired":"concepts retired","conceptsUpdated":"concepts updated","conceptsUpToDate":"concepts up to date","dateAndTime":"Date and Time","disableValidationText":"Disable validation (should be used with care for well curated collections or sources)","duration":"Duration","errorDeletingSubscription":"Error occured while deleting the subscription","errorSavingSubscription":"Error occured while saving the subscription","errorsFound":"errors found","errorsIgnored":"errors ignored","fileAdded":"File Added","fileFormatError":"Only .zip files are allowed","import":"Import","importConcepts":"Import Concepts","importFailed":"Import failed","importFromFile":"Import from file","importFromFileDragInfo":"Drag and drop file here or click to upload","importFromFileHeading":"Import from file (Offline)","importFromFileInfo":"You can import data without setting up a subscription by using this option.","importFromSubscription":"Import from Subscription","importInstructions":"Avoid importing during data entry hours, because the operation may significantly slow down the system. You can either use the subscription or a zip file to import concepts.","importItemsFetchError":"Error occured while fetching the import items","importSuccess":"Import started successfully","manageConcepts":"Manage Concepts","message":"Message","moduleTitle":"OCL Subscription Module","noFileSelected":"No file selected","noSubscriptionError":"No saved subscription","openConceptLab":"Open Concept Lab","previousImports":"Previous Imports","previousImportsFetchError":"Error occured while fetching the imports","result":"Result:","setupSubscription":"Setup Subscription","snapshotDisabledError":"You cannot subscribe to a SNAPSHOT if you\'ve provided the collection version","startedOn":"Started on","status":"Status","subscribeButton":"Save changes","subscribeToSnapshotText":"Subscribe to SNAPSHOT versions (not recommended)","subscription":"Subscription","subscriptionDeleted":"Successfully unsubscribed","subscriptionError":"Error occured while fetching the subscription","subscriptionUrl":"Subscription URL","unexpectedError":"An unexpected error occurred","unsubscribe":"Unsubscribe","unsubscribeButton":"Unsubscribe","unsubscribeInfo":"If you unsubscribe, no concepts will be deleted nor changed. All information about subscription will be deleted from your system.","uploading":"Uploading..."}')}}]);
package/dist/8358.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"8358.js","sources":["webpack://@openmrs/esm-openconceptlab-app/json|/home/runner/work/openmrs-esm-admin-tools/openmrs-esm-admin-tools/packages/esm-admin-openconceptlab-app/translations/qu.json"],"names":["JSON"],"mappings":"yJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,+gF"}
1
+ {"version":3,"file":"8358.js","sources":["webpack://@openmrs/esm-openconceptlab-app/json|/home/runner/work/openmrs-esm-admin-tools/openmrs-esm-admin-tools/packages/esm-admin-openconceptlab-app/translations/qu.json"],"names":["JSON"],"mappings":"yJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,gkF"}
package/dist/8359.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_openconceptlab_app=globalThis.webpackChunk_openmrs_esm_openconceptlab_app||[]).push([["8359"],{986(e){e.exports=JSON.parse('{"advancedOptions":"Расширенные настройки","apiToken":"Токен","cancelButton":"Отменить","cancelledChanges":"Изменения отменены","completedOn":"Завершено","conceptOrMapping":"Элемент справочника/Сопоставление","conceptsAdded":"элементов добавлено","conceptsRetired":"элементов архивировано","conceptsUpdated":"элементов обновлено","conceptsUpToDate":"элементов актуально","dateAndTime":"Дата и время","disableValidationText":"Отключить валидацию (следует использовать с осторожностью только для тщательно подобранных коллекций или источников)","duration":"Продолжительность","errorDeletingSubscription":"Произошла ошибка при удалении подписки","errorSavingSubscription":"Произошла ошибка при сохранении подписки","errorsFound":"найдено ошибок","errorsIgnored":"пропущено ошибок","fileAdded":"Файл добавлен","fileFormatError":"Допустимы только файлы .zip","import":"Импорт","importConcepts":"Импорт справочников","importFailed":"Импорт не удался","importFromFile":"Импорт из файла","importFromFileDragInfo":"Перетащите файл сюда или нажмите для загрузки","importFromFileHeading":"Импорт из файла (Офлайн)","importFromFileInfo":"Вы можете импортировать данные без настройки подписки, используя эту опцию.","importFromSubscription":"Импорт по подписке","importInstructions":"Избегайте импорта в часы активной работы клиники - операция может значительно замедлить работу системы. Используйте подписку или zip-файл для импорта справочников.","importItemsFetchError":"Произошла ошибка при получении элементов импорта","importSuccess":"Импорт успешно запущен","manageConcepts":"Справочники","message":"Сообщение","moduleTitle":"Модуль подписки OCL","noFileSelected":"Файл не выбран","noSubscriptionError":"Сохранённая подписка отсутствует","openConceptLab":"Open Concept Lab","previousImports":"Прошлые импорты","previousImportsFetchError":"Произошла ошибка при получении списка импортов","result":"Результат:","setupSubscription":"Настройка подписки","snapshotDisabledError":"Вы не можете подписаться на SNAPSHOT, если указали версию коллекции","startedOn":"Начато","status":"Статус","subscribeButton":"Сохранить изменения","subscribeToSnapshotText":"Подписаться на версии SNAPSHOT (не рекомендуется)","subscription":"Подписка","subscriptionDeleted":"Подписка успешно отменена","subscriptionError":"Произошла ошибка при получении подписки","subscriptionUrl":"URL подписки","unsubscribe":"Отписаться","unsubscribeButton":"Отписаться","unsubscribeInfo":"При отписке данные не будут удалены или изменены. Информация о подписке будет удалена из вашей системы.","uploading":"Загрузка..."}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_openconceptlab_app=globalThis.webpackChunk_openmrs_esm_openconceptlab_app||[]).push([["8359"],{986(e){e.exports=JSON.parse('{"advancedOptions":"Расширенные настройки","apiToken":"Токен","cancelButton":"Отменить","cancelledChanges":"Изменения отменены","completedOn":"Завершено","conceptOrMapping":"Элемент справочника/Сопоставление","conceptsAdded":"элементов добавлено","conceptsRetired":"элементов архивировано","conceptsUpdated":"элементов обновлено","conceptsUpToDate":"элементов актуально","dateAndTime":"Дата и время","disableValidationText":"Отключить валидацию (следует использовать с осторожностью только для тщательно подобранных коллекций или источников)","duration":"Продолжительность","errorDeletingSubscription":"Произошла ошибка при удалении подписки","errorSavingSubscription":"Произошла ошибка при сохранении подписки","errorsFound":"найдено ошибок","errorsIgnored":"пропущено ошибок","fileAdded":"Файл добавлен","fileFormatError":"Допустимы только файлы .zip","import":"Импорт","importConcepts":"Импорт справочников","importFailed":"Импорт не удался","importFromFile":"Импорт из файла","importFromFileDragInfo":"Перетащите файл сюда или нажмите для загрузки","importFromFileHeading":"Импорт из файла (Офлайн)","importFromFileInfo":"Вы можете импортировать данные без настройки подписки, используя эту опцию.","importFromSubscription":"Импорт по подписке","importInstructions":"Избегайте импорта в часы активной работы клиники - операция может значительно замедлить работу системы. Используйте подписку или zip-файл для импорта справочников.","importItemsFetchError":"Произошла ошибка при получении элементов импорта","importSuccess":"Импорт успешно запущен","manageConcepts":"Справочники","message":"Сообщение","moduleTitle":"Модуль подписки OCL","noFileSelected":"Файл не выбран","noSubscriptionError":"Сохранённая подписка отсутствует","openConceptLab":"Open Concept Lab","previousImports":"Прошлые импорты","previousImportsFetchError":"Произошла ошибка при получении списка импортов","result":"Результат:","setupSubscription":"Настройка подписки","snapshotDisabledError":"Вы не можете подписаться на SNAPSHOT, если указали версию коллекции","startedOn":"Начато","status":"Статус","subscribeButton":"Сохранить изменения","subscribeToSnapshotText":"Подписаться на версии SNAPSHOT (не рекомендуется)","subscription":"Подписка","subscriptionDeleted":"Подписка успешно отменена","subscriptionError":"Произошла ошибка при получении подписки","subscriptionUrl":"URL подписки","unexpectedError":"An unexpected error occurred","unsubscribe":"Отписаться","unsubscribeButton":"Отписаться","unsubscribeInfo":"При отписке данные не будут удалены или изменены. Информация о подписке будет удалена из вашей системы.","uploading":"Загрузка..."}')}}]);
package/dist/8359.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"8359.js","sources":["webpack://@openmrs/esm-openconceptlab-app/json|/home/runner/work/openmrs-esm-admin-tools/openmrs-esm-admin-tools/packages/esm-admin-openconceptlab-app/translations/ru_RU.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,mhF"}
1
+ {"version":3,"file":"8359.js","sources":["webpack://@openmrs/esm-openconceptlab-app/json|/home/runner/work/openmrs-esm-admin-tools/openmrs-esm-admin-tools/packages/esm-admin-openconceptlab-app/translations/ru_RU.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,okF"}
package/dist/8695.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_openconceptlab_app=globalThis.webpackChunk_openmrs_esm_openconceptlab_app||[]).push([["8695"],{4618(e){e.exports=JSON.parse('{"advancedOptions":"Advanced Options","apiToken":"Token","cancelButton":"Cancel changes","cancelledChanges":"Cancelled changes successfully","completedOn":"Completed on","conceptOrMapping":"Concept/Mapping","conceptsAdded":"concepts added","conceptsRetired":"concepts retired","conceptsUpdated":"concepts updated","conceptsUpToDate":"concepts up to date","dateAndTime":"Date and Time","disableValidationText":"Disable validation (should be used with care for well curated collections or sources)","duration":"Duration","errorDeletingSubscription":"Error occured while deleting the subscription","errorSavingSubscription":"Error occured while saving the subscription","errorsFound":"errors found","errorsIgnored":"errors ignored","fileAdded":"File Added","fileFormatError":"Only .zip files are allowed","import":"Import","importConcepts":"Import Concepts","importFailed":"Import failed","importFromFile":"Import from file","importFromFileDragInfo":"Drag and drop file here or click to upload","importFromFileHeading":"Import from file (Offline)","importFromFileInfo":"You can import data without setting up a subscription by using this option.","importFromSubscription":"Import from Subscription","importInstructions":"Avoid importing during data entry hours, because the operation may significantly slow down the system. You can either use the subscription or a zip file to import concepts.","importItemsFetchError":"Error occured while fetching the import items","importSuccess":"Import started successfully","manageConcepts":"Manage Concepts","message":"Message","moduleTitle":"OCL Subscription Module","noFileSelected":"No file selected","noSubscriptionError":"No saved subscription","openConceptLab":"Open Concept Lab","previousImports":"Previous Imports","previousImportsFetchError":"Error occured while fetching the imports","result":"Result:","setupSubscription":"Setup Subscription","snapshotDisabledError":"You cannot subscribe to a SNAPSHOT if you\'ve provided the collection version","startedOn":"Started on","status":"Status","subscribeButton":"Save changes","subscribeToSnapshotText":"Subscribe to SNAPSHOT versions (not recommended)","subscription":"Subscription","subscriptionDeleted":"Successfully unsubscribed","subscriptionError":"Error occured while fetching the subscription","subscriptionUrl":"Subscription URL","unsubscribe":"Unsubscribe","unsubscribeButton":"Unsubscribe","unsubscribeInfo":"If you unsubscribe, no concepts will be deleted nor changed. All information about subscription will be deleted from your system.","uploading":"Uploading..."}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_openconceptlab_app=globalThis.webpackChunk_openmrs_esm_openconceptlab_app||[]).push([["8695"],{4618(e){e.exports=JSON.parse('{"advancedOptions":"Advanced Options","apiToken":"Token","cancelButton":"Cancel changes","cancelledChanges":"Cancelled changes successfully","completedOn":"Completed on","conceptOrMapping":"Concept/Mapping","conceptsAdded":"concepts added","conceptsRetired":"concepts retired","conceptsUpdated":"concepts updated","conceptsUpToDate":"concepts up to date","dateAndTime":"Date and Time","disableValidationText":"Disable validation (should be used with care for well curated collections or sources)","duration":"Duration","errorDeletingSubscription":"Error occured while deleting the subscription","errorSavingSubscription":"Error occured while saving the subscription","errorsFound":"errors found","errorsIgnored":"errors ignored","fileAdded":"File Added","fileFormatError":"Only .zip files are allowed","import":"Import","importConcepts":"Import Concepts","importFailed":"Import failed","importFromFile":"Import from file","importFromFileDragInfo":"Drag and drop file here or click to upload","importFromFileHeading":"Import from file (Offline)","importFromFileInfo":"You can import data without setting up a subscription by using this option.","importFromSubscription":"Import from Subscription","importInstructions":"Avoid importing during data entry hours, because the operation may significantly slow down the system. You can either use the subscription or a zip file to import concepts.","importItemsFetchError":"Error occured while fetching the import items","importSuccess":"Import started successfully","manageConcepts":"Manage Concepts","message":"Message","moduleTitle":"OCL Subscription Module","noFileSelected":"No file selected","noSubscriptionError":"No saved subscription","openConceptLab":"Open Concept Lab","previousImports":"Previous Imports","previousImportsFetchError":"Error occured while fetching the imports","result":"Result:","setupSubscription":"Setup Subscription","snapshotDisabledError":"You cannot subscribe to a SNAPSHOT if you\'ve provided the collection version","startedOn":"Started on","status":"Status","subscribeButton":"Save changes","subscribeToSnapshotText":"Subscribe to SNAPSHOT versions (not recommended)","subscription":"Subscription","subscriptionDeleted":"Successfully unsubscribed","subscriptionError":"Error occured while fetching the subscription","subscriptionUrl":"Subscription URL","unexpectedError":"An unexpected error occurred","unsubscribe":"Unsubscribe","unsubscribeButton":"Unsubscribe","unsubscribeInfo":"If you unsubscribe, no concepts will be deleted nor changed. All information about subscription will be deleted from your system.","uploading":"Uploading..."}')}}]);
package/dist/8695.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"8695.js","sources":["webpack://@openmrs/esm-openconceptlab-app/json|/home/runner/work/openmrs-esm-admin-tools/openmrs-esm-admin-tools/packages/esm-admin-openconceptlab-app/translations/lg.json"],"names":["JSON"],"mappings":"yJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,+gF"}
1
+ {"version":3,"file":"8695.js","sources":["webpack://@openmrs/esm-openconceptlab-app/json|/home/runner/work/openmrs-esm-admin-tools/openmrs-esm-admin-tools/packages/esm-admin-openconceptlab-app/translations/lg.json"],"names":["JSON"],"mappings":"yJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,gkF"}
package/dist/903.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_openconceptlab_app=globalThis.webpackChunk_openmrs_esm_openconceptlab_app||[]).push([["903"],{8618(e){e.exports=JSON.parse('{"advancedOptions":"Advanced Options","apiToken":"Token","cancelButton":"Cancel changes","cancelledChanges":"Cancelled changes successfully","completedOn":"Completed on","conceptOrMapping":"Concept/Mapping","conceptsAdded":"concepts added","conceptsRetired":"concepts retired","conceptsUpdated":"concepts updated","conceptsUpToDate":"concepts up to date","dateAndTime":"Date and Time","disableValidationText":"Disable validation (should be used with care for well curated collections or sources)","duration":"Duration","errorDeletingSubscription":"Error occured while deleting the subscription","errorSavingSubscription":"Error occured while saving the subscription","errorsFound":"errors found","errorsIgnored":"errors ignored","fileAdded":"File Added","fileFormatError":"Only .zip files are allowed","import":"Import","importConcepts":"Import Concepts","importFailed":"Import failed","importFromFile":"Import from file","importFromFileDragInfo":"Drag and drop file here or click to upload","importFromFileHeading":"Import from file (Offline)","importFromFileInfo":"You can import data without setting up a subscription by using this option.","importFromSubscription":"Import from Subscription","importInstructions":"Avoid importing during data entry hours, because the operation may significantly slow down the system. You can either use the subscription or a zip file to import concepts.","importItemsFetchError":"Error occured while fetching the import items","importSuccess":"Import started successfully","manageConcepts":"Manage Concepts","message":"Message","moduleTitle":"OCL Subscription Module","noFileSelected":"No file selected","noSubscriptionError":"No saved subscription","openConceptLab":"Open Concept Lab","previousImports":"Previous Imports","previousImportsFetchError":"Error occured while fetching the imports","result":"Result:","setupSubscription":"Setup Subscription","snapshotDisabledError":"You cannot subscribe to a SNAPSHOT if you\'ve provided the collection version","startedOn":"Started on","status":"Status","subscribeButton":"Save changes","subscribeToSnapshotText":"Subscribe to SNAPSHOT versions (not recommended)","subscription":"Subscription","subscriptionDeleted":"Successfully unsubscribed","subscriptionError":"Error occured while fetching the subscription","subscriptionUrl":"Subscription URL","unsubscribe":"Unsubscribe","unsubscribeButton":"Unsubscribe","unsubscribeInfo":"If you unsubscribe, no concepts will be deleted nor changed. All information about subscription will be deleted from your system.","uploading":"Uploading..."}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_openconceptlab_app=globalThis.webpackChunk_openmrs_esm_openconceptlab_app||[]).push([["903"],{8618(e){e.exports=JSON.parse('{"advancedOptions":"Advanced Options","apiToken":"Token","cancelButton":"Cancel changes","cancelledChanges":"Cancelled changes successfully","completedOn":"Completed on","conceptOrMapping":"Concept/Mapping","conceptsAdded":"concepts added","conceptsRetired":"concepts retired","conceptsUpdated":"concepts updated","conceptsUpToDate":"concepts up to date","dateAndTime":"Date and Time","disableValidationText":"Disable validation (should be used with care for well curated collections or sources)","duration":"Duration","errorDeletingSubscription":"Error occured while deleting the subscription","errorSavingSubscription":"Error occured while saving the subscription","errorsFound":"errors found","errorsIgnored":"errors ignored","fileAdded":"File Added","fileFormatError":"Only .zip files are allowed","import":"Import","importConcepts":"Import Concepts","importFailed":"Import failed","importFromFile":"Import from file","importFromFileDragInfo":"Drag and drop file here or click to upload","importFromFileHeading":"Import from file (Offline)","importFromFileInfo":"You can import data without setting up a subscription by using this option.","importFromSubscription":"Import from Subscription","importInstructions":"Avoid importing during data entry hours, because the operation may significantly slow down the system. You can either use the subscription or a zip file to import concepts.","importItemsFetchError":"Error occured while fetching the import items","importSuccess":"Import started successfully","manageConcepts":"Manage Concepts","message":"Message","moduleTitle":"OCL Subscription Module","noFileSelected":"No file selected","noSubscriptionError":"No saved subscription","openConceptLab":"Open Concept Lab","previousImports":"Previous Imports","previousImportsFetchError":"Error occured while fetching the imports","result":"Result:","setupSubscription":"Setup Subscription","snapshotDisabledError":"You cannot subscribe to a SNAPSHOT if you\'ve provided the collection version","startedOn":"Started on","status":"Status","subscribeButton":"Save changes","subscribeToSnapshotText":"Subscribe to SNAPSHOT versions (not recommended)","subscription":"Subscription","subscriptionDeleted":"Successfully unsubscribed","subscriptionError":"Error occured while fetching the subscription","subscriptionUrl":"Subscription URL","unexpectedError":"An unexpected error occurred","unsubscribe":"Unsubscribe","unsubscribeButton":"Unsubscribe","unsubscribeInfo":"If you unsubscribe, no concepts will be deleted nor changed. All information about subscription will be deleted from your system.","uploading":"Uploading..."}')}}]);
package/dist/903.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"903.js","sources":["webpack://@openmrs/esm-openconceptlab-app/json|/home/runner/work/openmrs-esm-admin-tools/openmrs-esm-admin-tools/packages/esm-admin-openconceptlab-app/translations/sw_KE.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,+gF"}
1
+ {"version":3,"file":"903.js","sources":["webpack://@openmrs/esm-openconceptlab-app/json|/home/runner/work/openmrs-esm-admin-tools/openmrs-esm-admin-tools/packages/esm-admin-openconceptlab-app/translations/sw_KE.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,gkF"}
package/dist/9072.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_openconceptlab_app=globalThis.webpackChunk_openmrs_esm_openconceptlab_app||[]).push([["9072"],{723(e){e.exports=JSON.parse('{"advancedOptions":"Advanced Options","apiToken":"Token","cancelButton":"Cancel changes","cancelledChanges":"Cancelled changes successfully","completedOn":"Completed on","conceptOrMapping":"Concept/Mapping","conceptsAdded":"concepts added","conceptsRetired":"concepts retired","conceptsUpdated":"concepts updated","conceptsUpToDate":"concepts up to date","dateAndTime":"Date and Time","disableValidationText":"Disable validation (should be used with care for well curated collections or sources)","duration":"Duration","errorDeletingSubscription":"Error occured while deleting the subscription","errorSavingSubscription":"Error occured while saving the subscription","errorsFound":"errors found","errorsIgnored":"errors ignored","fileAdded":"File Added","fileFormatError":"Only .zip files are allowed","import":"Import","importConcepts":"Import Concepts","importFailed":"Import failed","importFromFile":"Import from file","importFromFileDragInfo":"Drag and drop file here or click to upload","importFromFileHeading":"Import from file (Offline)","importFromFileInfo":"You can import data without setting up a subscription by using this option.","importFromSubscription":"Import from Subscription","importInstructions":"Avoid importing during data entry hours, because the operation may significantly slow down the system. You can either use the subscription or a zip file to import concepts.","importItemsFetchError":"Error occured while fetching the import items","importSuccess":"Import started successfully","manageConcepts":"Manage Concepts","message":"Message","moduleTitle":"OCL Subscription Module","noFileSelected":"No file selected","noSubscriptionError":"No saved subscription","openConceptLab":"Open Concept Lab","previousImports":"Previous Imports","previousImportsFetchError":"Error occured while fetching the imports","result":"Result:","setupSubscription":"Setup Subscription","snapshotDisabledError":"You cannot subscribe to a SNAPSHOT if you\'ve provided the collection version","startedOn":"Started on","status":"Status","subscribeButton":"Save changes","subscribeToSnapshotText":"Subscribe to SNAPSHOT versions (not recommended)","subscription":"Subscription","subscriptionDeleted":"Successfully unsubscribed","subscriptionError":"Error occured while fetching the subscription","subscriptionUrl":"Subscription URL","unsubscribe":"Unsubscribe","unsubscribeButton":"Unsubscribe","unsubscribeInfo":"If you unsubscribe, no concepts will be deleted nor changed. All information about subscription will be deleted from your system.","uploading":"Uploading..."}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_openconceptlab_app=globalThis.webpackChunk_openmrs_esm_openconceptlab_app||[]).push([["9072"],{723(e){e.exports=JSON.parse('{"advancedOptions":"Advanced Options","apiToken":"Token","cancelButton":"Cancel changes","cancelledChanges":"Cancelled changes successfully","completedOn":"Completed on","conceptOrMapping":"Concept/Mapping","conceptsAdded":"concepts added","conceptsRetired":"concepts retired","conceptsUpdated":"concepts updated","conceptsUpToDate":"concepts up to date","dateAndTime":"Date and Time","disableValidationText":"Disable validation (should be used with care for well curated collections or sources)","duration":"Duration","errorDeletingSubscription":"Error occured while deleting the subscription","errorSavingSubscription":"Error occured while saving the subscription","errorsFound":"errors found","errorsIgnored":"errors ignored","fileAdded":"File Added","fileFormatError":"Only .zip files are allowed","import":"Import","importConcepts":"Import Concepts","importFailed":"Import failed","importFromFile":"Import from file","importFromFileDragInfo":"Drag and drop file here or click to upload","importFromFileHeading":"Import from file (Offline)","importFromFileInfo":"You can import data without setting up a subscription by using this option.","importFromSubscription":"Import from Subscription","importInstructions":"Avoid importing during data entry hours, because the operation may significantly slow down the system. You can either use the subscription or a zip file to import concepts.","importItemsFetchError":"Error occured while fetching the import items","importSuccess":"Import started successfully","manageConcepts":"Manage Concepts","message":"Message","moduleTitle":"OCL Subscription Module","noFileSelected":"No file selected","noSubscriptionError":"No saved subscription","openConceptLab":"Open Concept Lab","previousImports":"Previous Imports","previousImportsFetchError":"Error occured while fetching the imports","result":"Result:","setupSubscription":"Setup Subscription","snapshotDisabledError":"You cannot subscribe to a SNAPSHOT if you\'ve provided the collection version","startedOn":"Started on","status":"Status","subscribeButton":"Save changes","subscribeToSnapshotText":"Subscribe to SNAPSHOT versions (not recommended)","subscription":"Subscription","subscriptionDeleted":"Successfully unsubscribed","subscriptionError":"Error occured while fetching the subscription","subscriptionUrl":"Subscription URL","unexpectedError":"An unexpected error occurred","unsubscribe":"Unsubscribe","unsubscribeButton":"Unsubscribe","unsubscribeInfo":"If you unsubscribe, no concepts will be deleted nor changed. All information about subscription will be deleted from your system.","uploading":"Uploading..."}')}}]);
package/dist/9072.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"9072.js","sources":["webpack://@openmrs/esm-openconceptlab-app/json|/home/runner/work/openmrs-esm-admin-tools/openmrs-esm-admin-tools/packages/esm-admin-openconceptlab-app/translations/uk.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,+gF"}
1
+ {"version":3,"file":"9072.js","sources":["webpack://@openmrs/esm-openconceptlab-app/json|/home/runner/work/openmrs-esm-admin-tools/openmrs-esm-admin-tools/packages/esm-admin-openconceptlab-app/translations/uk.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,gkF"}
package/dist/9806.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_openconceptlab_app=globalThis.webpackChunk_openmrs_esm_openconceptlab_app||[]).push([["9806"],{1197(e){e.exports=JSON.parse('{"advancedOptions":"Advanced Options","apiToken":"Token","cancelButton":"Cancel changes","cancelledChanges":"Cancelled changes successfully","completedOn":"Completed on","conceptOrMapping":"Concept/Mapping","conceptsAdded":"concepts added","conceptsRetired":"concepts retired","conceptsUpdated":"concepts updated","conceptsUpToDate":"concepts up to date","dateAndTime":"Date and Time","disableValidationText":"Disable validation (should be used with care for well curated collections or sources)","duration":"Duration","errorDeletingSubscription":"Error occured while deleting the subscription","errorSavingSubscription":"Error occured while saving the subscription","errorsFound":"errors found","errorsIgnored":"errors ignored","fileAdded":"File Added","fileFormatError":"Only .zip files are allowed","import":"Import","importConcepts":"Import Concepts","importFailed":"Import failed","importFromFile":"Import from file","importFromFileDragInfo":"Drag and drop file here or click to upload","importFromFileHeading":"Import from file (Offline)","importFromFileInfo":"You can import data without setting up a subscription by using this option.","importFromSubscription":"Import from Subscription","importInstructions":"Avoid importing during data entry hours, because the operation may significantly slow down the system. You can either use the subscription or a zip file to import concepts.","importItemsFetchError":"Error occured while fetching the import items","importSuccess":"Import started successfully","manageConcepts":"Manage Concepts","message":"Message","moduleTitle":"OCL Subscription Module","noFileSelected":"No file selected","noSubscriptionError":"No saved subscription","openConceptLab":"Open Concept Lab","previousImports":"Previous Imports","previousImportsFetchError":"Error occured while fetching the imports","result":"Result:","setupSubscription":"Setup Subscription","snapshotDisabledError":"You cannot subscribe to a SNAPSHOT if you\'ve provided the collection version","startedOn":"Started on","status":"Status","subscribeButton":"Save changes","subscribeToSnapshotText":"Subscribe to SNAPSHOT versions (not recommended)","subscription":"Subscription","subscriptionDeleted":"Successfully unsubscribed","subscriptionError":"Error occured while fetching the subscription","subscriptionUrl":"Subscription URL","unsubscribe":"Unsubscribe","unsubscribeButton":"Unsubscribe","unsubscribeInfo":"If you unsubscribe, no concepts will be deleted nor changed. All information about subscription will be deleted from your system.","uploading":"Uploading..."}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_openconceptlab_app=globalThis.webpackChunk_openmrs_esm_openconceptlab_app||[]).push([["9806"],{1197(e){e.exports=JSON.parse('{"advancedOptions":"Advanced Options","apiToken":"Token","cancelButton":"Cancel changes","cancelledChanges":"Cancelled changes successfully","completedOn":"Completed on","conceptOrMapping":"Concept/Mapping","conceptsAdded":"concepts added","conceptsRetired":"concepts retired","conceptsUpdated":"concepts updated","conceptsUpToDate":"concepts up to date","dateAndTime":"Date and Time","disableValidationText":"Disable validation (should be used with care for well curated collections or sources)","duration":"Duration","errorDeletingSubscription":"Error occured while deleting the subscription","errorSavingSubscription":"Error occured while saving the subscription","errorsFound":"errors found","errorsIgnored":"errors ignored","fileAdded":"File Added","fileFormatError":"Only .zip files are allowed","import":"Import","importConcepts":"Import Concepts","importFailed":"Import failed","importFromFile":"Import from file","importFromFileDragInfo":"Drag and drop file here or click to upload","importFromFileHeading":"Import from file (Offline)","importFromFileInfo":"You can import data without setting up a subscription by using this option.","importFromSubscription":"Import from Subscription","importInstructions":"Avoid importing during data entry hours, because the operation may significantly slow down the system. You can either use the subscription or a zip file to import concepts.","importItemsFetchError":"Error occured while fetching the import items","importSuccess":"Import started successfully","manageConcepts":"Manage Concepts","message":"Message","moduleTitle":"OCL Subscription Module","noFileSelected":"No file selected","noSubscriptionError":"No saved subscription","openConceptLab":"Open Concept Lab","previousImports":"Previous Imports","previousImportsFetchError":"Error occured while fetching the imports","result":"Result:","setupSubscription":"Setup Subscription","snapshotDisabledError":"You cannot subscribe to a SNAPSHOT if you\'ve provided the collection version","startedOn":"Started on","status":"Status","subscribeButton":"Save changes","subscribeToSnapshotText":"Subscribe to SNAPSHOT versions (not recommended)","subscription":"Subscription","subscriptionDeleted":"Successfully unsubscribed","subscriptionError":"Error occured while fetching the subscription","subscriptionUrl":"Subscription URL","unexpectedError":"An unexpected error occurred","unsubscribe":"Unsubscribe","unsubscribeButton":"Unsubscribe","unsubscribeInfo":"If you unsubscribe, no concepts will be deleted nor changed. All information about subscription will be deleted from your system.","uploading":"Uploading..."}')}}]);
package/dist/9806.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"9806.js","sources":["webpack://@openmrs/esm-openconceptlab-app/json|/home/runner/work/openmrs-esm-admin-tools/openmrs-esm-admin-tools/packages/esm-admin-openconceptlab-app/translations/am.json"],"names":["JSON"],"mappings":"yJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,+gF"}
1
+ {"version":3,"file":"9806.js","sources":["webpack://@openmrs/esm-openconceptlab-app/json|/home/runner/work/openmrs-esm-admin-tools/openmrs-esm-admin-tools/packages/esm-admin-openconceptlab-app/translations/am.json"],"names":["JSON"],"mappings":"yJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,gkF"}
package/dist/997.js CHANGED
@@ -1 +1 @@
1
- "use strict";(globalThis.webpackChunk_openmrs_esm_openconceptlab_app=globalThis.webpackChunk_openmrs_esm_openconceptlab_app||[]).push([["997"],{9913(e){e.exports=JSON.parse('{"advancedOptions":"Advanced Options","apiToken":"Token","cancelButton":"Cancel changes","cancelledChanges":"Cancelled changes successfully","completedOn":"Completed on","conceptOrMapping":"Concept/Mapping","conceptsAdded":"concepts added","conceptsRetired":"concepts retired","conceptsUpdated":"concepts updated","conceptsUpToDate":"concepts up to date","dateAndTime":"Date and Time","disableValidationText":"Disable validation (should be used with care for well curated collections or sources)","duration":"Duration","errorDeletingSubscription":"Error occured while deleting the subscription","errorSavingSubscription":"Error occured while saving the subscription","errorsFound":"errors found","errorsIgnored":"errors ignored","fileAdded":"File Added","fileFormatError":"Only .zip files are allowed","import":"Import","importConcepts":"Import Concepts","importFailed":"Import failed","importFromFile":"Import from file","importFromFileDragInfo":"Drag and drop file here or click to upload","importFromFileHeading":"Import from file (Offline)","importFromFileInfo":"You can import data without setting up a subscription by using this option.","importFromSubscription":"Import from Subscription","importInstructions":"Avoid importing during data entry hours, because the operation may significantly slow down the system. You can either use the subscription or a zip file to import concepts.","importItemsFetchError":"Error occured while fetching the import items","importSuccess":"Import started successfully","manageConcepts":"Manage Concepts","message":"Message","moduleTitle":"OCL Subscription Module","noFileSelected":"No file selected","noSubscriptionError":"No saved subscription","openConceptLab":"Open Concept Lab","previousImports":"Previous Imports","previousImportsFetchError":"Error occured while fetching the imports","result":"Result:","setupSubscription":"Setup Subscription","snapshotDisabledError":"You cannot subscribe to a SNAPSHOT if you\'ve provided the collection version","startedOn":"Started on","status":"Status","subscribeButton":"Save changes","subscribeToSnapshotText":"Subscribe to SNAPSHOT versions (not recommended)","subscription":"Subscription","subscriptionDeleted":"Successfully unsubscribed","subscriptionError":"Error occured while fetching the subscription","subscriptionUrl":"Subscription URL","unsubscribe":"Unsubscribe","unsubscribeButton":"Unsubscribe","unsubscribeInfo":"If you unsubscribe, no concepts will be deleted nor changed. All information about subscription will be deleted from your system.","uploading":"Uploading..."}')}}]);
1
+ "use strict";(globalThis.webpackChunk_openmrs_esm_openconceptlab_app=globalThis.webpackChunk_openmrs_esm_openconceptlab_app||[]).push([["997"],{9913(e){e.exports=JSON.parse('{"advancedOptions":"Advanced Options","apiToken":"Token","cancelButton":"Cancel changes","cancelledChanges":"Cancelled changes successfully","completedOn":"Completed on","conceptOrMapping":"Concept/Mapping","conceptsAdded":"concepts added","conceptsRetired":"concepts retired","conceptsUpdated":"concepts updated","conceptsUpToDate":"concepts up to date","dateAndTime":"Date and Time","disableValidationText":"Disable validation (should be used with care for well curated collections or sources)","duration":"Duration","errorDeletingSubscription":"Error occured while deleting the subscription","errorSavingSubscription":"Error occured while saving the subscription","errorsFound":"errors found","errorsIgnored":"errors ignored","fileAdded":"File Added","fileFormatError":"Only .zip files are allowed","import":"Import","importConcepts":"Import Concepts","importFailed":"Import failed","importFromFile":"Import from file","importFromFileDragInfo":"Drag and drop file here or click to upload","importFromFileHeading":"Import from file (Offline)","importFromFileInfo":"You can import data without setting up a subscription by using this option.","importFromSubscription":"Import from Subscription","importInstructions":"Avoid importing during data entry hours, because the operation may significantly slow down the system. You can either use the subscription or a zip file to import concepts.","importItemsFetchError":"Error occured while fetching the import items","importSuccess":"Import started successfully","manageConcepts":"Manage Concepts","message":"Message","moduleTitle":"OCL Subscription Module","noFileSelected":"No file selected","noSubscriptionError":"No saved subscription","openConceptLab":"Open Concept Lab","previousImports":"Previous Imports","previousImportsFetchError":"Error occured while fetching the imports","result":"Result:","setupSubscription":"Setup Subscription","snapshotDisabledError":"You cannot subscribe to a SNAPSHOT if you\'ve provided the collection version","startedOn":"Started on","status":"Status","subscribeButton":"Save changes","subscribeToSnapshotText":"Subscribe to SNAPSHOT versions (not recommended)","subscription":"Subscription","subscriptionDeleted":"Successfully unsubscribed","subscriptionError":"Error occured while fetching the subscription","subscriptionUrl":"Subscription URL","unexpectedError":"An unexpected error occurred","unsubscribe":"Unsubscribe","unsubscribeButton":"Unsubscribe","unsubscribeInfo":"If you unsubscribe, no concepts will be deleted nor changed. All information about subscription will be deleted from your system.","uploading":"Uploading..."}')}}]);
package/dist/997.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"997.js","sources":["webpack://@openmrs/esm-openconceptlab-app/json|/home/runner/work/openmrs-esm-admin-tools/openmrs-esm-admin-tools/packages/esm-admin-openconceptlab-app/translations/sw.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,+gF"}
1
+ {"version":3,"file":"997.js","sources":["webpack://@openmrs/esm-openconceptlab-app/json|/home/runner/work/openmrs-esm-admin-tools/openmrs-esm-admin-tools/packages/esm-admin-openconceptlab-app/translations/sw.json"],"names":["JSON"],"mappings":"wJAAA,EAAO,OAAO,CAAGA,KAAK,KAAK,CAAC,gkF"}
@@ -1,3 +1,3 @@
1
- var _openmrs_esm_openconceptlab_app;!function(){var e="u">typeof globalThis?globalThis:self;if(void 0===e._FEDERATION_RUNTIME_CORE||void 0===e._OPENMRS_FEDERATION_SDK||void 0===e._OPENMRS_FEDERATION_ERROR_CODES)throw Error("@openmrs/esm-openconceptlab-app cannot start: the OpenMRS app shell serving this page does not provide the Module Federation runtime. This app was built with newer OpenMRS tooling than the app shell, so either upgrade @openmrs/esm-app-shell, or rebuild this app with tooling matching the app shell.");var t=e._FEDERATION_RUNTIME_CORE_FROM;t&&t.version&&"2.8"!==String(t.version).split(".").slice(0,2).join(".")&&console.warn("@openmrs/esm-openconceptlab-app was built against Module Federation 2.8.x but the app shell provides "+t.version+". Shared dependencies may not de-duplicate correctly.")}(),(()=>{var e,t,r,n,o,i={1193(e,t,r){"use strict";var n,o,i,a,s,l,u,p,c,d,f,h,m=r(523),g=r.n(m);let b=[].filter(({plugin:e})=>e).map(({plugin:e,params:t})=>e(t)),y={};if((r.initializeSharingData||r.initializeExposesData)&&r.federation){let e=(e,t,r)=>{e&&e[t]&&(e[t]=r)},t=(e,t,r)=>{let n=r();Array.isArray(n)?(null!=e[t]||(e[t]=[]),e[t].push(...n)):"object"==typeof n&&null!==n&&(null!=e[t]||(e[t]={}),Object.assign(e[t],n))},m=(e,t,r)=>{null!=e[t]||(e[t]=r())},S=null!=(n=null==(l=r.remotesLoadingData)?void 0:l.chunkMapping)?n:{},E=null!=(o=null==(u=r.remotesLoadingData)?void 0:u.moduleIdToRemoteDataMapping)?o:{},M=null!=(i=null==(p=r.initializeSharingData)?void 0:p.scopeToSharingDataMapping)?i:{},O=null!=(a=null==(c=r.consumesLoadingData)?void 0:c.chunkMapping)?a:{},_=null!=(s=null==(d=r.consumesLoadingData)?void 0:d.moduleIdToConsumeDataMapping)?s:{},v={},R=[],T={},w=null==(f=r.initializeExposesData)?void 0:f.shareScope;for(let e in g())r.federation[e]=g()[e];m(r.federation,"consumesLoadingModuleToHandlerMapping",()=>{let e={};for(let[t,r]of Object.entries(_))e[t]={getter:r.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:r.requiredVersion,strictVersion:r.strictVersion,singleton:r.singleton,eager:r.eager},scope:[r.shareScope]},shareKey:r.shareKey};return e}),m(r.federation,"initOptions",()=>({})),m(r.federation.initOptions,"name",()=>"@openmrs/esm-openconceptlab-app"),m(r.federation.initOptions,"shareStrategy",()=>"version-first"),m(r.federation.initOptions,"shared",()=>{let e={};for(let[t,r]of Object.entries(M))for(let n of r)if("object"==typeof n&&null!==n){let{name:r,version:o,factory:i,eager:a,singleton:s,requiredVersion:l,strictVersion:u}=n,p={},c=function(e){return void 0!==e};c(s)&&(p.singleton=s),c(l)&&(p.requiredVersion=l),c(a)&&(p.eager=a),c(u)&&(p.strictVersion=u);let d={version:o,scope:[t],shareConfig:p,get:i};e[r]?e[r].push(d):e[r]=[d]}return e}),t(r.federation.initOptions,"remotes",()=>Object.values(y).flat().filter(e=>"script"===e.externalType)),t(r.federation.initOptions,"plugins",()=>b),m(r.federation,"bundlerRuntimeOptions",()=>({})),m(r.federation.bundlerRuntimeOptions,"remotes",()=>({})),m(r.federation.bundlerRuntimeOptions.remotes,"chunkMapping",()=>S),m(r.federation.bundlerRuntimeOptions.remotes,"remoteInfos",()=>y),m(r.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",()=>{let e={};for(let[t,r]of Object.entries(E))e[t]=[r.shareScope,r.name,r.externalModuleId,r.remoteName];return e}),m(r.federation.bundlerRuntimeOptions.remotes,"webpackRequire",()=>r),t(r.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",()=>{let e={};for(let[t,r]of Object.entries(E)){let n=y[r.remoteName];n&&(e[t]=n)}return e}),e(r,"S",r.federation.bundlerRuntime.S),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),e(r.f,"remotes",(e,t)=>r.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:S,idToExternalAndNameMapping:r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:r})),e(r.f,"consumes",(e,t)=>r.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:O,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping,installedModules:v,webpackRequire:r})),e(r,"I",(e,t)=>r.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:R,initTokens:T,webpackRequire:r})),e(r,"initContainer",(e,t,n)=>r.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:n,shareScopeKey:w,webpackRequire:r})),e(r,"getContainer",(e,t)=>{var n=r.initializeExposesData.moduleMap;return r.R=t,t=Object.prototype.hasOwnProperty.call(n,e)?n[e]():Promise.resolve().then(()=>{throw Error('Module "'+e+'" does not exist in container.')}),r.R=void 0,t}),r.federation.instance=r.federation.runtime.init(r.federation.initOptions),(null==(h=r.consumesLoadingData)?void 0:h.initialConsumes)&&r.federation.bundlerRuntime.installInitialConsumes({webpackRequire:r,installedModules:v,initialConsumes:r.consumesLoadingData.initialConsumes,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping})}},1840(e,t,r){"use strict";r.d(t,{get:()=>r.getContainer,init:()=>r.initContainer})},3054(e){"use strict";e.exports=globalThis._FEDERATION_RUNTIME_CORE},9170(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_ERROR_CODES},1853(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_SDK},1772(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(a(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,l=i(t),u=0,p=l.length;u<p;u++)a=l[u],s.call(e,a)||void 0===a||n(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(r=o(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},9837(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),r(1772);let n=r(7789),o=r(3054),i={...o.helpers.global,getGlobalFederationInstance:n.getGlobalFederationInstance},a=o.helpers.share,s=o.helpers.utils;t.default={global:i,share:a,utils:s},t.global=i,t.share=a,t.utils=s},3738(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),r(1772);let n=r(7789),o=r(3054),i=r(9170);function a(e){let t=new((0,o.getGlobalFederationConstructor)()||o.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,o.setGlobalFederationInstance)(t),t}let s=null;(0,o.setGlobalFederationConstructor)(o.ModuleFederation),Object.defineProperty(t,"Module",{enumerable:!0,get:function(){return o.Module}}),t.ModuleFederation=o.ModuleFederation,t.createInstance=a,t.getInstance=function(e){return e?o.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(e)||null:s},Object.defineProperty(t,"getRemoteEntry",{enumerable:!0,get:function(){return o.getRemoteEntry}}),Object.defineProperty(t,"getRemoteInfo",{enumerable:!0,get:function(){return o.getRemoteInfo}}),t.init=function(e){let t=n.getGlobalFederationInstance(e.name,e.version),r={...e,id:e.id||""};return t?(t.initOptions(r),s||(s=t),t):s=a(r)},t.loadRemote=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadRemote.apply(s,e)},Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return o.loadScript}}),Object.defineProperty(t,"loadScriptNode",{enumerable:!0,get:function(){return o.loadScriptNode}}),t.loadShare=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadShare.apply(s,e)},t.loadShareSync=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadShareSync.apply(s,e)},t.preloadRemote=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.preloadRemote.apply(s,e)},Object.defineProperty(t,"registerGlobalPlugins",{enumerable:!0,get:function(){return o.registerGlobalPlugins}}),t.registerPlugins=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerPlugins.apply(s,e)},t.registerRemotes=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerRemotes.apply(s,e)},t.registerShared=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerShared.apply(s,e)}},7789(e,t,r){r(1772);let n=r(3054);t.getGlobalFederationInstance=function(e,t){let r="@openmrs/esm-openconceptlab-app:4.4.1-pre.949";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}},223(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(a(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,l=i(t),u=0,p=l.length;u<p;u++)a=l[u],s.call(e,a)||void 0===a||n(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(r=o(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},3545(e,t){t.attachShareScopeMap=function(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}},6917(e,t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.FEDERATION_SUPPORTED_TYPES=["script"]},1864(e,t,r){let n=r(3545),o=r(1092),i=r(2677),a=r(85),s=r(6781);t.consumes=function(e){o.updateConsumeOptions(e);let{chunkId:t,promises:r,installedModules:l,webpackRequire:u,chunkMapping:p,moduleToHandlerMapping:c}=e;n.attachShareScopeMap(u),u.o(p,t)&&p[t].forEach(e=>{if(u.o(l,e))return r.push(l[e]);let t=t=>{l[e]=0,u.m[e]=r=>{delete u.c[e];let n=t(),{shareInfo:o}=c[e];if(o?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=o.shareConfig.layer)}catch(e){}r.exports=n}},n=t=>{delete l[e],u.m[e]=r=>{throw delete u.c[e],t}};try{let o=u.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:p,getter:d,shareInfo:f,treeShakingGetter:h}=c[e],m=i.getUsedExports(u,p),g={...f};Array.isArray(g.scope)&&Array.isArray(g.scope[0])&&(g.scope=g.scope[0]),m&&(g.treeShaking={usedExports:m,useIn:[o.options.name]});let b=o.loadShare(p,{customShareInfo:g}).then(e=>{if(!1===e){if("function"!=typeof d)throw Error(s.getShortErrorMsg(a.RUNTIME_012,{[a.RUNTIME_012]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},{shareKey:p}));return h?.()||d()}return e});b.then?r.push(l[e]=b.then(t).catch(n)):t(b)}catch(e){n(e)}})}},85(e,t){t.RUNTIME_012="RUNTIME-012"},6781(e,t){t.getShortErrorMsg=(e,t,r,n)=>{let o=[`${[t[e]]} #${e}`];return r&&o.push(`args: ${JSON.stringify(r)}`),o.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`),n&&o.push(`Original Error Message:
1
+ var _openmrs_esm_openconceptlab_app;!function(){var e="u">typeof globalThis?globalThis:self;if(void 0===e._FEDERATION_RUNTIME_CORE||void 0===e._OPENMRS_FEDERATION_SDK||void 0===e._OPENMRS_FEDERATION_ERROR_CODES)throw Error("@openmrs/esm-openconceptlab-app cannot start: the OpenMRS app shell serving this page does not provide the Module Federation runtime. This app was built with newer OpenMRS tooling than the app shell, so either upgrade @openmrs/esm-app-shell, or rebuild this app with tooling matching the app shell.");var t=e._FEDERATION_RUNTIME_CORE_FROM;t&&t.version&&"2.8"!==String(t.version).split(".").slice(0,2).join(".")&&console.warn("@openmrs/esm-openconceptlab-app was built against Module Federation 2.8.x but the app shell provides "+t.version+". Shared dependencies may not de-duplicate correctly.")}(),(()=>{var e,t,r,n,o,i={1193(e,t,r){"use strict";var n,o,i,a,s,l,u,p,c,d,f,h,m=r(523),g=r.n(m);let b=[].filter(({plugin:e})=>e).map(({plugin:e,params:t})=>e(t)),y={};if((r.initializeSharingData||r.initializeExposesData)&&r.federation){let e=(e,t,r)=>{e&&e[t]&&(e[t]=r)},t=(e,t,r)=>{let n=r();Array.isArray(n)?(null!=e[t]||(e[t]=[]),e[t].push(...n)):"object"==typeof n&&null!==n&&(null!=e[t]||(e[t]={}),Object.assign(e[t],n))},m=(e,t,r)=>{null!=e[t]||(e[t]=r())},S=null!=(n=null==(l=r.remotesLoadingData)?void 0:l.chunkMapping)?n:{},E=null!=(o=null==(u=r.remotesLoadingData)?void 0:u.moduleIdToRemoteDataMapping)?o:{},M=null!=(i=null==(p=r.initializeSharingData)?void 0:p.scopeToSharingDataMapping)?i:{},O=null!=(a=null==(c=r.consumesLoadingData)?void 0:c.chunkMapping)?a:{},_=null!=(s=null==(d=r.consumesLoadingData)?void 0:d.moduleIdToConsumeDataMapping)?s:{},v={},R=[],T={},w=null==(f=r.initializeExposesData)?void 0:f.shareScope;for(let e in g())r.federation[e]=g()[e];m(r.federation,"consumesLoadingModuleToHandlerMapping",()=>{let e={};for(let[t,r]of Object.entries(_))e[t]={getter:r.fallback,shareInfo:{shareConfig:{fixedDependencies:!1,requiredVersion:r.requiredVersion,strictVersion:r.strictVersion,singleton:r.singleton,eager:r.eager},scope:[r.shareScope]},shareKey:r.shareKey};return e}),m(r.federation,"initOptions",()=>({})),m(r.federation.initOptions,"name",()=>"@openmrs/esm-openconceptlab-app"),m(r.federation.initOptions,"shareStrategy",()=>"version-first"),m(r.federation.initOptions,"shared",()=>{let e={};for(let[t,r]of Object.entries(M))for(let n of r)if("object"==typeof n&&null!==n){let{name:r,version:o,factory:i,eager:a,singleton:s,requiredVersion:l,strictVersion:u}=n,p={},c=function(e){return void 0!==e};c(s)&&(p.singleton=s),c(l)&&(p.requiredVersion=l),c(a)&&(p.eager=a),c(u)&&(p.strictVersion=u);let d={version:o,scope:[t],shareConfig:p,get:i};e[r]?e[r].push(d):e[r]=[d]}return e}),t(r.federation.initOptions,"remotes",()=>Object.values(y).flat().filter(e=>"script"===e.externalType)),t(r.federation.initOptions,"plugins",()=>b),m(r.federation,"bundlerRuntimeOptions",()=>({})),m(r.federation.bundlerRuntimeOptions,"remotes",()=>({})),m(r.federation.bundlerRuntimeOptions.remotes,"chunkMapping",()=>S),m(r.federation.bundlerRuntimeOptions.remotes,"remoteInfos",()=>y),m(r.federation.bundlerRuntimeOptions.remotes,"idToExternalAndNameMapping",()=>{let e={};for(let[t,r]of Object.entries(E))e[t]=[r.shareScope,r.name,r.externalModuleId,r.remoteName];return e}),m(r.federation.bundlerRuntimeOptions.remotes,"webpackRequire",()=>r),t(r.federation.bundlerRuntimeOptions.remotes,"idToRemoteMap",()=>{let e={};for(let[t,r]of Object.entries(E)){let n=y[r.remoteName];n&&(e[t]=n)}return e}),e(r,"S",r.federation.bundlerRuntime.S),r.federation.attachShareScopeMap&&r.federation.attachShareScopeMap(r),e(r.f,"remotes",(e,t)=>r.federation.bundlerRuntime.remotes({chunkId:e,promises:t,chunkMapping:S,idToExternalAndNameMapping:r.federation.bundlerRuntimeOptions.remotes.idToExternalAndNameMapping,idToRemoteMap:r.federation.bundlerRuntimeOptions.remotes.idToRemoteMap,webpackRequire:r})),e(r.f,"consumes",(e,t)=>r.federation.bundlerRuntime.consumes({chunkId:e,promises:t,chunkMapping:O,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping,installedModules:v,webpackRequire:r})),e(r,"I",(e,t)=>r.federation.bundlerRuntime.I({shareScopeName:e,initScope:t,initPromises:R,initTokens:T,webpackRequire:r})),e(r,"initContainer",(e,t,n)=>r.federation.bundlerRuntime.initContainerEntry({shareScope:e,initScope:t,remoteEntryInitOptions:n,shareScopeKey:w,webpackRequire:r})),e(r,"getContainer",(e,t)=>{var n=r.initializeExposesData.moduleMap;return r.R=t,t=Object.prototype.hasOwnProperty.call(n,e)?n[e]():Promise.resolve().then(()=>{throw Error('Module "'+e+'" does not exist in container.')}),r.R=void 0,t}),r.federation.instance=r.federation.runtime.init(r.federation.initOptions),(null==(h=r.consumesLoadingData)?void 0:h.initialConsumes)&&r.federation.bundlerRuntime.installInitialConsumes({webpackRequire:r,installedModules:v,initialConsumes:r.consumesLoadingData.initialConsumes,moduleToHandlerMapping:r.federation.consumesLoadingModuleToHandlerMapping})}},1840(e,t,r){"use strict";r.d(t,{get:()=>r.getContainer,init:()=>r.initContainer})},3054(e){"use strict";e.exports=globalThis._FEDERATION_RUNTIME_CORE},9170(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_ERROR_CODES},1853(e){"use strict";e.exports=globalThis._OPENMRS_FEDERATION_SDK},1772(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(a(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,l=i(t),u=0,p=l.length;u<p;u++)a=l[u],s.call(e,a)||void 0===a||n(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(r=o(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},9837(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),r(1772);let n=r(7789),o=r(3054),i={...o.helpers.global,getGlobalFederationInstance:n.getGlobalFederationInstance},a=o.helpers.share,s=o.helpers.utils;t.default={global:i,share:a,utils:s},t.global=i,t.share=a,t.utils=s},3738(e,t,r){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),r(1772);let n=r(7789),o=r(3054),i=r(9170);function a(e){let t=new((0,o.getGlobalFederationConstructor)()||o.ModuleFederation)({id:`${e.name}@${e.version||Date.now()}`,...e});return(0,o.setGlobalFederationInstance)(t),t}let s=null;(0,o.setGlobalFederationConstructor)(o.ModuleFederation),Object.defineProperty(t,"Module",{enumerable:!0,get:function(){return o.Module}}),t.ModuleFederation=o.ModuleFederation,t.createInstance=a,t.getInstance=function(e){return e?o.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(e)||null:s},Object.defineProperty(t,"getRemoteEntry",{enumerable:!0,get:function(){return o.getRemoteEntry}}),Object.defineProperty(t,"getRemoteInfo",{enumerable:!0,get:function(){return o.getRemoteInfo}}),t.init=function(e){let t=n.getGlobalFederationInstance(e.name,e.version),r={...e,id:e.id||""};return t?(t.initOptions(r),s||(s=t),t):s=a(r)},t.loadRemote=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadRemote.apply(s,e)},Object.defineProperty(t,"loadScript",{enumerable:!0,get:function(){return o.loadScript}}),Object.defineProperty(t,"loadScriptNode",{enumerable:!0,get:function(){return o.loadScriptNode}}),t.loadShare=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadShare.apply(s,e)},t.loadShareSync=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.loadShareSync.apply(s,e)},t.preloadRemote=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.preloadRemote.apply(s,e)},Object.defineProperty(t,"registerGlobalPlugins",{enumerable:!0,get:function(){return o.registerGlobalPlugins}}),t.registerPlugins=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerPlugins.apply(s,e)},t.registerRemotes=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerRemotes.apply(s,e)},t.registerShared=function(...e){return(0,o.assert)(s,i.RUNTIME_009,i.runtimeDescMap),s.registerShared.apply(s,e)}},7789(e,t,r){r(1772);let n=r(3054);t.getGlobalFederationInstance=function(e,t){let r="@openmrs/esm-openconceptlab-app:4.4.1-pre.955";return n.CurrentGlobal.__FEDERATION__.__INSTANCES__.find(n=>!!r&&n.options.id===r||n.options.name===e&&!n.options.version&&!t||n.options.name===e&&!!t&&n.options.version===t)}},223(e,t){var r=Object.create,n=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,a=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty;t.__toESM=(e,t,l)=>(l=null!=e?r(a(e)):{},((e,t,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var a,l=i(t),u=0,p=l.length;u<p;u++)a=l[u],s.call(e,a)||void 0===a||n(e,a,{get:(e=>t[e]).bind(null,a),enumerable:!(r=o(t,a))||r.enumerable});return e})(!t&&e&&e.__esModule?l:n(l,"default",{value:e,enumerable:!0}),e))},3545(e,t){t.attachShareScopeMap=function(e){e.S&&!e.federation.hasAttachShareScopeMap&&e.federation.instance&&e.federation.instance.shareScopeMap&&(e.S=e.federation.instance.shareScopeMap,e.federation.hasAttachShareScopeMap=!0)}},6917(e,t){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),t.FEDERATION_SUPPORTED_TYPES=["script"]},1864(e,t,r){let n=r(3545),o=r(1092),i=r(2677),a=r(85),s=r(6781);t.consumes=function(e){o.updateConsumeOptions(e);let{chunkId:t,promises:r,installedModules:l,webpackRequire:u,chunkMapping:p,moduleToHandlerMapping:c}=e;n.attachShareScopeMap(u),u.o(p,t)&&p[t].forEach(e=>{if(u.o(l,e))return r.push(l[e]);let t=t=>{l[e]=0,u.m[e]=r=>{delete u.c[e];let n=t(),{shareInfo:o}=c[e];if(o?.shareConfig?.layer&&n&&"object"==typeof n)try{n.hasOwnProperty("layer")&&void 0!==n.layer||(n.layer=o.shareConfig.layer)}catch(e){}r.exports=n}},n=t=>{delete l[e],u.m[e]=r=>{throw delete u.c[e],t}};try{let o=u.federation.instance;if(!o)throw Error("Federation instance not found!");let{shareKey:p,getter:d,shareInfo:f,treeShakingGetter:h}=c[e],m=i.getUsedExports(u,p),g={...f};Array.isArray(g.scope)&&Array.isArray(g.scope[0])&&(g.scope=g.scope[0]),m&&(g.treeShaking={usedExports:m,useIn:[o.options.name]});let b=o.loadShare(p,{customShareInfo:g}).then(e=>{if(!1===e){if("function"!=typeof d)throw Error(s.getShortErrorMsg(a.RUNTIME_012,{[a.RUNTIME_012]:'The getter for the shared module is not a function. This may be caused by setting "shared.import: false" without the host providing the corresponding lib.'},{shareKey:p}));return h?.()||d()}return e});b.then?r.push(l[e]=b.then(t).catch(n)):t(b)}catch(e){n(e)}})}},85(e,t){t.RUNTIME_012="RUNTIME-012"},6781(e,t){t.getShortErrorMsg=(e,t,r,n)=>{let o=[`${[t[e]]} #${e}`];return r&&o.push(`args: ${JSON.stringify(r)}`),o.push(`View the docs to see how to solve: https://module-federation.io/guide/troubleshooting/${e.split("-")[0].toLowerCase()}#${e.toLowerCase()}`),n&&o.push(`Original Error Message:
2
2
  ${n}`),o.join("\n")}},1315(e,t){t.getSharedFallbackGetter=({shareKey:e,factory:t,version:r,webpackRequire:n,libraryType:o="global"})=>{let{runtime:i,instance:a,bundlerRuntime:s,sharedFallback:l}=n.federation;if(!l)return t;let u=l[e];if(!u)return t;let p=r?u.find(e=>e[1]===r):u[0];if(!p)throw Error(`No fallback item found for shareKey: ${e} and version: ${r}`);return()=>i.getRemoteEntry({origin:n.federation.instance,remoteInfo:{name:p[2],entry:`${n.p}${p[0]}`,type:o,entryGlobalName:p[2],shareScope:"default"}}).then(t=>{if(!t)throw Error(`Failed to load fallback entry for shareKey: ${e} and version: ${r}`);return t.init(n.federation.instance,s).then(()=>t.get())})}},2677(e,t){t.getUsedExports=function(e,t){let r=e.federation.usedExports;if(r)return r[t]}},523(e,t,r){Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});let n=r(223),o=r(3545),i=r(3586),a=r(1864),s=r(2221),l=r(4307),u=r(1180),p=r(367),c=r(1315),d=r(3738);d=n.__toESM(d);let f={remotes:i.remotes,consumes:a.consumes,I:s.initializeSharing,S:{},installInitialConsumes:l.installInitialConsumes,initContainerEntry:u.initContainerEntry,init:p.init,getSharedFallbackGetter:c.getSharedFallbackGetter},h={runtime:d,instance:void 0,initOptions:void 0,bundlerRuntime:f,attachShareScopeMap:o.attachShareScopeMap,bundlerRuntimeOptions:{}},m=h.instance,g=h.initOptions,b=h.bundlerRuntimeOptions;t.attachShareScopeMap=o.attachShareScopeMap,t.bundlerRuntime=f,t.bundlerRuntimeOptions=b,t.default=h,t.initOptions=g,t.instance=m,Object.defineProperty(t,"runtime",{enumerable:!0,get:function(){return d}})},367(e,t,r){let n=r(223),o=r(3738),i=r(9837);i=n.__toESM(i),t.init=function({webpackRequire:e}){let{initOptions:t,runtime:n,sharedFallback:a,bundlerRuntime:s,libraryType:l}=e.federation;if(!t)throw Error("initOptions is required!");return t.plugins||=[],t.plugins.push({name:"tree-shake-plugin",beforeInit(t){let{userOptions:n,origin:u,options:p}=t,c=n.version||p.version;if(!a)return t;let d=n.shared||{},f=[];Object.keys(d).forEach(t=>{(Array.isArray(d[t])?d[t]:[d[t]]).forEach(r=>{f.push([t,r]),"get"in r&&(r.treeShaking||={},r.treeShaking.get=r.get,r.get=s.getSharedFallbackGetter({shareKey:t,factory:r.get,webpackRequire:e,libraryType:l,version:r.version}))})});let h=i.default.global.getGlobalSnapshotInfoByModuleInfo({name:u.name,version:c});return h&&"shared"in h&&(Object.keys(p.shared||{}).forEach(e=>{p.shared[e].forEach(t=>{f.push([e,t])})}),f.forEach(([e,t])=>{((e,t)=>{let n=h.shared.find(t=>t.sharedName===e);if(!n)return;let{treeShaking:i}=t;if(!i)return;let{secondarySharedTreeShakingName:a,secondarySharedTreeShakingEntry:s,treeShakingStatus:p}=n;i.status!==p&&(i.status=p,s&&l&&a&&(i.get=async()=>{let e=await (0,o.getRemoteEntry)({origin:u,remoteInfo:{name:a,entry:s,type:l,entryGlobalName:a,shareScope:"default"}});return await e.init(u,r.federation.bundlerRuntime),e.get()}))})(e,t)})),t}}),n.init(t)}},1180(e,t){t.initContainerEntry=function(e){let{webpackRequire:t,shareScope:r,initScope:n,shareScopeKey:o,remoteEntryInitOptions:i}=e;if(!t.S||!t.federation||!t.federation.instance||!t.federation.initOptions)return;let a=t.federation.instance;a.initOptions({name:t.federation.initOptions.name,remotes:[],...i});let s=i?.shareScopeKeys,l=i?.shareScopeMap;if(o&&"string"!=typeof o)o.forEach(e=>{if(!s||!l)return void a.initShareScopeMap(e,r,{hostShareScopeMap:i?.shareScopeMap||{}});l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:i?.shareScopeMap||{}})});else{let e=o||"default";Array.isArray(s)?s.forEach(e=>{l[e]||(l[e]={});let t=l[e];a.initShareScopeMap(e,t,{hostShareScopeMap:i?.shareScopeMap||{}})}):a.initShareScopeMap(e,r,{hostShareScopeMap:i?.shareScopeMap||{}})}return(t.federation.attachShareScopeMap&&t.federation.attachShareScopeMap(t),Array.isArray(o))?t.federation.initOptions.shared?t.I(o,n):Promise.all(o.map(e=>t.I(e,n))).then(()=>!0):t.I(o||"default",n)}},2221(e,t,r){let n=r(3545),o=r(6917);t.initializeSharing=function({shareScopeName:e,webpackRequire:t,initPromises:r,initTokens:i,initScope:a}){let s=Array.isArray(e)?e:[e];var l=[],u=function(s){a||(a=[]);let l=t.federation.instance;var u=i[s];if(u||(u=i[s]={from:l.name}),a.indexOf(u)>=0)return;a.push(u);let p=r[s];if(p)return p;var c=r=>{var n=e=>{let t;return t="Initialization of sharing external failed: "+e,"u">typeof console&&console.warn&&console.warn(t)};try{var o=t(r);if(!o)return;var i=r=>r&&r.init&&r.init(t.S[s],a,{shareScopeMap:t.S||{},shareScopeKeys:e});if(o.then)return d.push(o.then(i,n));var l=i(o);if(l&&"boolean"!=typeof l&&l.then)return d.push(l.catch(n))}catch(e){n(e)}};let d=l.initializeSharing(s,{strategy:l.options.shareStrategy,initScope:a,from:"build"});n.attachShareScopeMap(t);let f=t.federation.bundlerRuntimeOptions.remotes;return(f&&Object.keys(f.idToRemoteMap).forEach(e=>{let t=f.idToRemoteMap[e],r=f.idToExternalAndNameMapping[e][2];if(t.length>1)c(r);else if(1===t.length){let e=t[0];o.FEDERATION_SUPPORTED_TYPES.includes(e.externalType)||c(r)}}),d.length)?r[s]=Promise.all(d).then(()=>r[s]=!0):r[s]=!0};return s.forEach(e=>{l.push(u(e))}),Promise.all(l).then(()=>!0)}},4307(e,t,r){let n=r(1092),o=r(2677);t.installInitialConsumes=function(e){n.updateConsumeOptions(e);let{moduleToHandlerMapping:t,webpackRequire:r,installedModules:i,initialConsumes:a,asyncLoad:s}=e,l=[];a.forEach(e=>{l.push([e,()=>(function(e){let{moduleId:t,moduleToHandlerMapping:r,webpackRequire:n,asyncLoad:i}=e,a=n.federation.instance;if(!a)throw Error("Federation instance not found!");let{shareKey:s,shareInfo:l}=r[t];try{let e=o.getUsedExports(n,s),t={...l};if(e&&(t.treeShaking={usedExports:e,useIn:[a.options.name]}),i)return a.loadShare(s,{customShareInfo:t});return a.loadShareSync(s,{customShareInfo:t})}catch(e){throw console.error('loadShareSync failed! The function should not be called unless you set "eager:true". If you do not set it, and encounter this issue, you can check whether an async boundary is implemented.'),console.error("The original error message is as follows: "),e}})({moduleId:e,moduleToHandlerMapping:t,webpackRequire:r,asyncLoad:s})])});let u=(e,n)=>{r.m[e]=o=>{i[e]=0,delete r.c[e];let a=n();if("function"!=typeof a)throw Error(`Shared module is not available for eager consumption: ${e}`);let s=a(),{shareInfo:l}=t[e];if(l?.shareConfig?.layer&&s&&"object"==typeof s)try{s.hasOwnProperty("layer")&&void 0!==s.layer||(s.layer=l.shareConfig.layer)}catch(e){}o.exports=s}};if(s)return Promise.all(l.map(async([e,t])=>{let r=await t();u(e,()=>r)}));l.forEach(([e,t])=>{u(e,t)})}},3586(e,t,r){r(223);let n=r(3545),o=r(6917),i=r(1092),a=r(1853);t.remotes=function(e){i.updateRemoteOptions(e);let{chunkId:t,promises:r,webpackRequire:s,chunkMapping:l,idToExternalAndNameMapping:u,idToRemoteMap:p}=e;n.attachShareScopeMap(s),s.o(l,t)&&l[t].forEach(e=>{let t=s.R;t||(t=[]);let n=u[e],i=p[e]||[];if(t.indexOf(n)>=0)return;if(t.push(n),n.p)return r.push(n.p);let l=t=>{t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+=`
3
3
  while loading "${n[1]}" from ${n[2]}`),s.m[e]=()=>{throw t},n.p=0},c=(e,t,o,i,a,s)=>{try{let u=e(t,o);if(!u||!u.then)return a(u,i,s);{let e=u.then(e=>a(e,i),l);if(!s)return e;r.push(n.p=e)}}catch(e){l(e)}};var d=(e,r,o)=>c(r.get,n[1],t,0,f,o),f=t=>{n.p=1,s.m[e]=e=>{e.exports=t()}};1===i.length&&o.FEDERATION_SUPPORTED_TYPES.includes(i[0].externalType)&&i[0].name?c(()=>{try{let e=(0,a.decodeName)(i[0].name,a.ENCODE_NAME_PREFIX)+n[1].slice(1),t=s.federation.instance,r=()=>s.federation.instance.loadRemote(e,{loadFactory:!1,from:"build"});if("version-first"===t.options.shareStrategy){let e=Array.isArray(n[0])?n[0]:[n[0]];return Promise.all(e.map(e=>t.sharedHandler.initializeSharing(e))).then(()=>r())}return r()}catch(e){l(e)}},n[2],0,0,f,1):c(s,n[2],0,0,(e,t,r)=>e?c(s.I,n[0],0,e,d,r):l(),1)})}},1092(e,t){t.updateConsumeOptions=function(e){let{webpackRequire:t,moduleToHandlerMapping:r}=e,{consumesLoadingData:n,initializeSharingData:o}=t,{sharedFallback:i,bundlerRuntime:a,libraryType:s}=t.federation;if(n&&!n._updated){let{moduleIdToConsumeDataMapping:o={},initialConsumes:l=[],chunkMapping:u={}}=n;if(Object.entries(o).forEach(([e,n])=>{r[e]||(r[e]={getter:i?a?.getSharedFallbackGetter({shareKey:n.shareKey,factory:n.fallback,webpackRequire:t,libraryType:s}):n.fallback,treeShakingGetter:i?n.fallback:void 0,shareInfo:{shareConfig:{requiredVersion:n.requiredVersion,strictVersion:n.strictVersion,singleton:n.singleton,eager:n.eager,layer:n.layer},scope:Array.isArray(n.shareScope)?n.shareScope:[n.shareScope||"default"],treeShaking:i?{get:n.fallback,mode:n.treeShakingMode}:void 0},shareKey:n.shareKey})}),"initialConsumes"in e){let{initialConsumes:t=[]}=e;l.forEach(e=>{t.includes(e)||t.push(e)})}if("chunkMapping"in e){let{chunkMapping:t={}}=e;Object.entries(u).forEach(([e,r])=>{t[e]||(t[e]=[]),r.forEach(r=>{t[e].includes(r)||t[e].push(r)})})}n._updated=1}if(o&&!o._updated){let{federation:e}=t;if(!e.instance||!o.scopeToSharingDataMapping)return;let r={};for(let[e,t]of Object.entries(o.scopeToSharingDataMapping))for(let n of t)if("object"==typeof n&&null!==n){let{name:t,version:o,factory:i,eager:a,singleton:s,requiredVersion:l,strictVersion:u}=n,p={requiredVersion:`^${o}`},c=function(e){return void 0!==e};c(s)&&(p.singleton=s),c(l)&&(p.requiredVersion=l),c(a)&&(p.eager=a),c(u)&&(p.strictVersion=u);let d={version:o,scope:[e],shareConfig:p,get:i};r[t]?r[t].push(d):r[t]=[d]}e.instance.registerShared(r),o._updated=1}},t.updateRemoteOptions=function(e){let{webpackRequire:t,idToExternalAndNameMapping:r={},idToRemoteMap:n={},chunkMapping:o={}}=e,{remotesLoadingData:i}=t,a=t.federation?.bundlerRuntimeOptions?.remotes?.remoteInfos;if(!i||i._updated||!a)return;let{chunkMapping:s,moduleIdToRemoteDataMapping:l}=i;if(s&&l){for(let[e,t]of Object.entries(l))if(r[e]||(r[e]=[t.shareScope,t.name,t.externalModuleId]),!n[e]&&a[t.remoteName]){let r=a[t.remoteName];n[e]||=[],r.forEach(t=>{n[e].includes(t)||n[e].push(t)})}o&&Object.entries(s).forEach(([e,t])=>{o[e]||(o[e]=[]),t.forEach(t=>{o[e].includes(t)||o[e].push(t)})}),i._updated=1}}}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={exports:{}};return i[e].call(r.exports,r,r.exports,s),r.exports}s.m=i,s.c=a,s.x=()=>s(1840),s.federation||(s.federation={chunkMatcher:function(e){return!/^(3360|4228|639|6616|7248)$/.test(e)},rootOutputDir:""}),s.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return s.d(t,{a:t}),t},s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.f={},s.e=e=>Promise.all(Object.keys(s.f).reduce((t,r)=>(s.f[r](e,t),t),[])),s.u=e=>""+e+".js",s.miniCssF=e=>""+e+".css",s.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),l={},s.l=function(e,t,r,n){if(l[e])return void l[e].push(t);if(void 0!==r)for(var o,i,a=document.getElementsByTagName("script"),u=0;u<a.length;u++){var p=a[u];if(p.getAttribute("src")==e||p.getAttribute("data-rspack")=="@openmrs/esm-openconceptlab-app:"+r){o=p;break}}o||(i=!0,(o=document.createElement("script")).timeout=120,s.nc&&o.setAttribute("nonce",s.nc),o.setAttribute("data-rspack","@openmrs/esm-openconceptlab-app:"+r),o.src=e),l[e]=[t];var c=function(t,r){o.onerror=o.onload=null,clearTimeout(d);var n=l[e];if(delete l[e],o.parentNode&&o.parentNode.removeChild(o),n&&n.forEach(function(e){return e(r)}),t)return t(r)},d=setTimeout(c.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=c.bind(null,o.onerror),o.onload=c.bind(null,o.onload),i&&document.head.appendChild(o)},s.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.rv=()=>"1.7.9",s.S={},s.initializeSharingData={scopeToSharingDataMapping:{default:[{name:"@carbon/react",version:"1.92.1",factory:()=>Promise.all([s.e("8013"),s.e("871"),s.e("6616"),s.e("3360")]).then(()=>()=>s(2458)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"@openmrs/esm-framework",version:"11.0.1-pre.5762",factory:()=>Promise.all([s.e("8013"),s.e("2771"),s.e("6616"),s.e("3360"),s.e("639"),s.e("4228"),s.e("7248")]).then(()=>()=>s(8094)),eager:0,singleton:1,requiredVersion:"11.x",strictVersion:0},{name:"dayjs",version:"1.11.13",factory:()=>s.e("5697").then(()=>()=>s(3464)),eager:0,singleton:1,requiredVersion:"1.x",strictVersion:0},{name:"react-dom",version:"18.3.1",factory:()=>Promise.all([s.e("689"),s.e("6616")]).then(()=>()=>s(3144)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"react-i18next",version:"16.0.0",factory:()=>Promise.all([s.e("1789"),s.e("6616")]).then(()=>()=>s(2348)),eager:0,singleton:1,requiredVersion:"16.x",strictVersion:0},{name:"react-router-dom",version:"6.22.2",factory:()=>Promise.all([s.e("9712"),s.e("6616"),s.e("3360")]).then(()=>()=>s(7059)),eager:0,singleton:1,requiredVersion:"6.x",strictVersion:0},{name:"react",version:"18.3.1",factory:()=>s.e("466").then(()=>()=>s(4041)),eager:0,singleton:1,requiredVersion:"18.x",strictVersion:0},{name:"swr/_internal",version:"2.5.1",factory:()=>Promise.all([s.e("3989"),s.e("6616")]).then(()=>()=>s(2372)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/immutable",version:"2.5.1",factory:()=>Promise.all([s.e("3989"),s.e("4560"),s.e("6616"),s.e("9061")]).then(()=>()=>s(9876)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr/infinite",version:"2.5.1",factory:()=>Promise.all([s.e("3989"),s.e("4560"),s.e("6616"),s.e("9771")]).then(()=>()=>s(2470)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0},{name:"swr",version:"2.5.1",factory:()=>Promise.all([s.e("3989"),s.e("4560"),s.e("6616"),s.e("7209")]).then(()=>()=>s(5216)),eager:0,singleton:1,requiredVersion:"2.x",strictVersion:0}]},uniqueName:"@openmrs/esm-openconceptlab-app"},s.I=s.I||function(){throw Error("should have __webpack_require__.I")},s.g.importScripts&&(u=s.g.location+"");var l,u,p=s.g.document;if(!u&&p&&(p.currentScript&&"SCRIPT"===p.currentScript.tagName.toUpperCase()&&(u=p.currentScript.src),!u)){var c=p.getElementsByTagName("script");if(c.length)for(var d=c.length-1;d>-1&&(!u||!/^http(s?):/.test(u));)u=c[d--].src}if(!u)throw Error("Automatic publicPath is not supported in this browser");if(s.p=u=u.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),s.consumesLoadingData={chunkMapping:{4228:["5327"],7248:["4274","3780","6311","6038","9256"],3378:["5500"],639:["4011","4920"],6616:["2491"],3360:["5427"]},moduleIdToConsumeDataMapping:{2491:{shareScope:"default",shareKey:"react",import:"react",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("466").then(()=>()=>s(4041))},5500:{shareScope:"default",shareKey:"@openmrs/esm-framework",import:"@openmrs/esm-framework",requiredVersion:"11.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("8013"),s.e("2771"),s.e("6616"),s.e("3360"),s.e("639"),s.e("4228"),s.e("7248")]).then(()=>()=>s(8094))},5327:{shareScope:"default",shareKey:"swr",import:"swr",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("3989"),s.e("4560"),s.e("9590")]).then(()=>()=>s(5216))},3780:{shareScope:"default",shareKey:"swr/_internal",import:"swr/_internal",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("3989").then(()=>()=>s(2372))},6038:{shareScope:"default",shareKey:"swr/infinite",import:"swr/infinite",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("3989"),s.e("4560"),s.e("2152")]).then(()=>()=>s(2470))},9256:{shareScope:"default",shareKey:"swr/immutable",import:"swr/immutable",requiredVersion:"2.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("3989"),s.e("4560"),s.e("1442")]).then(()=>()=>s(9876))},4920:{shareScope:"default",shareKey:"@carbon/react",import:"@carbon/react",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>Promise.all([s.e("8013"),s.e("871"),s.e("3360")]).then(()=>()=>s(2458))},4274:{shareScope:"default",shareKey:"dayjs",import:"dayjs",requiredVersion:"1.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("5697").then(()=>()=>s(3464))},5427:{shareScope:"default",shareKey:"react-dom",import:"react-dom",requiredVersion:"18.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("689").then(()=>()=>s(3144))},4011:{shareScope:"default",shareKey:"react-i18next",import:"react-i18next",requiredVersion:"16.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("1789").then(()=>()=>s(2348))},6311:{shareScope:"default",shareKey:"react-router-dom",import:"react-router-dom",requiredVersion:"6.x",strictVersion:!1,singleton:!0,eager:!1,fallback:()=>s.e("9712").then(()=>()=>s(7059))}},initialConsumes:[]},s.f.consumes=s.f.consumes||function(){throw Error("should have __webpack_require__.f.consumes")},"u">typeof document){var f=function(e,t,r,n,o){var i=document.createElement("link");return i.rel="stylesheet",i.type="text/css",s.nc&&(i.nonce=s.nc),i.href=t,i.onerror=i.onload=function(r){if(i.onerror=i.onload=null,"load"===r.type)n();else{var a=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.href||t,l=Error("Loading CSS chunk "+e+" failed.\\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=a,l.request=s,i.parentNode&&i.parentNode.removeChild(i),o(l)}},r?r.parentNode.insertBefore(i,r.nextSibling):document.head.appendChild(i),i},h=function(e,t){for(var r=document.getElementsByTagName("link"),n=0;n<r.length;n++){var o=r[n],i=o.getAttribute("data-href")||o.getAttribute("href");if(i&&(i=i.split("?")[0]),"stylesheet"===o.rel&&(i===e||i===t))return o}for(var a=document.getElementsByTagName("style"),n=0;n<a.length;n++){var o=a[n],i=o.getAttribute("data-href");if(i===e||i===t)return o}},m={2984:0};s.f.miniCss=function(e,t){if(m[e])t.push(m[e]);else 0!==m[e]&&({2771:1,3799:1})[e]&&t.push(m[e]=new Promise(function(t,r){var n=s.miniCssF(e),o=s.p+n;if(h(n,o))return t();f(e,o,null,t,r)}).then(function(){m[e]=0},function(t){throw delete m[e],t}))}}s.initializeExposesData={moduleMap:{"./start":()=>s.e("3378").then(()=>()=>s(7481))},shareScope:"default"},s.getContainer=s.getContainer||function(){throw Error("should have __webpack_require__.getContainer")},s.initContainer=s.initContainer||function(){throw Error("should have __webpack_require__.initContainer")},e={2984:0},s.f.j=function(t,r){var n=s.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(3360|4228|639|6616|7248)$/.test(t))e[t]=0;else{var o=new Promise((r,o)=>n=e[t]=[r,o]);r.push(n[2]=o);var i=s.p+s.u(t),a=Error();s.l(i,function(r){if(s.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,n[1](a)}},"chunk-"+t,t)}},t=(t,r)=>{var n,o,[i,a,l]=r,u=0;if(i.some(t=>0!==e[t])){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);l&&l(s)}for(t&&t(r);u<i.length;u++)o=i[u],s.o(e,o)&&e[o]&&e[o][0](),e[o]=0},(r=globalThis.webpackChunk_openmrs_esm_openconceptlab_app=globalThis.webpackChunk_openmrs_esm_openconceptlab_app||[]).forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r)),s.ruid="bundler=rspack@1.7.9",n=s.x,o=!1,s.x=function(){if(o||(o=!0,s(1193)),"function"==typeof n)return n();console.warn("[MF] Invalid prevStartup")},_openmrs_esm_openconceptlab_app=s.x()})();
package/dist/routes.json CHANGED
@@ -1 +1 @@
1
- {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"openconceptlab":">=1.2.0","webservices.rest":">=2.2.0"},"extensions":[{"name":"admin-ocl-card-link","slot":"system-admin-page-card-link-slot","component":"adminOclCardLink"}],"pages":[{"component":"root","route":"ocl"}],"version":"4.4.1-pre.949"}
1
+ {"$schema":"https://json.openmrs.org/routes.schema.json","backendDependencies":{"openconceptlab":">=1.2.0","webservices.rest":">=2.2.0"},"extensions":[{"name":"admin-ocl-card-link","slot":"system-admin-page-card-link-slot","component":"adminOclCardLink"}],"pages":[{"component":"root","route":"ocl"}],"version":"4.4.1-pre.955"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-openconceptlab-app",
3
- "version": "4.4.1-pre.949",
3
+ "version": "4.4.1-pre.955",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Open Concept Lab management frontend module for O3",
6
6
  "browser": "dist/openmrs-esm-openconceptlab-app.js",
@@ -17,7 +17,7 @@ import { showNotification } from '@openmrs/esm-framework';
17
17
  import { startImportWithFile, startImportWithSubscription, useSubscription } from './import.resource';
18
18
  import styles from './import.scss';
19
19
 
20
- const allowedMimeTypes = ['application/zip', 'application/x-zip-compressed'];
20
+ const isZipFile = (file: File) => file.name.toLowerCase().endsWith('.zip');
21
21
 
22
22
  const Import: React.FC = () => {
23
23
  const { t } = useTranslation();
@@ -35,8 +35,8 @@ const Import: React.FC = () => {
35
35
 
36
36
  const onAddFiles = useCallback(
37
37
  (evt: React.DragEvent<HTMLInputElement>, { addedFiles }) => {
38
- const fileToUpload: File = addedFiles[0];
39
- if (!allowedMimeTypes.includes(fileToUpload.type)) {
38
+ const fileToUpload: File | undefined = addedFiles[0];
39
+ if (!fileToUpload || !isZipFile(fileToUpload)) {
40
40
  showNotification({
41
41
  kind: 'error',
42
42
  description: t('fileFormatError', 'Only .zip files are allowed'),
@@ -180,7 +180,7 @@ const Import: React.FC = () => {
180
180
  />
181
181
  ) : (
182
182
  <FileUploaderDropContainer
183
- accept={allowedMimeTypes}
183
+ accept={['.zip']}
184
184
  multiple
185
185
  labelText={t('importFromFileDragInfo', 'Drag and drop file here or click to upload')}
186
186
  onAddFiles={onAddFiles}
@@ -23,6 +23,28 @@ vi.mock('./import.resource', async () => {
23
23
  });
24
24
 
25
25
  describe('Import component', () => {
26
+ it('accepts a .zip file whatever MIME type the browser reports, and rejects other files', async () => {
27
+ const user = userEvent.setup({ applyAccept: false });
28
+ mockOpenmrsFetch.mockResolvedValueOnce({ data: { results: [] } } as unknown as FetchResponse);
29
+ renderWithSwr(<Import />);
30
+ await waitForLoadingToFinish();
31
+
32
+ const dropZone = screen.getByLabelText(/drag and drop file here or click to upload/i);
33
+
34
+ await user.upload(dropZone, new File(['bin'], 'concepts.bin', { type: 'application/octet-stream' }));
35
+ expect(mockShowNotification).toHaveBeenCalledWith(
36
+ expect.objectContaining({ kind: 'error', description: 'Only .zip files are allowed' }),
37
+ );
38
+ expect(screen.queryByText('concepts.bin')).not.toBeInTheDocument();
39
+
40
+ // Carbon drops a file whose name fails its extension pattern, so onAddFiles receives an empty list.
41
+ await user.upload(dropZone, new File(['x'], 'README_', { type: '' }));
42
+ expect(mockShowNotification).toHaveBeenCalledTimes(2);
43
+
44
+ await user.upload(dropZone, new File(['zip'], 'concepts.zip', { type: '' }));
45
+ expect(await screen.findByText('concepts.zip')).toBeInTheDocument();
46
+ });
47
+
26
48
  it('renders the form elements', async () => {
27
49
  mockOpenmrsFetch.mockResolvedValueOnce({ data: { results: [] } } as unknown as FetchResponse);
28
50
  renderWithSwr(<Import />);
@@ -16,7 +16,7 @@ import {
16
16
  TextInputSkeleton,
17
17
  } from '@carbon/react';
18
18
  import { useTranslation } from 'react-i18next';
19
- import { showNotification } from '@openmrs/esm-framework';
19
+ import { OpenmrsFetchError, showNotification } from '@openmrs/esm-framework';
20
20
  import { deleteSubscription, updateSubscription, useSubscription } from './subscription.resource';
21
21
  import { isVersionDefinedInUrl } from '../utils';
22
22
  import styles from './subscription.scss';
@@ -89,12 +89,10 @@ const Subscription: React.FC = () => {
89
89
  validationType: validationType,
90
90
  subscribedToSnapshot: isSubscribedToSnapshot,
91
91
  };
92
- mutate('/ws/rest/v1/openconceptlab/subscription?v=full', updatedSubscription, false);
93
92
 
94
- const response = await updateSubscription(updatedSubscription, abortController);
95
- mutate('/ws/rest/v1/openconceptlab/subscription?v=full');
96
-
97
- if (response.ok) {
93
+ try {
94
+ const response = await updateSubscription(updatedSubscription, abortController);
95
+ mutate('/ws/rest/v1/openconceptlab/subscription?v=full');
98
96
  showNotification({
99
97
  kind: 'success',
100
98
  description: t(
@@ -102,12 +100,14 @@ const Subscription: React.FC = () => {
102
100
  response.status === 201 ? 'Subscription created successfully' : 'Subscription updated successfully',
103
101
  ),
104
102
  });
105
- } else {
103
+ } catch (error) {
104
+ const responseBody = error instanceof OpenmrsFetchError ? error.responseBody : null;
105
+ const reason = typeof responseBody === 'object' && responseBody !== null ? responseBody.error?.message : null;
106
106
  showNotification({
107
107
  title: t('errorSavingSubscription', 'Error occured while saving the subscription'),
108
108
  kind: 'error',
109
109
  critical: true,
110
- description: JSON.stringify(response.data),
110
+ description: reason ?? t('unexpectedError', 'An unexpected error occurred'),
111
111
  });
112
112
  }
113
113
 
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { vi, describe, it, expect } from 'vitest';
3
3
  import userEvent from '@testing-library/user-event';
4
4
  import { screen, waitFor } from '@testing-library/react';
5
- import { type FetchResponse, openmrsFetch, showNotification } from '@openmrs/esm-framework';
5
+ import { type FetchResponse, OpenmrsFetchError, openmrsFetch, showNotification } from '@openmrs/esm-framework';
6
6
  import { renderWithSwr } from '@tools/test-helpers';
7
7
  import { mockSubscription } from '@mocks/openconceptlab.mock';
8
8
  import { deleteSubscription, updateSubscription } from './subscription.resource';
@@ -49,7 +49,7 @@ describe('Subscription component', () => {
49
49
  expect(screen.getByRole('button', { name: /danger\s*Unsubscribe/i })).toBeEnabled();
50
50
  });
51
51
 
52
- it.skip('allows adding a new subscription', async () => {
52
+ it('allows adding a new subscription', async () => {
53
53
  const user = userEvent.setup();
54
54
  mockOpenmrsFetch.mockResolvedValueOnce({ data: { results: [] } } as unknown as FetchResponse);
55
55
  renderWithSwr(<Subscription />);
@@ -80,7 +80,7 @@ describe('Subscription component', () => {
80
80
  expect(mockShowNotification).toHaveBeenCalledTimes(1);
81
81
  });
82
82
 
83
- it.skip('allows changing the saved subscription', async () => {
83
+ it('allows changing the saved subscription', async () => {
84
84
  const user = userEvent.setup();
85
85
  mockOpenmrsFetch.mockResolvedValueOnce({ data: { results: [mockSubscription] } } as unknown as FetchResponse);
86
86
  renderWithSwr(<Subscription />);
@@ -118,6 +118,44 @@ describe('Subscription component', () => {
118
118
  expect(mockShowNotification).toHaveBeenCalledTimes(1);
119
119
  });
120
120
 
121
+ it('keeps the entered values and shows an error when saving the subscription fails', async () => {
122
+ const user = userEvent.setup();
123
+ mockOpenmrsFetch.mockResolvedValueOnce({ data: { results: [] } } as unknown as FetchResponse);
124
+ renderWithSwr(<Subscription />);
125
+ await waitForLoadingToFinish();
126
+
127
+ const urlInputField = screen.getByLabelText('Subscription URL');
128
+ const tokenInputField = screen.getByLabelText('Token');
129
+ const saveButton = screen.getByRole('button', { name: 'Save changes' });
130
+
131
+ mockUpdateSubscription.mockRejectedValueOnce(
132
+ new OpenmrsFetchError(
133
+ '/ws/rest/v1/openconceptlab/subscription',
134
+ new Response(null, { status: 500, statusText: 'Internal Server Error' }),
135
+ { error: { message: 'Wrong url address' } },
136
+ new Error(),
137
+ ),
138
+ );
139
+
140
+ await user.type(urlInputField, mockSubscription.url);
141
+ await user.type(tokenInputField, mockSubscription.token);
142
+ await user.click(saveButton);
143
+
144
+ await waitFor(() =>
145
+ expect(mockShowNotification).toHaveBeenCalledWith(
146
+ expect.objectContaining({
147
+ kind: 'error',
148
+ title: 'Error occured while saving the subscription',
149
+ description: 'Wrong url address',
150
+ }),
151
+ ),
152
+ );
153
+ expect(mockUpdateSubscription).toHaveBeenCalledTimes(1);
154
+ expect(mockOpenmrsFetch).toHaveBeenCalledTimes(1);
155
+ expect(urlInputField).toHaveValue(mockSubscription.url);
156
+ expect(tokenInputField).toHaveValue(mockSubscription.token);
157
+ });
158
+
121
159
  it.skip('allows removing the saved subscription', async () => {
122
160
  const user = userEvent.setup();
123
161
  mockOpenmrsFetch.mockResolvedValueOnce({ data: { results: [mockSubscription] } } as unknown as FetchResponse);
@@ -48,6 +48,7 @@
48
48
  "subscriptionDeleted": "Successfully unsubscribed",
49
49
  "subscriptionError": "Error occured while fetching the subscription",
50
50
  "subscriptionUrl": "Subscription URL",
51
+ "unexpectedError": "An unexpected error occurred",
51
52
  "unsubscribe": "Unsubscribe",
52
53
  "unsubscribeButton": "Unsubscribe",
53
54
  "unsubscribeInfo": "If you unsubscribe, no concepts will be deleted nor changed. All information about subscription will be deleted from your system.",
@@ -48,6 +48,7 @@
48
48
  "subscriptionDeleted": "Successfully unsubscribed",
49
49
  "subscriptionError": "Error occured while fetching the subscription",
50
50
  "subscriptionUrl": "Subscription URL",
51
+ "unexpectedError": "An unexpected error occurred",
51
52
  "unsubscribe": "Unsubscribe",
52
53
  "unsubscribeButton": "Unsubscribe",
53
54
  "unsubscribeInfo": "If you unsubscribe, no concepts will be deleted nor changed. All information about subscription will be deleted from your system.",
@@ -48,6 +48,7 @@
48
48
  "subscriptionDeleted": "Successfully unsubscribed",
49
49
  "subscriptionError": "Error occured while fetching the subscription",
50
50
  "subscriptionUrl": "Subscription URL",
51
+ "unexpectedError": "An unexpected error occurred",
51
52
  "unsubscribe": "Unsubscribe",
52
53
  "unsubscribeButton": "Unsubscribe",
53
54
  "unsubscribeInfo": "If you unsubscribe, no concepts will be deleted nor changed. All information about subscription will be deleted from your system.",
@@ -48,6 +48,7 @@
48
48
  "subscriptionDeleted": "Successfully unsubscribed",
49
49
  "subscriptionError": "Error occured while fetching the subscription",
50
50
  "subscriptionUrl": "Subscription URL",
51
+ "unexpectedError": "An unexpected error occurred",
51
52
  "unsubscribe": "Unsubscribe",
52
53
  "unsubscribeButton": "Unsubscribe",
53
54
  "unsubscribeInfo": "If you unsubscribe, no concepts will be deleted nor changed. All information about subscription will be deleted from your system.",
@@ -48,6 +48,7 @@
48
48
  "subscriptionDeleted": "Successfully unsubscribed",
49
49
  "subscriptionError": "Error occured while fetching the subscription",
50
50
  "subscriptionUrl": "Subscription URL",
51
+ "unexpectedError": "An unexpected error occurred",
51
52
  "unsubscribe": "Unsubscribe",
52
53
  "unsubscribeButton": "Unsubscribe",
53
54
  "unsubscribeInfo": "If you unsubscribe, no concepts will be deleted nor changed. All information about subscription will be deleted from your system.",
@@ -48,6 +48,7 @@
48
48
  "subscriptionDeleted": "Abonnement erfolgreich gekündigt",
49
49
  "subscriptionError": "Beim Abrufen des Abonnements ist ein Fehler aufgetreten",
50
50
  "subscriptionUrl": "Abbonement URL",
51
+ "unexpectedError": "An unexpected error occurred",
51
52
  "unsubscribe": "Abo beenden",
52
53
  "unsubscribeButton": "Abo beenden",
53
54
  "unsubscribeInfo": "Wenn Sie sich vom Abonnement abmelden, werden keine Konzepte gelöscht oder geändert. Alle Informationen zum Abonnement werden aus Ihrem System gelöscht.",
@@ -48,6 +48,7 @@
48
48
  "subscriptionDeleted": "Successfully unsubscribed",
49
49
  "subscriptionError": "Error occured while fetching the subscription",
50
50
  "subscriptionUrl": "Subscription URL",
51
+ "unexpectedError": "An unexpected error occurred",
51
52
  "unsubscribe": "Unsubscribe",
52
53
  "unsubscribeButton": "Unsubscribe",
53
54
  "unsubscribeInfo": "If you unsubscribe, no concepts will be deleted nor changed. All information about subscription will be deleted from your system.",