@openmrs/esm-fast-data-entry-app 1.0.1-pre.10 → 1.0.1-pre.17

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 (61) hide show
  1. package/dist/132.js +1 -0
  2. package/dist/247.js +1 -0
  3. package/dist/255.js +1 -0
  4. package/dist/294.js +2 -0
  5. package/dist/294.js.LICENSE.txt +9 -0
  6. package/dist/32.js +1 -0
  7. package/dist/327.js +1 -0
  8. package/dist/403.js +2 -0
  9. package/dist/403.js.LICENSE.txt +14 -0
  10. package/dist/553.js +2 -0
  11. package/dist/553.js.LICENSE.txt +14 -0
  12. package/dist/569.js +2 -0
  13. package/dist/569.js.LICENSE.txt +27 -0
  14. package/dist/574.js +1 -0
  15. package/dist/595.js +2 -0
  16. package/dist/595.js.LICENSE.txt +1 -0
  17. package/dist/617.js +1 -0
  18. package/dist/68.js +2 -0
  19. package/dist/68.js.LICENSE.txt +21 -0
  20. package/dist/776.js +1 -0
  21. package/dist/804.js +1 -0
  22. package/dist/820.js +1 -0
  23. package/dist/906.js +1 -0
  24. package/dist/935.js +2 -0
  25. package/dist/935.js.LICENSE.txt +19 -0
  26. package/dist/main.js +1 -0
  27. package/dist/openmrs-esm-fast-data-entry-app.js +1 -1
  28. package/dist/openmrs-esm-fast-data-entry-app.js.buildmanifest.json +544 -0
  29. package/dist/openmrs-esm-fast-data-entry-app.old +1 -0
  30. package/package.json +5 -3
  31. package/src/add-group-modal/AddGroupModal.tsx +80 -27
  32. package/src/add-group-modal/styles.scss +14 -4
  33. package/src/context/GroupFormWorkflowContext.tsx +2 -0
  34. package/src/context/GroupFormWorkflowReducer.ts +26 -2
  35. package/src/group-form-entry-workflow/GroupFormEntryWorkflow.tsx +2 -2
  36. package/src/group-form-entry-workflow/{group-banner/GroupBanner.test.tsx → group-display-header/GroupDisplayHeader.test.tsx} +2 -2
  37. package/src/group-form-entry-workflow/{group-banner/GroupBanner.tsx → group-display-header/GroupDisplayHeader.tsx} +31 -5
  38. package/src/group-form-entry-workflow/group-display-header/index.ts +3 -0
  39. package/src/group-form-entry-workflow/{group-banner → group-display-header}/styles.scss +0 -0
  40. package/src/group-form-entry-workflow/group-search/CompactGroupResults.tsx +61 -28
  41. package/src/group-form-entry-workflow/group-search/CompactGroupSearch.tsx +5 -0
  42. package/src/group-form-entry-workflow/group-search/GroupSearch.tsx +65 -8
  43. package/src/group-form-entry-workflow/group-search/group-search.scss +8 -6
  44. package/src/group-form-entry-workflow/group-search-header/GroupSearchHeader.tsx +14 -7
  45. package/src/group-form-entry-workflow/styles.scss +10 -0
  46. package/src/hooks/index.ts +1 -0
  47. package/src/hooks/usePostEndpoint.ts +70 -0
  48. package/src/hooks/useSearchEndpoint.ts +120 -0
  49. package/translations/en.json +6 -1
  50. package/.editorconfig +0 -12
  51. package/.eslintignore +0 -2
  52. package/.eslintrc.js +0 -10
  53. package/.husky/pre-push +0 -1
  54. package/.prettierignore +0 -14
  55. package/.tx/config +0 -9
  56. package/.yarn/plugins/@yarnpkg/plugin-version.cjs +0 -550
  57. package/.yarn/versions/45b499b6.yml +0 -0
  58. package/src/group-form-entry-workflow/group-banner/index.ts +0 -3
  59. package/src/group-form-entry-workflow/group-search/mock-group-data.ts +0 -79
  60. package/src/group-form-entry-workflow/group-search/useGroupSearch.ts +0 -14
  61. package/src/hooks/usePostCohort.ts +0 -18
@@ -0,0 +1,27 @@
1
+ /*!
2
+ Copyright (c) 2018 Jed Watson.
3
+ Licensed under the MIT License (MIT), see
4
+ http://jedwatson.github.io/classnames
5
+ */
6
+
7
+ /*! *****************************************************************************
8
+ Copyright (c) Microsoft Corporation.
9
+ Permission to use, copy, modify, and/or distribute this software for any
10
+ purpose with or without fee is hereby granted.
11
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
12
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
13
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
14
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
15
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
16
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17
+ PERFORMANCE OF THIS SOFTWARE.
18
+ ***************************************************************************** */
19
+
20
+ /** @license React v16.13.1
21
+ * react-is.production.min.js
22
+ *
23
+ * Copyright (c) Facebook, Inc. and its affiliates.
24
+ *
25
+ * This source code is licensed under the MIT license found in the
26
+ * LICENSE file in the root directory of this source tree.
27
+ */
package/dist/574.js ADDED
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_openmrs_esm_fast_data_entry_app=self.webpackChunk_openmrs_esm_fast_data_entry_app||[]).push([[574],{3574:e=>{e.exports=JSON.parse('{"actions":"Actions","allFieldsRequired":"All fields are required unless marked optional","areYouSure":"Are you sure?","cancel":"Cancel","cancelExplanation":"You will lose any unsaved changes on the current form. Do you want to discard the current session?","changeGroup":"Choose a different group","chooseGroupError":"Please choose a group.","createNewPatient":"Create new patient","createGroup":"Create Group","createNewGroup":"Create New Group","createNewSession":"Create New Session","complete":"Complete","dataErrorMessage":"Something went wrong loading data from the server.","description":"Description","discard":"Discard","error":"Error","errorCoppy":"Sorry, there was an error. You can try to reload this page, or contact the site administrator and quote the error code above.","errorLoadingData":"Error Loading Data","fastDataEntry":"Fast Data Entry","fillForm":"Fill Form","formName":"Form Name","goToForm":"Go To Form","group":"Group","groupNameError":"Please enter a group name.","members":"members","newGroupName":"New Group Name","nextPatient":"Next Patient","noFormsFound":"No Forms To Show","noFormsFoundMessage":"No forms could be found for this category. Please double check the form concept uuids and access permissions.","noMoreResults":"End of search results","noGroupsFoundMessage":"Sorry, no groups have been found","noPatientError":"Please enter at least one patient.","or":"or","orLabelName":"OR label name","patientsInGroup":"Patients in group","postError":"POST Error","practitionerName":"Practitioner Name","remove":"Remove","resumeSession":"Resume Session","resumeGroupSession":"Resume Group Session","saveAndComplete":"Save & Complete","saveExplanation":"Do you want to save the current form and exit the workflow?","saveSession":"Save Session","searchResultsText":"search result(s)","selectPatientFirst":"Please select a patient first","sessionDate":"Session Date","sessionDetails":"Session details","sessionName":"Session Name","sessionNotes":"Session Notes","startGroupSession":"Start Group Session","trySearchWithPatientUniqueID":"Try searching with the cohort\'s description","unknownPostError":"An unknown error occured while saving data"}')}}]);