@bahmni/registration-app 0.0.1-dev.13

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 (63) hide show
  1. package/LICENSE +9 -0
  2. package/README.md +7 -0
  3. package/dist/App.d.ts +4 -0
  4. package/dist/App.d.ts.map +1 -0
  5. package/dist/LNWAZHJI-Bw_4ID3r.js +33 -0
  6. package/dist/MWZ6AO7Z-CaqB01sB.js +42 -0
  7. package/dist/YPM2AS64-Ck9T4Pfw.js +9159 -0
  8. package/dist/components/Header/Header.d.ts +18 -0
  9. package/dist/components/Header/Header.d.ts.map +1 -0
  10. package/dist/components/Header/index.d.ts +3 -0
  11. package/dist/components/Header/index.d.ts.map +1 -0
  12. package/dist/components/forms/additionalInfo/AdditionalInfo.d.ts +15 -0
  13. package/dist/components/forms/additionalInfo/AdditionalInfo.d.ts.map +1 -0
  14. package/dist/components/forms/addressInfo/AddressInfo.d.ts +14 -0
  15. package/dist/components/forms/addressInfo/AddressInfo.d.ts.map +1 -0
  16. package/dist/components/forms/contactInfo/ContactInfo.d.ts +15 -0
  17. package/dist/components/forms/contactInfo/ContactInfo.d.ts.map +1 -0
  18. package/dist/components/forms/profile/Profile.d.ts +22 -0
  19. package/dist/components/forms/profile/Profile.d.ts.map +1 -0
  20. package/dist/components/forms/profile/dateAgeUtils.d.ts +44 -0
  21. package/dist/components/forms/profile/dateAgeUtils.d.ts.map +1 -0
  22. package/dist/config/tanstackQuery.d.ts +3 -0
  23. package/dist/config/tanstackQuery.d.ts.map +1 -0
  24. package/dist/constants/app.d.ts +2 -0
  25. package/dist/constants/app.d.ts.map +1 -0
  26. package/dist/contexts/RegistrationConfigContext.d.ts +3 -0
  27. package/dist/contexts/RegistrationConfigContext.d.ts.map +1 -0
  28. package/dist/hooks/useCreatePatient.d.ts +26 -0
  29. package/dist/hooks/useCreatePatient.d.ts.map +1 -0
  30. package/dist/hooks/useRegistrationConfig.d.ts +8 -0
  31. package/dist/hooks/useRegistrationConfig.d.ts.map +1 -0
  32. package/dist/index-Ce5nX17l.js +153910 -0
  33. package/dist/index.css +1 -0
  34. package/dist/index.d.ts +3 -0
  35. package/dist/index.d.ts.map +1 -0
  36. package/dist/index.js +4 -0
  37. package/dist/locales/locale_en.json +88 -0
  38. package/dist/locales/locale_es.json +88 -0
  39. package/dist/models/patient.d.ts +41 -0
  40. package/dist/models/patient.d.ts.map +1 -0
  41. package/dist/models/registrationConfig.d.ts +15 -0
  42. package/dist/models/registrationConfig.d.ts.map +1 -0
  43. package/dist/models/validation.d.ts +72 -0
  44. package/dist/models/validation.d.ts.map +1 -0
  45. package/dist/pages/createPatientPage/CreatePatient.d.ts +3 -0
  46. package/dist/pages/createPatientPage/CreatePatient.d.ts.map +1 -0
  47. package/dist/pages/createPatientPage/patientFormService.d.ts +36 -0
  48. package/dist/pages/createPatientPage/patientFormService.d.ts.map +1 -0
  49. package/dist/pages/createPatientPage/visitTypeSelector.d.ts +7 -0
  50. package/dist/pages/createPatientPage/visitTypeSelector.d.ts.map +1 -0
  51. package/dist/pages/patientSearchPage/appointmentSearchResultActionHandler.d.ts +13 -0
  52. package/dist/pages/patientSearchPage/appointmentSearchResultActionHandler.d.ts.map +1 -0
  53. package/dist/pages/patientSearchPage/index.d.ts +8 -0
  54. package/dist/pages/patientSearchPage/index.d.ts.map +1 -0
  55. package/dist/pages/patientSearchPage/utils.d.ts +15 -0
  56. package/dist/pages/patientSearchPage/utils.d.ts.map +1 -0
  57. package/dist/providers/RegistrationConfigProvider.d.ts +9 -0
  58. package/dist/providers/RegistrationConfigProvider.d.ts.map +1 -0
  59. package/dist/utils/ageUtils.d.ts +36 -0
  60. package/dist/utils/ageUtils.d.ts.map +1 -0
  61. package/dist/utils/identifierGenderUtils.d.ts +9 -0
  62. package/dist/utils/identifierGenderUtils.d.ts.map +1 -0
  63. package/package.json +31 -0
package/LICENSE ADDED
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This Source Code Form is subject to the terms of the Mozilla Public License,
3
+ * v. 2.0. If a copy of the MPL was not distributed with this file, You can
4
+ * obtain one at http://mozilla.org/MPL/2.0/. Bahmni is also distributed under
5
+ * the terms of the Healthcare Disclaimer located at http://openmrs.org/license.
6
+ *
7
+ * Copyright 2025. Thoughtworks, Inc. Thoughtworks is a registered trademark
8
+ * and the Thoughtworks graphic logo is a trademark of Thoughtworks Inc.
9
+ */
package/README.md ADDED
@@ -0,0 +1,7 @@
1
+ # @bahmni/registration-app
2
+
3
+ This library was generated with [Nx](https://nx.dev).
4
+
5
+ ## Running unit tests
6
+
7
+ Run `nx test @bahmni/registration-app` to execute the unit tests via [Vitest](https://vitest.dev/).
package/dist/App.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ import { default as React } from 'react';
2
+ declare const RegistrationApp: React.FC;
3
+ export { RegistrationApp };
4
+ //# sourceMappingURL=App.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"App.d.ts","sourceRoot":"","sources":["../src/App.tsx"],"names":[],"mappings":"AASA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAUnD,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EA0C5B,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-Ck9T4Pfw.js";
2
+ import { g as d, c as f, a as e } from "./index-Ce5nX17l.js";
3
+ var p = (a) => {
4
+ const [r, t] = c({
5
+ prefix: "TanstackQueryDevtools"
6
+ }), n = d(), s = f(() => {
7
+ const o = r.theme_preference || l;
8
+ return o !== "system" ? o : n();
9
+ });
10
+ return e(i.Provider, {
11
+ value: a,
12
+ get children() {
13
+ return e(m, {
14
+ localStore: r,
15
+ setLocalStore: t,
16
+ get children() {
17
+ return e(u.Provider, {
18
+ value: s,
19
+ get children() {
20
+ return e(v, {
21
+ localStore: r,
22
+ setLocalStore: t
23
+ });
24
+ }
25
+ });
26
+ }
27
+ });
28
+ }
29
+ });
30
+ }, C = p;
31
+ export {
32
+ C as default
33
+ };
@@ -0,0 +1,42 @@
1
+ import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./YPM2AS64-Ck9T4Pfw.js";
2
+ import { g as v, c as C, a as e } from "./index-Ce5nX17l.js";
3
+ var h = (t) => {
4
+ const [r, o] = s({
5
+ prefix: "TanstackQueryDevtools"
6
+ }), a = v(), l = C(() => {
7
+ const n = r.theme_preference || c;
8
+ return n !== "system" ? n : a();
9
+ });
10
+ return e(d.Provider, {
11
+ value: t,
12
+ get children() {
13
+ return e(u, {
14
+ disabled: !0,
15
+ localStore: r,
16
+ setLocalStore: o,
17
+ get children() {
18
+ return e(i.Provider, {
19
+ value: l,
20
+ get children() {
21
+ return e(m, {
22
+ get children() {
23
+ return e(P, {
24
+ localStore: r,
25
+ setLocalStore: o,
26
+ get onClose() {
27
+ return t.onClose;
28
+ },
29
+ showPanelViewOnly: !0
30
+ });
31
+ }
32
+ });
33
+ }
34
+ });
35
+ }
36
+ });
37
+ }
38
+ });
39
+ }, p = h;
40
+ export {
41
+ p as default
42
+ };