@bahmni/widgets 0.0.1-dev.437 → 0.0.1-dev.438
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/{DocumentsTable-TdMkZVYF.js → DocumentsTable-sn65Z6Fg.js} +22 -22
- package/dist/{FormsTable-RNXvHVxa.js → FormsTable-CeXGYLm0.js} +52 -52
- package/dist/{Observations-BhakBZ2a.js → Observations-CWoM5sBe.js} +41 -41
- package/dist/{index-BmsXMzpQ.js → index-mhCtVZYq.js} +60 -57
- package/dist/index.css +1 -1
- package/dist/index.js +14 -14
- package/package.json +1 -1
|
@@ -69828,7 +69828,7 @@ function YVt(t) {
|
|
|
69828
69828
|
}
|
|
69829
69829
|
})), r.current;
|
|
69830
69830
|
}
|
|
69831
|
-
const JVt = "
|
|
69831
|
+
const JVt = "_dataTableBody_11n0o_1", XVt = "_skeleton_11n0o_72", QVt = "_statePlaceholder_11n0o_77", eHt = "_emptyStateCell_11n0o_88", tHt = "_pagination_11n0o_99", rHt = "_setPagination_11n0o_104", nHt = "_setNavButton_11n0o_114", oHt = "_setPaginationPages_11n0o_126", aHt = "_setPaginationPage_11n0o_126", iHt = "_setPaginationPageActive_11n0o_156", sHt = "_filterRow_11n0o_165", lHt = "_filterCell_11n0o_169", cHt = "_filterPlaceholderCell_11n0o_174", dHt = "_groupRow_11n0o_179", uHt = "_groupCell_11n0o_183", hHt = "_groupToggle_11n0o_187", pHt = "_groupCount_11n0o_201", fHt = "_groupByDropdown_11n0o_206", mHt = "_actionButtons_11n0o_211", wHt = "_visuallyHidden_11n0o_216", gHt = "_selectFilter_11n0o_228", vHt = "_dateRangeFilter_11n0o_232", c1 = {
|
|
69832
69832
|
dataTableBody: JVt,
|
|
69833
69833
|
skeleton: XVt,
|
|
69834
69834
|
statePlaceholder: QVt,
|
|
@@ -70318,12 +70318,13 @@ const ll = ({
|
|
|
70318
70318
|
startPage: n = 1,
|
|
70319
70319
|
hasNext: a,
|
|
70320
70320
|
hasPrevious: i,
|
|
70321
|
-
|
|
70322
|
-
|
|
70323
|
-
|
|
70324
|
-
|
|
70325
|
-
|
|
70326
|
-
|
|
70321
|
+
disabled: s = !1,
|
|
70322
|
+
onSetChange: l,
|
|
70323
|
+
previousLabel: c = "Previous set",
|
|
70324
|
+
nextLabel: d = "Next set"
|
|
70325
|
+
} = e, u = t.getPageCount();
|
|
70326
|
+
if (u <= 1 && !i && !a) return null;
|
|
70327
|
+
const m = n + t.getState().pagination.pageIndex;
|
|
70327
70328
|
return /* @__PURE__ */ xe(
|
|
70328
70329
|
"nav",
|
|
70329
70330
|
{
|
|
@@ -70337,29 +70338,30 @@ const ll = ({
|
|
|
70337
70338
|
kind: "ghost",
|
|
70338
70339
|
size: "sm",
|
|
70339
70340
|
className: c1.setNavButton,
|
|
70340
|
-
onClick: () =>
|
|
70341
|
+
onClick: () => l("prev", t),
|
|
70342
|
+
disabled: s,
|
|
70341
70343
|
testId: `${r}-previous-set`,
|
|
70342
70344
|
children: [
|
|
70343
70345
|
/* @__PURE__ */ R(Vc, {}),
|
|
70344
|
-
|
|
70346
|
+
c
|
|
70345
70347
|
]
|
|
70346
70348
|
}
|
|
70347
70349
|
),
|
|
70348
|
-
/* @__PURE__ */ R("ul", { className: c1.setPaginationPages, children: Array.from({ length:
|
|
70349
|
-
const
|
|
70350
|
+
/* @__PURE__ */ R("ul", { className: c1.setPaginationPages, children: Array.from({ length: u }, (w, g) => {
|
|
70351
|
+
const H = n + g, E = H === m;
|
|
70350
70352
|
return /* @__PURE__ */ R("li", { children: /* @__PURE__ */ R(
|
|
70351
70353
|
"button",
|
|
70352
70354
|
{
|
|
70353
70355
|
type: "button",
|
|
70354
70356
|
className: ge(c1.setPaginationPage, {
|
|
70355
|
-
[c1.setPaginationPageActive]:
|
|
70357
|
+
[c1.setPaginationPageActive]: E
|
|
70356
70358
|
}),
|
|
70357
|
-
"aria-current":
|
|
70358
|
-
onClick: () => t.setPageIndex(
|
|
70359
|
-
"data-testid": `${r}-page-${
|
|
70360
|
-
children:
|
|
70359
|
+
"aria-current": E ? "page" : void 0,
|
|
70360
|
+
onClick: () => t.setPageIndex(g),
|
|
70361
|
+
"data-testid": `${r}-page-${H}`,
|
|
70362
|
+
children: H
|
|
70361
70363
|
}
|
|
70362
|
-
) },
|
|
70364
|
+
) }, H);
|
|
70363
70365
|
}) }),
|
|
70364
70366
|
a && /* @__PURE__ */ xe(
|
|
70365
70367
|
x0,
|
|
@@ -70367,10 +70369,11 @@ const ll = ({
|
|
|
70367
70369
|
kind: "ghost",
|
|
70368
70370
|
size: "sm",
|
|
70369
70371
|
className: c1.setNavButton,
|
|
70370
|
-
onClick: () =>
|
|
70372
|
+
onClick: () => l("next", t),
|
|
70373
|
+
disabled: s,
|
|
70371
70374
|
testId: `${r}-next-set`,
|
|
70372
70375
|
children: [
|
|
70373
|
-
|
|
70376
|
+
d,
|
|
70374
70377
|
/* @__PURE__ */ R(Hc, {})
|
|
70375
70378
|
]
|
|
70376
70379
|
}
|
|
@@ -115487,7 +115490,7 @@ const Nr1 = [
|
|
|
115487
115490
|
},
|
|
115488
115491
|
{
|
|
115489
115492
|
type: "patientDocuments",
|
|
115490
|
-
component: e0(() => import("./DocumentsTable-
|
|
115493
|
+
component: e0(() => import("./DocumentsTable-sn65Z6Fg.js"))
|
|
115491
115494
|
},
|
|
115492
115495
|
{
|
|
115493
115496
|
type: "flowSheet",
|
|
@@ -115495,7 +115498,7 @@ const Nr1 = [
|
|
|
115495
115498
|
},
|
|
115496
115499
|
{
|
|
115497
115500
|
type: "forms",
|
|
115498
|
-
component: e0(() => import("./FormsTable-
|
|
115501
|
+
component: e0(() => import("./FormsTable-CeXGYLm0.js"))
|
|
115499
115502
|
},
|
|
115500
115503
|
{
|
|
115501
115504
|
type: "labOrders",
|
|
@@ -115503,7 +115506,7 @@ const Nr1 = [
|
|
|
115503
115506
|
},
|
|
115504
115507
|
{
|
|
115505
115508
|
type: "observations",
|
|
115506
|
-
component: e0(() => import("./Observations-
|
|
115509
|
+
component: e0(() => import("./Observations-CWoM5sBe.js"))
|
|
115507
115510
|
},
|
|
115508
115511
|
{
|
|
115509
115512
|
type: "ordersControl",
|
|
@@ -115971,32 +115974,32 @@ const _Pe = o.createContext(void 0), Fr1 = () => {
|
|
|
115971
115974
|
};
|
|
115972
115975
|
export {
|
|
115973
115976
|
TJt as $,
|
|
115974
|
-
|
|
115975
|
-
|
|
115977
|
+
fi as A,
|
|
115978
|
+
Rn1 as B,
|
|
115976
115979
|
O2 as C,
|
|
115977
115980
|
hn1 as D,
|
|
115978
|
-
|
|
115981
|
+
Ln1 as E,
|
|
115979
115982
|
a0 as F,
|
|
115980
115983
|
R1 as G,
|
|
115981
|
-
|
|
115982
|
-
|
|
115983
|
-
|
|
115984
|
-
|
|
115985
|
-
|
|
115986
|
-
|
|
115987
|
-
|
|
115984
|
+
IMt as H,
|
|
115985
|
+
Sn1 as I,
|
|
115986
|
+
Zn1 as J,
|
|
115987
|
+
Qjt as K,
|
|
115988
|
+
CUt as L,
|
|
115989
|
+
rWt as M,
|
|
115990
|
+
RWt as N,
|
|
115988
115991
|
Mp as O,
|
|
115989
115992
|
kn1 as P,
|
|
115990
|
-
|
|
115993
|
+
BWt as Q,
|
|
115991
115994
|
FIe as R,
|
|
115992
115995
|
PIe as S,
|
|
115993
115996
|
BIe as T,
|
|
115994
|
-
|
|
115997
|
+
Tn1 as U,
|
|
115995
115998
|
sr as V,
|
|
115996
|
-
|
|
115997
|
-
|
|
115998
|
-
|
|
115999
|
-
|
|
115999
|
+
UGt as W,
|
|
116000
|
+
FWt as X,
|
|
116001
|
+
sYt as Y,
|
|
116002
|
+
NBe as Z,
|
|
116000
116003
|
ZYt as _,
|
|
116001
116004
|
z1 as a,
|
|
116002
116005
|
UJt as a0,
|
|
@@ -116045,26 +116048,26 @@ export {
|
|
|
116045
116048
|
$1 as b,
|
|
116046
116049
|
gp as c,
|
|
116047
116050
|
kr as d,
|
|
116048
|
-
|
|
116049
|
-
|
|
116050
|
-
|
|
116051
|
-
|
|
116052
|
-
|
|
116053
|
-
|
|
116054
|
-
|
|
116055
|
-
|
|
116056
|
-
|
|
116057
|
-
|
|
116058
|
-
|
|
116059
|
-
|
|
116060
|
-
|
|
116051
|
+
Hi as e,
|
|
116052
|
+
_Tt as f,
|
|
116053
|
+
wr as g,
|
|
116054
|
+
Dn1 as h,
|
|
116055
|
+
bBe as i,
|
|
116056
|
+
lke as j,
|
|
116057
|
+
cKt as k,
|
|
116058
|
+
xc as l,
|
|
116059
|
+
qo as m,
|
|
116060
|
+
Jn1 as n,
|
|
116061
|
+
Bn1 as o,
|
|
116062
|
+
Y9e as p,
|
|
116063
|
+
Gyt as q,
|
|
116061
116064
|
Wo as r,
|
|
116062
|
-
|
|
116065
|
+
Fn1 as s,
|
|
116063
116066
|
Pn1 as t,
|
|
116064
116067
|
d0 as u,
|
|
116065
|
-
|
|
116066
|
-
|
|
116067
|
-
|
|
116068
|
-
|
|
116069
|
-
|
|
116068
|
+
ht as v,
|
|
116069
|
+
On1 as w,
|
|
116070
|
+
Wn1 as x,
|
|
116071
|
+
jn1 as y,
|
|
116072
|
+
Un1 as z
|
|
116070
116073
|
};
|