@bahmni/clinical-app 0.0.1-dev.82 → 0.0.1-dev.84

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
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-DKtlkmJo.js";
2
- import { g as d, c as f, a as e } from "./index-BbtluRDj.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-C46Xn-3d.js";
2
+ import { g as d, c as f, a as e } from "./index-Csk6y7Uz.js";
3
3
  var p = (a) => {
4
4
  const [r, t] = c({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,5 +1,5 @@
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-DKtlkmJo.js";
2
- import { g as v, c as C, a as e } from "./index-BbtluRDj.js";
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-C46Xn-3d.js";
2
+ import { g as v, c as C, a as e } from "./index-Csk6y7Uz.js";
3
3
  var h = (t) => {
4
4
  const [r, o] = s({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,4 +1,4 @@
1
- import { b as we, d as z, o as xt, e as B, c as q, a as y, P as Ro, m as ye, S as R, t as _, i as k, f as N, h as A, j as bs, k as ir, u as $e, l as U, s as Hn, n as Vn, p as dt, q as D, r as xs, v as cn, w as Be, x as ws, y as qt, z as zt, A as $s, B as Cs, C as $n, F as Ss, D as Nr, E as Bt, $ as zo, G as ks, H as Es, I as j, J as Ur, K as Ms, L as Ds, M as sr, N as As, O as Ts, Q as zn, R as Fs, T as Is, U as Z, V as Ps, W as Ls } from "./index-BbtluRDj.js";
1
+ import { b as we, d as z, o as xt, e as B, c as q, a as y, P as Ro, m as ye, S as R, t as _, i as k, f as N, h as A, j as bs, k as ir, u as $e, l as U, s as Hn, n as Vn, p as dt, q as D, r as xs, v as cn, w as Be, x as ws, y as qt, z as zt, A as $s, B as Cs, C as $n, F as Ss, D as Nr, E as Bt, $ as zo, G as ks, H as Es, I as j, J as Ur, K as Ms, L as Ds, M as sr, N as As, O as Ts, Q as zn, R as Fs, T as Is, U as Z, V as Ps, W as Ls } from "./index-Csk6y7Uz.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -161523,6 +161523,8 @@ function d3t(t, e) {
161523
161523
  }));
161524
161524
  }
161525
161525
  function u3t(t) {
161526
+ if (t.states.length === 0)
161527
+ return null;
161526
161528
  if (t.dateCompleted !== null) {
161527
161529
  const e = t.states.filter(
161528
161530
  (r) => r.endDate !== null
@@ -161620,7 +161622,7 @@ const efe = (t, e) => ["programs", t, e], f3t = async (t, e) => {
161620
161622
  }
161621
161623
  );
161622
161624
  case "state":
161623
- return /* @__PURE__ */ jsx(
161625
+ return _.currentStateName ? /* @__PURE__ */ jsx(
161624
161626
  K0,
161625
161627
  {
161626
161628
  id: `${_.uuid}-state`,
@@ -161628,7 +161630,7 @@ const efe = (t, e) => ["programs", t, e], f3t = async (t, e) => {
161628
161630
  type: "outline",
161629
161631
  children: _.currentStateName
161630
161632
  }
161631
- );
161633
+ ) : "-";
161632
161634
  default:
161633
161635
  return /* @__PURE__ */ jsx(
161634
161636
  "span",
@@ -163660,7 +163662,7 @@ var displayValue = (t, e = !1) => {
163660
163662
  const e = render(() => {
163661
163663
  const r = this, [a] = this.#o, [l] = this.#f, [c] = this.#u, [u] = this.#d, [p] = this.#h, [m] = this.#t;
163662
163664
  let _;
163663
- return this.#s ? _ = this.#s : (_ = lazy(() => import("./LNWAZHJI-Bnb2fX9o.js")), this.#s = _), setupStyleSheet(this.#i, this.#l), createComponent(_, mergeProps({
163665
+ return this.#s ? _ = this.#s : (_ = lazy(() => import("./LNWAZHJI-CIFS8yP4.js")), this.#s = _), setupStyleSheet(this.#i, this.#l), createComponent(_, mergeProps({
163664
163666
  get queryFlavor() {
163665
163667
  return r.#n;
163666
163668
  },
@@ -163758,7 +163760,7 @@ var displayValue = (t, e = !1) => {
163758
163760
  const e = render(() => {
163759
163761
  const r = this, [a] = this.#o, [l] = this.#f, [c] = this.#u, [u] = this.#d, [p] = this.#h, [m] = this.#t, [_] = this.#s;
163760
163762
  let g;
163761
- return this.#c ? g = this.#c : (g = lazy(() => import("./MWZ6AO7Z-Dm33kU8K.js")), this.#c = g), setupStyleSheet(this.#i, this.#l), createComponent(g, mergeProps({
163763
+ return this.#c ? g = this.#c : (g = lazy(() => import("./MWZ6AO7Z-DkACGr7I.js")), this.#c = g), setupStyleSheet(this.#i, this.#l), createComponent(g, mergeProps({
163762
163764
  get queryFlavor() {
163763
163765
  return r.#n;
163764
163766
  },
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { X as i } from "./index-BbtluRDj.js";
1
+ import { X as i } from "./index-Csk6y7Uz.js";
2
2
  export {
3
3
  i as ClinicalApp
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/clinical-app",
3
- "version": "0.0.1-dev.82",
3
+ "version": "0.0.1-dev.84",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",