@bahmni/clinical-app 0.0.1-dev.63 → 0.0.1-dev.66
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/{LNWAZHJI-CODhNZeS.js → LNWAZHJI-Bck4TK-5.js} +2 -2
- package/dist/{MWZ6AO7Z-DTeH7oJA.js → MWZ6AO7Z-bVUlUlYb.js} +2 -2
- package/dist/{YPM2AS64-Bb_tqA63.js → YPM2AS64-CyJUHsV7.js} +1 -1
- package/dist/{index-03SQdE-u.js → index-CGyoluxB.js} +46 -38
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-
|
|
2
|
-
import { g as d, c as f, a as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-CyJUHsV7.js";
|
|
2
|
+
import { g as d, c as f, a as e } from "./index-CGyoluxB.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-
|
|
2
|
-
import { g as v, c as C, a as e } from "./index-
|
|
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-CyJUHsV7.js";
|
|
2
|
+
import { g as v, c as C, a as e } from "./index-CGyoluxB.js";
|
|
3
3
|
var h = (t) => {
|
|
4
4
|
const [r, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var ws = Object.defineProperty;
|
|
2
2
|
var xs = (e, t, n) => t in e ? ws(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var _e = (e, t, n) => xs(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
|
-
import { b as $e, d as K, o as xt, e as H, c as L, a as v, P as zo, m as ye, S as z, t as q, i as k, f as G, h as T, j as $s, k as sr, u as Ce, l as V, s as Vn, n as jn, p as ft, q as A, r as Cs, v as cn, w as He, x as Ss, y as _t, z as Kt, A as ks, B as Es, C as Cn, F as Ds, D as Hr, E as Nt, $ as Ko, G as Ms, H as As, I as W, J as Ur, K as Ts, L as Fs, M as lr, N as Is, O as Os, Q as Kn, R as Ls, T as Ps, U as oe, V as qs, W as _s } from "./index-
|
|
4
|
+
import { b as $e, d as K, o as xt, e as H, c as L, a as v, P as zo, m as ye, S as z, t as q, i as k, f as G, h as T, j as $s, k as sr, u as Ce, l as V, s as Vn, n as jn, p as ft, q as A, r as Cs, v as cn, w as He, x as Ss, y as _t, z as Kt, A as ks, B as Es, C as Cn, F as Ds, D as Hr, E as Nt, $ as Ko, G as Ms, H as As, I as W, J as Ur, K as Ts, L as Fs, M as lr, N as Is, O as Os, Q as Kn, R as Ls, T as Ps, U as oe, V as qs, W as _s } from "./index-CGyoluxB.js";
|
|
5
5
|
var Rs = (e) => e != null, zs = (e) => e.filter(Rs);
|
|
6
6
|
function Ks(e) {
|
|
7
7
|
return (...t) => {
|
|
@@ -67743,42 +67743,46 @@ const {
|
|
|
67743
67743
|
getAdapter: sI0,
|
|
67744
67744
|
mergeConfig: dI0
|
|
67745
67745
|
} = e0, U0 = (t) => {
|
|
67746
|
-
|
|
67746
|
+
var e;
|
|
67747
|
+
let r = "Error", n = "An unexpected error occurred";
|
|
67747
67748
|
if (!t)
|
|
67748
|
-
return { title:
|
|
67749
|
+
return { title: r, message: n };
|
|
67749
67750
|
if (typeof t == "string")
|
|
67750
|
-
|
|
67751
|
+
n = t;
|
|
67751
67752
|
else if (e0.isAxiosError(t)) {
|
|
67752
|
-
const
|
|
67753
|
-
if (
|
|
67754
|
-
switch (
|
|
67755
|
-
case 400:
|
|
67756
|
-
|
|
67753
|
+
const a = t;
|
|
67754
|
+
if (a != null && a.response)
|
|
67755
|
+
switch (a.response.status) {
|
|
67756
|
+
case 400: {
|
|
67757
|
+
r = "Bad Request";
|
|
67758
|
+
const c = a.response.data;
|
|
67759
|
+
n = ((e = c == null ? void 0 : c.error) == null ? void 0 : e.message) ?? (c == null ? void 0 : c.message) ?? "Invalid input parameters. Please check your request and try again.";
|
|
67757
67760
|
break;
|
|
67761
|
+
}
|
|
67758
67762
|
case 401:
|
|
67759
|
-
|
|
67763
|
+
r = "Unauthorized", n = "You are not authorized to perform this action. Please log in again.";
|
|
67760
67764
|
break;
|
|
67761
67765
|
case 403:
|
|
67762
|
-
|
|
67766
|
+
r = "Unauthorized", n = "You are not authorized to perform this action. Please log in again.";
|
|
67763
67767
|
break;
|
|
67764
67768
|
case 404:
|
|
67765
|
-
|
|
67769
|
+
r = "Not Found", n = "The requested resource was not found.";
|
|
67766
67770
|
break;
|
|
67767
67771
|
case 500:
|
|
67768
67772
|
case 502:
|
|
67769
67773
|
case 503:
|
|
67770
67774
|
case 504:
|
|
67771
|
-
|
|
67775
|
+
r = "Server Error", n = "The server encountered an error. Please try again later.";
|
|
67772
67776
|
break;
|
|
67773
67777
|
default: {
|
|
67774
|
-
|
|
67775
|
-
const
|
|
67776
|
-
|
|
67778
|
+
r = "Error";
|
|
67779
|
+
const c = a.response.data;
|
|
67780
|
+
n = (c == null ? void 0 : c.message) ?? a.message ?? "An unknown error occurred";
|
|
67777
67781
|
}
|
|
67778
67782
|
}
|
|
67779
|
-
else t instanceof Error ?
|
|
67780
|
-
} else t instanceof Error ?
|
|
67781
|
-
return { title:
|
|
67783
|
+
else t instanceof Error ? n = t.message : (r = "Network Error", n = "Unable to connect to the server. Please check your internet connection.");
|
|
67784
|
+
} else t instanceof Error ? n = t.message : n = "An unknown error occurred";
|
|
67785
|
+
return { title: r, message: n };
|
|
67782
67786
|
}, yk2 = "/bahmni/home/index.html#/login";
|
|
67783
67787
|
var J4 = function() {
|
|
67784
67788
|
return J4 = Object.assign || function(t) {
|
|
@@ -149487,42 +149491,46 @@ const {
|
|
|
149487
149491
|
getAdapter: SI0,
|
|
149488
149492
|
mergeConfig: RI0
|
|
149489
149493
|
} = t0, ur = (t) => {
|
|
149490
|
-
|
|
149494
|
+
var e;
|
|
149495
|
+
let r = "Error", n = "An unexpected error occurred";
|
|
149491
149496
|
if (!t)
|
|
149492
|
-
return { title:
|
|
149497
|
+
return { title: r, message: n };
|
|
149493
149498
|
if (typeof t == "string")
|
|
149494
|
-
|
|
149499
|
+
n = t;
|
|
149495
149500
|
else if (t0.isAxiosError(t)) {
|
|
149496
|
-
const
|
|
149497
|
-
if (
|
|
149498
|
-
switch (
|
|
149499
|
-
case 400:
|
|
149500
|
-
|
|
149501
|
+
const a = t;
|
|
149502
|
+
if (a != null && a.response)
|
|
149503
|
+
switch (a.response.status) {
|
|
149504
|
+
case 400: {
|
|
149505
|
+
r = "Bad Request";
|
|
149506
|
+
const c = a.response.data;
|
|
149507
|
+
n = ((e = c == null ? void 0 : c.error) == null ? void 0 : e.message) ?? (c == null ? void 0 : c.message) ?? "Invalid input parameters. Please check your request and try again.";
|
|
149501
149508
|
break;
|
|
149509
|
+
}
|
|
149502
149510
|
case 401:
|
|
149503
|
-
|
|
149511
|
+
r = "Unauthorized", n = "You are not authorized to perform this action. Please log in again.";
|
|
149504
149512
|
break;
|
|
149505
149513
|
case 403:
|
|
149506
|
-
|
|
149514
|
+
r = "Unauthorized", n = "You are not authorized to perform this action. Please log in again.";
|
|
149507
149515
|
break;
|
|
149508
149516
|
case 404:
|
|
149509
|
-
|
|
149517
|
+
r = "Not Found", n = "The requested resource was not found.";
|
|
149510
149518
|
break;
|
|
149511
149519
|
case 500:
|
|
149512
149520
|
case 502:
|
|
149513
149521
|
case 503:
|
|
149514
149522
|
case 504:
|
|
149515
|
-
|
|
149523
|
+
r = "Server Error", n = "The server encountered an error. Please try again later.";
|
|
149516
149524
|
break;
|
|
149517
149525
|
default: {
|
|
149518
|
-
|
|
149519
|
-
const
|
|
149520
|
-
|
|
149526
|
+
r = "Error";
|
|
149527
|
+
const c = a.response.data;
|
|
149528
|
+
n = (c == null ? void 0 : c.message) ?? a.message ?? "An unknown error occurred";
|
|
149521
149529
|
}
|
|
149522
149530
|
}
|
|
149523
|
-
else t instanceof Error ?
|
|
149524
|
-
} else t instanceof Error ?
|
|
149525
|
-
return { title:
|
|
149531
|
+
else t instanceof Error ? n = t.message : (r = "Network Error", n = "Unable to connect to the server. Please check your internet connection.");
|
|
149532
|
+
} else t instanceof Error ? n = t.message : n = "An unknown error occurred";
|
|
149533
|
+
return { title: r, message: n };
|
|
149526
149534
|
}, gx0 = "/bahmni/home/index.html#/login";
|
|
149527
149535
|
var ta = function() {
|
|
149528
149536
|
return ta = Object.assign || function(t) {
|
|
@@ -163878,7 +163886,7 @@ var iB0 = (t, e = !1) => {
|
|
|
163878
163886
|
const e = ID1(() => {
|
|
163879
163887
|
const r = this, [n] = ge(this, Aa), [a] = ge(this, _a), [c] = ge(this, $a), [i] = ge(this, Oa), [l] = ge(this, Jl), [s] = ge(this, La);
|
|
163880
163888
|
let d;
|
|
163881
|
-
return ge(this, Ta) ? d = ge(this, Ta) : (d = kD1(() => import("./LNWAZHJI-
|
|
163889
|
+
return ge(this, Ta) ? d = ge(this, Ta) : (d = kD1(() => import("./LNWAZHJI-Bck4TK-5.js")), t1(this, Ta, d)), aS1(ge(this, Yl), ge(this, Ca)), SD1(d, RD1({
|
|
163882
163890
|
get queryFlavor() {
|
|
163883
163891
|
return ge(r, Kl);
|
|
163884
163892
|
},
|
|
@@ -163977,7 +163985,7 @@ var iB0 = (t, e = !1) => {
|
|
|
163977
163985
|
const e = ID1(() => {
|
|
163978
163986
|
const r = this, [n] = ge(this, Ra), [a] = ge(this, ka), [c] = ge(this, Za), [i] = ge(this, Ia), [l] = ge(this, ns), [s] = ge(this, Da), [d] = ge(this, Ba);
|
|
163979
163987
|
let u;
|
|
163980
|
-
return ge(this, Pa) ? u = ge(this, Pa) : (u = kD1(() => import("./MWZ6AO7Z-
|
|
163988
|
+
return ge(this, Pa) ? u = ge(this, Pa) : (u = kD1(() => import("./MWZ6AO7Z-bVUlUlYb.js")), t1(this, Pa, u)), aS1(ge(this, rs), ge(this, Sa)), SD1(u, RD1({
|
|
163981
163989
|
get queryFlavor() {
|
|
163982
163990
|
return ge(r, es);
|
|
163983
163991
|
},
|
package/dist/index.js
CHANGED