@icap-ethiopia/esm-ethiohri-intake 1.0.0-pre.8 → 1.0.0

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 (95) hide show
  1. package/LICENSE +400 -400
  2. package/README.md +46 -46
  3. package/dist/main.js +4914 -1
  4. package/dist/main.js.map +1 -1
  5. package/dist/node_modules_dayjs_dayjs_min_js.js +14 -0
  6. package/dist/node_modules_dayjs_dayjs_min_js.js.map +1 -0
  7. package/dist/openmrs-esm-ethio-template-app.js +4696 -1
  8. package/dist/openmrs-esm-ethio-template-app.js.buildmanifest.json +233 -249
  9. package/dist/openmrs-esm-ethio-template-app.js.map +1 -1
  10. package/dist/routes.json +1 -1
  11. package/dist/src_forms_family-information_tsx.js +934 -0
  12. package/dist/src_forms_family-information_tsx.js.map +1 -0
  13. package/dist/src_forms_intake-a-form_tsx.js +2367 -0
  14. package/dist/src_forms_intake-a-form_tsx.js.map +1 -0
  15. package/dist/src_forms_intake-b-form_tsx.js +2684 -0
  16. package/dist/src_forms_intake-b-form_tsx.js.map +1 -0
  17. package/dist/src_forms_intake-form_scss-src_forms_hooks_createEncounter_ts-src_forms_hooks_defaultValuesFr-54076e.js +2871 -0
  18. package/dist/src_forms_intake-form_scss-src_forms_hooks_createEncounter_ts-src_forms_hooks_defaultValuesFr-54076e.js.map +1 -0
  19. package/dist/src_forms_phdp-form_tsx.js +470 -0
  20. package/dist/src_forms_phdp-form_tsx.js.map +1 -0
  21. package/dist/src_index_ts.js +255 -0
  22. package/dist/src_index_ts.js.map +1 -0
  23. package/dist/src_intake_index_tsx.js +2738 -0
  24. package/dist/src_intake_index_tsx.js.map +1 -0
  25. package/dist/src_root_component_tsx.js +615 -0
  26. package/dist/src_root_component_tsx.js.map +1 -0
  27. package/dist/src_utils_Delete-Encounter_modal_tsx.js +396 -0
  28. package/dist/src_utils_Delete-Encounter_modal_tsx.js.map +1 -0
  29. package/dist/translations_am_json.js +14 -0
  30. package/dist/translations_en_json.js +14 -0
  31. package/dist/translations_es_json.js +14 -0
  32. package/dist/translations_fr_json.js +14 -0
  33. package/dist/translations_he_json.js +14 -0
  34. package/dist/translations_km_json.js +14 -0
  35. package/dist/vendors-node_modules_carbon_react_es_index_js-node_modules_swr_dist_core_index_mjs.js +132608 -0
  36. package/dist/vendors-node_modules_carbon_react_es_index_js-node_modules_swr_dist_core_index_mjs.js.map +1 -0
  37. package/dist/vendors-node_modules_openmrs_esm-framework_src_internal_ts.js +35952 -0
  38. package/dist/vendors-node_modules_openmrs_esm-framework_src_internal_ts.js.map +1 -0
  39. package/dist/vendors-node_modules_openmrs_esm-patient-common-lib_src_index_ts-node_modules_openmrs_esm-pat-24e5c8.js +4695 -0
  40. package/dist/vendors-node_modules_openmrs_esm-patient-common-lib_src_index_ts-node_modules_openmrs_esm-pat-24e5c8.js.map +1 -0
  41. package/dist/vendors-node_modules_openmrs_node_modules_css-loader_dist_runtime_api_js-node_modules_openmrs-205702.js +3059 -0
  42. package/dist/vendors-node_modules_openmrs_node_modules_css-loader_dist_runtime_api_js-node_modules_openmrs-205702.js.map +1 -0
  43. package/dist/vendors-node_modules_react-i18next_dist_es_index_js.js +1424 -0
  44. package/dist/vendors-node_modules_react-i18next_dist_es_index_js.js.map +1 -0
  45. package/dist/vendors-node_modules_react-router-dom_dist_index_js.js +6574 -0
  46. package/dist/vendors-node_modules_react-router-dom_dist_index_js.js.map +1 -0
  47. package/dist/vendors-node_modules_react_index_js.js +2770 -0
  48. package/dist/vendors-node_modules_react_index_js.js.map +1 -0
  49. package/package.json +121 -121
  50. package/src/index.ts +34 -34
  51. package/dist/151.js +0 -2
  52. package/dist/151.js.LICENSE.txt +0 -3
  53. package/dist/151.js.map +0 -1
  54. package/dist/159.js +0 -1
  55. package/dist/159.js.map +0 -1
  56. package/dist/197.js +0 -1
  57. package/dist/222.js +0 -2
  58. package/dist/222.js.LICENSE.txt +0 -5
  59. package/dist/222.js.map +0 -1
  60. package/dist/282.js +0 -2
  61. package/dist/282.js.LICENSE.txt +0 -32
  62. package/dist/282.js.map +0 -1
  63. package/dist/300.js +0 -1
  64. package/dist/319.js +0 -1
  65. package/dist/319.js.map +0 -1
  66. package/dist/335.js +0 -1
  67. package/dist/353.js +0 -1
  68. package/dist/353.js.map +0 -1
  69. package/dist/404.js +0 -2
  70. package/dist/404.js.LICENSE.txt +0 -45
  71. package/dist/404.js.map +0 -1
  72. package/dist/410.js +0 -1
  73. package/dist/410.js.map +0 -1
  74. package/dist/475.js +0 -1
  75. package/dist/475.js.map +0 -1
  76. package/dist/540.js +0 -2
  77. package/dist/540.js.LICENSE.txt +0 -9
  78. package/dist/540.js.map +0 -1
  79. package/dist/55.js +0 -1
  80. package/dist/652.js +0 -1
  81. package/dist/692.js +0 -1
  82. package/dist/692.js.map +0 -1
  83. package/dist/712.js +0 -1
  84. package/dist/712.js.map +0 -1
  85. package/dist/912.js +0 -1
  86. package/dist/912.js.map +0 -1
  87. package/dist/917.js +0 -1
  88. package/dist/917.js.map +0 -1
  89. package/dist/937.js +0 -1
  90. package/dist/937.js.map +0 -1
  91. package/dist/940.js +0 -1
  92. package/dist/940.js.map +0 -1
  93. package/dist/979.js +0 -1
  94. package/dist/979.js.map +0 -1
  95. package/dist/99.js +0 -1
package/README.md CHANGED
@@ -1,46 +1,46 @@
1
- ![Node.js CI](https://github.com/openmrs/openmrs-esm-template-app/workflows/Node.js%20CI/badge.svg)
2
-
3
- # OpenMRS ESM Template App
4
-
5
- This repository provides a starting point for creating your own
6
- [OpenMRS Microfrontend](https://wiki.openmrs.org/display/projects/OpenMRS+3.0%3A+A+Frontend+Framework+that+enables+collaboration+and+better+User+Experience).
7
-
8
- For more information, please see the
9
- [OpenMRS Frontend Developer Documentation](https://o3-docs.openmrs.org/#/).
10
-
11
- In particular, the [Setup](https://o3-docs.openmrs.org/docs/frontend-modules/setup) section can help you get started developing microfrontends in general. The [Creating a microfrontend](https://o3-docs.openmrs.org/docs/recipes/create-a-frontend-module) section provides information about how to use this repository to create your own microfrontend.
12
-
13
- ## Running this code
14
-
15
- ```sh
16
- yarn # to install dependencies
17
- yarn start # to run the dev server
18
- ```
19
-
20
- Once it is running, a browser window
21
- should open with the OpenMRS 3 application. Log in and then navigate to `/openmrs/spa/root`.
22
-
23
- ## Adapting the code
24
-
25
- 1. Start by finding and replacing all instances of "template" with the name
26
- of your microfrontend.
27
- 2. Update `index.ts` as appropriate, at least changing the feature name and the page name and route.
28
- 3. Rename the `root.*` family of files to have the name of your first page.
29
- 4. Delete the contents of the objects in `config-schema`. Start filling them back in once you have a clear idea what will need to be configured.
30
- 5. Delete the `greeter` and `patient-getter` directories, and the contents of `root.component.tsx`.
31
- 6. Delete the contents of `translations/en.json`.
32
- 7. Open up `.github/workflows` and adapt it to your needs. If you're writing
33
- a microfrontend that will be managed by the community, you might be able to
34
- just replace all instances of `template` with your microfrontend's name.
35
- However, if you're writing a microfrontend for a specific organization or
36
- implementation, you will probably need to configure GitHub Actions differently.
37
- 8. Delete the contents of this README and write a short explanation of what
38
- you intend to build. Links to planning or design documents can be very helpful.
39
-
40
- At this point, you should be able to write your first page as a React application.
41
-
42
- Check out the [Medication dispensing app](https://github.com/openmrs/openmrs-esm-dispensing-app) for an example of a non-trivial app built using the Template.
43
-
44
- ## Integrating it into your application
45
-
46
- Please see [Creating a Frontend Module](https://o3-docs.openmrs.org/docs/recipes/create-a-frontend-module).
1
+ ![Node.js CI](https://github.com/openmrs/openmrs-esm-template-app/workflows/Node.js%20CI/badge.svg)
2
+
3
+ # OpenMRS ESM Template App
4
+
5
+ This repository provides a starting point for creating your own
6
+ [OpenMRS Microfrontend](https://wiki.openmrs.org/display/projects/OpenMRS+3.0%3A+A+Frontend+Framework+that+enables+collaboration+and+better+User+Experience).
7
+
8
+ For more information, please see the
9
+ [OpenMRS Frontend Developer Documentation](https://o3-docs.openmrs.org/#/).
10
+
11
+ In particular, the [Setup](https://o3-docs.openmrs.org/docs/frontend-modules/setup) section can help you get started developing microfrontends in general. The [Creating a microfrontend](https://o3-docs.openmrs.org/docs/recipes/create-a-frontend-module) section provides information about how to use this repository to create your own microfrontend.
12
+
13
+ ## Running this code
14
+
15
+ ```sh
16
+ yarn # to install dependencies
17
+ yarn start # to run the dev server
18
+ ```
19
+
20
+ Once it is running, a browser window
21
+ should open with the OpenMRS 3 application. Log in and then navigate to `/openmrs/spa/root`.
22
+
23
+ ## Adapting the code
24
+
25
+ 1. Start by finding and replacing all instances of "template" with the name
26
+ of your microfrontend.
27
+ 2. Update `index.ts` as appropriate, at least changing the feature name and the page name and route.
28
+ 3. Rename the `root.*` family of files to have the name of your first page.
29
+ 4. Delete the contents of the objects in `config-schema`. Start filling them back in once you have a clear idea what will need to be configured.
30
+ 5. Delete the `greeter` and `patient-getter` directories, and the contents of `root.component.tsx`.
31
+ 6. Delete the contents of `translations/en.json`.
32
+ 7. Open up `.github/workflows` and adapt it to your needs. If you're writing
33
+ a microfrontend that will be managed by the community, you might be able to
34
+ just replace all instances of `template` with your microfrontend's name.
35
+ However, if you're writing a microfrontend for a specific organization or
36
+ implementation, you will probably need to configure GitHub Actions differently.
37
+ 8. Delete the contents of this README and write a short explanation of what
38
+ you intend to build. Links to planning or design documents can be very helpful.
39
+
40
+ At this point, you should be able to write your first page as a React application.
41
+
42
+ Check out the [Medication dispensing app](https://github.com/openmrs/openmrs-esm-dispensing-app) for an example of a non-trivial app built using the Template.
43
+
44
+ ## Integrating it into your application
45
+
46
+ Please see [Creating a Frontend Module](https://o3-docs.openmrs.org/docs/recipes/create-a-frontend-module).