@hievilmath/browser-formidavim 1.1.1 → 1.1.2
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/index.js +13 -13
- package/index.mjs +317 -317
- package/lib/components/NetworkAwareWrapper.d.ts +1 -0
- package/package.json +2 -2
package/index.mjs
CHANGED
|
@@ -32,7 +32,7 @@ var vt = {};
|
|
|
32
32
|
var dn;
|
|
33
33
|
function ua() {
|
|
34
34
|
return dn || (dn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
35
|
-
var e = Ne, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"),
|
|
35
|
+
var e = Ne, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), p = Symbol.iterator, N = "@@iterator";
|
|
36
36
|
function R(u) {
|
|
37
37
|
if (u === null || typeof u != "object")
|
|
38
38
|
return null;
|
|
@@ -60,7 +60,7 @@ function ua() {
|
|
|
60
60
|
var I = !1, F = !1, j = !1, T = !1, W = !1, le;
|
|
61
61
|
le = Symbol.for("react.module.reference");
|
|
62
62
|
function nt(u) {
|
|
63
|
-
return !!(typeof u == "string" || typeof u == "function" || u === n || u === a || W || u === o || u ===
|
|
63
|
+
return !!(typeof u == "string" || typeof u == "function" || u === n || u === a || W || u === o || u === d || u === c || T || u === g || I || F || j || typeof u == "object" && u !== null && (u.$$typeof === h || u.$$typeof === m || u.$$typeof === i || u.$$typeof === s || u.$$typeof === l || // This needs to include all possible module reference object
|
|
64
64
|
// types supported by any Flight configuration anywhere since
|
|
65
65
|
// we don't know which Flight build this will end up being used
|
|
66
66
|
// with.
|
|
@@ -92,9 +92,9 @@ function ua() {
|
|
|
92
92
|
return "Profiler";
|
|
93
93
|
case o:
|
|
94
94
|
return "StrictMode";
|
|
95
|
-
case c:
|
|
96
|
-
return "Suspense";
|
|
97
95
|
case d:
|
|
96
|
+
return "Suspense";
|
|
97
|
+
case c:
|
|
98
98
|
return "SuspenseList";
|
|
99
99
|
}
|
|
100
100
|
if (typeof u == "object")
|
|
@@ -288,9 +288,9 @@ function ua() {
|
|
|
288
288
|
if (typeof u == "string")
|
|
289
289
|
return me(u);
|
|
290
290
|
switch (u) {
|
|
291
|
-
case c:
|
|
292
|
-
return me("Suspense");
|
|
293
291
|
case d:
|
|
292
|
+
return me("Suspense");
|
|
293
|
+
case c:
|
|
294
294
|
return me("SuspenseList");
|
|
295
295
|
}
|
|
296
296
|
if (typeof u == "object")
|
|
@@ -631,24 +631,24 @@ function ma() {
|
|
|
631
631
|
}
|
|
632
632
|
var b = ma();
|
|
633
633
|
function ha(e) {
|
|
634
|
-
const { onError: t, on401: r, on403: n, on400: o, on500: a, addHeaders: i, onRequest: s, onResponse: l } = e,
|
|
635
|
-
return
|
|
636
|
-
(
|
|
637
|
-
(
|
|
634
|
+
const { onError: t, on401: r, on403: n, on400: o, on500: a, addHeaders: i, onRequest: s, onResponse: l } = e, d = v.create();
|
|
635
|
+
return d.interceptors.request.use((c) => (c.headers || (c.headers = {}), typeof i == "function" && Object.entries(i(c) || {}).forEach(([m, h]) => c.headers[m] = h), typeof s == "function" && s(c), c)), d.interceptors.response.use(
|
|
636
|
+
(c) => (typeof l == "function" && l(c), c),
|
|
637
|
+
(c) => {
|
|
638
638
|
var h, g, p, N;
|
|
639
639
|
const m = { config: {} };
|
|
640
|
-
if (typeof t == "function" && t((
|
|
641
|
-
typeof o == "function" && o((
|
|
642
|
-
else if (((g =
|
|
643
|
-
typeof r == "function" && r((
|
|
644
|
-
else if (((p =
|
|
645
|
-
typeof n == "function" && n((
|
|
646
|
-
else if (((N =
|
|
647
|
-
typeof a == "function" && a((
|
|
640
|
+
if (typeof t == "function" && t((c == null ? void 0 : c.response) || m), ((h = c == null ? void 0 : c.response) == null ? void 0 : h.status) === 400)
|
|
641
|
+
typeof o == "function" && o((c == null ? void 0 : c.response) || m);
|
|
642
|
+
else if (((g = c == null ? void 0 : c.response) == null ? void 0 : g.status) === 401)
|
|
643
|
+
typeof r == "function" && r((c == null ? void 0 : c.response) || m);
|
|
644
|
+
else if (((p = c == null ? void 0 : c.response) == null ? void 0 : p.status) === 403)
|
|
645
|
+
typeof n == "function" && n((c == null ? void 0 : c.response) || m);
|
|
646
|
+
else if (((N = c == null ? void 0 : c.response) == null ? void 0 : N.status) === 500)
|
|
647
|
+
typeof a == "function" && a((c == null ? void 0 : c.response) || m);
|
|
648
648
|
else
|
|
649
|
-
throw
|
|
649
|
+
throw c;
|
|
650
650
|
}
|
|
651
|
-
),
|
|
651
|
+
), d;
|
|
652
652
|
}
|
|
653
653
|
function pa(e, t) {
|
|
654
654
|
const {
|
|
@@ -708,8 +708,8 @@ const P = function(e, ...t) {
|
|
|
708
708
|
e && (a = e.baseOptions);
|
|
709
709
|
const i = { method: "DELETE", ...a, ...r }, s = {};
|
|
710
710
|
P(o, {});
|
|
711
|
-
let
|
|
712
|
-
return i.headers = { ...s, ...
|
|
711
|
+
let d = a && a.headers ? a.headers : {};
|
|
712
|
+
return i.headers = { ...s, ...d, ...r.headers }, {
|
|
713
713
|
url: E(o),
|
|
714
714
|
options: i
|
|
715
715
|
};
|
|
@@ -727,8 +727,8 @@ const P = function(e, ...t) {
|
|
|
727
727
|
e && (a = e.baseOptions);
|
|
728
728
|
const i = { method: "GET", ...a, ...r }, s = {};
|
|
729
729
|
P(o, {});
|
|
730
|
-
let
|
|
731
|
-
return i.headers = { ...s, ...
|
|
730
|
+
let d = a && a.headers ? a.headers : {};
|
|
731
|
+
return i.headers = { ...s, ...d, ...r.headers }, {
|
|
732
732
|
url: E(o),
|
|
733
733
|
options: i
|
|
734
734
|
};
|
|
@@ -746,8 +746,8 @@ const P = function(e, ...t) {
|
|
|
746
746
|
e && (a = e.baseOptions);
|
|
747
747
|
const i = { method: "GET", ...a, ...r }, s = {};
|
|
748
748
|
P(o, {});
|
|
749
|
-
let
|
|
750
|
-
return i.headers = { ...s, ...
|
|
749
|
+
let d = a && a.headers ? a.headers : {};
|
|
750
|
+
return i.headers = { ...s, ...d, ...r.headers }, {
|
|
751
751
|
url: E(o),
|
|
752
752
|
options: i
|
|
753
753
|
};
|
|
@@ -781,10 +781,10 @@ const P = function(e, ...t) {
|
|
|
781
781
|
const o = "/api/ab-test/{id}".replace("{id}", encodeURIComponent(String(t))), a = new URL(o, S);
|
|
782
782
|
let i;
|
|
783
783
|
e && (i = e.baseOptions);
|
|
784
|
-
const s = { method: "PATCH", ...i, ...n }, l = {},
|
|
785
|
-
l["Content-Type"] = "application/json", P(a,
|
|
786
|
-
let
|
|
787
|
-
return s.headers = { ...l, ...
|
|
784
|
+
const s = { method: "PATCH", ...i, ...n }, l = {}, d = {};
|
|
785
|
+
l["Content-Type"] = "application/json", P(a, d);
|
|
786
|
+
let c = i && i.headers ? i.headers : {};
|
|
787
|
+
return s.headers = { ...l, ...c, ...n.headers }, s.data = L(r, s, e), {
|
|
788
788
|
url: E(a),
|
|
789
789
|
options: s
|
|
790
790
|
};
|
|
@@ -802,8 +802,8 @@ const P = function(e, ...t) {
|
|
|
802
802
|
e && (a = e.baseOptions);
|
|
803
803
|
const i = { method: "POST", ...a, ...r }, s = {}, l = {};
|
|
804
804
|
s["Content-Type"] = "application/json", P(o, l);
|
|
805
|
-
let
|
|
806
|
-
return i.headers = { ...s, ...
|
|
805
|
+
let d = a && a.headers ? a.headers : {};
|
|
806
|
+
return i.headers = { ...s, ...d, ...r.headers }, i.data = L(t, i, e), {
|
|
807
807
|
url: E(o),
|
|
808
808
|
options: i
|
|
809
809
|
};
|
|
@@ -821,10 +821,10 @@ const P = function(e, ...t) {
|
|
|
821
821
|
const a = "/api/ab-test-search", i = new URL(a, S);
|
|
822
822
|
let s;
|
|
823
823
|
e && (s = e.baseOptions);
|
|
824
|
-
const l = { method: "POST", ...s, ...o },
|
|
825
|
-
r !== void 0 && (
|
|
824
|
+
const l = { method: "POST", ...s, ...o }, d = {}, c = {};
|
|
825
|
+
r !== void 0 && (c.pagingKey = r), n !== void 0 && (c.pageSize = n), d["Content-Type"] = "application/json", P(i, c);
|
|
826
826
|
let m = s && s.headers ? s.headers : {};
|
|
827
|
-
return l.headers = { ...
|
|
827
|
+
return l.headers = { ...d, ...m, ...o.headers }, l.data = L(t, l, e), {
|
|
828
828
|
url: E(i),
|
|
829
829
|
options: l
|
|
830
830
|
};
|
|
@@ -842,8 +842,8 @@ const P = function(e, ...t) {
|
|
|
842
842
|
e && (a = e.baseOptions);
|
|
843
843
|
const i = { method: "DELETE", ...a, ...r }, s = {};
|
|
844
844
|
P(o, {});
|
|
845
|
-
let
|
|
846
|
-
return i.headers = { ...s, ...
|
|
845
|
+
let d = a && a.headers ? a.headers : {};
|
|
846
|
+
return i.headers = { ...s, ...d, ...r.headers }, {
|
|
847
847
|
url: E(o),
|
|
848
848
|
options: i
|
|
849
849
|
};
|
|
@@ -861,8 +861,8 @@ const P = function(e, ...t) {
|
|
|
861
861
|
e && (a = e.baseOptions);
|
|
862
862
|
const i = { method: "GET", ...a, ...r }, s = {};
|
|
863
863
|
P(o, {});
|
|
864
|
-
let
|
|
865
|
-
return i.headers = { ...s, ...
|
|
864
|
+
let d = a && a.headers ? a.headers : {};
|
|
865
|
+
return i.headers = { ...s, ...d, ...r.headers }, {
|
|
866
866
|
url: E(o),
|
|
867
867
|
options: i
|
|
868
868
|
};
|
|
@@ -896,10 +896,10 @@ const P = function(e, ...t) {
|
|
|
896
896
|
const o = "/api/component/{id}".replace("{id}", encodeURIComponent(String(t))), a = new URL(o, S);
|
|
897
897
|
let i;
|
|
898
898
|
e && (i = e.baseOptions);
|
|
899
|
-
const s = { method: "PATCH", ...i, ...n }, l = {},
|
|
900
|
-
l["Content-Type"] = "application/json", P(a,
|
|
901
|
-
let
|
|
902
|
-
return s.headers = { ...l, ...
|
|
899
|
+
const s = { method: "PATCH", ...i, ...n }, l = {}, d = {};
|
|
900
|
+
l["Content-Type"] = "application/json", P(a, d);
|
|
901
|
+
let c = i && i.headers ? i.headers : {};
|
|
902
|
+
return s.headers = { ...l, ...c, ...n.headers }, s.data = L(r, s, e), {
|
|
903
903
|
url: E(a),
|
|
904
904
|
options: s
|
|
905
905
|
};
|
|
@@ -917,8 +917,8 @@ const P = function(e, ...t) {
|
|
|
917
917
|
e && (a = e.baseOptions);
|
|
918
918
|
const i = { method: "POST", ...a, ...r }, s = {}, l = {};
|
|
919
919
|
s["Content-Type"] = "application/json", P(o, l);
|
|
920
|
-
let
|
|
921
|
-
return i.headers = { ...s, ...
|
|
920
|
+
let d = a && a.headers ? a.headers : {};
|
|
921
|
+
return i.headers = { ...s, ...d, ...r.headers }, i.data = L(t, i, e), {
|
|
922
922
|
url: E(o),
|
|
923
923
|
options: i
|
|
924
924
|
};
|
|
@@ -936,10 +936,10 @@ const P = function(e, ...t) {
|
|
|
936
936
|
const a = "/api/component-search", i = new URL(a, S);
|
|
937
937
|
let s;
|
|
938
938
|
e && (s = e.baseOptions);
|
|
939
|
-
const l = { method: "POST", ...s, ...o },
|
|
940
|
-
r !== void 0 && (
|
|
939
|
+
const l = { method: "POST", ...s, ...o }, d = {}, c = {};
|
|
940
|
+
r !== void 0 && (c.pagingKey = r), n !== void 0 && (c.pageSize = n), d["Content-Type"] = "application/json", P(i, c);
|
|
941
941
|
let m = s && s.headers ? s.headers : {};
|
|
942
|
-
return l.headers = { ...
|
|
942
|
+
return l.headers = { ...d, ...m, ...o.headers }, l.data = L(t, l, e), {
|
|
943
943
|
url: E(i),
|
|
944
944
|
options: l
|
|
945
945
|
};
|
|
@@ -957,8 +957,8 @@ const P = function(e, ...t) {
|
|
|
957
957
|
e && (a = e.baseOptions);
|
|
958
958
|
const i = { method: "DELETE", ...a, ...r }, s = {};
|
|
959
959
|
P(o, {});
|
|
960
|
-
let
|
|
961
|
-
return i.headers = { ...s, ...
|
|
960
|
+
let d = a && a.headers ? a.headers : {};
|
|
961
|
+
return i.headers = { ...s, ...d, ...r.headers }, {
|
|
962
962
|
url: E(o),
|
|
963
963
|
options: i
|
|
964
964
|
};
|
|
@@ -976,8 +976,8 @@ const P = function(e, ...t) {
|
|
|
976
976
|
e && (a = e.baseOptions);
|
|
977
977
|
const i = { method: "GET", ...a, ...r }, s = {};
|
|
978
978
|
P(o, {});
|
|
979
|
-
let
|
|
980
|
-
return i.headers = { ...s, ...
|
|
979
|
+
let d = a && a.headers ? a.headers : {};
|
|
980
|
+
return i.headers = { ...s, ...d, ...r.headers }, {
|
|
981
981
|
url: E(o),
|
|
982
982
|
options: i
|
|
983
983
|
};
|
|
@@ -1011,10 +1011,10 @@ const P = function(e, ...t) {
|
|
|
1011
1011
|
const o = "/api/condition/{id}".replace("{id}", encodeURIComponent(String(t))), a = new URL(o, S);
|
|
1012
1012
|
let i;
|
|
1013
1013
|
e && (i = e.baseOptions);
|
|
1014
|
-
const s = { method: "PATCH", ...i, ...n }, l = {},
|
|
1015
|
-
l["Content-Type"] = "application/json", P(a,
|
|
1016
|
-
let
|
|
1017
|
-
return s.headers = { ...l, ...
|
|
1014
|
+
const s = { method: "PATCH", ...i, ...n }, l = {}, d = {};
|
|
1015
|
+
l["Content-Type"] = "application/json", P(a, d);
|
|
1016
|
+
let c = i && i.headers ? i.headers : {};
|
|
1017
|
+
return s.headers = { ...l, ...c, ...n.headers }, s.data = L(r, s, e), {
|
|
1018
1018
|
url: E(a),
|
|
1019
1019
|
options: s
|
|
1020
1020
|
};
|
|
@@ -1032,8 +1032,8 @@ const P = function(e, ...t) {
|
|
|
1032
1032
|
e && (a = e.baseOptions);
|
|
1033
1033
|
const i = { method: "POST", ...a, ...r }, s = {}, l = {};
|
|
1034
1034
|
s["Content-Type"] = "application/json", P(o, l);
|
|
1035
|
-
let
|
|
1036
|
-
return i.headers = { ...s, ...
|
|
1035
|
+
let d = a && a.headers ? a.headers : {};
|
|
1036
|
+
return i.headers = { ...s, ...d, ...r.headers }, i.data = L(t, i, e), {
|
|
1037
1037
|
url: E(o),
|
|
1038
1038
|
options: i
|
|
1039
1039
|
};
|
|
@@ -1051,10 +1051,10 @@ const P = function(e, ...t) {
|
|
|
1051
1051
|
const a = "/api/condition-search", i = new URL(a, S);
|
|
1052
1052
|
let s;
|
|
1053
1053
|
e && (s = e.baseOptions);
|
|
1054
|
-
const l = { method: "POST", ...s, ...o },
|
|
1055
|
-
r !== void 0 && (
|
|
1054
|
+
const l = { method: "POST", ...s, ...o }, d = {}, c = {};
|
|
1055
|
+
r !== void 0 && (c.pagingKey = r), n !== void 0 && (c.pageSize = n), d["Content-Type"] = "application/json", P(i, c);
|
|
1056
1056
|
let m = s && s.headers ? s.headers : {};
|
|
1057
|
-
return l.headers = { ...
|
|
1057
|
+
return l.headers = { ...d, ...m, ...o.headers }, l.data = L(t, l, e), {
|
|
1058
1058
|
url: E(i),
|
|
1059
1059
|
options: l
|
|
1060
1060
|
};
|
|
@@ -1072,8 +1072,8 @@ const P = function(e, ...t) {
|
|
|
1072
1072
|
e && (a = e.baseOptions);
|
|
1073
1073
|
const i = { method: "POST", ...a, ...r }, s = {}, l = {};
|
|
1074
1074
|
s["Content-Type"] = "application/json", P(o, l);
|
|
1075
|
-
let
|
|
1076
|
-
return i.headers = { ...s, ...
|
|
1075
|
+
let d = a && a.headers ? a.headers : {};
|
|
1076
|
+
return i.headers = { ...s, ...d, ...r.headers }, i.data = L(t, i, e), {
|
|
1077
1077
|
url: E(o),
|
|
1078
1078
|
options: i
|
|
1079
1079
|
};
|
|
@@ -1091,8 +1091,8 @@ const P = function(e, ...t) {
|
|
|
1091
1091
|
e && (a = e.baseOptions);
|
|
1092
1092
|
const i = { method: "DELETE", ...a, ...r }, s = {};
|
|
1093
1093
|
P(o, {});
|
|
1094
|
-
let
|
|
1095
|
-
return i.headers = { ...s, ...
|
|
1094
|
+
let d = a && a.headers ? a.headers : {};
|
|
1095
|
+
return i.headers = { ...s, ...d, ...r.headers }, {
|
|
1096
1096
|
url: E(o),
|
|
1097
1097
|
options: i
|
|
1098
1098
|
};
|
|
@@ -1110,8 +1110,8 @@ const P = function(e, ...t) {
|
|
|
1110
1110
|
e && (a = e.baseOptions);
|
|
1111
1111
|
const i = { method: "GET", ...a, ...r }, s = {};
|
|
1112
1112
|
P(o, {});
|
|
1113
|
-
let
|
|
1114
|
-
return i.headers = { ...s, ...
|
|
1113
|
+
let d = a && a.headers ? a.headers : {};
|
|
1114
|
+
return i.headers = { ...s, ...d, ...r.headers }, {
|
|
1115
1115
|
url: E(o),
|
|
1116
1116
|
options: i
|
|
1117
1117
|
};
|
|
@@ -1128,10 +1128,10 @@ const P = function(e, ...t) {
|
|
|
1128
1128
|
const o = "/api/flow/slug/{slug}".replace("{slug}", encodeURIComponent(String(t))), a = new URL(o, S);
|
|
1129
1129
|
let i;
|
|
1130
1130
|
e && (i = e.baseOptions);
|
|
1131
|
-
const s = { method: "GET", ...i, ...n }, l = {},
|
|
1132
|
-
r !== void 0 && (
|
|
1133
|
-
let
|
|
1134
|
-
return s.headers = { ...l, ...
|
|
1131
|
+
const s = { method: "GET", ...i, ...n }, l = {}, d = {};
|
|
1132
|
+
r !== void 0 && (d.version = r), P(a, d);
|
|
1133
|
+
let c = i && i.headers ? i.headers : {};
|
|
1134
|
+
return s.headers = { ...l, ...c, ...n.headers }, {
|
|
1135
1135
|
url: E(a),
|
|
1136
1136
|
options: s
|
|
1137
1137
|
};
|
|
@@ -1149,8 +1149,8 @@ const P = function(e, ...t) {
|
|
|
1149
1149
|
e && (a = e.baseOptions);
|
|
1150
1150
|
const i = { method: "GET", ...a, ...r }, s = {};
|
|
1151
1151
|
P(o, {});
|
|
1152
|
-
let
|
|
1153
|
-
return i.headers = { ...s, ...
|
|
1152
|
+
let d = a && a.headers ? a.headers : {};
|
|
1153
|
+
return i.headers = { ...s, ...d, ...r.headers }, {
|
|
1154
1154
|
url: E(o),
|
|
1155
1155
|
options: i
|
|
1156
1156
|
};
|
|
@@ -1184,10 +1184,10 @@ const P = function(e, ...t) {
|
|
|
1184
1184
|
const o = "/api/flow/{id}".replace("{id}", encodeURIComponent(String(t))), a = new URL(o, S);
|
|
1185
1185
|
let i;
|
|
1186
1186
|
e && (i = e.baseOptions);
|
|
1187
|
-
const s = { method: "PATCH", ...i, ...n }, l = {},
|
|
1188
|
-
l["Content-Type"] = "application/json", P(a,
|
|
1189
|
-
let
|
|
1190
|
-
return s.headers = { ...l, ...
|
|
1187
|
+
const s = { method: "PATCH", ...i, ...n }, l = {}, d = {};
|
|
1188
|
+
l["Content-Type"] = "application/json", P(a, d);
|
|
1189
|
+
let c = i && i.headers ? i.headers : {};
|
|
1190
|
+
return s.headers = { ...l, ...c, ...n.headers }, s.data = L(r, s, e), {
|
|
1191
1191
|
url: E(a),
|
|
1192
1192
|
options: s
|
|
1193
1193
|
};
|
|
@@ -1205,8 +1205,8 @@ const P = function(e, ...t) {
|
|
|
1205
1205
|
e && (a = e.baseOptions);
|
|
1206
1206
|
const i = { method: "POST", ...a, ...r }, s = {}, l = {};
|
|
1207
1207
|
s["Content-Type"] = "application/json", P(o, l);
|
|
1208
|
-
let
|
|
1209
|
-
return i.headers = { ...s, ...
|
|
1208
|
+
let d = a && a.headers ? a.headers : {};
|
|
1209
|
+
return i.headers = { ...s, ...d, ...r.headers }, i.data = L(t, i, e), {
|
|
1210
1210
|
url: E(o),
|
|
1211
1211
|
options: i
|
|
1212
1212
|
};
|
|
@@ -1225,8 +1225,8 @@ const P = function(e, ...t) {
|
|
|
1225
1225
|
e && (i = e.baseOptions);
|
|
1226
1226
|
const s = { method: "DELETE", ...i, ...n }, l = {};
|
|
1227
1227
|
P(a, {});
|
|
1228
|
-
let
|
|
1229
|
-
return s.headers = { ...l, ...
|
|
1228
|
+
let c = i && i.headers ? i.headers : {};
|
|
1229
|
+
return s.headers = { ...l, ...c, ...n.headers }, {
|
|
1230
1230
|
url: E(a),
|
|
1231
1231
|
options: s
|
|
1232
1232
|
};
|
|
@@ -1245,8 +1245,8 @@ const P = function(e, ...t) {
|
|
|
1245
1245
|
e && (i = e.baseOptions);
|
|
1246
1246
|
const s = { method: "GET", ...i, ...n }, l = {};
|
|
1247
1247
|
P(a, {});
|
|
1248
|
-
let
|
|
1249
|
-
return s.headers = { ...l, ...
|
|
1248
|
+
let c = i && i.headers ? i.headers : {};
|
|
1249
|
+
return s.headers = { ...l, ...c, ...n.headers }, {
|
|
1250
1250
|
url: E(a),
|
|
1251
1251
|
options: s
|
|
1252
1252
|
};
|
|
@@ -1281,10 +1281,10 @@ const P = function(e, ...t) {
|
|
|
1281
1281
|
const a = "/api/flow-form/{flowId}/{formId}".replace("{flowId}", encodeURIComponent(String(t))).replace("{formId}", encodeURIComponent(String(r))), i = new URL(a, S);
|
|
1282
1282
|
let s;
|
|
1283
1283
|
e && (s = e.baseOptions);
|
|
1284
|
-
const l = { method: "PATCH", ...s, ...o },
|
|
1285
|
-
|
|
1284
|
+
const l = { method: "PATCH", ...s, ...o }, d = {}, c = {};
|
|
1285
|
+
d["Content-Type"] = "application/json", P(i, c);
|
|
1286
1286
|
let m = s && s.headers ? s.headers : {};
|
|
1287
|
-
return l.headers = { ...
|
|
1287
|
+
return l.headers = { ...d, ...m, ...o.headers }, l.data = L(n, l, e), {
|
|
1288
1288
|
url: E(i),
|
|
1289
1289
|
options: l
|
|
1290
1290
|
};
|
|
@@ -1302,8 +1302,8 @@ const P = function(e, ...t) {
|
|
|
1302
1302
|
e && (a = e.baseOptions);
|
|
1303
1303
|
const i = { method: "POST", ...a, ...r }, s = {}, l = {};
|
|
1304
1304
|
s["Content-Type"] = "application/json", P(o, l);
|
|
1305
|
-
let
|
|
1306
|
-
return i.headers = { ...s, ...
|
|
1305
|
+
let d = a && a.headers ? a.headers : {};
|
|
1306
|
+
return i.headers = { ...s, ...d, ...r.headers }, i.data = L(t, i, e), {
|
|
1307
1307
|
url: E(o),
|
|
1308
1308
|
options: i
|
|
1309
1309
|
};
|
|
@@ -1321,10 +1321,10 @@ const P = function(e, ...t) {
|
|
|
1321
1321
|
const a = "/api/flow-form-search", i = new URL(a, S);
|
|
1322
1322
|
let s;
|
|
1323
1323
|
e && (s = e.baseOptions);
|
|
1324
|
-
const l = { method: "POST", ...s, ...o },
|
|
1325
|
-
r !== void 0 && (
|
|
1324
|
+
const l = { method: "POST", ...s, ...o }, d = {}, c = {};
|
|
1325
|
+
r !== void 0 && (c.pagingKey = r), n !== void 0 && (c.pageSize = n), d["Content-Type"] = "application/json", P(i, c);
|
|
1326
1326
|
let m = s && s.headers ? s.headers : {};
|
|
1327
|
-
return l.headers = { ...
|
|
1327
|
+
return l.headers = { ...d, ...m, ...o.headers }, l.data = L(t, l, e), {
|
|
1328
1328
|
url: E(i),
|
|
1329
1329
|
options: l
|
|
1330
1330
|
};
|
|
@@ -1342,10 +1342,10 @@ const P = function(e, ...t) {
|
|
|
1342
1342
|
const a = "/api/flow-search", i = new URL(a, S);
|
|
1343
1343
|
let s;
|
|
1344
1344
|
e && (s = e.baseOptions);
|
|
1345
|
-
const l = { method: "POST", ...s, ...o },
|
|
1346
|
-
r !== void 0 && (
|
|
1345
|
+
const l = { method: "POST", ...s, ...o }, d = {}, c = {};
|
|
1346
|
+
r !== void 0 && (c.pagingKey = r), n !== void 0 && (c.pageSize = n), d["Content-Type"] = "application/json", P(i, c);
|
|
1347
1347
|
let m = s && s.headers ? s.headers : {};
|
|
1348
|
-
return l.headers = { ...
|
|
1348
|
+
return l.headers = { ...d, ...m, ...o.headers }, l.data = L(t, l, e), {
|
|
1349
1349
|
url: E(i),
|
|
1350
1350
|
options: l
|
|
1351
1351
|
};
|
|
@@ -1363,8 +1363,8 @@ const P = function(e, ...t) {
|
|
|
1363
1363
|
e && (a = e.baseOptions);
|
|
1364
1364
|
const i = { method: "DELETE", ...a, ...r }, s = {};
|
|
1365
1365
|
P(o, {});
|
|
1366
|
-
let
|
|
1367
|
-
return i.headers = { ...s, ...
|
|
1366
|
+
let d = a && a.headers ? a.headers : {};
|
|
1367
|
+
return i.headers = { ...s, ...d, ...r.headers }, {
|
|
1368
1368
|
url: E(o),
|
|
1369
1369
|
options: i
|
|
1370
1370
|
};
|
|
@@ -1382,8 +1382,8 @@ const P = function(e, ...t) {
|
|
|
1382
1382
|
e && (a = e.baseOptions);
|
|
1383
1383
|
const i = { method: "GET", ...a, ...r }, s = {};
|
|
1384
1384
|
P(o, {});
|
|
1385
|
-
let
|
|
1386
|
-
return i.headers = { ...s, ...
|
|
1385
|
+
let d = a && a.headers ? a.headers : {};
|
|
1386
|
+
return i.headers = { ...s, ...d, ...r.headers }, {
|
|
1387
1387
|
url: E(o),
|
|
1388
1388
|
options: i
|
|
1389
1389
|
};
|
|
@@ -1417,10 +1417,10 @@ const P = function(e, ...t) {
|
|
|
1417
1417
|
const o = "/api/form-component/{id}".replace("{id}", encodeURIComponent(String(t))), a = new URL(o, S);
|
|
1418
1418
|
let i;
|
|
1419
1419
|
e && (i = e.baseOptions);
|
|
1420
|
-
const s = { method: "PATCH", ...i, ...n }, l = {},
|
|
1421
|
-
l["Content-Type"] = "application/json", P(a,
|
|
1422
|
-
let
|
|
1423
|
-
return s.headers = { ...l, ...
|
|
1420
|
+
const s = { method: "PATCH", ...i, ...n }, l = {}, d = {};
|
|
1421
|
+
l["Content-Type"] = "application/json", P(a, d);
|
|
1422
|
+
let c = i && i.headers ? i.headers : {};
|
|
1423
|
+
return s.headers = { ...l, ...c, ...n.headers }, s.data = L(r, s, e), {
|
|
1424
1424
|
url: E(a),
|
|
1425
1425
|
options: s
|
|
1426
1426
|
};
|
|
@@ -1438,8 +1438,8 @@ const P = function(e, ...t) {
|
|
|
1438
1438
|
e && (a = e.baseOptions);
|
|
1439
1439
|
const i = { method: "POST", ...a, ...r }, s = {}, l = {};
|
|
1440
1440
|
s["Content-Type"] = "application/json", P(o, l);
|
|
1441
|
-
let
|
|
1442
|
-
return i.headers = { ...s, ...
|
|
1441
|
+
let d = a && a.headers ? a.headers : {};
|
|
1442
|
+
return i.headers = { ...s, ...d, ...r.headers }, i.data = L(t, i, e), {
|
|
1443
1443
|
url: E(o),
|
|
1444
1444
|
options: i
|
|
1445
1445
|
};
|
|
@@ -1457,10 +1457,10 @@ const P = function(e, ...t) {
|
|
|
1457
1457
|
const a = "/api/form-component-search", i = new URL(a, S);
|
|
1458
1458
|
let s;
|
|
1459
1459
|
e && (s = e.baseOptions);
|
|
1460
|
-
const l = { method: "POST", ...s, ...o },
|
|
1461
|
-
r !== void 0 && (
|
|
1460
|
+
const l = { method: "POST", ...s, ...o }, d = {}, c = {};
|
|
1461
|
+
r !== void 0 && (c.pagingKey = r), n !== void 0 && (c.pageSize = n), d["Content-Type"] = "application/json", P(i, c);
|
|
1462
1462
|
let m = s && s.headers ? s.headers : {};
|
|
1463
|
-
return l.headers = { ...
|
|
1463
|
+
return l.headers = { ...d, ...m, ...o.headers }, l.data = L(t, l, e), {
|
|
1464
1464
|
url: E(i),
|
|
1465
1465
|
options: l
|
|
1466
1466
|
};
|
|
@@ -1478,8 +1478,8 @@ const P = function(e, ...t) {
|
|
|
1478
1478
|
e && (a = e.baseOptions);
|
|
1479
1479
|
const i = { method: "POST", ...a, ...r }, s = {}, l = {};
|
|
1480
1480
|
s["Content-Type"] = "application/json", P(o, l);
|
|
1481
|
-
let
|
|
1482
|
-
return i.headers = { ...s, ...
|
|
1481
|
+
let d = a && a.headers ? a.headers : {};
|
|
1482
|
+
return i.headers = { ...s, ...d, ...r.headers }, i.data = L(t, i, e), {
|
|
1483
1483
|
url: E(o),
|
|
1484
1484
|
options: i
|
|
1485
1485
|
};
|
|
@@ -1497,8 +1497,8 @@ const P = function(e, ...t) {
|
|
|
1497
1497
|
e && (a = e.baseOptions);
|
|
1498
1498
|
const i = { method: "DELETE", ...a, ...r }, s = {};
|
|
1499
1499
|
P(o, {});
|
|
1500
|
-
let
|
|
1501
|
-
return i.headers = { ...s, ...
|
|
1500
|
+
let d = a && a.headers ? a.headers : {};
|
|
1501
|
+
return i.headers = { ...s, ...d, ...r.headers }, {
|
|
1502
1502
|
url: E(o),
|
|
1503
1503
|
options: i
|
|
1504
1504
|
};
|
|
@@ -1516,8 +1516,8 @@ const P = function(e, ...t) {
|
|
|
1516
1516
|
e && (a = e.baseOptions);
|
|
1517
1517
|
const i = { method: "GET", ...a, ...r }, s = {};
|
|
1518
1518
|
P(o, {});
|
|
1519
|
-
let
|
|
1520
|
-
return i.headers = { ...s, ...
|
|
1519
|
+
let d = a && a.headers ? a.headers : {};
|
|
1520
|
+
return i.headers = { ...s, ...d, ...r.headers }, {
|
|
1521
1521
|
url: E(o),
|
|
1522
1522
|
options: i
|
|
1523
1523
|
};
|
|
@@ -1551,10 +1551,10 @@ const P = function(e, ...t) {
|
|
|
1551
1551
|
const o = "/api/form/{id}".replace("{id}", encodeURIComponent(String(t))), a = new URL(o, S);
|
|
1552
1552
|
let i;
|
|
1553
1553
|
e && (i = e.baseOptions);
|
|
1554
|
-
const s = { method: "PATCH", ...i, ...n }, l = {},
|
|
1555
|
-
l["Content-Type"] = "application/json", P(a,
|
|
1556
|
-
let
|
|
1557
|
-
return s.headers = { ...l, ...
|
|
1554
|
+
const s = { method: "PATCH", ...i, ...n }, l = {}, d = {};
|
|
1555
|
+
l["Content-Type"] = "application/json", P(a, d);
|
|
1556
|
+
let c = i && i.headers ? i.headers : {};
|
|
1557
|
+
return s.headers = { ...l, ...c, ...n.headers }, s.data = L(r, s, e), {
|
|
1558
1558
|
url: E(a),
|
|
1559
1559
|
options: s
|
|
1560
1560
|
};
|
|
@@ -1572,8 +1572,8 @@ const P = function(e, ...t) {
|
|
|
1572
1572
|
e && (a = e.baseOptions);
|
|
1573
1573
|
const i = { method: "POST", ...a, ...r }, s = {}, l = {};
|
|
1574
1574
|
s["Content-Type"] = "application/json", P(o, l);
|
|
1575
|
-
let
|
|
1576
|
-
return i.headers = { ...s, ...
|
|
1575
|
+
let d = a && a.headers ? a.headers : {};
|
|
1576
|
+
return i.headers = { ...s, ...d, ...r.headers }, i.data = L(t, i, e), {
|
|
1577
1577
|
url: E(o),
|
|
1578
1578
|
options: i
|
|
1579
1579
|
};
|
|
@@ -1591,10 +1591,10 @@ const P = function(e, ...t) {
|
|
|
1591
1591
|
const a = "/api/form-search", i = new URL(a, S);
|
|
1592
1592
|
let s;
|
|
1593
1593
|
e && (s = e.baseOptions);
|
|
1594
|
-
const l = { method: "POST", ...s, ...o },
|
|
1595
|
-
r !== void 0 && (
|
|
1594
|
+
const l = { method: "POST", ...s, ...o }, d = {}, c = {};
|
|
1595
|
+
r !== void 0 && (c.pagingKey = r), n !== void 0 && (c.pageSize = n), d["Content-Type"] = "application/json", P(i, c);
|
|
1596
1596
|
let m = s && s.headers ? s.headers : {};
|
|
1597
|
-
return l.headers = { ...
|
|
1597
|
+
return l.headers = { ...d, ...m, ...o.headers }, l.data = L(t, l, e), {
|
|
1598
1598
|
url: E(i),
|
|
1599
1599
|
options: l
|
|
1600
1600
|
};
|
|
@@ -1629,8 +1629,8 @@ const P = function(e, ...t) {
|
|
|
1629
1629
|
e && (a = e.baseOptions);
|
|
1630
1630
|
const i = { method: "GET", ...a, ...r }, s = {};
|
|
1631
1631
|
P(o, {});
|
|
1632
|
-
let
|
|
1633
|
-
return i.headers = { ...s, ...
|
|
1632
|
+
let d = a && a.headers ? a.headers : {};
|
|
1633
|
+
return i.headers = { ...s, ...d, ...r.headers }, {
|
|
1634
1634
|
url: E(o),
|
|
1635
1635
|
options: i
|
|
1636
1636
|
};
|
|
@@ -1664,10 +1664,10 @@ const P = function(e, ...t) {
|
|
|
1664
1664
|
const o = "/api/oidc-cookie/{origin}".replace("{origin}", encodeURIComponent(String(t))), a = new URL(o, S);
|
|
1665
1665
|
let i;
|
|
1666
1666
|
e && (i = e.baseOptions);
|
|
1667
|
-
const s = { method: "POST", ...i, ...n }, l = {},
|
|
1668
|
-
l["Content-Type"] = "application/json", P(a,
|
|
1669
|
-
let
|
|
1670
|
-
return s.headers = { ...l, ...
|
|
1667
|
+
const s = { method: "POST", ...i, ...n }, l = {}, d = {};
|
|
1668
|
+
l["Content-Type"] = "application/json", P(a, d);
|
|
1669
|
+
let c = i && i.headers ? i.headers : {};
|
|
1670
|
+
return s.headers = { ...l, ...c, ...n.headers }, s.data = L(r, s, e), {
|
|
1671
1671
|
url: E(a),
|
|
1672
1672
|
options: s
|
|
1673
1673
|
};
|
|
@@ -1685,8 +1685,8 @@ const P = function(e, ...t) {
|
|
|
1685
1685
|
e && (a = e.baseOptions);
|
|
1686
1686
|
const i = { method: "DELETE", ...a, ...r }, s = {};
|
|
1687
1687
|
P(o, {});
|
|
1688
|
-
let
|
|
1689
|
-
return i.headers = { ...s, ...
|
|
1688
|
+
let d = a && a.headers ? a.headers : {};
|
|
1689
|
+
return i.headers = { ...s, ...d, ...r.headers }, {
|
|
1690
1690
|
url: E(o),
|
|
1691
1691
|
options: i
|
|
1692
1692
|
};
|
|
@@ -1704,8 +1704,8 @@ const P = function(e, ...t) {
|
|
|
1704
1704
|
e && (a = e.baseOptions);
|
|
1705
1705
|
const i = { method: "GET", ...a, ...r }, s = {};
|
|
1706
1706
|
P(o, {});
|
|
1707
|
-
let
|
|
1708
|
-
return i.headers = { ...s, ...
|
|
1707
|
+
let d = a && a.headers ? a.headers : {};
|
|
1708
|
+
return i.headers = { ...s, ...d, ...r.headers }, {
|
|
1709
1709
|
url: E(o),
|
|
1710
1710
|
options: i
|
|
1711
1711
|
};
|
|
@@ -1739,10 +1739,10 @@ const P = function(e, ...t) {
|
|
|
1739
1739
|
const o = "/api/patient/{id}".replace("{id}", encodeURIComponent(String(t))), a = new URL(o, S);
|
|
1740
1740
|
let i;
|
|
1741
1741
|
e && (i = e.baseOptions);
|
|
1742
|
-
const s = { method: "PATCH", ...i, ...n }, l = {},
|
|
1743
|
-
l["Content-Type"] = "application/json", P(a,
|
|
1744
|
-
let
|
|
1745
|
-
return s.headers = { ...l, ...
|
|
1742
|
+
const s = { method: "PATCH", ...i, ...n }, l = {}, d = {};
|
|
1743
|
+
l["Content-Type"] = "application/json", P(a, d);
|
|
1744
|
+
let c = i && i.headers ? i.headers : {};
|
|
1745
|
+
return s.headers = { ...l, ...c, ...n.headers }, s.data = L(r, s, e), {
|
|
1746
1746
|
url: E(a),
|
|
1747
1747
|
options: s
|
|
1748
1748
|
};
|
|
@@ -1760,8 +1760,8 @@ const P = function(e, ...t) {
|
|
|
1760
1760
|
e && (a = e.baseOptions);
|
|
1761
1761
|
const i = { method: "POST", ...a, ...r }, s = {}, l = {};
|
|
1762
1762
|
s["Content-Type"] = "application/json", P(o, l);
|
|
1763
|
-
let
|
|
1764
|
-
return i.headers = { ...s, ...
|
|
1763
|
+
let d = a && a.headers ? a.headers : {};
|
|
1764
|
+
return i.headers = { ...s, ...d, ...r.headers }, i.data = L(t, i, e), {
|
|
1765
1765
|
url: E(o),
|
|
1766
1766
|
options: i
|
|
1767
1767
|
};
|
|
@@ -1779,10 +1779,10 @@ const P = function(e, ...t) {
|
|
|
1779
1779
|
const a = "/api/patient-search", i = new URL(a, S);
|
|
1780
1780
|
let s;
|
|
1781
1781
|
e && (s = e.baseOptions);
|
|
1782
|
-
const l = { method: "POST", ...s, ...o },
|
|
1783
|
-
r !== void 0 && (
|
|
1782
|
+
const l = { method: "POST", ...s, ...o }, d = {}, c = {};
|
|
1783
|
+
r !== void 0 && (c.pagingKey = r), n !== void 0 && (c.pageSize = n), d["Content-Type"] = "application/json", P(i, c);
|
|
1784
1784
|
let m = s && s.headers ? s.headers : {};
|
|
1785
|
-
return l.headers = { ...
|
|
1785
|
+
return l.headers = { ...d, ...m, ...o.headers }, l.data = L(t, l, e), {
|
|
1786
1786
|
url: E(i),
|
|
1787
1787
|
options: l
|
|
1788
1788
|
};
|
|
@@ -1800,8 +1800,8 @@ const P = function(e, ...t) {
|
|
|
1800
1800
|
e && (a = e.baseOptions);
|
|
1801
1801
|
const i = { method: "DELETE", ...a, ...r }, s = {};
|
|
1802
1802
|
P(o, {});
|
|
1803
|
-
let
|
|
1804
|
-
return i.headers = { ...s, ...
|
|
1803
|
+
let d = a && a.headers ? a.headers : {};
|
|
1804
|
+
return i.headers = { ...s, ...d, ...r.headers }, {
|
|
1805
1805
|
url: E(o),
|
|
1806
1806
|
options: i
|
|
1807
1807
|
};
|
|
@@ -1819,8 +1819,8 @@ const P = function(e, ...t) {
|
|
|
1819
1819
|
e && (a = e.baseOptions);
|
|
1820
1820
|
const i = { method: "GET", ...a, ...r }, s = {};
|
|
1821
1821
|
P(o, {});
|
|
1822
|
-
let
|
|
1823
|
-
return i.headers = { ...s, ...
|
|
1822
|
+
let d = a && a.headers ? a.headers : {};
|
|
1823
|
+
return i.headers = { ...s, ...d, ...r.headers }, {
|
|
1824
1824
|
url: E(o),
|
|
1825
1825
|
options: i
|
|
1826
1826
|
};
|
|
@@ -1854,10 +1854,10 @@ const P = function(e, ...t) {
|
|
|
1854
1854
|
const o = "/api/property/{id}".replace("{id}", encodeURIComponent(String(t))), a = new URL(o, S);
|
|
1855
1855
|
let i;
|
|
1856
1856
|
e && (i = e.baseOptions);
|
|
1857
|
-
const s = { method: "PATCH", ...i, ...n }, l = {},
|
|
1858
|
-
l["Content-Type"] = "application/json", P(a,
|
|
1859
|
-
let
|
|
1860
|
-
return s.headers = { ...l, ...
|
|
1857
|
+
const s = { method: "PATCH", ...i, ...n }, l = {}, d = {};
|
|
1858
|
+
l["Content-Type"] = "application/json", P(a, d);
|
|
1859
|
+
let c = i && i.headers ? i.headers : {};
|
|
1860
|
+
return s.headers = { ...l, ...c, ...n.headers }, s.data = L(r, s, e), {
|
|
1861
1861
|
url: E(a),
|
|
1862
1862
|
options: s
|
|
1863
1863
|
};
|
|
@@ -1875,8 +1875,8 @@ const P = function(e, ...t) {
|
|
|
1875
1875
|
e && (a = e.baseOptions);
|
|
1876
1876
|
const i = { method: "POST", ...a, ...r }, s = {}, l = {};
|
|
1877
1877
|
s["Content-Type"] = "application/json", P(o, l);
|
|
1878
|
-
let
|
|
1879
|
-
return i.headers = { ...s, ...
|
|
1878
|
+
let d = a && a.headers ? a.headers : {};
|
|
1879
|
+
return i.headers = { ...s, ...d, ...r.headers }, i.data = L(t, i, e), {
|
|
1880
1880
|
url: E(o),
|
|
1881
1881
|
options: i
|
|
1882
1882
|
};
|
|
@@ -1894,10 +1894,10 @@ const P = function(e, ...t) {
|
|
|
1894
1894
|
const a = "/api/property-search", i = new URL(a, S);
|
|
1895
1895
|
let s;
|
|
1896
1896
|
e && (s = e.baseOptions);
|
|
1897
|
-
const l = { method: "POST", ...s, ...o },
|
|
1898
|
-
r !== void 0 && (
|
|
1897
|
+
const l = { method: "POST", ...s, ...o }, d = {}, c = {};
|
|
1898
|
+
r !== void 0 && (c.pagingKey = r), n !== void 0 && (c.pageSize = n), d["Content-Type"] = "application/json", P(i, c);
|
|
1899
1899
|
let m = s && s.headers ? s.headers : {};
|
|
1900
|
-
return l.headers = { ...
|
|
1900
|
+
return l.headers = { ...d, ...m, ...o.headers }, l.data = L(t, l, e), {
|
|
1901
1901
|
url: E(i),
|
|
1902
1902
|
options: l
|
|
1903
1903
|
};
|
|
@@ -1915,8 +1915,8 @@ const P = function(e, ...t) {
|
|
|
1915
1915
|
e && (a = e.baseOptions);
|
|
1916
1916
|
const i = { method: "POST", ...a, ...r }, s = {}, l = {};
|
|
1917
1917
|
s["Content-Type"] = "application/json", P(o, l);
|
|
1918
|
-
let
|
|
1919
|
-
return i.headers = { ...s, ...
|
|
1918
|
+
let d = a && a.headers ? a.headers : {};
|
|
1919
|
+
return i.headers = { ...s, ...d, ...r.headers }, i.data = L(t, i, e), {
|
|
1920
1920
|
url: E(o),
|
|
1921
1921
|
options: i
|
|
1922
1922
|
};
|
|
@@ -3451,12 +3451,12 @@ function Aa(e) {
|
|
|
3451
3451
|
return Ra(Rt("", null, null, null, [""], e = ka(e), 0, [0], e));
|
|
3452
3452
|
}
|
|
3453
3453
|
function Rt(e, t, r, n, o, a, i, s, l) {
|
|
3454
|
-
for (var
|
|
3454
|
+
for (var d = 0, c = 0, m = i, h = 0, g = 0, p = 0, N = 1, R = 1, D = 1, x = 0, k = "", I = o, F = a, j = n, T = k; R; )
|
|
3455
3455
|
switch (p = x, x = fe()) {
|
|
3456
3456
|
// (
|
|
3457
3457
|
case 40:
|
|
3458
3458
|
if (p != 108 && J(T, m - 1) == 58) {
|
|
3459
|
-
Nt(T += U(lr(x), "&", "&\f"), "&\f", Ln(
|
|
3459
|
+
Nt(T += U(lr(x), "&", "&\f"), "&\f", Ln(d ? s[d - 1] : 0)) != -1 && (D = -1);
|
|
3460
3460
|
break;
|
|
3461
3461
|
}
|
|
3462
3462
|
// " ' [
|
|
@@ -3489,7 +3489,7 @@ function Rt(e, t, r, n, o, a, i, s, l) {
|
|
|
3489
3489
|
break;
|
|
3490
3490
|
// {
|
|
3491
3491
|
case 123 * N:
|
|
3492
|
-
s[
|
|
3492
|
+
s[d++] = be(T) * D;
|
|
3493
3493
|
// } ; \0
|
|
3494
3494
|
case 125 * N:
|
|
3495
3495
|
case 59:
|
|
@@ -3500,7 +3500,7 @@ function Rt(e, t, r, n, o, a, i, s, l) {
|
|
|
3500
3500
|
case 125:
|
|
3501
3501
|
R = 0;
|
|
3502
3502
|
// ;
|
|
3503
|
-
case 59 +
|
|
3503
|
+
case 59 + c:
|
|
3504
3504
|
D == -1 && (T = U(T, /\f/g, "")), g > 0 && be(T) - m && ct(g > 32 ? pn(T + ";", n, r, m - 1, l) : pn(U(T, " ", "") + ";", n, r, m - 2, l), l);
|
|
3505
3505
|
break;
|
|
3506
3506
|
// @ ;
|
|
@@ -3508,8 +3508,8 @@ function Rt(e, t, r, n, o, a, i, s, l) {
|
|
|
3508
3508
|
T += ";";
|
|
3509
3509
|
// { rule/at-rule
|
|
3510
3510
|
default:
|
|
3511
|
-
if (ct(j = hn(T, t, r,
|
|
3512
|
-
if (
|
|
3511
|
+
if (ct(j = hn(T, t, r, d, c, o, s, k, I = [], F = [], m, a), a), x === 123)
|
|
3512
|
+
if (c === 0)
|
|
3513
3513
|
Rt(T, t, j, j, I, a, m, s, F);
|
|
3514
3514
|
else
|
|
3515
3515
|
switch (h === 99 && J(T, 3) === 110 ? 100 : h) {
|
|
@@ -3524,7 +3524,7 @@ function Rt(e, t, r, n, o, a, i, s, l) {
|
|
|
3524
3524
|
Rt(T, j, j, j, [""], F, 0, s, F);
|
|
3525
3525
|
}
|
|
3526
3526
|
}
|
|
3527
|
-
|
|
3527
|
+
d = c = g = 0, N = D = 1, k = T = "", m = i;
|
|
3528
3528
|
break;
|
|
3529
3529
|
// :
|
|
3530
3530
|
case 58:
|
|
@@ -3539,15 +3539,15 @@ function Rt(e, t, r, n, o, a, i, s, l) {
|
|
|
3539
3539
|
switch (T += Fr(x), x * N) {
|
|
3540
3540
|
// &
|
|
3541
3541
|
case 38:
|
|
3542
|
-
D =
|
|
3542
|
+
D = c > 0 ? 1 : (T += "\f", -1);
|
|
3543
3543
|
break;
|
|
3544
3544
|
// ,
|
|
3545
3545
|
case 44:
|
|
3546
|
-
s[
|
|
3546
|
+
s[d++] = (be(T) - 1) * D, D = 1;
|
|
3547
3547
|
break;
|
|
3548
3548
|
// @
|
|
3549
3549
|
case 64:
|
|
3550
|
-
Te() === 45 && (T += lr(fe())), h = Te(),
|
|
3550
|
+
Te() === 45 && (T += lr(fe())), h = Te(), c = m = be(k = T += Ta(kt())), x++;
|
|
3551
3551
|
break;
|
|
3552
3552
|
// -
|
|
3553
3553
|
case 45:
|
|
@@ -3556,11 +3556,11 @@ function Rt(e, t, r, n, o, a, i, s, l) {
|
|
|
3556
3556
|
}
|
|
3557
3557
|
return a;
|
|
3558
3558
|
}
|
|
3559
|
-
function hn(e, t, r, n, o, a, i, s, l,
|
|
3559
|
+
function hn(e, t, r, n, o, a, i, s, l, d, c, m) {
|
|
3560
3560
|
for (var h = o - 1, g = o === 0 ? a : [""], p = Mn(g), N = 0, R = 0, D = 0; N < n; ++N)
|
|
3561
3561
|
for (var x = 0, k = Ke(e, h + 1, h = Ln(R = i[N])), I = e; x < p; ++x)
|
|
3562
3562
|
(I = Bn(R > 0 ? g[x] + " " + k : U(k, /&\f/g, g[x]))) && (l[D++] = I);
|
|
3563
|
-
return Wt(e, t, r, o === 0 ? Mt : s, l,
|
|
3563
|
+
return Wt(e, t, r, o === 0 ? Mt : s, l, d, c, m);
|
|
3564
3564
|
}
|
|
3565
3565
|
function ja(e, t, r, n) {
|
|
3566
3566
|
return Wt(e, t, r, Gn, Fr(Oa()), Ke(e, 2, -2), 0, n);
|
|
@@ -3721,8 +3721,8 @@ function Wn(e, t, r) {
|
|
|
3721
3721
|
// grid-(column|row)
|
|
3722
3722
|
case 5152:
|
|
3723
3723
|
case 5920:
|
|
3724
|
-
return U(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(n, o, a, i, s, l,
|
|
3725
|
-
return q + o + ":" + a +
|
|
3724
|
+
return U(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(n, o, a, i, s, l, d) {
|
|
3725
|
+
return q + o + ":" + a + d + (i ? q + o + "-span:" + (s ? l : +l - +a) + d : "") + e;
|
|
3726
3726
|
});
|
|
3727
3727
|
// position: sticky
|
|
3728
3728
|
case 4949:
|
|
@@ -3924,9 +3924,9 @@ function ro(e, t, r) {
|
|
|
3924
3924
|
for (var a = yn(e), i = yn(t), s = 0; s < o.length; ++s) {
|
|
3925
3925
|
var l = o[s];
|
|
3926
3926
|
if (!(l in Ja || r && r[l] || i && l in i || a && l in a)) {
|
|
3927
|
-
var
|
|
3927
|
+
var d = ri(t, l);
|
|
3928
3928
|
try {
|
|
3929
|
-
ei(e, l,
|
|
3929
|
+
ei(e, l, d);
|
|
3930
3930
|
} catch {
|
|
3931
3931
|
}
|
|
3932
3932
|
}
|
|
@@ -4055,8 +4055,8 @@ var ii = function() {
|
|
|
4055
4055
|
if (s) {
|
|
4056
4056
|
var l = s.match(di);
|
|
4057
4057
|
if (l) {
|
|
4058
|
-
var
|
|
4059
|
-
|
|
4058
|
+
var d = 0 | parseInt(l[1], 10), c = l[2];
|
|
4059
|
+
d !== 0 && (li(c, d), ui(e, c, l[3]), e.getTag().insertRules(d, o)), o.length = 0;
|
|
4060
4060
|
} else o.push(s);
|
|
4061
4061
|
}
|
|
4062
4062
|
}
|
|
@@ -4132,7 +4132,7 @@ var no = function(e) {
|
|
|
4132
4132
|
var o = this;
|
|
4133
4133
|
this.options = ee(ee({}, gi), t), this.gs = r, this.names = new Map(n), this.server = !!t.isServer, !this.server && Tt && Cn && (Cn = !1, vn(this)), Gr(this, function() {
|
|
4134
4134
|
return function(a) {
|
|
4135
|
-
for (var i = a.getTag(), s = i.length, l = "",
|
|
4135
|
+
for (var i = a.getTag(), s = i.length, l = "", d = function(m) {
|
|
4136
4136
|
var h = function(D) {
|
|
4137
4137
|
return At.get(D);
|
|
4138
4138
|
}(m);
|
|
@@ -4143,7 +4143,7 @@ var no = function(e) {
|
|
|
4143
4143
|
g !== void 0 && g.forEach(function(D) {
|
|
4144
4144
|
D.length > 0 && (R += "".concat(D, ","));
|
|
4145
4145
|
}), l += "".concat(p).concat(N, '{content:"').concat(R, '"}').concat(Ur);
|
|
4146
|
-
},
|
|
4146
|
+
}, c = 0; c < s; c++) d(c);
|
|
4147
4147
|
return l;
|
|
4148
4148
|
}(o);
|
|
4149
4149
|
});
|
|
@@ -4188,18 +4188,18 @@ function ao(e, t) {
|
|
|
4188
4188
|
});
|
|
4189
4189
|
}
|
|
4190
4190
|
function $i(e) {
|
|
4191
|
-
var t, r, n, o = Je, a = o.options, i = a === void 0 ? Je : a, s = o.plugins, l = s === void 0 ? Kt : s,
|
|
4191
|
+
var t, r, n, o = Je, a = o.options, i = a === void 0 ? Je : a, s = o.plugins, l = s === void 0 ? Kt : s, d = function(h, g, p) {
|
|
4192
4192
|
return p.startsWith(r) && p.endsWith(r) && p.replaceAll(r, "").length > 0 ? ".".concat(t) : h;
|
|
4193
|
-
},
|
|
4194
|
-
|
|
4195
|
-
h.type === Mt && h.value.includes("&") && (h.props[0] = h.props[0].replace(yi, r).replace(n,
|
|
4196
|
-
}), i.prefix &&
|
|
4193
|
+
}, c = l.slice();
|
|
4194
|
+
c.push(function(h) {
|
|
4195
|
+
h.type === Mt && h.value.includes("&") && (h.props[0] = h.props[0].replace(yi, r).replace(n, d));
|
|
4196
|
+
}), i.prefix && c.push(Ga), c.push(Fa);
|
|
4197
4197
|
var m = function(h, g, p, N) {
|
|
4198
4198
|
g === void 0 && (g = ""), p === void 0 && (p = ""), N === void 0 && (N = "&"), t = N, r = g, n = new RegExp("\\".concat(r, "\\b"), "g");
|
|
4199
4199
|
var R = h.replace(xi, ""), D = Aa(p || g ? "".concat(p, " ").concat(g, " { ").concat(R, " }") : R);
|
|
4200
4200
|
i.namespace && (D = ao(D, i.namespace));
|
|
4201
4201
|
var x = [];
|
|
4202
|
-
return It(D, Ua(
|
|
4202
|
+
return It(D, Ua(c.concat(Ha(function(k) {
|
|
4203
4203
|
return x.push(k);
|
|
4204
4204
|
})))), x;
|
|
4205
4205
|
};
|
|
@@ -4284,17 +4284,17 @@ var Si = Xn(Yt), Pi = function() {
|
|
|
4284
4284
|
o = Ie(o, i), this.staticRulesId = i;
|
|
4285
4285
|
}
|
|
4286
4286
|
else {
|
|
4287
|
-
for (var l = De(this.baseHash, n.hash),
|
|
4288
|
-
var m = this.rules[
|
|
4289
|
-
if (typeof m == "string")
|
|
4287
|
+
for (var l = De(this.baseHash, n.hash), d = "", c = 0; c < this.rules.length; c++) {
|
|
4288
|
+
var m = this.rules[c];
|
|
4289
|
+
if (typeof m == "string") d += m, process.env.NODE_ENV !== "production" && (l = De(l, m));
|
|
4290
4290
|
else if (m) {
|
|
4291
4291
|
var h = wn(Ae(m, t, r, n));
|
|
4292
|
-
l = De(l, h +
|
|
4292
|
+
l = De(l, h + c), d += h;
|
|
4293
4293
|
}
|
|
4294
4294
|
}
|
|
4295
|
-
if (
|
|
4295
|
+
if (d) {
|
|
4296
4296
|
var g = vr(l >>> 0);
|
|
4297
|
-
r.hasNameForId(this.componentId, g) || r.insertRules(this.componentId, g, n(
|
|
4297
|
+
r.hasNameForId(this.componentId, g) || r.insertRules(this.componentId, g, n(d, ".".concat(g), void 0, this.componentId)), o = Ie(o, g);
|
|
4298
4298
|
}
|
|
4299
4299
|
}
|
|
4300
4300
|
return o;
|
|
@@ -4318,14 +4318,14 @@ function Ei(e) {
|
|
|
4318
4318
|
}
|
|
4319
4319
|
var ur = {}, Vn = /* @__PURE__ */ new Set();
|
|
4320
4320
|
function Vi(e, t, r) {
|
|
4321
|
-
var n = Hr(e), o = e, a = !dr(e), i = t.attrs, s = i === void 0 ? Kt : i, l = t.componentId,
|
|
4321
|
+
var n = Hr(e), o = e, a = !dr(e), i = t.attrs, s = i === void 0 ? Kt : i, l = t.componentId, d = l === void 0 ? function(I, F) {
|
|
4322
4322
|
var j = typeof I != "string" ? "sc" : bn(I);
|
|
4323
4323
|
ur[j] = (ur[j] || 0) + 1;
|
|
4324
4324
|
var T = "".concat(j, "-").concat(Ya(Yt + j + ur[j]));
|
|
4325
4325
|
return F ? "".concat(F, "-").concat(T) : T;
|
|
4326
|
-
}(t.displayName, t.parentComponentId) : l,
|
|
4326
|
+
}(t.displayName, t.parentComponentId) : l, c = t.displayName, m = c === void 0 ? function(I) {
|
|
4327
4327
|
return dr(I) ? "styled.".concat(I) : "Styled(".concat(Jn(I), ")");
|
|
4328
|
-
}(e) :
|
|
4328
|
+
}(e) : c, h = t.displayName && t.componentId ? "".concat(bn(t.displayName), "-").concat(t.componentId) : t.componentId || d, g = n && o.attrs ? o.attrs.concat(s).filter(Boolean) : s, p = t.shouldForwardProp;
|
|
4329
4329
|
if (n && o.shouldForwardProp) {
|
|
4330
4330
|
var N = o.shouldForwardProp;
|
|
4331
4331
|
if (t.shouldForwardProp) {
|
|
@@ -6802,12 +6802,12 @@ function fo(e, t, r) {
|
|
|
6802
6802
|
return r(fo)(e, t);
|
|
6803
6803
|
}
|
|
6804
6804
|
let n = e, o = t, a = /* @__PURE__ */ new Map(), i = a, s = 0, l = !1;
|
|
6805
|
-
function
|
|
6805
|
+
function d() {
|
|
6806
6806
|
i === a && (i = /* @__PURE__ */ new Map(), a.forEach((R, D) => {
|
|
6807
6807
|
i.set(D, R);
|
|
6808
6808
|
}));
|
|
6809
6809
|
}
|
|
6810
|
-
function
|
|
6810
|
+
function c() {
|
|
6811
6811
|
if (l)
|
|
6812
6812
|
throw new Error(process.env.NODE_ENV === "production" ? Z(3) : "You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");
|
|
6813
6813
|
return o;
|
|
@@ -6818,13 +6818,13 @@ function fo(e, t, r) {
|
|
|
6818
6818
|
if (l)
|
|
6819
6819
|
throw new Error(process.env.NODE_ENV === "production" ? Z(5) : "You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");
|
|
6820
6820
|
let D = !0;
|
|
6821
|
-
|
|
6821
|
+
d();
|
|
6822
6822
|
const x = s++;
|
|
6823
6823
|
return i.set(x, R), function() {
|
|
6824
6824
|
if (D) {
|
|
6825
6825
|
if (l)
|
|
6826
6826
|
throw new Error(process.env.NODE_ENV === "production" ? Z(6) : "You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");
|
|
6827
|
-
D = !1,
|
|
6827
|
+
D = !1, d(), i.delete(x), a = null;
|
|
6828
6828
|
}
|
|
6829
6829
|
};
|
|
6830
6830
|
}
|
|
@@ -6869,7 +6869,7 @@ function fo(e, t, r) {
|
|
|
6869
6869
|
throw new Error(process.env.NODE_ENV === "production" ? Z(11) : `Expected the observer to be an object. Instead, received: '${Oe(D)}'`);
|
|
6870
6870
|
function x() {
|
|
6871
6871
|
const I = D;
|
|
6872
|
-
I.next && I.next(
|
|
6872
|
+
I.next && I.next(c());
|
|
6873
6873
|
}
|
|
6874
6874
|
return x(), {
|
|
6875
6875
|
unsubscribe: R(x)
|
|
@@ -6885,7 +6885,7 @@ function fo(e, t, r) {
|
|
|
6885
6885
|
}), {
|
|
6886
6886
|
dispatch: h,
|
|
6887
6887
|
subscribe: m,
|
|
6888
|
-
getState:
|
|
6888
|
+
getState: c,
|
|
6889
6889
|
replaceReducer: g,
|
|
6890
6890
|
[kn]: p
|
|
6891
6891
|
};
|
|
@@ -6944,17 +6944,17 @@ function ss(e) {
|
|
|
6944
6944
|
const m = as(s, r, l, o);
|
|
6945
6945
|
m && Rn(m);
|
|
6946
6946
|
}
|
|
6947
|
-
let
|
|
6948
|
-
const
|
|
6947
|
+
let d = !1;
|
|
6948
|
+
const c = {};
|
|
6949
6949
|
for (let m = 0; m < n.length; m++) {
|
|
6950
6950
|
const h = n[m], g = r[h], p = s[h], N = g(p, l);
|
|
6951
6951
|
if (typeof N > "u") {
|
|
6952
6952
|
const R = l && l.type;
|
|
6953
6953
|
throw new Error(process.env.NODE_ENV === "production" ? Z(14) : `When called with an action of type ${R ? `"${String(R)}"` : "(unknown type)"}, the slice reducer for key "${h}" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.`);
|
|
6954
6954
|
}
|
|
6955
|
-
|
|
6955
|
+
c[h] = N, d = d || N !== p;
|
|
6956
6956
|
}
|
|
6957
|
-
return
|
|
6957
|
+
return d = d || n.length !== Object.keys(s).length, d ? c : s;
|
|
6958
6958
|
};
|
|
6959
6959
|
}
|
|
6960
6960
|
function Ft(...e) {
|
|
@@ -6968,7 +6968,7 @@ function ls(...e) {
|
|
|
6968
6968
|
};
|
|
6969
6969
|
const i = {
|
|
6970
6970
|
getState: o.getState,
|
|
6971
|
-
dispatch: (l, ...
|
|
6971
|
+
dispatch: (l, ...d) => a(l, ...d)
|
|
6972
6972
|
}, s = e.map((l) => l(i));
|
|
6973
6973
|
return a = Ft(...s)(o.dispatch), {
|
|
6974
6974
|
...o,
|
|
@@ -7334,8 +7334,8 @@ var ys = class {
|
|
|
7334
7334
|
const a = r;
|
|
7335
7335
|
r = t;
|
|
7336
7336
|
const i = this;
|
|
7337
|
-
return function(l = a, ...
|
|
7338
|
-
return i.produce(l, (
|
|
7337
|
+
return function(l = a, ...d) {
|
|
7338
|
+
return i.produce(l, (c) => r.call(this, c, ...d));
|
|
7339
7339
|
};
|
|
7340
7340
|
}
|
|
7341
7341
|
typeof r != "function" && oe(6), n !== void 0 && typeof n != "function" && oe(7);
|
|
@@ -7571,16 +7571,16 @@ function Oo(e, t = [], r, n, o = !1, a = "") {
|
|
|
7571
7571
|
wasMutated: !1
|
|
7572
7572
|
};
|
|
7573
7573
|
const l = {};
|
|
7574
|
-
for (let
|
|
7575
|
-
l[
|
|
7576
|
-
for (let
|
|
7577
|
-
l[
|
|
7578
|
-
const
|
|
7579
|
-
for (let
|
|
7580
|
-
const m = a ? a + "." +
|
|
7581
|
-
if (
|
|
7574
|
+
for (let c in r.children)
|
|
7575
|
+
l[c] = !0;
|
|
7576
|
+
for (let c in n)
|
|
7577
|
+
l[c] = !0;
|
|
7578
|
+
const d = t.length > 0;
|
|
7579
|
+
for (let c in l) {
|
|
7580
|
+
const m = a ? a + "." + c : c;
|
|
7581
|
+
if (d && t.some((p) => p instanceof RegExp ? p.test(m) : m === p))
|
|
7582
7582
|
continue;
|
|
7583
|
-
const h = Oo(e, t, r.children[
|
|
7583
|
+
const h = Oo(e, t, r.children[c], n[c], s, m);
|
|
7584
7584
|
if (h.wasMutated)
|
|
7585
7585
|
return h;
|
|
7586
7586
|
}
|
|
@@ -7592,17 +7592,17 @@ function Ns(e = {}) {
|
|
|
7592
7592
|
if (process.env.NODE_ENV === "production")
|
|
7593
7593
|
return () => (t) => (r) => t(r);
|
|
7594
7594
|
{
|
|
7595
|
-
let t = function(s, l,
|
|
7596
|
-
return JSON.stringify(s, r(l,
|
|
7595
|
+
let t = function(s, l, d, c) {
|
|
7596
|
+
return JSON.stringify(s, r(l, c), d);
|
|
7597
7597
|
}, r = function(s, l) {
|
|
7598
|
-
let
|
|
7598
|
+
let d = [], c = [];
|
|
7599
7599
|
return l || (l = function(m, h) {
|
|
7600
|
-
return
|
|
7600
|
+
return d[0] === h ? "[Circular ~]" : "[Circular ~." + c.slice(0, d.indexOf(h)).join(".") + "]";
|
|
7601
7601
|
}), function(m, h) {
|
|
7602
|
-
if (
|
|
7603
|
-
var g =
|
|
7604
|
-
~g ?
|
|
7605
|
-
} else
|
|
7602
|
+
if (d.length > 0) {
|
|
7603
|
+
var g = d.indexOf(this);
|
|
7604
|
+
~g ? d.splice(g + 1) : d.push(this), ~g ? c.splice(g, 1 / 0, m) : c.push(m), ~d.indexOf(h) && (h = l.call(this, m, h));
|
|
7605
|
+
} else d.push(h);
|
|
7606
7606
|
return s == null ? h : s.call(this, m, h);
|
|
7607
7607
|
};
|
|
7608
7608
|
}, {
|
|
@@ -7614,17 +7614,17 @@ function Ns(e = {}) {
|
|
|
7614
7614
|
return ({
|
|
7615
7615
|
getState: s
|
|
7616
7616
|
}) => {
|
|
7617
|
-
let l = s(),
|
|
7617
|
+
let l = s(), d = i(l), c;
|
|
7618
7618
|
return (m) => (h) => {
|
|
7619
7619
|
const g = Po(a, "ImmutableStateInvariantMiddleware");
|
|
7620
7620
|
g.measureTime(() => {
|
|
7621
|
-
if (l = s(),
|
|
7622
|
-
throw new Error(process.env.NODE_ENV === "production" ? Q(19) : `A state mutation was detected between dispatches, in the path '${
|
|
7621
|
+
if (l = s(), c = d.detectMutations(), d = i(l), c.wasMutated)
|
|
7622
|
+
throw new Error(process.env.NODE_ENV === "production" ? Q(19) : `A state mutation was detected between dispatches, in the path '${c.path || ""}'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`);
|
|
7623
7623
|
});
|
|
7624
7624
|
const p = m(h);
|
|
7625
7625
|
return g.measureTime(() => {
|
|
7626
|
-
if (l = s(),
|
|
7627
|
-
throw new Error(process.env.NODE_ENV === "production" ? Q(20) : `A state mutation was detected inside a dispatch, in the path: ${
|
|
7626
|
+
if (l = s(), c = d.detectMutations(), d = i(l), c.wasMutated)
|
|
7627
|
+
throw new Error(process.env.NODE_ENV === "production" ? Q(20) : `A state mutation was detected inside a dispatch, in the path: ${c.path || ""}. Take a look at the reducer(s) handling the action ${t(h)}. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)`);
|
|
7628
7628
|
}), g.warnIfExceeded(), p;
|
|
7629
7629
|
};
|
|
7630
7630
|
};
|
|
@@ -7643,15 +7643,15 @@ function _r(e, t = "", r = No, n, o = [], a) {
|
|
|
7643
7643
|
};
|
|
7644
7644
|
if (typeof e != "object" || e === null || a != null && a.has(e)) return !1;
|
|
7645
7645
|
const s = n != null ? n(e) : Object.entries(e), l = o.length > 0;
|
|
7646
|
-
for (const [
|
|
7647
|
-
const m = t ? t + "." +
|
|
7646
|
+
for (const [d, c] of s) {
|
|
7647
|
+
const m = t ? t + "." + d : d;
|
|
7648
7648
|
if (!(l && o.some((g) => g instanceof RegExp ? g.test(m) : m === g))) {
|
|
7649
|
-
if (!r(
|
|
7649
|
+
if (!r(c))
|
|
7650
7650
|
return {
|
|
7651
7651
|
keyPath: m,
|
|
7652
|
-
value:
|
|
7652
|
+
value: c
|
|
7653
7653
|
};
|
|
7654
|
-
if (typeof
|
|
7654
|
+
if (typeof c == "object" && (i = _r(c, m, r, n, o, a), i))
|
|
7655
7655
|
return i;
|
|
7656
7656
|
}
|
|
7657
7657
|
}
|
|
@@ -7677,14 +7677,14 @@ function ks(e = {}) {
|
|
|
7677
7677
|
warnAfter: i = 32,
|
|
7678
7678
|
ignoreState: s = !1,
|
|
7679
7679
|
ignoreActions: l = !1,
|
|
7680
|
-
disableCache:
|
|
7681
|
-
} = e,
|
|
7680
|
+
disableCache: d = !1
|
|
7681
|
+
} = e, c = !d && WeakSet ? /* @__PURE__ */ new WeakSet() : void 0;
|
|
7682
7682
|
return (m) => (h) => (g) => {
|
|
7683
7683
|
if (!bo(g))
|
|
7684
7684
|
return h(g);
|
|
7685
7685
|
const p = h(g), N = Po(i, "SerializableStateInvariantMiddleware");
|
|
7686
7686
|
return !l && !(n.length && n.indexOf(g.type) !== -1) && N.measureTime(() => {
|
|
7687
|
-
const R = _r(g, "", t, r, o,
|
|
7687
|
+
const R = _r(g, "", t, r, o, c);
|
|
7688
7688
|
if (R) {
|
|
7689
7689
|
const {
|
|
7690
7690
|
keyPath: D,
|
|
@@ -7696,7 +7696,7 @@ Take a look at the logic that dispatched this action: `, g, `
|
|
|
7696
7696
|
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`);
|
|
7697
7697
|
}
|
|
7698
7698
|
}), s || (N.measureTime(() => {
|
|
7699
|
-
const R = m.getState(), D = _r(R, "", t, r, a,
|
|
7699
|
+
const R = m.getState(), D = _r(R, "", t, r, a, c);
|
|
7700
7700
|
if (D) {
|
|
7701
7701
|
const {
|
|
7702
7702
|
keyPath: x,
|
|
@@ -7743,24 +7743,24 @@ var Rs = () => function(t) {
|
|
|
7743
7743
|
}) => (t) => (...r) => {
|
|
7744
7744
|
const n = t(...r);
|
|
7745
7745
|
let o = !0, a = !1, i = !1;
|
|
7746
|
-
const s = /* @__PURE__ */ new Set(), l = e.type === "tick" ? queueMicrotask : e.type === "raf" ? Ds : e.type === "callback" ? e.queueNotification : Ro(e.timeout),
|
|
7747
|
-
i = !1, a && (a = !1, s.forEach((
|
|
7746
|
+
const s = /* @__PURE__ */ new Set(), l = e.type === "tick" ? queueMicrotask : e.type === "raf" ? Ds : e.type === "callback" ? e.queueNotification : Ro(e.timeout), d = () => {
|
|
7747
|
+
i = !1, a && (a = !1, s.forEach((c) => c()));
|
|
7748
7748
|
};
|
|
7749
7749
|
return Object.assign({}, n, {
|
|
7750
7750
|
// Override the base `store.subscribe` method to keep original listeners
|
|
7751
7751
|
// from running if we're delaying notifications
|
|
7752
|
-
subscribe(
|
|
7753
|
-
const m = () => o &&
|
|
7754
|
-
return s.add(
|
|
7755
|
-
h(), s.delete(
|
|
7752
|
+
subscribe(c) {
|
|
7753
|
+
const m = () => o && c(), h = n.subscribe(m);
|
|
7754
|
+
return s.add(c), () => {
|
|
7755
|
+
h(), s.delete(c);
|
|
7756
7756
|
};
|
|
7757
7757
|
},
|
|
7758
7758
|
// Override the base `store.dispatch` method so that we can check actions
|
|
7759
7759
|
// for the `shouldAutoBatch` flag and determine if batching is active
|
|
7760
|
-
dispatch(
|
|
7760
|
+
dispatch(c) {
|
|
7761
7761
|
var m;
|
|
7762
7762
|
try {
|
|
7763
|
-
return o = !((m =
|
|
7763
|
+
return o = !((m = c == null ? void 0 : c.meta) != null && m[_s]), a = !o, a && (i || (i = !0, l(d))), n.dispatch(c);
|
|
7764
7764
|
} finally {
|
|
7765
7765
|
o = !0;
|
|
7766
7766
|
}
|
|
@@ -7798,13 +7798,13 @@ function As(e) {
|
|
|
7798
7798
|
l = t();
|
|
7799
7799
|
if (process.env.NODE_ENV !== "production" && l.some((p) => typeof p != "function"))
|
|
7800
7800
|
throw new Error(process.env.NODE_ENV === "production" ? Q(4) : "each middleware provided to configureStore must be a function");
|
|
7801
|
-
let
|
|
7802
|
-
o && (
|
|
7801
|
+
let d = Ft;
|
|
7802
|
+
o && (d = vs({
|
|
7803
7803
|
// Enable capture of stack traces for dispatched Redux actions
|
|
7804
7804
|
trace: process.env.NODE_ENV !== "production",
|
|
7805
7805
|
...typeof o == "object" && o
|
|
7806
7806
|
}));
|
|
7807
|
-
const
|
|
7807
|
+
const c = ls(...l), m = Ts(c);
|
|
7808
7808
|
if (process.env.NODE_ENV !== "production" && i && typeof i != "function")
|
|
7809
7809
|
throw new Error(process.env.NODE_ENV === "production" ? Q(5) : "`enhancers` field must be a callback");
|
|
7810
7810
|
let h = typeof i == "function" ? i(m) : m();
|
|
@@ -7812,8 +7812,8 @@ function As(e) {
|
|
|
7812
7812
|
throw new Error(process.env.NODE_ENV === "production" ? Q(6) : "`enhancers` callback must return an array");
|
|
7813
7813
|
if (process.env.NODE_ENV !== "production" && h.some((p) => typeof p != "function"))
|
|
7814
7814
|
throw new Error(process.env.NODE_ENV === "production" ? Q(7) : "each enhancer provided to configureStore must be a function");
|
|
7815
|
-
process.env.NODE_ENV !== "production" && l.length && !h.includes(
|
|
7816
|
-
const g =
|
|
7815
|
+
process.env.NODE_ENV !== "production" && l.length && !h.includes(c) && console.error("middlewares were provided, but middleware enhancer was not included in final enhancers - make sure to call `getDefaultEnhancers`");
|
|
7816
|
+
const g = d(...h);
|
|
7817
7817
|
return fo(s, a, g);
|
|
7818
7818
|
}
|
|
7819
7819
|
function _o(e) {
|
|
@@ -7864,30 +7864,30 @@ function Fs(e, t) {
|
|
|
7864
7864
|
a = () => s;
|
|
7865
7865
|
}
|
|
7866
7866
|
function i(s = a(), l) {
|
|
7867
|
-
let
|
|
7868
|
-
matcher:
|
|
7869
|
-
}) =>
|
|
7870
|
-
reducer:
|
|
7871
|
-
}) =>
|
|
7872
|
-
return
|
|
7867
|
+
let d = [r[l.type], ...n.filter(({
|
|
7868
|
+
matcher: c
|
|
7869
|
+
}) => c(l)).map(({
|
|
7870
|
+
reducer: c
|
|
7871
|
+
}) => c)];
|
|
7872
|
+
return d.filter((c) => !!c).length === 0 && (d = [o]), d.reduce((c, m) => {
|
|
7873
7873
|
if (m)
|
|
7874
|
-
if (He(
|
|
7875
|
-
const g = m(
|
|
7876
|
-
return g === void 0 ?
|
|
7874
|
+
if (He(c)) {
|
|
7875
|
+
const g = m(c, l);
|
|
7876
|
+
return g === void 0 ? c : g;
|
|
7877
7877
|
} else {
|
|
7878
|
-
if (we(
|
|
7879
|
-
return Co(
|
|
7878
|
+
if (we(c))
|
|
7879
|
+
return Co(c, (h) => m(h, l));
|
|
7880
7880
|
{
|
|
7881
|
-
const h = m(
|
|
7881
|
+
const h = m(c, l);
|
|
7882
7882
|
if (h === void 0) {
|
|
7883
|
-
if (
|
|
7884
|
-
return
|
|
7883
|
+
if (c === null)
|
|
7884
|
+
return c;
|
|
7885
7885
|
throw Error("A case reducer on a non-draftable value must not return undefined");
|
|
7886
7886
|
}
|
|
7887
7887
|
return h;
|
|
7888
7888
|
}
|
|
7889
7889
|
}
|
|
7890
|
-
return
|
|
7890
|
+
return c;
|
|
7891
7891
|
}, s);
|
|
7892
7892
|
}
|
|
7893
7893
|
return i.getInitialState = a, i;
|
|
@@ -7909,31 +7909,31 @@ function Gs({
|
|
|
7909
7909
|
if (!a)
|
|
7910
7910
|
throw new Error(process.env.NODE_ENV === "production" ? Q(11) : "`name` is a required option for createSlice");
|
|
7911
7911
|
typeof process < "u" && process.env.NODE_ENV === "development" && o.initialState === void 0 && console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");
|
|
7912
|
-
const s = (typeof o.reducers == "function" ? o.reducers(Ls()) : o.reducers) || {}, l = Object.keys(s),
|
|
7912
|
+
const s = (typeof o.reducers == "function" ? o.reducers(Ls()) : o.reducers) || {}, l = Object.keys(s), d = {
|
|
7913
7913
|
sliceCaseReducersByName: {},
|
|
7914
7914
|
sliceCaseReducersByType: {},
|
|
7915
7915
|
actionCreators: {},
|
|
7916
7916
|
sliceMatchers: []
|
|
7917
|
-
},
|
|
7917
|
+
}, c = {
|
|
7918
7918
|
addCase(k, I) {
|
|
7919
7919
|
const F = typeof k == "string" ? k : k.type;
|
|
7920
7920
|
if (!F)
|
|
7921
7921
|
throw new Error(process.env.NODE_ENV === "production" ? Q(12) : "`context.addCase` cannot be called with an empty action type");
|
|
7922
|
-
if (F in
|
|
7922
|
+
if (F in d.sliceCaseReducersByType)
|
|
7923
7923
|
throw new Error(process.env.NODE_ENV === "production" ? Q(13) : "`context.addCase` cannot be called with two reducers for the same action type: " + F);
|
|
7924
|
-
return
|
|
7924
|
+
return d.sliceCaseReducersByType[F] = I, c;
|
|
7925
7925
|
},
|
|
7926
7926
|
addMatcher(k, I) {
|
|
7927
|
-
return
|
|
7927
|
+
return d.sliceMatchers.push({
|
|
7928
7928
|
matcher: k,
|
|
7929
7929
|
reducer: I
|
|
7930
|
-
}),
|
|
7930
|
+
}), c;
|
|
7931
7931
|
},
|
|
7932
7932
|
exposeAction(k, I) {
|
|
7933
|
-
return
|
|
7933
|
+
return d.actionCreators[k] = I, c;
|
|
7934
7934
|
},
|
|
7935
7935
|
exposeCaseReducer(k, I) {
|
|
7936
|
-
return
|
|
7936
|
+
return d.sliceCaseReducersByName[k] = I, c;
|
|
7937
7937
|
}
|
|
7938
7938
|
};
|
|
7939
7939
|
l.forEach((k) => {
|
|
@@ -7942,19 +7942,19 @@ function Gs({
|
|
|
7942
7942
|
type: Hs(a, k),
|
|
7943
7943
|
createNotation: typeof o.reducers == "function"
|
|
7944
7944
|
};
|
|
7945
|
-
Ms(I) ? Ws(F, I,
|
|
7945
|
+
Ms(I) ? Ws(F, I, c, t) : Bs(F, I, c);
|
|
7946
7946
|
});
|
|
7947
7947
|
function m() {
|
|
7948
7948
|
if (process.env.NODE_ENV !== "production" && typeof o.extraReducers == "object")
|
|
7949
7949
|
throw new Error(process.env.NODE_ENV === "production" ? Q(14) : "The object notation for `createSlice.extraReducers` has been removed. Please use the 'builder callback' notation instead: https://redux-toolkit.js.org/api/createSlice");
|
|
7950
7950
|
const [k = {}, I = [], F = void 0] = typeof o.extraReducers == "function" ? _o(o.extraReducers) : [o.extraReducers], j = {
|
|
7951
7951
|
...k,
|
|
7952
|
-
...
|
|
7952
|
+
...d.sliceCaseReducersByType
|
|
7953
7953
|
};
|
|
7954
7954
|
return Fs(o.initialState, (T) => {
|
|
7955
7955
|
for (let W in j)
|
|
7956
7956
|
T.addCase(W, j[W]);
|
|
7957
|
-
for (let W of
|
|
7957
|
+
for (let W of d.sliceMatchers)
|
|
7958
7958
|
T.addMatcher(W.matcher, W.reducer);
|
|
7959
7959
|
for (let W of I)
|
|
7960
7960
|
T.addMatcher(W.matcher, W.reducer);
|
|
@@ -8005,8 +8005,8 @@ function Gs({
|
|
|
8005
8005
|
const x = {
|
|
8006
8006
|
name: a,
|
|
8007
8007
|
reducer: N,
|
|
8008
|
-
actions:
|
|
8009
|
-
caseReducers:
|
|
8008
|
+
actions: d.actionCreators,
|
|
8009
|
+
caseReducers: d.sliceCaseReducersByName,
|
|
8010
8010
|
getInitialState: R,
|
|
8011
8011
|
...D(i),
|
|
8012
8012
|
injectInto(k, {
|
|
@@ -8102,14 +8102,14 @@ function Ws({
|
|
|
8102
8102
|
fulfilled: i,
|
|
8103
8103
|
pending: s,
|
|
8104
8104
|
rejected: l,
|
|
8105
|
-
settled:
|
|
8106
|
-
options:
|
|
8107
|
-
} = r, m = o(e, a,
|
|
8108
|
-
n.exposeAction(t, m), i && n.addCase(m.fulfilled, i), s && n.addCase(m.pending, s), l && n.addCase(m.rejected, l),
|
|
8105
|
+
settled: d,
|
|
8106
|
+
options: c
|
|
8107
|
+
} = r, m = o(e, a, c);
|
|
8108
|
+
n.exposeAction(t, m), i && n.addCase(m.fulfilled, i), s && n.addCase(m.pending, s), l && n.addCase(m.rejected, l), d && n.addMatcher(m.settled, d), n.exposeCaseReducer(t, {
|
|
8109
8109
|
fulfilled: i || Ot,
|
|
8110
8110
|
pending: s || Ot,
|
|
8111
8111
|
rejected: l || Ot,
|
|
8112
|
-
settled:
|
|
8112
|
+
settled: d || Ot
|
|
8113
8113
|
});
|
|
8114
8114
|
}
|
|
8115
8115
|
function Ot() {
|
|
@@ -8308,9 +8308,9 @@ const qs = {
|
|
|
8308
8308
|
columnNumber: 23
|
|
8309
8309
|
}, void 0);
|
|
8310
8310
|
}, dl = ({ formComponent: e }) => {
|
|
8311
|
-
const t = e.props, { required: r, min: n, max: o, property: a, label: i = "Number Input", allowLeadingZero: s = !1 } = t || {}, l = 1, [
|
|
8311
|
+
const t = e.props, { required: r, min: n, max: o, property: a, label: i = "Number Input", allowLeadingZero: s = !1 } = t || {}, l = 1, [d, c] = pt(""), m = (h) => {
|
|
8312
8312
|
let { value: g } = h.target;
|
|
8313
|
-
s || (g = g.replace(/^0+/, "")),
|
|
8313
|
+
s || (g = g.replace(/^0+/, "")), c(g);
|
|
8314
8314
|
};
|
|
8315
8315
|
return /* @__PURE__ */ b.jsxDEV(Br, { $hasError: !1, children: [
|
|
8316
8316
|
/* @__PURE__ */ b.jsxDEV(_i, { htmlFor: a, children: i }, void 0, !1, {
|
|
@@ -8322,7 +8322,7 @@ const qs = {
|
|
|
8322
8322
|
"input",
|
|
8323
8323
|
{
|
|
8324
8324
|
type: "number",
|
|
8325
|
-
value:
|
|
8325
|
+
value: d || "",
|
|
8326
8326
|
onChange: m,
|
|
8327
8327
|
min: n,
|
|
8328
8328
|
max: o,
|
|
@@ -8361,12 +8361,12 @@ const qs = {
|
|
|
8361
8361
|
description: `Patient: ${m.first_name} ${m.last_name}`
|
|
8362
8362
|
};
|
|
8363
8363
|
e(Ys(h));
|
|
8364
|
-
}, [e]), l = Ee((m) => r == null ? void 0 : r[m], [r]),
|
|
8364
|
+
}, [e]), l = Ee((m) => r == null ? void 0 : r[m], [r]), d = Ee(
|
|
8365
8365
|
(m, h) => {
|
|
8366
8366
|
n(m, h), i(m, h);
|
|
8367
8367
|
},
|
|
8368
8368
|
[n, i]
|
|
8369
|
-
),
|
|
8369
|
+
), c = Ee((m) => {
|
|
8370
8370
|
const h = {};
|
|
8371
8371
|
return m.flowForms && m.flowForms.forEach((g) => {
|
|
8372
8372
|
var p;
|
|
@@ -8389,9 +8389,9 @@ const qs = {
|
|
|
8389
8389
|
setPatientValues: s,
|
|
8390
8390
|
getPatientValue: l,
|
|
8391
8391
|
//Mixed operations
|
|
8392
|
-
setFlowAndPatientValue:
|
|
8392
|
+
setFlowAndPatientValue: d,
|
|
8393
8393
|
// Utilities
|
|
8394
|
-
generateFormDataFromFlow:
|
|
8394
|
+
generateFormDataFromFlow: c
|
|
8395
8395
|
};
|
|
8396
8396
|
}, Bt = ({ errors: e }) => /* @__PURE__ */ b.jsxDEV(ul, { children: e.map((t, r) => /* @__PURE__ */ b.jsxDEV(ml, { children: t }, r, !1, {
|
|
8397
8397
|
fileName: "/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/visual/RenderError.tsx",
|
|
@@ -8417,7 +8417,7 @@ const qs = {
|
|
|
8417
8417
|
const { getFlowValue: t, setFlowAndPatientValue: r } = tr(), [n, o] = pt({}), a = e.props, i = (a == null ? void 0 : a.options) || [], s = [], l = t(a.propertyId);
|
|
8418
8418
|
a.propertyId || s.push("Error"), Tr(() => {
|
|
8419
8419
|
}, [l]);
|
|
8420
|
-
const
|
|
8420
|
+
const d = (g) => {
|
|
8421
8421
|
const { value: p } = g.target;
|
|
8422
8422
|
let N = l, R = { ...n };
|
|
8423
8423
|
if (e.componentId === "radio" || e.componentId === "radio-group")
|
|
@@ -8428,7 +8428,7 @@ const qs = {
|
|
|
8428
8428
|
} else
|
|
8429
8429
|
N.push(p);
|
|
8430
8430
|
r(a.propertyId, N), o(R), a == null || a.required;
|
|
8431
|
-
},
|
|
8431
|
+
}, c = (g) => {
|
|
8432
8432
|
var p;
|
|
8433
8433
|
if (e.componentId === "radio" || e.componentId === "radio-group") {
|
|
8434
8434
|
const N = (p = i[g]) == null ? void 0 : p.value;
|
|
@@ -8465,8 +8465,8 @@ const qs = {
|
|
|
8465
8465
|
id: R,
|
|
8466
8466
|
name: D,
|
|
8467
8467
|
value: g.value,
|
|
8468
|
-
onChange: (x) =>
|
|
8469
|
-
checked:
|
|
8468
|
+
onChange: (x) => d(x),
|
|
8469
|
+
checked: c(p)
|
|
8470
8470
|
},
|
|
8471
8471
|
void 0,
|
|
8472
8472
|
!1,
|
|
@@ -8508,9 +8508,9 @@ const qs = {
|
|
|
8508
8508
|
void 0
|
|
8509
8509
|
);
|
|
8510
8510
|
}, hl = ({ formComponent: e }) => {
|
|
8511
|
-
const t = e.props, { required: r, maxLength: n, propertyId: o, label: a = "Text Area Input" } = t || {}, [i, s] = pt(""), l = (
|
|
8512
|
-
const { value:
|
|
8513
|
-
s(
|
|
8511
|
+
const t = e.props, { required: r, maxLength: n, propertyId: o, label: a = "Text Area Input" } = t || {}, [i, s] = pt(""), l = (d) => {
|
|
8512
|
+
const { value: c } = d.target;
|
|
8513
|
+
s(c);
|
|
8514
8514
|
};
|
|
8515
8515
|
return (
|
|
8516
8516
|
// <FormInputWrapper $visible='true' $hasError={flowResponseErrors?.[propertyId] !== ''}>
|
|
@@ -8551,7 +8551,7 @@ const qs = {
|
|
|
8551
8551
|
}, void 0)
|
|
8552
8552
|
);
|
|
8553
8553
|
}, pl = ({ formComponent: e }) => {
|
|
8554
|
-
const { getFlowValue: t, setFlowAndPatientValue: r } = tr(), n = e.props, { labelText: o, leftText: a, middleText: i, rightText: s, propertyId: l, required:
|
|
8554
|
+
const { getFlowValue: t, setFlowAndPatientValue: r } = tr(), n = e.props, { labelText: o, leftText: a, middleText: i, rightText: s, propertyId: l, required: d } = n || {}, c = t(l), m = (p) => {
|
|
8555
8555
|
r(l, p);
|
|
8556
8556
|
}, h = (p) => ({
|
|
8557
8557
|
1: "#9AB777",
|
|
@@ -8564,7 +8564,7 @@ const qs = {
|
|
|
8564
8564
|
// dark orange
|
|
8565
8565
|
5: "#BD5E46"
|
|
8566
8566
|
// red
|
|
8567
|
-
})[p] || "#9AB777", g = (p) =>
|
|
8567
|
+
})[p] || "#9AB777", g = (p) => c === p;
|
|
8568
8568
|
return /* @__PURE__ */ b.jsxDEV(
|
|
8569
8569
|
Br,
|
|
8570
8570
|
{
|
|
@@ -9055,11 +9055,11 @@ const Dl = ({ formComponent: e, isPreview: t, boundary: r, isVisible: n = !0 })
|
|
|
9055
9055
|
case "!==":
|
|
9056
9056
|
return i !== s;
|
|
9057
9057
|
case ">":
|
|
9058
|
-
const l = parseFloat(i),
|
|
9059
|
-
return !isNaN(l) && !isNaN(
|
|
9058
|
+
const l = parseFloat(i), d = parseFloat(s);
|
|
9059
|
+
return !isNaN(l) && !isNaN(d) && l > d;
|
|
9060
9060
|
case ">=":
|
|
9061
|
-
const
|
|
9062
|
-
return !isNaN(
|
|
9061
|
+
const c = parseFloat(i), m = parseFloat(s);
|
|
9062
|
+
return !isNaN(c) && !isNaN(m) && c >= m;
|
|
9063
9063
|
case "<":
|
|
9064
9064
|
const h = parseFloat(i), g = parseFloat(s);
|
|
9065
9065
|
return !isNaN(h) && !isNaN(g) && h < g;
|
|
@@ -9115,14 +9115,14 @@ const Dl = ({ formComponent: e, isPreview: t, boundary: r, isVisible: n = !0 })
|
|
|
9115
9115
|
})) || [];
|
|
9116
9116
|
}, [e.formComponents, r]).filter((i) => i.shouldRender), a = o.length;
|
|
9117
9117
|
return /* @__PURE__ */ b.jsxDEV(b.Fragment, { children: o.map((i, s) => {
|
|
9118
|
-
const l = s === 0 ? "first" : a === s + 1 ? "last" : null,
|
|
9118
|
+
const l = s === 0 ? "first" : a === s + 1 ? "last" : null, d = i.isVisible;
|
|
9119
9119
|
return /* @__PURE__ */ b.jsxDEV(
|
|
9120
9120
|
Dl,
|
|
9121
9121
|
{
|
|
9122
9122
|
formComponent: i,
|
|
9123
9123
|
isPreview: t,
|
|
9124
9124
|
boundary: l,
|
|
9125
|
-
isVisible:
|
|
9125
|
+
isVisible: d
|
|
9126
9126
|
},
|
|
9127
9127
|
i.id,
|
|
9128
9128
|
!1,
|
|
@@ -9152,7 +9152,7 @@ const Dl = ({ formComponent: e, isPreview: t, boundary: r, isVisible: n = !0 })
|
|
|
9152
9152
|
var g;
|
|
9153
9153
|
const [n, o] = pt(0), { evaluateCondition: a } = To(), i = ((g = e.flowForms) == null ? void 0 : g.filter((p) => p.condition ? a(p.condition) : !0)) || [], s = i.length, l = i[n];
|
|
9154
9154
|
if (!l) return null;
|
|
9155
|
-
const
|
|
9155
|
+
const d = n === 0, c = n === s - 1, m = () => {
|
|
9156
9156
|
n < s - 1 && o((p) => p + 1);
|
|
9157
9157
|
}, h = () => {
|
|
9158
9158
|
n > 0 && o((p) => p - 1);
|
|
@@ -9176,7 +9176,7 @@ const Dl = ({ formComponent: e, isPreview: t, boundary: r, isVisible: n = !0 })
|
|
|
9176
9176
|
void 0
|
|
9177
9177
|
),
|
|
9178
9178
|
/* @__PURE__ */ b.jsxDEV(et, { $xSmall: !0, $bgColor: "white", $bRad: "10px 10px 0px 0px", children: /* @__PURE__ */ b.jsxDEV(Mi, { $banner: !1, $borderOff: !!l.bgColor, children: [
|
|
9179
|
-
/* @__PURE__ */ b.jsxDEV(po, { onClick: h, disabled:
|
|
9179
|
+
/* @__PURE__ */ b.jsxDEV(po, { onClick: h, disabled: d }, void 0, !1, {
|
|
9180
9180
|
fileName: "/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/FlowRenderer.tsx",
|
|
9181
9181
|
lineNumber: 62,
|
|
9182
9182
|
columnNumber: 13
|
|
@@ -9219,11 +9219,11 @@ const Dl = ({ formComponent: e, isPreview: t, boundary: r, isVisible: n = !0 })
|
|
|
9219
9219
|
{
|
|
9220
9220
|
type: "submit",
|
|
9221
9221
|
onClick: m,
|
|
9222
|
-
$isLastStep:
|
|
9222
|
+
$isLastStep: c,
|
|
9223
9223
|
$radius: "41px",
|
|
9224
9224
|
$margin: "0 0 15px 0",
|
|
9225
9225
|
$btnStyle: "black",
|
|
9226
|
-
children:
|
|
9226
|
+
children: c ? "Submit" : "Next"
|
|
9227
9227
|
},
|
|
9228
9228
|
void 0,
|
|
9229
9229
|
!1,
|
|
@@ -9268,33 +9268,33 @@ const Dl = ({ formComponent: e, isPreview: t, boundary: r, isVisible: n = !0 })
|
|
|
9268
9268
|
},
|
|
9269
9269
|
void 0
|
|
9270
9270
|
);
|
|
9271
|
-
}, Ql = ({ flowName: e, dataFetcher: t, children: r, onSubmit: n, configFetcher: o, formidavimHost: a }) => {
|
|
9272
|
-
const [
|
|
9271
|
+
}, Ql = ({ flowName: e, dataFetcher: t, children: r, onSubmit: n, configFetcher: o, formidavimHost: a, version: i }) => {
|
|
9272
|
+
const [s, l] = pt({}), d = $a(a);
|
|
9273
9273
|
return Tr(() => {
|
|
9274
9274
|
Promise.all([
|
|
9275
|
-
o ? o() :
|
|
9275
|
+
o ? o() : d.flowControllerGetBySlug(e, i).then(({ data: c }) => c).catch((c) => console.warn("NetworkAwareWrapper configFetcher failed", c)),
|
|
9276
9276
|
t().catch((c) => console.warn("NetworkAwareWrapper dataFetcher failed", c))
|
|
9277
|
-
]).then(([c,
|
|
9278
|
-
console.warn({ config: c, data:
|
|
9277
|
+
]).then(([c, m]) => {
|
|
9278
|
+
console.warn({ config: c, data: m, detail: "NetworkAwareWrapper" }), l({ config: c, data: m });
|
|
9279
9279
|
});
|
|
9280
|
-
}, []),
|
|
9280
|
+
}, []), s.config ? /* @__PURE__ */ b.jsxDEV(
|
|
9281
9281
|
Ul,
|
|
9282
9282
|
{
|
|
9283
|
-
data:
|
|
9283
|
+
data: s.data,
|
|
9284
9284
|
isPreview: !1,
|
|
9285
|
-
config:
|
|
9285
|
+
config: s.config
|
|
9286
9286
|
},
|
|
9287
9287
|
void 0,
|
|
9288
9288
|
!1,
|
|
9289
9289
|
{
|
|
9290
9290
|
fileName: "/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/NetworkAwareWrapper.tsx",
|
|
9291
|
-
lineNumber:
|
|
9291
|
+
lineNumber: 32,
|
|
9292
9292
|
columnNumber: 12
|
|
9293
9293
|
},
|
|
9294
9294
|
void 0
|
|
9295
9295
|
) : /* @__PURE__ */ b.jsxDEV(b.Fragment, { children: r }, void 0, !1, {
|
|
9296
9296
|
fileName: "/Users/lnorris/github.com/Ivim-Health/ivim/libs/browser/formidavim/src/lib/components/NetworkAwareWrapper.tsx",
|
|
9297
|
-
lineNumber:
|
|
9297
|
+
lineNumber: 29,
|
|
9298
9298
|
columnNumber: 16
|
|
9299
9299
|
}, void 0);
|
|
9300
9300
|
};
|