@bahmni/clinical-app 0.0.1-dev.351 → 0.0.1-dev.353

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.
@@ -1,5 +1,5 @@
1
1
  import { jsxs as d, jsx as e } from "react/jsx-runtime";
2
- import { u as r, cA as o, cB as l, cC as c, b7 as m, b8 as g, cD as h, cE as p, cF as b, aG as u } from "./index-BUeio6DV.js";
2
+ import { u as r, cA as o, cB as l, cC as c, b7 as m, b8 as g, cD as h, cE as b, cF as p, aG as u } from "./index-DRz5WzPs.js";
3
3
  import { Suspense as E } from "react";
4
4
  import "@tanstack/react-query";
5
5
  const _ = "index-module_loading__FAL7n", $ = "index-module_message__KjCnF", t = {
@@ -37,11 +37,11 @@ const _ = "index-module_loading__FAL7n", $ = "index-module_message__KjCnF", t =
37
37
  }
38
38
  ),
39
39
  /* @__PURE__ */ e(h, { children: i.map((a) => {
40
- const n = p(
40
+ const n = b(
41
41
  a.extensionParams?.searchHandler ?? ""
42
42
  )?.component;
43
43
  return /* @__PURE__ */ e(
44
- b,
44
+ p,
45
45
  {
46
46
  id: `${a.id}-panel`,
47
47
  "data-testid": `${a.id}-panel-test-id`,
@@ -1,8 +1,8 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { bE as m, u, H as p, bB as f, bL as b, aG as _, bH as x } from "./index-BUeio6DV.js";
2
+ import { bE as m, u, x as p, bB as f, bL as x, aG as b, bH as _ } from "./index-DRz5WzPs.js";
3
3
  import { lazy as E, useMemo as r, Suspense as N } from "react";
4
4
  import "@tanstack/react-query";
5
- import { u as h } from "./hook-CcvJOz2O.js";
5
+ import { u as h } from "./hook-DrO0sfnB.js";
6
6
  const P = (s) => {
7
7
  const i = /* @__PURE__ */ new Map();
8
8
  for (const e of s) {
@@ -14,13 +14,13 @@ const P = (s) => {
14
14
  (e) => !e.requiredPrivileges || e.requiredPrivileges.length === 0 || m(i, e.requiredPrivileges)
15
15
  ), L = {
16
16
  "org.bahmni.clinical.v2.search": E(
17
- () => import("./index-BofloRYy.js")
17
+ () => import("./index-Lkh7JKQ-.js")
18
18
  )
19
- }, C = "index-module_page__16xxw", H = "index-module_loading__wNI-4", I = "index-module_tabs__ZZv8Y", y = "index-module_message__Ib5Iw", l = {
19
+ }, C = "index-module_page__16xxw", I = "index-module_loading__wNI-4", y = "index-module_tabs__ZZv8Y", H = "index-module_message__Ib5Iw", l = {
20
20
  page: C,
21
- loading: H,
22
- tabs: I,
23
- message: y
21
+ loading: I,
22
+ tabs: y,
23
+ message: H
24
24
  }, q = () => {
25
25
  const { t: s } = u(), { clinicalConfig: i } = h(), { userPrivileges: e } = p(), o = r(
26
26
  () => [
@@ -40,9 +40,9 @@ const P = (s) => {
40
40
  [c, e]
41
41
  );
42
42
  return /* @__PURE__ */ t(
43
- b,
43
+ x,
44
44
  {
45
- header: /* @__PURE__ */ t(x, { breadcrumbItems: o }),
45
+ header: /* @__PURE__ */ t(_, { breadcrumbItems: o }),
46
46
  main: /* @__PURE__ */ t(
47
47
  "div",
48
48
  {
@@ -60,7 +60,7 @@ const P = (s) => {
60
60
  N,
61
61
  {
62
62
  fallback: /* @__PURE__ */ t(
63
- _,
63
+ b,
64
64
  {
65
65
  type: "multi",
66
66
  className: l.loading
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { cG as c } from "./index-BUeio6DV.js";
1
+ import { cG as c } from "./index-DRz5WzPs.js";
2
2
  export {
3
3
  c as ClinicalApp
4
4
  };
@@ -82,19 +82,6 @@
82
82
  "COMMON_SEARCH_NO_RESULTS": "No results found for the given search criteria.",
83
83
  "COMMON_SEARCH_RANGE_ORDER_INVALID": "To value must be greater than or equal to From value",
84
84
  "COMMON_SEARCH_RESULTS_TABLE_TITLE": "Search Results",
85
- "COMMON_SEARCH_RESULT_FIELD_APPOINTMENT_DATE": "Date",
86
- "COMMON_SEARCH_RESULT_FIELD_APPOINTMENT_NUMBER": "Appointment Number",
87
- "COMMON_SEARCH_RESULT_FIELD_APPOINTMENT_REASON": "Reason",
88
- "COMMON_SEARCH_RESULT_FIELD_APPOINTMENT_SERVICE": "Service",
89
- "COMMON_SEARCH_RESULT_FIELD_APPOINTMENT_STATUS": "Status",
90
- "COMMON_SEARCH_RESULT_FIELD_APPOINTMENT_TIME": "Time",
91
- "COMMON_SEARCH_RESULT_FIELD_PATIENT_AGE": "Age",
92
- "COMMON_SEARCH_RESULT_FIELD_PATIENT_APPLICANT_ID": "Applicant ID",
93
- "COMMON_SEARCH_RESULT_FIELD_PATIENT_BIRTHDATE": "Birthdate",
94
- "COMMON_SEARCH_RESULT_FIELD_PATIENT_EMAIL": "Email",
95
- "COMMON_SEARCH_RESULT_FIELD_PATIENT_NAME": "Name",
96
- "COMMON_SEARCH_RESULT_FIELD_PATIENT_PHONE": "Phone",
97
- "COMMON_SEARCH_RESULT_FIELD_PATIENT_SEX": "Sex",
98
85
  "COMMON_SEARCH_SEARCH_BUTTON": "Search",
99
86
  "COMMON_SEARCH_SELECT_CONTEXT_PLACEHOLDER": "Select a context",
100
87
  "COMMON_SEARCH_SELECT_CONTEXT_TITLE": "Search Context",
@@ -82,19 +82,6 @@
82
82
  "COMMON_SEARCH_NO_RESULTS": "No se encontraron resultados para los criterios de búsqueda dados.",
83
83
  "COMMON_SEARCH_RANGE_ORDER_INVALID": "El valor final debe ser mayor o igual al valor inicial",
84
84
  "COMMON_SEARCH_RESULTS_TABLE_TITLE": "Resultados de búsqueda",
85
- "COMMON_SEARCH_RESULT_FIELD_APPOINTMENT_DATE": "Fecha",
86
- "COMMON_SEARCH_RESULT_FIELD_APPOINTMENT_NUMBER": "Número de cita",
87
- "COMMON_SEARCH_RESULT_FIELD_APPOINTMENT_REASON": "Motivo",
88
- "COMMON_SEARCH_RESULT_FIELD_APPOINTMENT_SERVICE": "Servicio",
89
- "COMMON_SEARCH_RESULT_FIELD_APPOINTMENT_STATUS": "Estado",
90
- "COMMON_SEARCH_RESULT_FIELD_APPOINTMENT_TIME": "Hora",
91
- "COMMON_SEARCH_RESULT_FIELD_PATIENT_AGE": "Edad",
92
- "COMMON_SEARCH_RESULT_FIELD_PATIENT_APPLICANT_ID": "ID del solicitante",
93
- "COMMON_SEARCH_RESULT_FIELD_PATIENT_BIRTHDATE": "Fecha de nacimiento",
94
- "COMMON_SEARCH_RESULT_FIELD_PATIENT_EMAIL": "Correo electrónico",
95
- "COMMON_SEARCH_RESULT_FIELD_PATIENT_NAME": "Nombre",
96
- "COMMON_SEARCH_RESULT_FIELD_PATIENT_PHONE": "Teléfono",
97
- "COMMON_SEARCH_RESULT_FIELD_PATIENT_SEX": "Sexo",
98
85
  "COMMON_SEARCH_SEARCH_BUTTON": "Buscar",
99
86
  "COMMON_SEARCH_SELECT_CONTEXT_PLACEHOLDER": "Seleccionar un contexto",
100
87
  "COMMON_SEARCH_SELECT_CONTEXT_TITLE": "Contexto de Búsqueda",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/clinical-app",
3
- "version": "0.0.1-dev.351",
3
+ "version": "0.0.1-dev.353",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",