@bahmni/clinical-app 0.0.1-dev.394 → 0.0.1-dev.395
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.
- package/dist/{ConsultationPage-Cm53s85r.js → ConsultationPage-COghgi2o.js} +3255 -3224
- package/dist/{DocumentsTable-Cz-E1n_9-CmQIT4Tp.js → DocumentsTable-C1A0EhCk-Dcg_k1NV.js} +19 -19
- package/dist/{FormsTable-D2iNj6MO-D1nvhjMs.js → FormsTable-C2Gb9B6j-D75NB2JN.js} +76 -76
- package/dist/{LNWAZHJI-gp-xkQOg.js → LNWAZHJI-DgoaSbxQ.js} +2 -2
- package/dist/{MWZ6AO7Z-P2sh4x3s.js → MWZ6AO7Z-nfqenvHr.js} +2 -2
- package/dist/{Observations-mnzr0Nxn-DXzrhGpX.js → Observations-Clr4S77q-Cf6fX8wH.js} +40 -40
- package/dist/{YPM2AS64-CjcEDAe0.js → YPM2AS64-B68tFm35.js} +1 -1
- package/dist/{hook-BXZiot0d.js → hook-DZc1STZs.js} +1 -1
- package/dist/{index-fju85p4c.js → index-BstPgq-n.js} +20735 -20732
- package/dist/{index-CVoDmXMu.js → index-CMCgtwD7.js} +7 -7
- package/dist/{index-D1Ry5y2F.js → index-DHqBRCLG.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/locales/locale_en.json +2 -0
- package/dist/locales/locale_es.json +2 -0
- package/dist/pages/ConsultationPage.d.ts.map +1 -1
- package/dist/pages/util.d.ts +1 -0
- package/dist/pages/util.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { u as g, e as u,
|
|
2
|
+
import { u as g, e as u, bH as b, bR as f, bS as p, bT as x, aG as N, bN as _ } from "./index-BstPgq-n.js";
|
|
3
3
|
import { lazy as h, useMemo as t, Suspense as C } from "react";
|
|
4
4
|
import "@tanstack/react-query";
|
|
5
|
-
import { u as E } from "./hook-
|
|
5
|
+
import { u as E } from "./hook-DZc1STZs.js";
|
|
6
6
|
const L = {
|
|
7
7
|
"org.bahmni.clinical.v2.search": h(
|
|
8
|
-
() => import("./index-
|
|
8
|
+
() => import("./index-DHqBRCLG.js")
|
|
9
9
|
)
|
|
10
10
|
}, v = "index-module_page__16xxw", H = "index-module_loading__wNI-4", I = "index-module_message__Ib5Iw", l = {
|
|
11
11
|
page: v,
|
|
12
12
|
loading: H,
|
|
13
13
|
message: I
|
|
14
|
-
},
|
|
14
|
+
}, T = () => {
|
|
15
15
|
const { t: a } = g(), { clinicalConfig: o } = E(), { userPrivileges: r } = u(), m = t(
|
|
16
16
|
() => [
|
|
17
17
|
{ id: "home", label: a("HOME_LABEL"), href: b },
|
|
@@ -37,7 +37,7 @@ const L = {
|
|
|
37
37
|
return /* @__PURE__ */ s(
|
|
38
38
|
x,
|
|
39
39
|
{
|
|
40
|
-
header: /* @__PURE__ */ s(
|
|
40
|
+
header: /* @__PURE__ */ s(_, { breadcrumbItems: m }),
|
|
41
41
|
main: /* @__PURE__ */ s(
|
|
42
42
|
"div",
|
|
43
43
|
{
|
|
@@ -54,7 +54,7 @@ const L = {
|
|
|
54
54
|
C,
|
|
55
55
|
{
|
|
56
56
|
fallback: /* @__PURE__ */ s(
|
|
57
|
-
|
|
57
|
+
N,
|
|
58
58
|
{
|
|
59
59
|
type: "multi",
|
|
60
60
|
className: l.loading
|
|
@@ -81,5 +81,5 @@ const L = {
|
|
|
81
81
|
);
|
|
82
82
|
};
|
|
83
83
|
export {
|
|
84
|
-
|
|
84
|
+
T as default
|
|
85
85
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as d, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { u as r,
|
|
2
|
+
import { u as r, cI as l, cJ as o, cK as c, b7 as m, b8 as g, cL as h, cM as p, cN as b, aG as u } from "./index-BstPgq-n.js";
|
|
3
3
|
import { Suspense as _ } from "react";
|
|
4
4
|
import "@tanstack/react-query";
|
|
5
5
|
const y = "index-module_loading__eyE2k", E = "index-module_message__95HmH", $ = "index-module_panel__8VJh2", s = {
|
package/dist/index.js
CHANGED
|
@@ -362,6 +362,7 @@
|
|
|
362
362
|
"LOADING_DASHBOARD_CONTENT": "Loading dashboard content...",
|
|
363
363
|
"LOADING_IMMUNIZATIONS": "Loading immunizations...",
|
|
364
364
|
"LOADING_MEDICATIONS": "Loading medications...",
|
|
365
|
+
"LOADING_PATIENT_DATA": "Loading patient data...",
|
|
365
366
|
"LOADING_USER_PRIVILEGES": "Loading user privileges...",
|
|
366
367
|
"LOADING_VACCINATIONS": "Loading Vaccinations...",
|
|
367
368
|
"LOCATION": "Location",
|
|
@@ -486,6 +487,7 @@
|
|
|
486
487
|
"PARTICIPANT": "Participant(s)",
|
|
487
488
|
"PATIENT_HEADER_LABEL": "Patient Header",
|
|
488
489
|
"PATIENT_HEADER_SECTION": "Patient Information Section",
|
|
490
|
+
"ERROR_PATIENT_NOT_FOUND": "Patient not found",
|
|
489
491
|
"PINNED_FORMS_INVALID_DATA": "Invalid pinned Forms data",
|
|
490
492
|
"PINNED_FORMS_USER_NOT_FOUND": "User not found",
|
|
491
493
|
"PRINT_MODAL_PREPARING_DOCUMENT": "Preparing document…",
|
|
@@ -358,6 +358,7 @@
|
|
|
358
358
|
"LOADING_DASHBOARD_CONTENT": "Cargando contenido del panel...",
|
|
359
359
|
"LOADING_IMMUNIZATIONS": "Cargando inmunizaciones...",
|
|
360
360
|
"LOADING_MEDICATIONS": "Cargando medicamentos...",
|
|
361
|
+
"LOADING_PATIENT_DATA": "Cargando datos del paciente...",
|
|
361
362
|
"LOADING_USER_PRIVILEGES": "Cargando privilegios de usuario...",
|
|
362
363
|
"LOADING_VACCINATIONS": "Cargando vacunas...",
|
|
363
364
|
"LOCATION": "Ubicación",
|
|
@@ -479,6 +480,7 @@
|
|
|
479
480
|
"PARTICIPANT": "Partícipe(es)",
|
|
480
481
|
"PATIENT_HEADER_LABEL": "Cabecera del Paciente",
|
|
481
482
|
"PATIENT_HEADER_SECTION": "Sección de Información del Paciente",
|
|
483
|
+
"ERROR_PATIENT_NOT_FOUND": "Paciente no encontrado",
|
|
482
484
|
"PINNED_FORMS_INVALID_DATA": "Datos de formularios anclados no válidos",
|
|
483
485
|
"PINNED_FORMS_USER_NOT_FOUND": "Usuario no encontrado",
|
|
484
486
|
"PRINT_MODAL_PREPARING_DOCUMENT": "Preparando documento…",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConsultationPage.d.ts","sourceRoot":"","sources":["../../src/pages/ConsultationPage.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConsultationPage.d.ts","sourceRoot":"","sources":["../../src/pages/ConsultationPage.tsx"],"names":[],"mappings":"AA0BA,OAAO,KAMN,MAAM,OAAO,CAAC;AAsCf;;;;;;;;GAQG;AACH,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAqV7B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
package/dist/pages/util.d.ts
CHANGED
|
@@ -4,5 +4,6 @@ import { DashboardConfig, DashboardSectionConfig, ControlConfig } from './models
|
|
|
4
4
|
export declare const getDefaultDashboard: (dashboards: Dashboard[]) => Dashboard | null;
|
|
5
5
|
export declare const filterControlsByPrivileges: (controls: ControlConfig[]) => ControlConfig[];
|
|
6
6
|
export declare const filterSectionsByPrivileges: (sections: DashboardSectionConfig[]) => DashboardSectionConfig[];
|
|
7
|
+
export declare const isPatientNotFoundError: (error: unknown) => boolean;
|
|
7
8
|
export declare const getSidebarItems: (dashboardConfig: DashboardConfig, t: (key: string) => string) => HeaderSideNavItem[];
|
|
8
9
|
//# sourceMappingURL=util.d.ts.map
|
package/dist/pages/util.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/pages/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/pages/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,OAAO,EAAE,SAAS,EAAE,MAAM,oCAAoC,CAAC;AAC/D,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,aAAa,EACd,MAAM,UAAU,CAAC;AAElB,eAAO,MAAM,mBAAmB,GAC9B,YAAY,SAAS,EAAE,KACtB,SAAS,GAAG,IAcd,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACrC,UAAU,aAAa,EAAE,KACxB,aAAa,EAIf,CAAC;AAEF,eAAO,MAAM,0BAA0B,GACrC,UAAU,sBAAsB,EAAE,KACjC,sBAAsB,EAOxB,CAAC;AAKF,eAAO,MAAM,sBAAsB,GAAI,OAAO,OAAO,KAAG,OAQvD,CAAC;AAEF,eAAO,MAAM,eAAe,GAC1B,iBAAiB,eAAe,EAChC,GAAG,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,KACzB,iBAAiB,EAMnB,CAAC"}
|