@bahmni/registration-app 0.0.1-dev.83 → 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-BRUQ8FW4.js";
2
- import { g as d, c as f, a as e } from "./index-6W6KoYqE.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-BUtI73pq.js";
2
+ import { g as d, c as f, a as e } from "./index-DYCaOGIr.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-BRUQ8FW4.js";
2
- import { g as v, c as C, a as e } from "./index-6W6KoYqE.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-BUtI73pq.js";
2
+ import { g as v, c as C, a as e } from "./index-DYCaOGIr.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-6W6KoYqE.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-DYCaOGIr.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -160250,6 +160250,8 @@ function lS0(t, e) {
160250
160250
  }));
160251
160251
  }
160252
160252
  function sS0(t) {
160253
+ if (t.states.length === 0)
160254
+ return null;
160253
160255
  if (t.dateCompleted !== null) {
160254
160256
  const e = t.states.filter(
160255
160257
  (r) => r.endDate !== null
@@ -160347,7 +160349,7 @@ const ck1 = (t, e) => ["programs", t, e], hS0 = async (t, e) => {
160347
160349
  }
160348
160350
  );
160349
160351
  case "state":
160350
- return /* @__PURE__ */ le(
160352
+ return d.currentStateName ? /* @__PURE__ */ le(
160351
160353
  Do,
160352
160354
  {
160353
160355
  id: `${d.uuid}-state`,
@@ -160355,7 +160357,7 @@ const ck1 = (t, e) => ["programs", t, e], hS0 = async (t, e) => {
160355
160357
  type: "outline",
160356
160358
  children: d.currentStateName
160357
160359
  }
160358
- );
160360
+ ) : "-";
160359
160361
  default:
160360
160362
  return /* @__PURE__ */ le(
160361
160363
  "span",
@@ -162272,7 +162274,7 @@ var TU0 = (t, e = !1) => {
162272
162274
  const e = xk1(() => {
162273
162275
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t;
162274
162276
  let d;
162275
- return this.#i ? d = this.#i : (d = Hk1(() => import("./LNWAZHJI-CFzPdIwL.js")), this.#i = d), qk1(this.#h, this.#r), Vk1(d, zk1({
162277
+ return this.#i ? d = this.#i : (d = Hk1(() => import("./LNWAZHJI-BtLkda3M.js")), this.#i = d), qk1(this.#h, this.#r), Vk1(d, zk1({
162276
162278
  get queryFlavor() {
162277
162279
  return r.#d;
162278
162280
  },
@@ -162370,7 +162372,7 @@ var TU0 = (t, e = !1) => {
162370
162372
  const e = xk1(() => {
162371
162373
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t, [d] = this.#i;
162372
162374
  let u;
162373
- return this.#l ? u = this.#l : (u = Hk1(() => import("./MWZ6AO7Z-CHEm91VL.js")), this.#l = u), qk1(this.#h, this.#r), Vk1(u, zk1({
162375
+ return this.#l ? u = this.#l : (u = Hk1(() => import("./MWZ6AO7Z-CxsYoh8W.js")), this.#l = u), qk1(this.#h, this.#r), Vk1(u, zk1({
162374
162376
  get queryFlavor() {
162375
162377
  return r.#d;
162376
162378
  },
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Z as E, X as a, Y as i } from "./index-6W6KoYqE.js";
1
+ import { Z as E, X as a, Y as i } from "./index-DYCaOGIr.js";
2
2
  export {
3
3
  E as IDENTIFIER_TYPES_QUERY_KEY,
4
4
  a as RegistrationApp,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/registration-app",
3
- "version": "0.0.1-dev.83",
3
+ "version": "0.0.1-dev.84",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",