@ea-lab/reactive-json 0.5.0 → 0.5.1
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/{HashChangeListener-BaaJxyFq.js → HashChangeListener-BqIIvMlx.js} +352 -352
- package/dist/component/action/HashChangeListener.js +1 -1
- package/dist/component/action/MessageListener.js +1 -1
- package/dist/component/action/Popover.js +1 -1
- package/dist/component/action/ReactOnEvent.js +1 -1
- package/dist/component/action/Redirect.js +1 -1
- package/dist/component/action/SetAttributeValue.js +1 -1
- package/dist/component/action/ToggleAttributeValue.js +1 -1
- package/dist/component/action/Tooltip.js +1 -1
- package/dist/component/action/UnsetAttribute.js +1 -1
- package/dist/component/action/UnsetAttributeValue.js +1 -1
- package/dist/component/action/index.js +1 -1
- package/dist/component/dataMapping/index.js +1 -1
- package/dist/component/dataMapping/simpleMapping.js +1 -1
- package/dist/component/element/form/CheckBoxField.js +1 -1
- package/dist/component/element/form/DateField.js +1 -1
- package/dist/component/element/form/NumberField.js +1 -1
- package/dist/component/element/form/SelectField.js +1 -1
- package/dist/component/element/form/TextAreaField.js +1 -1
- package/dist/component/element/form/TextField.js +1 -1
- package/dist/component/element/form/formElementsCommon.js +1 -1
- package/dist/component/element/form/index.js +1 -1
- package/dist/component/element/html/AccordionItem.js +1 -1
- package/dist/component/element/html/FolderSortableTree.js +1 -1
- package/dist/component/element/html/FormatNumeral.js +1 -1
- package/dist/component/element/html/Html.js +1 -1
- package/dist/component/element/html/LabelFromValue.js +1 -1
- package/dist/component/element/html/Modal.js +1 -1
- package/dist/component/element/html/PreformattedMarkup.js +1 -1
- package/dist/component/element/html/SortableTreeItemCollapseButton.js +1 -1
- package/dist/component/element/html/Tabs.js +1 -1
- package/dist/component/element/html/index.js +1 -1
- package/dist/component/element/index.js +1 -1
- package/dist/component/element/special/BootstrapElement.js +1 -1
- package/dist/component/element/special/Count.js +1 -1
- package/dist/component/element/special/DataFilter.js +1 -1
- package/dist/component/element/special/DelayedActions.js +1 -1
- package/dist/component/element/special/Phantom.js +1 -1
- package/dist/component/element/special/ReactiveJsonSubroot.js +1 -1
- package/dist/component/element/special/Switch.js +1 -1
- package/dist/component/element/special/index.js +1 -1
- package/dist/component/index.js +1 -1
- package/dist/component/reaction/addData.js +1 -1
- package/dist/component/reaction/fetchData.js +1 -1
- package/dist/component/reaction/index.js +1 -1
- package/dist/component/reaction/moveData.js +1 -1
- package/dist/component/reaction/postMessage.js +1 -1
- package/dist/component/reaction/redirectNow.js +1 -1
- package/dist/component/reaction/removeData.js +1 -1
- package/dist/component/reaction/setClipboardData.js +1 -1
- package/dist/component/reaction/setData.js +1 -1
- package/dist/component/reaction/submitData.js +1 -1
- package/dist/component/reaction/utility/httpRequestCommon.js +1 -1
- package/dist/component/reaction/utility/index.js +1 -1
- package/dist/coreComponentsPlugin.js +1 -1
- package/dist/engine/Actions.js +1 -1
- package/dist/engine/ReactiveJsonRoot.js +1 -1
- package/dist/engine/TemplateSystem.js +1 -1
- package/dist/engine/View.js +1 -1
- package/dist/engine/index.js +1 -1
- package/dist/engine/utility/analyzeDataOverrideReferences.js +1 -1
- package/dist/engine/utility/formatString.js +1 -1
- package/dist/engine/utility/index.js +1 -1
- package/dist/main.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as R, jsxs as Ve, Fragment as Ot } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import ue, { useContext as K, useMemo as me, useEffect as fe, useRef as
|
|
2
|
+
import * as re from "react";
|
|
3
|
+
import ue, { useContext as K, useMemo as me, useEffect as fe, useRef as ne, useState as Oe, useCallback as he, useLayoutEffect as $a, useReducer as Ua, createContext as In, cloneElement as kn, forwardRef as di, useImperativeHandle as Cf, createElement as pi, memo as Af, Children as _o, Fragment as Sf, isValidElement as xf } from "react";
|
|
4
4
|
import { GlobalDataContext as _e } from "./engine/GlobalDataContext.js";
|
|
5
5
|
import { TemplateContext as De } from "./engine/TemplateContext.js";
|
|
6
6
|
import { c as ge, a as Se, b as Of, d as Df, A as hu, e as Tf, f as _t, B as Rf, g as Ha, u as _f } from "./usePagination-Bb6lefHG.js";
|
|
@@ -143,8 +143,8 @@ function Vf() {
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
|
-
var p = s, E = u, C = l, D = o, I = t, F = f, k = r, W = g, H = v, V = n, Q = a,
|
|
147
|
-
function
|
|
146
|
+
var p = s, E = u, C = l, D = o, I = t, F = f, k = r, W = g, H = v, V = n, Q = a, ie = i, J = c, j = !1;
|
|
147
|
+
function ae($) {
|
|
148
148
|
return j || (j = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), B($) || y($) === s;
|
|
149
149
|
}
|
|
150
150
|
function B($) {
|
|
@@ -183,7 +183,7 @@ function Vf() {
|
|
|
183
183
|
function Z($) {
|
|
184
184
|
return y($) === c;
|
|
185
185
|
}
|
|
186
|
-
Ne.AsyncMode = p, Ne.ConcurrentMode = E, Ne.ContextConsumer = C, Ne.ContextProvider = D, Ne.Element = I, Ne.ForwardRef = F, Ne.Fragment = k, Ne.Lazy = W, Ne.Memo = H, Ne.Portal = V, Ne.Profiler = Q, Ne.StrictMode =
|
|
186
|
+
Ne.AsyncMode = p, Ne.ConcurrentMode = E, Ne.ContextConsumer = C, Ne.ContextProvider = D, Ne.Element = I, Ne.ForwardRef = F, Ne.Fragment = k, Ne.Lazy = W, Ne.Memo = H, Ne.Portal = V, Ne.Profiler = Q, Ne.StrictMode = ie, Ne.Suspense = J, Ne.isAsyncMode = ae, Ne.isConcurrentMode = B, Ne.isContextConsumer = q, Ne.isContextProvider = ee, Ne.isElement = T, Ne.isForwardRef = P, Ne.isFragment = U, Ne.isLazy = G, Ne.isMemo = Y, Ne.isPortal = X, Ne.isProfiler = M, Ne.isStrictMode = N, Ne.isSuspense = Z, Ne.isValidElementType = A, Ne.typeOf = y;
|
|
187
187
|
}()), Ne;
|
|
188
188
|
}
|
|
189
189
|
var No;
|
|
@@ -378,7 +378,7 @@ function Wf() {
|
|
|
378
378
|
}
|
|
379
379
|
function S(B) {
|
|
380
380
|
function q(ee, T, P, U, G, Y) {
|
|
381
|
-
var X = ee[T], M =
|
|
381
|
+
var X = ee[T], M = ie(X);
|
|
382
382
|
if (M !== B) {
|
|
383
383
|
var N = J(X);
|
|
384
384
|
return new b(
|
|
@@ -399,7 +399,7 @@ function Wf() {
|
|
|
399
399
|
return new b("Property `" + G + "` of component `" + P + "` has invalid PropType notation inside arrayOf.");
|
|
400
400
|
var Y = ee[T];
|
|
401
401
|
if (!Array.isArray(Y)) {
|
|
402
|
-
var X =
|
|
402
|
+
var X = ie(Y);
|
|
403
403
|
return new b("Invalid " + U + " `" + G + "` of type " + ("`" + X + "` supplied to `" + P + "`, expected an array."));
|
|
404
404
|
}
|
|
405
405
|
for (var M = 0; M < Y.length; M++) {
|
|
@@ -415,7 +415,7 @@ function Wf() {
|
|
|
415
415
|
function B(q, ee, T, P, U) {
|
|
416
416
|
var G = q[ee];
|
|
417
417
|
if (!l(G)) {
|
|
418
|
-
var Y =
|
|
418
|
+
var Y = ie(G);
|
|
419
419
|
return new b("Invalid " + P + " `" + U + "` of type " + ("`" + Y + "` supplied to `" + T + "`, expected a single ReactElement."));
|
|
420
420
|
}
|
|
421
421
|
return null;
|
|
@@ -426,7 +426,7 @@ function Wf() {
|
|
|
426
426
|
function B(q, ee, T, P, U) {
|
|
427
427
|
var G = q[ee];
|
|
428
428
|
if (!e.isValidElementType(G)) {
|
|
429
|
-
var Y =
|
|
429
|
+
var Y = ie(G);
|
|
430
430
|
return new b("Invalid " + P + " `" + U + "` of type " + ("`" + Y + "` supplied to `" + T + "`, expected a single ReactElement type."));
|
|
431
431
|
}
|
|
432
432
|
return null;
|
|
@@ -436,7 +436,7 @@ function Wf() {
|
|
|
436
436
|
function E(B) {
|
|
437
437
|
function q(ee, T, P, U, G) {
|
|
438
438
|
if (!(ee[T] instanceof B)) {
|
|
439
|
-
var Y = B.name || d, X =
|
|
439
|
+
var Y = B.name || d, X = ae(ee[T]);
|
|
440
440
|
return new b("Invalid " + U + " `" + G + "` of type " + ("`" + X + "` supplied to `" + P + "`, expected ") + ("instance of `" + Y + "`."));
|
|
441
441
|
}
|
|
442
442
|
return null;
|
|
@@ -464,7 +464,7 @@ function Wf() {
|
|
|
464
464
|
function q(ee, T, P, U, G) {
|
|
465
465
|
if (typeof B != "function")
|
|
466
466
|
return new b("Property `" + G + "` of component `" + P + "` has invalid PropType notation inside objectOf.");
|
|
467
|
-
var Y = ee[T], X =
|
|
467
|
+
var Y = ee[T], X = ie(Y);
|
|
468
468
|
if (X !== "object")
|
|
469
469
|
return new b("Invalid " + U + " `" + G + "` of type " + ("`" + X + "` supplied to `" + P + "`, expected an object."));
|
|
470
470
|
for (var M in Y)
|
|
@@ -512,7 +512,7 @@ function Wf() {
|
|
|
512
512
|
}
|
|
513
513
|
function W(B) {
|
|
514
514
|
function q(ee, T, P, U, G) {
|
|
515
|
-
var Y = ee[T], X =
|
|
515
|
+
var Y = ee[T], X = ie(Y);
|
|
516
516
|
if (X !== "object")
|
|
517
517
|
return new b("Invalid " + U + " `" + G + "` of type `" + X + "` " + ("supplied to `" + P + "`, expected `object`."));
|
|
518
518
|
for (var M in B) {
|
|
@@ -529,7 +529,7 @@ function Wf() {
|
|
|
529
529
|
}
|
|
530
530
|
function H(B) {
|
|
531
531
|
function q(ee, T, P, U, G) {
|
|
532
|
-
var Y = ee[T], X =
|
|
532
|
+
var Y = ee[T], X = ie(Y);
|
|
533
533
|
if (X !== "object")
|
|
534
534
|
return new b("Invalid " + U + " `" + G + "` of type `" + X + "` " + ("supplied to `" + P + "`, expected `object`."));
|
|
535
535
|
var M = t({}, ee[T], B);
|
|
@@ -586,14 +586,14 @@ Valid keys: ` + JSON.stringify(Object.keys(B), null, " ")
|
|
|
586
586
|
function Q(B, q) {
|
|
587
587
|
return B === "symbol" ? !0 : q ? q["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && q instanceof Symbol : !1;
|
|
588
588
|
}
|
|
589
|
-
function
|
|
589
|
+
function ie(B) {
|
|
590
590
|
var q = typeof B;
|
|
591
591
|
return Array.isArray(B) ? "array" : B instanceof RegExp ? "object" : Q(q, B) ? "symbol" : q;
|
|
592
592
|
}
|
|
593
593
|
function J(B) {
|
|
594
594
|
if (typeof B > "u" || B === null)
|
|
595
595
|
return "" + B;
|
|
596
|
-
var q =
|
|
596
|
+
var q = ie(B);
|
|
597
597
|
if (q === "object") {
|
|
598
598
|
if (B instanceof Date)
|
|
599
599
|
return "date";
|
|
@@ -616,7 +616,7 @@ Valid keys: ` + JSON.stringify(Object.keys(B), null, " ")
|
|
|
616
616
|
return q;
|
|
617
617
|
}
|
|
618
618
|
}
|
|
619
|
-
function
|
|
619
|
+
function ae(B) {
|
|
620
620
|
return !B.constructor || !B.constructor.name ? d : B.constructor.name;
|
|
621
621
|
}
|
|
622
622
|
return v.checkPropTypes = i, v.resetWarningCache = i.resetWarningCache, v.PropTypes = v, v;
|
|
@@ -691,7 +691,7 @@ const ce = /* @__PURE__ */ yr(Kf), Yf = {
|
|
|
691
691
|
/** Display feedback as a tooltip. */
|
|
692
692
|
tooltip: ce.bool,
|
|
693
693
|
as: ce.elementType
|
|
694
|
-
}, hi = /* @__PURE__ */
|
|
694
|
+
}, hi = /* @__PURE__ */ re.forwardRef(
|
|
695
695
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
696
696
|
({
|
|
697
697
|
as: e = "div",
|
|
@@ -707,7 +707,7 @@ const ce = /* @__PURE__ */ yr(Kf), Yf = {
|
|
|
707
707
|
);
|
|
708
708
|
hi.displayName = "Feedback";
|
|
709
709
|
hi.propTypes = Yf;
|
|
710
|
-
const zt = /* @__PURE__ */
|
|
710
|
+
const zt = /* @__PURE__ */ re.createContext({}), za = /* @__PURE__ */ re.forwardRef(({
|
|
711
711
|
id: e,
|
|
712
712
|
bsPrefix: t,
|
|
713
713
|
className: n,
|
|
@@ -730,7 +730,7 @@ const zt = /* @__PURE__ */ ne.createContext({}), za = /* @__PURE__ */ ne.forward
|
|
|
730
730
|
});
|
|
731
731
|
});
|
|
732
732
|
za.displayName = "FormCheckInput";
|
|
733
|
-
const Yr = /* @__PURE__ */
|
|
733
|
+
const Yr = /* @__PURE__ */ re.forwardRef(({
|
|
734
734
|
bsPrefix: e,
|
|
735
735
|
className: t,
|
|
736
736
|
htmlFor: n,
|
|
@@ -749,18 +749,18 @@ const Yr = /* @__PURE__ */ ne.forwardRef(({
|
|
|
749
749
|
Yr.displayName = "FormCheckLabel";
|
|
750
750
|
function Ho(e, t) {
|
|
751
751
|
let n = 0;
|
|
752
|
-
return
|
|
752
|
+
return re.Children.map(e, (r) => /* @__PURE__ */ re.isValidElement(r) ? t(r, n++) : r);
|
|
753
753
|
}
|
|
754
754
|
function Jf(e, t) {
|
|
755
755
|
let n = 0;
|
|
756
|
-
|
|
757
|
-
/* @__PURE__ */
|
|
756
|
+
re.Children.forEach(e, (r) => {
|
|
757
|
+
/* @__PURE__ */ re.isValidElement(r) && t(r, n++);
|
|
758
758
|
});
|
|
759
759
|
}
|
|
760
760
|
function Zf(e, t) {
|
|
761
|
-
return
|
|
761
|
+
return re.Children.toArray(e).some((n) => /* @__PURE__ */ re.isValidElement(n) && n.type === t);
|
|
762
762
|
}
|
|
763
|
-
const Eu = /* @__PURE__ */
|
|
763
|
+
const Eu = /* @__PURE__ */ re.forwardRef(({
|
|
764
764
|
id: e,
|
|
765
765
|
bsPrefix: t,
|
|
766
766
|
bsSwitchPrefix: n,
|
|
@@ -855,7 +855,7 @@ function Qf() {
|
|
|
855
855
|
return Gi = t, Gi;
|
|
856
856
|
}
|
|
857
857
|
var ed = Qf();
|
|
858
|
-
const mi = /* @__PURE__ */ yr(ed), wu = /* @__PURE__ */
|
|
858
|
+
const mi = /* @__PURE__ */ yr(ed), wu = /* @__PURE__ */ re.forwardRef(({
|
|
859
859
|
bsPrefix: e,
|
|
860
860
|
type: t,
|
|
861
861
|
size: n,
|
|
@@ -886,7 +886,7 @@ const mi = /* @__PURE__ */ yr(ed), wu = /* @__PURE__ */ ne.forwardRef(({
|
|
|
886
886
|
wu.displayName = "FormControl";
|
|
887
887
|
const td = Object.assign(wu, {
|
|
888
888
|
Feedback: hi
|
|
889
|
-
}), Cu = /* @__PURE__ */
|
|
889
|
+
}), Cu = /* @__PURE__ */ re.forwardRef(({
|
|
890
890
|
className: e,
|
|
891
891
|
bsPrefix: t,
|
|
892
892
|
as: n = "div",
|
|
@@ -897,7 +897,7 @@ const td = Object.assign(wu, {
|
|
|
897
897
|
...r
|
|
898
898
|
})));
|
|
899
899
|
Cu.displayName = "FormFloating";
|
|
900
|
-
const qa = /* @__PURE__ */
|
|
900
|
+
const qa = /* @__PURE__ */ re.forwardRef(({
|
|
901
901
|
controlId: e,
|
|
902
902
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
903
903
|
as: t = "div",
|
|
@@ -943,7 +943,7 @@ function nd({
|
|
|
943
943
|
spans: o
|
|
944
944
|
}];
|
|
945
945
|
}
|
|
946
|
-
const Au = /* @__PURE__ */
|
|
946
|
+
const Au = /* @__PURE__ */ re.forwardRef(
|
|
947
947
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
948
948
|
(e, t) => {
|
|
949
949
|
const [{
|
|
@@ -962,7 +962,7 @@ const Au = /* @__PURE__ */ ne.forwardRef(
|
|
|
962
962
|
}
|
|
963
963
|
);
|
|
964
964
|
Au.displayName = "Col";
|
|
965
|
-
const Su = /* @__PURE__ */
|
|
965
|
+
const Su = /* @__PURE__ */ re.forwardRef(({
|
|
966
966
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
967
967
|
as: e = "label",
|
|
968
968
|
bsPrefix: t,
|
|
@@ -993,7 +993,7 @@ const Su = /* @__PURE__ */ ne.forwardRef(({
|
|
|
993
993
|
});
|
|
994
994
|
});
|
|
995
995
|
Su.displayName = "FormLabel";
|
|
996
|
-
const xu = /* @__PURE__ */
|
|
996
|
+
const xu = /* @__PURE__ */ re.forwardRef(({
|
|
997
997
|
bsPrefix: e,
|
|
998
998
|
className: t,
|
|
999
999
|
id: n,
|
|
@@ -1011,7 +1011,7 @@ const xu = /* @__PURE__ */ ne.forwardRef(({
|
|
|
1011
1011
|
});
|
|
1012
1012
|
});
|
|
1013
1013
|
xu.displayName = "FormRange";
|
|
1014
|
-
const Ou = /* @__PURE__ */
|
|
1014
|
+
const Ou = /* @__PURE__ */ re.forwardRef(({
|
|
1015
1015
|
bsPrefix: e,
|
|
1016
1016
|
size: t,
|
|
1017
1017
|
htmlSize: n,
|
|
@@ -1033,7 +1033,7 @@ const Ou = /* @__PURE__ */ ne.forwardRef(({
|
|
|
1033
1033
|
});
|
|
1034
1034
|
});
|
|
1035
1035
|
Ou.displayName = "FormSelect";
|
|
1036
|
-
const Du = /* @__PURE__ */
|
|
1036
|
+
const Du = /* @__PURE__ */ re.forwardRef(
|
|
1037
1037
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
1038
1038
|
({
|
|
1039
1039
|
bsPrefix: e,
|
|
@@ -1048,7 +1048,7 @@ const Du = /* @__PURE__ */ ne.forwardRef(
|
|
|
1048
1048
|
}))
|
|
1049
1049
|
);
|
|
1050
1050
|
Du.displayName = "FormText";
|
|
1051
|
-
const Tu = /* @__PURE__ */
|
|
1051
|
+
const Tu = /* @__PURE__ */ re.forwardRef((e, t) => /* @__PURE__ */ R(Jr, {
|
|
1052
1052
|
...e,
|
|
1053
1053
|
ref: t,
|
|
1054
1054
|
type: "switch"
|
|
@@ -1057,7 +1057,7 @@ Tu.displayName = "Switch";
|
|
|
1057
1057
|
const rd = Object.assign(Tu, {
|
|
1058
1058
|
Input: Jr.Input,
|
|
1059
1059
|
Label: Jr.Label
|
|
1060
|
-
}), Ru = /* @__PURE__ */
|
|
1060
|
+
}), Ru = /* @__PURE__ */ re.forwardRef(({
|
|
1061
1061
|
bsPrefix: e,
|
|
1062
1062
|
className: t,
|
|
1063
1063
|
children: n,
|
|
@@ -1091,7 +1091,7 @@ const id = {
|
|
|
1091
1091
|
*/
|
|
1092
1092
|
validated: ce.bool,
|
|
1093
1093
|
as: ce.elementType
|
|
1094
|
-
}, Wa = /* @__PURE__ */
|
|
1094
|
+
}, Wa = /* @__PURE__ */ re.forwardRef(({
|
|
1095
1095
|
className: e,
|
|
1096
1096
|
validated: t,
|
|
1097
1097
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
@@ -1193,7 +1193,7 @@ function sd(e, t) {
|
|
|
1193
1193
|
return String(e);
|
|
1194
1194
|
}
|
|
1195
1195
|
function Pu(e, t, n) {
|
|
1196
|
-
var r =
|
|
1196
|
+
var r = ne(e !== void 0), i = Oe(t), a = i[0], o = i[1], l = e !== void 0, s = r.current;
|
|
1197
1197
|
return r.current = l, !l && s && a !== t && o(t), [l ? e : a, he(function(u) {
|
|
1198
1198
|
for (var f = arguments.length, c = new Array(f > 1 ? f - 1 : 0), d = 1; d < f; d++)
|
|
1199
1199
|
c[d - 1] = arguments[d];
|
|
@@ -1975,7 +1975,7 @@ function ku(e) {
|
|
|
1975
1975
|
return e.code === "Escape" || e.keyCode === 27;
|
|
1976
1976
|
}
|
|
1977
1977
|
function wd() {
|
|
1978
|
-
const e =
|
|
1978
|
+
const e = re.version.split(".");
|
|
1979
1979
|
return {
|
|
1980
1980
|
major: +e[0],
|
|
1981
1981
|
minor: +e[1],
|
|
@@ -2100,7 +2100,7 @@ const Ga = /* @__PURE__ */ ue.forwardRef(({
|
|
|
2100
2100
|
childRef: s,
|
|
2101
2101
|
...u
|
|
2102
2102
|
}, f) => {
|
|
2103
|
-
const c =
|
|
2103
|
+
const c = ne(null), d = gi(c, s), v = (E) => {
|
|
2104
2104
|
d(Qr(E));
|
|
2105
2105
|
}, g = (E) => (C) => {
|
|
2106
2106
|
E && c.current && E(c.current, C);
|
|
@@ -2198,9 +2198,9 @@ Mu.displayName = "Collapse";
|
|
|
2198
2198
|
function ju(e, t) {
|
|
2199
2199
|
return Array.isArray(e) ? e.includes(t) : e === t;
|
|
2200
2200
|
}
|
|
2201
|
-
const br = /* @__PURE__ */
|
|
2201
|
+
const br = /* @__PURE__ */ re.createContext({});
|
|
2202
2202
|
br.displayName = "AccordionContext";
|
|
2203
|
-
const Xa = /* @__PURE__ */
|
|
2203
|
+
const Xa = /* @__PURE__ */ re.forwardRef(({
|
|
2204
2204
|
as: e = "div",
|
|
2205
2205
|
bsPrefix: t,
|
|
2206
2206
|
className: n,
|
|
@@ -2217,16 +2217,16 @@ const Xa = /* @__PURE__ */ ne.forwardRef(({
|
|
|
2217
2217
|
...a,
|
|
2218
2218
|
className: ge(n, t),
|
|
2219
2219
|
children: /* @__PURE__ */ R(e, {
|
|
2220
|
-
children:
|
|
2220
|
+
children: re.Children.only(r)
|
|
2221
2221
|
})
|
|
2222
2222
|
});
|
|
2223
2223
|
});
|
|
2224
2224
|
Xa.displayName = "AccordionCollapse";
|
|
2225
|
-
const yi = /* @__PURE__ */
|
|
2225
|
+
const yi = /* @__PURE__ */ re.createContext({
|
|
2226
2226
|
eventKey: ""
|
|
2227
2227
|
});
|
|
2228
2228
|
yi.displayName = "AccordionItemContext";
|
|
2229
|
-
const $u = /* @__PURE__ */
|
|
2229
|
+
const $u = /* @__PURE__ */ re.forwardRef(({
|
|
2230
2230
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
2231
2231
|
as: e = "div",
|
|
2232
2232
|
bsPrefix: t,
|
|
@@ -2270,7 +2270,7 @@ function Rd(e, t) {
|
|
|
2270
2270
|
i && (Array.isArray(n) ? n.includes(e) ? o = n.filter((l) => l !== e) : o = [...n, e] : o = [e]), r == null || r(o, a), t == null || t(a);
|
|
2271
2271
|
};
|
|
2272
2272
|
}
|
|
2273
|
-
const Ka = /* @__PURE__ */
|
|
2273
|
+
const Ka = /* @__PURE__ */ re.forwardRef(({
|
|
2274
2274
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
2275
2275
|
as: e = "button",
|
|
2276
2276
|
bsPrefix: t,
|
|
@@ -2293,7 +2293,7 @@ const Ka = /* @__PURE__ */ ne.forwardRef(({
|
|
|
2293
2293
|
});
|
|
2294
2294
|
});
|
|
2295
2295
|
Ka.displayName = "AccordionButton";
|
|
2296
|
-
const Uu = /* @__PURE__ */
|
|
2296
|
+
const Uu = /* @__PURE__ */ re.forwardRef(({
|
|
2297
2297
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
2298
2298
|
as: e = "h2",
|
|
2299
2299
|
"aria-controls": t,
|
|
@@ -2313,7 +2313,7 @@ const Uu = /* @__PURE__ */ ne.forwardRef(({
|
|
|
2313
2313
|
})
|
|
2314
2314
|
})));
|
|
2315
2315
|
Uu.displayName = "AccordionHeader";
|
|
2316
|
-
const Hu = /* @__PURE__ */
|
|
2316
|
+
const Hu = /* @__PURE__ */ re.forwardRef(({
|
|
2317
2317
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
2318
2318
|
as: e = "div",
|
|
2319
2319
|
bsPrefix: t,
|
|
@@ -2335,7 +2335,7 @@ const Hu = /* @__PURE__ */ ne.forwardRef(({
|
|
|
2335
2335
|
});
|
|
2336
2336
|
});
|
|
2337
2337
|
Hu.displayName = "AccordionItem";
|
|
2338
|
-
const Vu = /* @__PURE__ */
|
|
2338
|
+
const Vu = /* @__PURE__ */ re.forwardRef((e, t) => {
|
|
2339
2339
|
const {
|
|
2340
2340
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
2341
2341
|
as: n = "div",
|
|
@@ -2371,7 +2371,7 @@ const Hr = Object.assign(Vu, {
|
|
|
2371
2371
|
Body: $u
|
|
2372
2372
|
});
|
|
2373
2373
|
function _d(e) {
|
|
2374
|
-
const t =
|
|
2374
|
+
const t = ne(e);
|
|
2375
2375
|
return fe(() => {
|
|
2376
2376
|
t.current = e;
|
|
2377
2377
|
}, [e]), t;
|
|
@@ -2384,14 +2384,14 @@ function ur(e) {
|
|
|
2384
2384
|
}
|
|
2385
2385
|
const zu = (e) => (
|
|
2386
2386
|
// eslint-disable-next-line react/display-name
|
|
2387
|
-
/* @__PURE__ */
|
|
2387
|
+
/* @__PURE__ */ re.forwardRef((t, n) => /* @__PURE__ */ R("div", {
|
|
2388
2388
|
...t,
|
|
2389
2389
|
ref: n,
|
|
2390
2390
|
className: ge(t.className, e)
|
|
2391
2391
|
}))
|
|
2392
2392
|
), qu = zu("h4");
|
|
2393
2393
|
qu.displayName = "DivStyledAsH4";
|
|
2394
|
-
const Wu = /* @__PURE__ */
|
|
2394
|
+
const Wu = /* @__PURE__ */ re.forwardRef(({
|
|
2395
2395
|
className: e,
|
|
2396
2396
|
bsPrefix: t,
|
|
2397
2397
|
as: n = qu,
|
|
@@ -2406,20 +2406,20 @@ function Jo() {
|
|
|
2406
2406
|
return Oe(null);
|
|
2407
2407
|
}
|
|
2408
2408
|
function Gu() {
|
|
2409
|
-
const e =
|
|
2409
|
+
const e = ne(!0), t = ne(() => e.current);
|
|
2410
2410
|
return fe(() => (e.current = !0, () => {
|
|
2411
2411
|
e.current = !1;
|
|
2412
2412
|
}), []), t.current;
|
|
2413
2413
|
}
|
|
2414
2414
|
function Pd(e) {
|
|
2415
|
-
const t =
|
|
2415
|
+
const t = ne(null);
|
|
2416
2416
|
return fe(() => {
|
|
2417
2417
|
t.current = e;
|
|
2418
2418
|
}), t.current;
|
|
2419
2419
|
}
|
|
2420
2420
|
const Id = typeof global < "u" && // @ts-ignore
|
|
2421
2421
|
global.navigator && // @ts-ignore
|
|
2422
|
-
global.navigator.product === "ReactNative", kd = typeof document < "u", Zo = kd || Id ? $a : fe, Xu = /* @__PURE__ */
|
|
2422
|
+
global.navigator.product === "ReactNative", kd = typeof document < "u", Zo = kd || Id ? $a : fe, Xu = /* @__PURE__ */ re.forwardRef(({
|
|
2423
2423
|
className: e,
|
|
2424
2424
|
bsPrefix: t,
|
|
2425
2425
|
as: n = hu,
|
|
@@ -2433,7 +2433,7 @@ Xu.displayName = "AlertLink";
|
|
|
2433
2433
|
const Nd = {
|
|
2434
2434
|
[Ut]: "show",
|
|
2435
2435
|
[Qt]: "show"
|
|
2436
|
-
}, qt = /* @__PURE__ */
|
|
2436
|
+
}, qt = /* @__PURE__ */ re.forwardRef(({
|
|
2437
2437
|
className: e,
|
|
2438
2438
|
children: t,
|
|
2439
2439
|
transitionClasses: n = {},
|
|
@@ -2456,7 +2456,7 @@ const Nd = {
|
|
|
2456
2456
|
...o,
|
|
2457
2457
|
onEnter: l,
|
|
2458
2458
|
childRef: Bn(t),
|
|
2459
|
-
children: (s, u) => /* @__PURE__ */
|
|
2459
|
+
children: (s, u) => /* @__PURE__ */ re.cloneElement(t, {
|
|
2460
2460
|
...u,
|
|
2461
2461
|
className: ge("fade", e, t.props.className, Nd[s], n[s])
|
|
2462
2462
|
})
|
|
@@ -2474,7 +2474,7 @@ const Fd = {
|
|
|
2474
2474
|
* Omitting this will render the default dark color.
|
|
2475
2475
|
*/
|
|
2476
2476
|
variant: ce.oneOf(["white"])
|
|
2477
|
-
}, bi = /* @__PURE__ */
|
|
2477
|
+
}, bi = /* @__PURE__ */ re.forwardRef(({
|
|
2478
2478
|
className: e,
|
|
2479
2479
|
variant: t,
|
|
2480
2480
|
"aria-label": n = "Close",
|
|
@@ -2488,7 +2488,7 @@ const Fd = {
|
|
|
2488
2488
|
}));
|
|
2489
2489
|
bi.displayName = "CloseButton";
|
|
2490
2490
|
bi.propTypes = Fd;
|
|
2491
|
-
const Ku = /* @__PURE__ */
|
|
2491
|
+
const Ku = /* @__PURE__ */ re.forwardRef((e, t) => {
|
|
2492
2492
|
const {
|
|
2493
2493
|
bsPrefix: n,
|
|
2494
2494
|
show: r = !0,
|
|
@@ -2528,7 +2528,7 @@ Ku.displayName = "Alert";
|
|
|
2528
2528
|
const Bd = Object.assign(Ku, {
|
|
2529
2529
|
Link: Xu,
|
|
2530
2530
|
Heading: Wu
|
|
2531
|
-
}), Yu = /* @__PURE__ */
|
|
2531
|
+
}), Yu = /* @__PURE__ */ re.forwardRef(({
|
|
2532
2532
|
bsPrefix: e,
|
|
2533
2533
|
bg: t = "primary",
|
|
2534
2534
|
pill: n = !1,
|
|
@@ -2545,7 +2545,7 @@ const Bd = Object.assign(Ku, {
|
|
|
2545
2545
|
});
|
|
2546
2546
|
});
|
|
2547
2547
|
Yu.displayName = "Badge";
|
|
2548
|
-
const Ju = /* @__PURE__ */
|
|
2548
|
+
const Ju = /* @__PURE__ */ re.forwardRef(({
|
|
2549
2549
|
as: e,
|
|
2550
2550
|
bsPrefix: t,
|
|
2551
2551
|
variant: n = "primary",
|
|
@@ -2571,16 +2571,16 @@ const Ju = /* @__PURE__ */ ne.forwardRef(({
|
|
|
2571
2571
|
});
|
|
2572
2572
|
});
|
|
2573
2573
|
Ju.displayName = "Button";
|
|
2574
|
-
const Zu = /* @__PURE__ */
|
|
2574
|
+
const Zu = /* @__PURE__ */ re.createContext(null);
|
|
2575
2575
|
Zu.displayName = "CardHeaderContext";
|
|
2576
2576
|
function Ld() {
|
|
2577
|
-
const e =
|
|
2577
|
+
const e = ne(!0), t = ne(() => e.current);
|
|
2578
2578
|
return fe(() => (e.current = !0, () => {
|
|
2579
2579
|
e.current = !1;
|
|
2580
2580
|
}), []), t.current;
|
|
2581
2581
|
}
|
|
2582
2582
|
function Md(e) {
|
|
2583
|
-
const t =
|
|
2583
|
+
const t = ne(e);
|
|
2584
2584
|
return t.current = e, t;
|
|
2585
2585
|
}
|
|
2586
2586
|
function Qu(e) {
|
|
@@ -2593,7 +2593,7 @@ function el(e, t, n) {
|
|
|
2593
2593
|
e.current = r <= Ea ? setTimeout(t, r) : setTimeout(() => el(e, t, n), Ea);
|
|
2594
2594
|
}
|
|
2595
2595
|
function jd() {
|
|
2596
|
-
const e = Ld(), t =
|
|
2596
|
+
const e = Ld(), t = ne();
|
|
2597
2597
|
return Qu(() => clearTimeout(t.current)), me(() => {
|
|
2598
2598
|
const n = () => clearTimeout(t.current);
|
|
2599
2599
|
function r(i, a = 0) {
|
|
@@ -2611,7 +2611,7 @@ function cn(e, t) {
|
|
|
2611
2611
|
return $d(e.querySelectorAll(t));
|
|
2612
2612
|
}
|
|
2613
2613
|
function Ud(e, t, n) {
|
|
2614
|
-
const r =
|
|
2614
|
+
const r = ne(e !== void 0), [i, a] = Oe(t), o = e !== void 0, l = r.current;
|
|
2615
2615
|
return r.current = o, !o && l && i !== t && a(t), [o ? e : i, he((...s) => {
|
|
2616
2616
|
const [u, ...f] = s;
|
|
2617
2617
|
let c = n == null ? void 0 : n(u, ...f);
|
|
@@ -3180,7 +3180,7 @@ function Sp(e) {
|
|
|
3180
3180
|
allowedAutoPlacements: b
|
|
3181
3181
|
}) : U);
|
|
3182
3182
|
}, []), p = t.rects.reference, E = t.rects.popper, C = /* @__PURE__ */ new Map(), D = !0, I = y[0], F = 0; F < y.length; F++) {
|
|
3183
|
-
var k = y[F], W = Mt(k), H = Rn(k) === On, V = [ht, Dt].indexOf(W) >= 0, Q = V ? "width" : "height",
|
|
3183
|
+
var k = y[F], W = Mt(k), H = Rn(k) === On, V = [ht, Dt].indexOf(W) >= 0, Q = V ? "width" : "height", ie = cr(t, {
|
|
3184
3184
|
placement: k,
|
|
3185
3185
|
boundary: f,
|
|
3186
3186
|
rootBoundary: c,
|
|
@@ -3188,14 +3188,14 @@ function Sp(e) {
|
|
|
3188
3188
|
padding: u
|
|
3189
3189
|
}), J = V ? H ? Tt : mt : H ? Dt : ht;
|
|
3190
3190
|
p[Q] > E[Q] && (J = Vr(J));
|
|
3191
|
-
var j = Vr(J),
|
|
3192
|
-
if (a &&
|
|
3191
|
+
var j = Vr(J), ae = [];
|
|
3192
|
+
if (a && ae.push(ie[W] <= 0), l && ae.push(ie[J] <= 0, ie[j] <= 0), ae.every(function(P) {
|
|
3193
3193
|
return P;
|
|
3194
3194
|
})) {
|
|
3195
3195
|
I = k, D = !1;
|
|
3196
3196
|
break;
|
|
3197
3197
|
}
|
|
3198
|
-
C.set(k,
|
|
3198
|
+
C.set(k, ae);
|
|
3199
3199
|
}
|
|
3200
3200
|
if (D)
|
|
3201
3201
|
for (var B = g ? 3 : 1, q = function(U) {
|
|
@@ -3327,10 +3327,10 @@ function Np(e) {
|
|
|
3327
3327
|
};
|
|
3328
3328
|
if (E) {
|
|
3329
3329
|
if (a) {
|
|
3330
|
-
var H, V = y === "y" ? ht : mt, Q = y === "y" ? Dt : Tt,
|
|
3330
|
+
var H, V = y === "y" ? ht : mt, Q = y === "y" ? Dt : Tt, ie = y === "y" ? "height" : "width", J = E[y], j = J + m[V], ae = J - m[Q], B = v ? -D[ie] / 2 : 0, q = x === On ? C[ie] : D[ie], ee = x === On ? -D[ie] : -C[ie], T = t.elements.arrow, P = v && T ? Za(T) : {
|
|
3331
3331
|
width: 0,
|
|
3332
3332
|
height: 0
|
|
3333
|
-
}, U = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : al(), G = U[V], Y = U[Q], X = rr(0, C[
|
|
3333
|
+
}, U = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : al(), G = U[V], Y = U[Q], X = rr(0, C[ie], P[ie]), M = A ? C[ie] / 2 - B - X - G - F.mainAxis : q - X - G - F.mainAxis, N = A ? -C[ie] / 2 + B + X + Y + F.mainAxis : ee + X + Y + F.mainAxis, Z = t.elements.arrow && wr(t.elements.arrow), $ = Z ? y === "y" ? Z.clientTop || 0 : Z.clientLeft || 0 : 0, ve = (H = k == null ? void 0 : k[y]) != null ? H : 0, Ce = J + M - ve - $, oe = J + N - ve, Ae = rr(v ? ei(j, Ce) : j, J, v ? hn(ae, oe) : ae);
|
|
3334
3334
|
E[y] = Ae, W[y] = Ae - J;
|
|
3335
3335
|
}
|
|
3336
3336
|
if (l) {
|
|
@@ -3594,7 +3594,7 @@ function Jp(e, t, n = {}) {
|
|
|
3594
3594
|
strategy: a = "absolute",
|
|
3595
3595
|
modifiers: o = Yp
|
|
3596
3596
|
} = n, l = Gp(n, Wp);
|
|
3597
|
-
const s =
|
|
3597
|
+
const s = ne(o), u = ne(), f = he(() => {
|
|
3598
3598
|
var m;
|
|
3599
3599
|
(m = u.current) == null || m.update();
|
|
3600
3600
|
}, []), c = he(() => {
|
|
@@ -3673,7 +3673,7 @@ function eh(e, t = cs, {
|
|
|
3673
3673
|
disabled: n,
|
|
3674
3674
|
clickTrigger: r = "click"
|
|
3675
3675
|
} = {}) {
|
|
3676
|
-
const i =
|
|
3676
|
+
const i = ne(!1), a = ne(!1), o = he((u) => {
|
|
3677
3677
|
const f = zr(e);
|
|
3678
3678
|
mi(!!f, "ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"), i.current = !f || Qp(u) || !Zp(u) || !!fr(f, u.target) || a.current, a.current = !1;
|
|
3679
3679
|
}, [e]), l = _t((u) => {
|
|
@@ -3760,7 +3760,7 @@ const ti = {
|
|
|
3760
3760
|
}, cl = /* @__PURE__ */ ue.createContext(ti), ih = /* @__PURE__ */ ue.createContext(!1);
|
|
3761
3761
|
let ah = !!(typeof window < "u" && window.document && window.document.createElement), Ki = /* @__PURE__ */ new WeakMap();
|
|
3762
3762
|
function oh(e = !1) {
|
|
3763
|
-
let t = K(cl), n =
|
|
3763
|
+
let t = K(cl), n = ne(null);
|
|
3764
3764
|
if (n.current === null && !e) {
|
|
3765
3765
|
var r, i;
|
|
3766
3766
|
let a = (i = ue.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED) === null || i === void 0 || (r = i.ReactCurrentOwner) === null || r === void 0 ? void 0 : r.current;
|
|
@@ -3799,7 +3799,7 @@ function dh(e) {
|
|
|
3799
3799
|
function ph() {
|
|
3800
3800
|
return typeof ue.useSyncExternalStore == "function" ? ue.useSyncExternalStore(dh, ch, fh) : K(ih);
|
|
3801
3801
|
}
|
|
3802
|
-
const _n = /* @__PURE__ */
|
|
3802
|
+
const _n = /* @__PURE__ */ re.createContext(null), dr = (e, t = null) => e != null ? String(e) : t || null, ro = /* @__PURE__ */ re.createContext(null);
|
|
3803
3803
|
ro.displayName = "NavContext";
|
|
3804
3804
|
const hh = "data-rr-ui-", mh = "rrUi";
|
|
3805
3805
|
function wi(e) {
|
|
@@ -3815,7 +3815,7 @@ function io() {
|
|
|
3815
3815
|
}
|
|
3816
3816
|
const gh = typeof global < "u" && // @ts-ignore
|
|
3817
3817
|
global.navigator && // @ts-ignore
|
|
3818
|
-
global.navigator.product === "ReactNative", yh = typeof document < "u", bh = yh || gh ? $a : fe, dl = /* @__PURE__ */
|
|
3818
|
+
global.navigator.product === "ReactNative", yh = typeof document < "u", bh = yh || gh ? $a : fe, dl = /* @__PURE__ */ re.createContext(null);
|
|
3819
3819
|
dl.displayName = "NavbarContext";
|
|
3820
3820
|
const ds = (e) => !e || typeof e == "function" ? e : (t) => {
|
|
3821
3821
|
e.current = t;
|
|
@@ -3829,7 +3829,7 @@ function Eh(e, t) {
|
|
|
3829
3829
|
function Cr(e, t) {
|
|
3830
3830
|
return me(() => Eh(e, t), [e, t]);
|
|
3831
3831
|
}
|
|
3832
|
-
const Mn = /* @__PURE__ */
|
|
3832
|
+
const Mn = /* @__PURE__ */ re.createContext(null), wh = ["as", "active", "eventKey"];
|
|
3833
3833
|
function Ch(e, t) {
|
|
3834
3834
|
if (e == null) return {};
|
|
3835
3835
|
var n = {};
|
|
@@ -3863,7 +3863,7 @@ function pl({
|
|
|
3863
3863
|
isActive: u
|
|
3864
3864
|
}];
|
|
3865
3865
|
}
|
|
3866
|
-
const hl = /* @__PURE__ */
|
|
3866
|
+
const hl = /* @__PURE__ */ re.forwardRef((e, t) => {
|
|
3867
3867
|
let {
|
|
3868
3868
|
as: n = Rf,
|
|
3869
3869
|
active: r,
|
|
@@ -3889,7 +3889,7 @@ function Sh(e, t) {
|
|
|
3889
3889
|
return n;
|
|
3890
3890
|
}
|
|
3891
3891
|
const ps = () => {
|
|
3892
|
-
}, hs = wi("event-key"), ml = /* @__PURE__ */
|
|
3892
|
+
}, hs = wi("event-key"), ml = /* @__PURE__ */ re.forwardRef((e, t) => {
|
|
3893
3893
|
let {
|
|
3894
3894
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
3895
3895
|
as: n = "div",
|
|
@@ -3898,10 +3898,10 @@ const ps = () => {
|
|
|
3898
3898
|
role: a,
|
|
3899
3899
|
onKeyDown: o
|
|
3900
3900
|
} = e, l = Sh(e, Ah);
|
|
3901
|
-
const s = Hd(), u =
|
|
3901
|
+
const s = Hd(), u = ne(!1), f = K(_n), c = K(Mn);
|
|
3902
3902
|
let d, v;
|
|
3903
3903
|
c && (a = a || "tablist", i = c.activeKey, d = c.getControlledId, v = c.getControllerId);
|
|
3904
|
-
const g =
|
|
3904
|
+
const g = ne(null), b = (A) => {
|
|
3905
3905
|
const y = g.current;
|
|
3906
3906
|
if (!y) return null;
|
|
3907
3907
|
const p = cn(y, `[${hs}]:not([aria-disabled=true])`), E = y.querySelector("[aria-selected=true]");
|
|
@@ -3981,7 +3981,7 @@ function Yi(e) {
|
|
|
3981
3981
|
}
|
|
3982
3982
|
}
|
|
3983
3983
|
function Dh(e) {
|
|
3984
|
-
const t =
|
|
3984
|
+
const t = ne(e);
|
|
3985
3985
|
return t.current = e, t;
|
|
3986
3986
|
}
|
|
3987
3987
|
function Th(e) {
|
|
@@ -4062,7 +4062,7 @@ function oo({
|
|
|
4062
4062
|
mountOnEnter: r,
|
|
4063
4063
|
unmountOnExit: i
|
|
4064
4064
|
}) {
|
|
4065
|
-
const a =
|
|
4065
|
+
const a = ne(null), o = ne(t), l = _t(n);
|
|
4066
4066
|
fe(() => {
|
|
4067
4067
|
t ? o.current = !0 : l(a.current);
|
|
4068
4068
|
}, [t, l]);
|
|
@@ -4092,7 +4092,7 @@ function Ih(e) {
|
|
|
4092
4092
|
addEndListener: l,
|
|
4093
4093
|
children: s
|
|
4094
4094
|
} = e, u = Ph(e, _h);
|
|
4095
|
-
const f =
|
|
4095
|
+
const f = ne(null), c = Cr(f, Bn(s)), d = (y) => (p) => {
|
|
4096
4096
|
y && f.current && y(f.current, p);
|
|
4097
4097
|
}, v = he(d(t), [t]), g = he(d(n), [n]), b = he(d(r), [r]), m = he(d(i), [i]), S = he(d(a), [a]), x = he(d(o), [o]), A = he(d(l), [l]);
|
|
4098
4098
|
return Object.assign({}, u, {
|
|
@@ -4132,7 +4132,7 @@ function Nh(e, t) {
|
|
|
4132
4132
|
}
|
|
4133
4133
|
return n;
|
|
4134
4134
|
}
|
|
4135
|
-
const Fh = /* @__PURE__ */
|
|
4135
|
+
const Fh = /* @__PURE__ */ re.forwardRef((e, t) => {
|
|
4136
4136
|
let {
|
|
4137
4137
|
component: n
|
|
4138
4138
|
} = e, r = Nh(e, kh);
|
|
@@ -4145,7 +4145,7 @@ function Bh({
|
|
|
4145
4145
|
in: e,
|
|
4146
4146
|
onTransition: t
|
|
4147
4147
|
}) {
|
|
4148
|
-
const n =
|
|
4148
|
+
const n = ne(null), r = ne(!0), i = _t(t);
|
|
4149
4149
|
return Zo(() => {
|
|
4150
4150
|
if (!n.current)
|
|
4151
4151
|
return;
|
|
@@ -4210,7 +4210,7 @@ function $h(e) {
|
|
|
4210
4210
|
})), Zi;
|
|
4211
4211
|
}
|
|
4212
4212
|
function Uh(e) {
|
|
4213
|
-
const t = io(), n = e || $h(t), r =
|
|
4213
|
+
const t = io(), n = e || $h(t), r = ne({
|
|
4214
4214
|
dialog: null,
|
|
4215
4215
|
backdrop: null
|
|
4216
4216
|
});
|
|
@@ -4259,8 +4259,8 @@ const vl = /* @__PURE__ */ di((e, t) => {
|
|
|
4259
4259
|
onEntering: H,
|
|
4260
4260
|
onEntered: V
|
|
4261
4261
|
} = e, Q = jh(e, Mh);
|
|
4262
|
-
const
|
|
4263
|
-
Cf(t, () => j, [j]), Ln && !B && n && (T.current = Yi(
|
|
4262
|
+
const ie = io(), J = Aa(E), j = Uh(p), ae = Gu(), B = Pd(n), [q, ee] = Oe(!n), T = ne(null);
|
|
4263
|
+
Cf(t, () => j, [j]), Ln && !B && n && (T.current = Yi(ie == null ? void 0 : ie.document)), n && q && ee(!1);
|
|
4264
4264
|
const P = _t(() => {
|
|
4265
4265
|
if (j.add(), N.current = Ht(document, "keydown", X), M.current = Ht(
|
|
4266
4266
|
document,
|
|
@@ -4271,7 +4271,7 @@ const vl = /* @__PURE__ */ di((e, t) => {
|
|
|
4271
4271
|
!0
|
|
4272
4272
|
), C && C(), b) {
|
|
4273
4273
|
var oe, Ae;
|
|
4274
|
-
const Pe = Yi((oe = (Ae = j.dialog) == null ? void 0 : Ae.ownerDocument) != null ? oe :
|
|
4274
|
+
const Pe = Yi((oe = (Ae = j.dialog) == null ? void 0 : Ae.ownerDocument) != null ? oe : ie == null ? void 0 : ie.document);
|
|
4275
4275
|
j.dialog && Pe && !fr(j.dialog, Pe) && (T.current = Pe, j.dialog.focus());
|
|
4276
4276
|
}
|
|
4277
4277
|
}), U = _t(() => {
|
|
@@ -4293,15 +4293,15 @@ const vl = /* @__PURE__ */ di((e, t) => {
|
|
|
4293
4293
|
U();
|
|
4294
4294
|
});
|
|
4295
4295
|
const G = _t(() => {
|
|
4296
|
-
if (!m || !
|
|
4296
|
+
if (!m || !ae() || !j.isTopModal())
|
|
4297
4297
|
return;
|
|
4298
|
-
const oe = Yi(
|
|
4298
|
+
const oe = Yi(ie == null ? void 0 : ie.document);
|
|
4299
4299
|
j.dialog && oe && !fr(j.dialog, oe) && j.dialog.focus();
|
|
4300
4300
|
}), Y = _t((oe) => {
|
|
4301
4301
|
oe.target === oe.currentTarget && (u == null || u(oe), l === !0 && D());
|
|
4302
4302
|
}), X = _t((oe) => {
|
|
4303
4303
|
s && ku(oe) && j.isTopModal() && (f == null || f(oe), oe.defaultPrevented || D());
|
|
4304
|
-
}), M =
|
|
4304
|
+
}), M = ne(), N = ne(), Z = (...oe) => {
|
|
4305
4305
|
ee(!0), F == null || F(...oe);
|
|
4306
4306
|
};
|
|
4307
4307
|
if (!J)
|
|
@@ -4317,7 +4317,7 @@ const vl = /* @__PURE__ */ di((e, t) => {
|
|
|
4317
4317
|
tabIndex: -1
|
|
4318
4318
|
});
|
|
4319
4319
|
let ve = A ? A($) : /* @__PURE__ */ R("div", Object.assign({}, $, {
|
|
4320
|
-
children: /* @__PURE__ */
|
|
4320
|
+
children: /* @__PURE__ */ re.cloneElement(o, {
|
|
4321
4321
|
role: "document"
|
|
4322
4322
|
})
|
|
4323
4323
|
}));
|
|
@@ -4403,7 +4403,7 @@ let Qi;
|
|
|
4403
4403
|
function Wh(e) {
|
|
4404
4404
|
return Qi || (Qi = new qh(e)), Qi;
|
|
4405
4405
|
}
|
|
4406
|
-
const gl = /* @__PURE__ */
|
|
4406
|
+
const gl = /* @__PURE__ */ re.forwardRef(({
|
|
4407
4407
|
className: e,
|
|
4408
4408
|
bsPrefix: t,
|
|
4409
4409
|
as: n = "div",
|
|
@@ -4414,10 +4414,10 @@ const gl = /* @__PURE__ */ ne.forwardRef(({
|
|
|
4414
4414
|
...r
|
|
4415
4415
|
})));
|
|
4416
4416
|
gl.displayName = "ModalBody";
|
|
4417
|
-
const yl = /* @__PURE__ */
|
|
4417
|
+
const yl = /* @__PURE__ */ re.createContext({
|
|
4418
4418
|
onHide() {
|
|
4419
4419
|
}
|
|
4420
|
-
}), so = /* @__PURE__ */
|
|
4420
|
+
}), so = /* @__PURE__ */ re.forwardRef(({
|
|
4421
4421
|
bsPrefix: e,
|
|
4422
4422
|
className: t,
|
|
4423
4423
|
contentClassName: n,
|
|
@@ -4441,7 +4441,7 @@ const yl = /* @__PURE__ */ ne.createContext({
|
|
|
4441
4441
|
});
|
|
4442
4442
|
});
|
|
4443
4443
|
so.displayName = "ModalDialog";
|
|
4444
|
-
const bl = /* @__PURE__ */
|
|
4444
|
+
const bl = /* @__PURE__ */ re.forwardRef(({
|
|
4445
4445
|
className: e,
|
|
4446
4446
|
bsPrefix: t,
|
|
4447
4447
|
as: n = "div",
|
|
@@ -4452,7 +4452,7 @@ const bl = /* @__PURE__ */ ne.forwardRef(({
|
|
|
4452
4452
|
...r
|
|
4453
4453
|
})));
|
|
4454
4454
|
bl.displayName = "ModalFooter";
|
|
4455
|
-
const El = /* @__PURE__ */
|
|
4455
|
+
const El = /* @__PURE__ */ re.forwardRef(({
|
|
4456
4456
|
closeLabel: e = "Close",
|
|
4457
4457
|
closeVariant: t,
|
|
4458
4458
|
closeButton: n = !1,
|
|
@@ -4474,7 +4474,7 @@ const El = /* @__PURE__ */ ne.forwardRef(({
|
|
|
4474
4474
|
});
|
|
4475
4475
|
});
|
|
4476
4476
|
El.displayName = "AbstractModalHeader";
|
|
4477
|
-
const wl = /* @__PURE__ */
|
|
4477
|
+
const wl = /* @__PURE__ */ re.forwardRef(({
|
|
4478
4478
|
bsPrefix: e,
|
|
4479
4479
|
className: t,
|
|
4480
4480
|
closeLabel: n = "Close",
|
|
@@ -4488,7 +4488,7 @@ const wl = /* @__PURE__ */ ne.forwardRef(({
|
|
|
4488
4488
|
closeButton: r
|
|
4489
4489
|
})));
|
|
4490
4490
|
wl.displayName = "ModalHeader";
|
|
4491
|
-
const Gh = zu("h4"), Cl = /* @__PURE__ */
|
|
4491
|
+
const Gh = zu("h4"), Cl = /* @__PURE__ */ re.forwardRef(({
|
|
4492
4492
|
className: e,
|
|
4493
4493
|
bsPrefix: t,
|
|
4494
4494
|
as: n = Gh,
|
|
@@ -4511,7 +4511,7 @@ function Kh(e) {
|
|
|
4511
4511
|
timeout: null
|
|
4512
4512
|
});
|
|
4513
4513
|
}
|
|
4514
|
-
const Al = /* @__PURE__ */
|
|
4514
|
+
const Al = /* @__PURE__ */ re.forwardRef(({
|
|
4515
4515
|
bsPrefix: e,
|
|
4516
4516
|
className: t,
|
|
4517
4517
|
style: n,
|
|
@@ -4545,8 +4545,8 @@ const Al = /* @__PURE__ */ ne.forwardRef(({
|
|
|
4545
4545
|
backdropClassName: H,
|
|
4546
4546
|
manager: V,
|
|
4547
4547
|
...Q
|
|
4548
|
-
},
|
|
4549
|
-
const [J, j] = Oe({}), [
|
|
4548
|
+
}, ie) => {
|
|
4549
|
+
const [J, j] = Oe({}), [ae, B] = Oe(!1), q = ne(!1), ee = ne(!1), T = ne(null), [P, U] = Oh(), G = gi(ie, U), Y = ur(S), X = Ha();
|
|
4550
4550
|
e = Se(e, "modal");
|
|
4551
4551
|
const M = me(() => ({
|
|
4552
4552
|
onHide: Y
|
|
@@ -4612,7 +4612,7 @@ const Al = /* @__PURE__ */ ne.forwardRef(({
|
|
|
4612
4612
|
role: "dialog",
|
|
4613
4613
|
...ye,
|
|
4614
4614
|
style: He,
|
|
4615
|
-
className: ge(t, e,
|
|
4615
|
+
className: ge(t, e, ae && `${e}-static`, !d && "show"),
|
|
4616
4616
|
onClick: v ? Pe : void 0,
|
|
4617
4617
|
onMouseUp: Ce,
|
|
4618
4618
|
"data-bs-theme": l,
|
|
@@ -4665,7 +4665,7 @@ const Br = Object.assign(Al, {
|
|
|
4665
4665
|
Dialog: so,
|
|
4666
4666
|
TRANSITION_DURATION: 300,
|
|
4667
4667
|
BACKDROP_TRANSITION_DURATION: 150
|
|
4668
|
-
}), uo = /* @__PURE__ */
|
|
4668
|
+
}), uo = /* @__PURE__ */ re.forwardRef(({
|
|
4669
4669
|
className: e,
|
|
4670
4670
|
bsPrefix: t,
|
|
4671
4671
|
as: n = "div",
|
|
@@ -4676,7 +4676,7 @@ const Br = Object.assign(Al, {
|
|
|
4676
4676
|
...r
|
|
4677
4677
|
})));
|
|
4678
4678
|
uo.displayName = "NavItem";
|
|
4679
|
-
const lo = /* @__PURE__ */
|
|
4679
|
+
const lo = /* @__PURE__ */ re.forwardRef(({
|
|
4680
4680
|
bsPrefix: e,
|
|
4681
4681
|
className: t,
|
|
4682
4682
|
as: n = hu,
|
|
@@ -4701,7 +4701,7 @@ const lo = /* @__PURE__ */ ne.forwardRef(({
|
|
|
4701
4701
|
});
|
|
4702
4702
|
});
|
|
4703
4703
|
lo.displayName = "NavLink";
|
|
4704
|
-
const Sl = /* @__PURE__ */
|
|
4704
|
+
const Sl = /* @__PURE__ */ re.forwardRef((e, t) => {
|
|
4705
4705
|
const {
|
|
4706
4706
|
as: n = "div",
|
|
4707
4707
|
bsPrefix: r,
|
|
@@ -4770,7 +4770,7 @@ function Zh(e, t, {
|
|
|
4770
4770
|
};
|
|
4771
4771
|
}, [e, n, a]);
|
|
4772
4772
|
}
|
|
4773
|
-
const xl = /* @__PURE__ */
|
|
4773
|
+
const xl = /* @__PURE__ */ re.forwardRef((e, t) => {
|
|
4774
4774
|
const {
|
|
4775
4775
|
flip: n,
|
|
4776
4776
|
offset: r,
|
|
@@ -4831,7 +4831,7 @@ const xl = /* @__PURE__ */ ne.forwardRef((e, t) => {
|
|
|
4831
4831
|
}), g ? /* @__PURE__ */ dn.createPortal(F, g) : null;
|
|
4832
4832
|
});
|
|
4833
4833
|
xl.displayName = "Overlay";
|
|
4834
|
-
const Ol = /* @__PURE__ */
|
|
4834
|
+
const Ol = /* @__PURE__ */ re.forwardRef(({
|
|
4835
4835
|
className: e,
|
|
4836
4836
|
bsPrefix: t,
|
|
4837
4837
|
as: n = "div",
|
|
@@ -4842,7 +4842,7 @@ const Ol = /* @__PURE__ */ ne.forwardRef(({
|
|
|
4842
4842
|
...r
|
|
4843
4843
|
})));
|
|
4844
4844
|
Ol.displayName = "PopoverHeader";
|
|
4845
|
-
const co = /* @__PURE__ */
|
|
4845
|
+
const co = /* @__PURE__ */ re.forwardRef(({
|
|
4846
4846
|
className: e,
|
|
4847
4847
|
bsPrefix: t,
|
|
4848
4848
|
as: n = "div",
|
|
@@ -4866,7 +4866,7 @@ function Tl(e = "absolute") {
|
|
|
4866
4866
|
pointerEvents: "none"
|
|
4867
4867
|
};
|
|
4868
4868
|
}
|
|
4869
|
-
const Rl = /* @__PURE__ */
|
|
4869
|
+
const Rl = /* @__PURE__ */ re.forwardRef(({
|
|
4870
4870
|
bsPrefix: e,
|
|
4871
4871
|
placement: t = "right",
|
|
4872
4872
|
className: n,
|
|
@@ -4906,7 +4906,7 @@ const qr = Object.assign(Rl, {
|
|
|
4906
4906
|
// Default popover offset.
|
|
4907
4907
|
// https://github.com/twbs/bootstrap/blob/5c32767e0e0dbac2d934bcdee03719a65d3f1187/js/src/popover.js#L28
|
|
4908
4908
|
POPPER_OFFSET: [0, 8]
|
|
4909
|
-
}), _l = /* @__PURE__ */
|
|
4909
|
+
}), _l = /* @__PURE__ */ re.forwardRef(({
|
|
4910
4910
|
bsPrefix: e,
|
|
4911
4911
|
placement: t = "right",
|
|
4912
4912
|
className: n,
|
|
@@ -4947,7 +4947,7 @@ const Pl = Object.assign(_l, {
|
|
|
4947
4947
|
TOOLTIP_OFFSET: [0, 6]
|
|
4948
4948
|
});
|
|
4949
4949
|
function Qh(e) {
|
|
4950
|
-
const t =
|
|
4950
|
+
const t = ne(null), n = Se(void 0, "popover"), r = Se(void 0, "tooltip"), i = me(() => ({
|
|
4951
4951
|
name: "offset",
|
|
4952
4952
|
options: {
|
|
4953
4953
|
offset: () => {
|
|
@@ -4973,7 +4973,7 @@ function em(e, t) {
|
|
|
4973
4973
|
} = t;
|
|
4974
4974
|
e.ref = n.__wrapped || (n.__wrapped = (i) => n(Qr(i))), t.ref = r.__wrapped || (r.__wrapped = (i) => r(Qr(i)));
|
|
4975
4975
|
}
|
|
4976
|
-
const Il = /* @__PURE__ */
|
|
4976
|
+
const Il = /* @__PURE__ */ re.forwardRef(({
|
|
4977
4977
|
children: e,
|
|
4978
4978
|
transition: t = qt,
|
|
4979
4979
|
popperConfig: n = {},
|
|
@@ -4982,7 +4982,7 @@ const Il = /* @__PURE__ */ ne.forwardRef(({
|
|
|
4982
4982
|
show: a = !1,
|
|
4983
4983
|
...o
|
|
4984
4984
|
}, l) => {
|
|
4985
|
-
const s =
|
|
4985
|
+
const s = ne({}), [u, f] = Oe(null), [c, d] = Qh(o.offset), v = gi(l, c), g = t === !0 ? qt : t || void 0, b = ur((m) => {
|
|
4986
4986
|
f(m), n == null || n.onFirstUpdate == null || n.onFirstUpdate(m);
|
|
4987
4987
|
});
|
|
4988
4988
|
return bh(() => {
|
|
@@ -5025,7 +5025,7 @@ const Il = /* @__PURE__ */ ne.forwardRef(({
|
|
|
5025
5025
|
popper: E,
|
|
5026
5026
|
arrowProps: S,
|
|
5027
5027
|
hasDoneInitialMeasure: C
|
|
5028
|
-
}) : /* @__PURE__ */
|
|
5028
|
+
}) : /* @__PURE__ */ re.cloneElement(e, {
|
|
5029
5029
|
...m,
|
|
5030
5030
|
placement: p,
|
|
5031
5031
|
arrowProps: S,
|
|
@@ -5065,11 +5065,11 @@ const kl = ({
|
|
|
5065
5065
|
flip: u = s && s.indexOf("auto") !== -1,
|
|
5066
5066
|
...f
|
|
5067
5067
|
}) => {
|
|
5068
|
-
const c =
|
|
5068
|
+
const c = ne(null), d = gi(c, Bn(n)), v = jd(), g = ne(""), [b, m] = Pu(i, a, o), S = tm(l), {
|
|
5069
5069
|
onFocus: x,
|
|
5070
5070
|
onBlur: A,
|
|
5071
5071
|
onClick: y
|
|
5072
|
-
} = typeof n != "function" ?
|
|
5072
|
+
} = typeof n != "function" ? re.Children.only(n).props : {}, p = (Q) => {
|
|
5073
5073
|
d(Qr(Q));
|
|
5074
5074
|
}, E = he(() => {
|
|
5075
5075
|
if (v.clear(), g.current = "show", !S.show) {
|
|
@@ -5176,7 +5176,7 @@ function Nl(e) {
|
|
|
5176
5176
|
onExited: d
|
|
5177
5177
|
}];
|
|
5178
5178
|
}
|
|
5179
|
-
const Fl = /* @__PURE__ */
|
|
5179
|
+
const Fl = /* @__PURE__ */ re.forwardRef(
|
|
5180
5180
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
5181
5181
|
(e, t) => {
|
|
5182
5182
|
let {
|
|
@@ -5259,7 +5259,7 @@ const Bl = ({
|
|
|
5259
5259
|
transition: po(e)
|
|
5260
5260
|
});
|
|
5261
5261
|
Bl.displayName = "TabContainer";
|
|
5262
|
-
const ho = /* @__PURE__ */
|
|
5262
|
+
const ho = /* @__PURE__ */ re.forwardRef(({
|
|
5263
5263
|
className: e,
|
|
5264
5264
|
bsPrefix: t,
|
|
5265
5265
|
as: n = "div",
|
|
@@ -5270,7 +5270,7 @@ const ho = /* @__PURE__ */ ne.forwardRef(({
|
|
|
5270
5270
|
...r
|
|
5271
5271
|
})));
|
|
5272
5272
|
ho.displayName = "TabContent";
|
|
5273
|
-
const mo = /* @__PURE__ */
|
|
5273
|
+
const mo = /* @__PURE__ */ re.forwardRef(({
|
|
5274
5274
|
bsPrefix: e,
|
|
5275
5275
|
transition: t,
|
|
5276
5276
|
...n
|
|
@@ -5419,7 +5419,7 @@ const Ml = (e) => {
|
|
|
5419
5419
|
Ml.displayName = "Tabs";
|
|
5420
5420
|
const lm = (e) => {
|
|
5421
5421
|
var i, a, o, l, s, u, f, c;
|
|
5422
|
-
const t = Ct(e.actionProps.bodyAttributes || {}), n = Ct(e.actionProps.headerAttributes || {}), r =
|
|
5422
|
+
const t = Ct(e.actionProps.bodyAttributes || {}), n = Ct(e.actionProps.headerAttributes || {}), r = ne(null);
|
|
5423
5423
|
return /* @__PURE__ */ R("div", { ref: r, children: /* @__PURE__ */ R(
|
|
5424
5424
|
kl,
|
|
5425
5425
|
{
|
|
@@ -5838,7 +5838,7 @@ function vm() {
|
|
|
5838
5838
|
h === 92 || // \ (backslash)
|
|
5839
5839
|
h >= 128 && d.NonAsciiIdentifierPart.test(String.fromCharCode(h));
|
|
5840
5840
|
}
|
|
5841
|
-
function
|
|
5841
|
+
function ie(h) {
|
|
5842
5842
|
switch (h) {
|
|
5843
5843
|
case "class":
|
|
5844
5844
|
case "enum":
|
|
@@ -5870,7 +5870,7 @@ function vm() {
|
|
|
5870
5870
|
function j(h) {
|
|
5871
5871
|
return h === "eval" || h === "arguments";
|
|
5872
5872
|
}
|
|
5873
|
-
function
|
|
5873
|
+
function ae(h) {
|
|
5874
5874
|
if (b && J(h))
|
|
5875
5875
|
return !0;
|
|
5876
5876
|
switch (h.length) {
|
|
@@ -6000,7 +6000,7 @@ function vm() {
|
|
|
6000
6000
|
}
|
|
6001
6001
|
function Y() {
|
|
6002
6002
|
var h, w, O;
|
|
6003
|
-
return h = m, w = g.charCodeAt(m) === 92 ? U() : G(), w.length === 1 ? O = o.Identifier :
|
|
6003
|
+
return h = m, w = g.charCodeAt(m) === 92 ? U() : G(), w.length === 1 ? O = o.Identifier : ae(w) ? O = o.Keyword : w === "null" ? O = o.NullLiteral : w === "true" || w === "false" ? O = o.BooleanLiteral : O = o.Identifier, {
|
|
6004
6004
|
type: O,
|
|
6005
6005
|
value: w,
|
|
6006
6006
|
lineNumber: S,
|
|
@@ -6727,7 +6727,7 @@ function vm() {
|
|
|
6727
6727
|
}
|
|
6728
6728
|
function tt(h) {
|
|
6729
6729
|
if (h.type === o.EOF && se(h, c.UnexpectedEOS), h.type === o.NumericLiteral && se(h, c.UnexpectedNumber), h.type === o.StringLiteral && se(h, c.UnexpectedString), h.type === o.Identifier && se(h, c.UnexpectedIdentifier), h.type === o.Keyword) {
|
|
6730
|
-
if (
|
|
6730
|
+
if (ie(h.value))
|
|
6731
6731
|
se(h, c.UnexpectedReserved);
|
|
6732
6732
|
else if (b && J(h.value)) {
|
|
6733
6733
|
be(h, c.StrictReservedWord);
|
|
@@ -7347,20 +7347,20 @@ function vm() {
|
|
|
7347
7347
|
var q;
|
|
7348
7348
|
return q = v.lexer.lex() || E, typeof q != "number" && (q = v.symbols_[q] || q), q;
|
|
7349
7349
|
}
|
|
7350
|
-
for (var k, W, H, V, Q = {},
|
|
7350
|
+
for (var k, W, H, V, Q = {}, ie, J, j, ae; ; ) {
|
|
7351
7351
|
if (W = g[g.length - 1], this.defaultActions[W] ? H = this.defaultActions[W] : ((k === null || typeof k > "u") && (k = F()), H = S[W] && S[W][k]), typeof H > "u" || !H.length || !H[0]) {
|
|
7352
7352
|
var B = "";
|
|
7353
|
-
|
|
7354
|
-
for (
|
|
7355
|
-
this.terminals_[
|
|
7353
|
+
ae = [];
|
|
7354
|
+
for (ie in S[W])
|
|
7355
|
+
this.terminals_[ie] && ie > p && ae.push("'" + this.terminals_[ie] + "'");
|
|
7356
7356
|
this.lexer.showPosition ? B = "Parse error on line " + (A + 1) + `:
|
|
7357
7357
|
` + this.lexer.showPosition() + `
|
|
7358
|
-
Expecting ` +
|
|
7358
|
+
Expecting ` + ae.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : B = "Parse error on line " + (A + 1) + ": Unexpected " + (k == E ? "end of input" : "'" + (this.terminals_[k] || k) + "'"), this.parseError(B, {
|
|
7359
7359
|
text: this.lexer.match,
|
|
7360
7360
|
token: this.terminals_[k] || k,
|
|
7361
7361
|
line: this.lexer.yylineno,
|
|
7362
7362
|
loc: D,
|
|
7363
|
-
expected:
|
|
7363
|
+
expected: ae
|
|
7364
7364
|
});
|
|
7365
7365
|
}
|
|
7366
7366
|
if (H[0] instanceof Array && H.length > 1)
|
|
@@ -8274,7 +8274,7 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : B =
|
|
|
8274
8274
|
}), P;
|
|
8275
8275
|
}
|
|
8276
8276
|
function g(T, P, U) {
|
|
8277
|
-
if (T.customInspect && P &&
|
|
8277
|
+
if (T.customInspect && P && ie(P.inspect) && // Filter out the util module, it's inspect function is special
|
|
8278
8278
|
P.inspect !== i.inspect && // Also filter out any prototype objects using the circular check.
|
|
8279
8279
|
!(P.constructor && P.constructor.prototype === P)) {
|
|
8280
8280
|
var G = P.inspect(U, T);
|
|
@@ -8287,7 +8287,7 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : B =
|
|
|
8287
8287
|
if (T.showHidden && (X = Object.getOwnPropertyNames(P)), Q(P) && (X.indexOf("message") >= 0 || X.indexOf("description") >= 0))
|
|
8288
8288
|
return m(P);
|
|
8289
8289
|
if (X.length === 0) {
|
|
8290
|
-
if (
|
|
8290
|
+
if (ie(P)) {
|
|
8291
8291
|
var N = P.name ? ": " + P.name : "";
|
|
8292
8292
|
return T.stylize("[Function" + N + "]", "special");
|
|
8293
8293
|
}
|
|
@@ -8299,7 +8299,7 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : B =
|
|
|
8299
8299
|
return m(P);
|
|
8300
8300
|
}
|
|
8301
8301
|
var Z = "", $ = !1, ve = ["{", "}"];
|
|
8302
|
-
if (y(P) && ($ = !0, ve = ["[", "]"]),
|
|
8302
|
+
if (y(P) && ($ = !0, ve = ["[", "]"]), ie(P)) {
|
|
8303
8303
|
var Ce = P.name ? ": " + P.name : "";
|
|
8304
8304
|
Z = " [Function" + Ce + "]";
|
|
8305
8305
|
}
|
|
@@ -8427,10 +8427,10 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : B =
|
|
|
8427
8427
|
return H(T) && (j(T) === "[object Error]" || T instanceof Error);
|
|
8428
8428
|
}
|
|
8429
8429
|
i.isError = Q;
|
|
8430
|
-
function
|
|
8430
|
+
function ie(T) {
|
|
8431
8431
|
return typeof T == "function";
|
|
8432
8432
|
}
|
|
8433
|
-
i.isFunction =
|
|
8433
|
+
i.isFunction = ie;
|
|
8434
8434
|
function J(T) {
|
|
8435
8435
|
return T === null || typeof T == "boolean" || typeof T == "number" || typeof T == "string" || typeof T == "symbol" || // ES6 symbol
|
|
8436
8436
|
typeof T > "u";
|
|
@@ -8439,7 +8439,7 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : B =
|
|
|
8439
8439
|
function j(T) {
|
|
8440
8440
|
return Object.prototype.toString.call(T);
|
|
8441
8441
|
}
|
|
8442
|
-
function
|
|
8442
|
+
function ae(T) {
|
|
8443
8443
|
return T < 10 ? "0" + T.toString(10) : T.toString(10);
|
|
8444
8444
|
}
|
|
8445
8445
|
var B = [
|
|
@@ -8458,9 +8458,9 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : B =
|
|
|
8458
8458
|
];
|
|
8459
8459
|
function q() {
|
|
8460
8460
|
var T = /* @__PURE__ */ new Date(), P = [
|
|
8461
|
-
|
|
8462
|
-
|
|
8463
|
-
|
|
8461
|
+
ae(T.getHours()),
|
|
8462
|
+
ae(T.getMinutes()),
|
|
8463
|
+
ae(T.getSeconds())
|
|
8464
8464
|
].join(":");
|
|
8465
8465
|
return [T.getDate(), B[T.getMonth()], P].join(" ");
|
|
8466
8466
|
}
|
|
@@ -8768,8 +8768,8 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : B =
|
|
|
8768
8768
|
Q += f(c.quasis[b]), Q += f(c.expressions[b]);
|
|
8769
8769
|
return Q += f(c.quasis[b]), Q;
|
|
8770
8770
|
} else if (c.type === "TaggedTemplateExpression") {
|
|
8771
|
-
var
|
|
8772
|
-
return
|
|
8771
|
+
var ie = f(c.tag), J = c.quasi, j = J.quasis.map(f), ae = J.expressions.map(f);
|
|
8772
|
+
return ie.apply(null, [j].concat(ae));
|
|
8773
8773
|
} else return c.type === "TemplateElement" ? c.value.cooked : s;
|
|
8774
8774
|
}
|
|
8775
8775
|
}
|
|
@@ -8933,7 +8933,7 @@ const jl = /* @__PURE__ */ yr(gm), ym = {
|
|
|
8933
8933
|
}
|
|
8934
8934
|
), (e == null ? void 0 : e.children) ?? null) : null;
|
|
8935
8935
|
}, wm = ({ props: e, currentData: t, datafield: n, path: r }) => {
|
|
8936
|
-
const i = K(_e), a = K(De), { updateData:
|
|
8936
|
+
const i = K(_e), a = K(De), o = ne(null), { updateData: l } = i, s = nn(
|
|
8937
8937
|
{
|
|
8938
8938
|
attrs: e.attributes,
|
|
8939
8939
|
globalDataContext: i,
|
|
@@ -8943,58 +8943,58 @@ const jl = /* @__PURE__ */ yr(gm), ym = {
|
|
|
8943
8943
|
}
|
|
8944
8944
|
}
|
|
8945
8945
|
);
|
|
8946
|
-
let
|
|
8947
|
-
const
|
|
8948
|
-
|
|
8949
|
-
const
|
|
8950
|
-
var
|
|
8951
|
-
return e.controlType === "radio" ? !0 : e.multiple !== void 0 && e.multiple !== !1 ? e.multiple : ((
|
|
8952
|
-
})(),
|
|
8953
|
-
formData:
|
|
8954
|
-
formDataPath:
|
|
8946
|
+
let u;
|
|
8947
|
+
const f = e.dynamicOptions ?? void 0;
|
|
8948
|
+
f ? u = Re({ valueToEvaluate: f, globalDataContext: i, templateContext: a }) ?? [] : u = e.options ?? [];
|
|
8949
|
+
const c = e.controlType ?? void 0, v = (() => {
|
|
8950
|
+
var A;
|
|
8951
|
+
return e.controlType === "radio" ? !0 : e.multiple !== void 0 && e.multiple !== !1 ? e.multiple : ((A = e.options) == null ? void 0 : A.length) === 1;
|
|
8952
|
+
})(), g = e.defaultFieldValue ?? (v ? void 0 : []), {
|
|
8953
|
+
formData: b,
|
|
8954
|
+
formDataPath: m
|
|
8955
8955
|
} = Nn({
|
|
8956
8956
|
currentPath: r,
|
|
8957
8957
|
datafield: n,
|
|
8958
8958
|
dataLocation: e.dataLocation,
|
|
8959
|
-
defaultValue:
|
|
8959
|
+
defaultValue: g,
|
|
8960
8960
|
globalDataContext: i,
|
|
8961
8961
|
templateContext: a
|
|
8962
|
-
}),
|
|
8963
|
-
if (
|
|
8964
|
-
let
|
|
8965
|
-
switch (
|
|
8962
|
+
}), S = (A) => {
|
|
8963
|
+
if (c === "radio") {
|
|
8964
|
+
let p;
|
|
8965
|
+
switch (A.currentTarget.value) {
|
|
8966
8966
|
case "":
|
|
8967
|
-
|
|
8967
|
+
p = void 0;
|
|
8968
8968
|
break;
|
|
8969
8969
|
case "true":
|
|
8970
|
-
|
|
8970
|
+
p = !0;
|
|
8971
8971
|
break;
|
|
8972
8972
|
case "false":
|
|
8973
|
-
|
|
8973
|
+
p = !1;
|
|
8974
8974
|
break;
|
|
8975
8975
|
case "null":
|
|
8976
|
-
|
|
8976
|
+
p = null;
|
|
8977
8977
|
break;
|
|
8978
8978
|
default:
|
|
8979
|
-
|
|
8979
|
+
p = A.currentTarget.value;
|
|
8980
8980
|
break;
|
|
8981
8981
|
}
|
|
8982
|
-
|
|
8982
|
+
l(p, m);
|
|
8983
8983
|
return;
|
|
8984
8984
|
}
|
|
8985
|
-
if (
|
|
8986
|
-
|
|
8985
|
+
if (v) {
|
|
8986
|
+
l(A.currentTarget.checked, m);
|
|
8987
8987
|
return;
|
|
8988
8988
|
}
|
|
8989
|
-
let
|
|
8990
|
-
typeof
|
|
8991
|
-
},
|
|
8989
|
+
let y = JSON.parse(JSON.stringify(b));
|
|
8990
|
+
typeof y != "object" && (y = [y]), A.currentTarget.checked ? y = Am(y, A.currentTarget.value) : y = Sm(y, A.currentTarget.value), l(y, m);
|
|
8991
|
+
}, x = Re({
|
|
8992
8992
|
valueToEvaluate: e.label,
|
|
8993
8993
|
globalDataContext: i,
|
|
8994
8994
|
templateContext: a
|
|
8995
8995
|
});
|
|
8996
|
-
return /* @__PURE__ */ R(qe, { ...e, children: /* @__PURE__ */ Ve(Ze.Group, { ...
|
|
8997
|
-
|
|
8996
|
+
return /* @__PURE__ */ R(qe, { ...e, attributesHolderRef: o, children: /* @__PURE__ */ Ve(Ze.Group, { ...s, ref: o, controlId: Math.random().toString(), children: [
|
|
8997
|
+
x && /* @__PURE__ */ R(Ze.Label, { children: /* @__PURE__ */ R(
|
|
8998
8998
|
Te,
|
|
8999
8999
|
{
|
|
9000
9000
|
currentData: (t == null ? void 0 : t.label) ?? void 0,
|
|
@@ -9003,33 +9003,33 @@ const jl = /* @__PURE__ */ yr(gm), ym = {
|
|
|
9003
9003
|
props: e.label
|
|
9004
9004
|
}
|
|
9005
9005
|
) }),
|
|
9006
|
-
|
|
9007
|
-
var
|
|
9008
|
-
const
|
|
9006
|
+
u.map((A, y) => {
|
|
9007
|
+
var C, D;
|
|
9008
|
+
const p = typeof A.value == "string" ? Re({
|
|
9009
9009
|
globalDataContext: i,
|
|
9010
9010
|
templateContext: a,
|
|
9011
|
-
valueToEvaluate:
|
|
9012
|
-
}) :
|
|
9011
|
+
valueToEvaluate: A.value
|
|
9012
|
+
}) : A.value, E = nn({ attrs: A.attributes ?? [], templateContext: a, globalDataContext: i, options: { normalizeBeforeEvaluation: !0 } });
|
|
9013
9013
|
return /* @__PURE__ */ pi(
|
|
9014
9014
|
Ze.Check,
|
|
9015
9015
|
{
|
|
9016
|
-
...
|
|
9017
|
-
checked: Cm(
|
|
9018
|
-
key:
|
|
9016
|
+
...E,
|
|
9017
|
+
checked: Cm(b, p),
|
|
9018
|
+
key: y,
|
|
9019
9019
|
label: /* @__PURE__ */ R(
|
|
9020
9020
|
Te,
|
|
9021
9021
|
{
|
|
9022
|
-
currentData: ((
|
|
9022
|
+
currentData: ((D = (C = t == null ? void 0 : t.options) == null ? void 0 : C[y]) == null ? void 0 : D.label) ?? void 0,
|
|
9023
9023
|
datafield: "label",
|
|
9024
|
-
path: r + ".options." +
|
|
9025
|
-
props:
|
|
9024
|
+
path: r + ".options." + y + ".label",
|
|
9025
|
+
props: A.label
|
|
9026
9026
|
}
|
|
9027
9027
|
),
|
|
9028
9028
|
id: `${Math.random()}`,
|
|
9029
9029
|
name: r,
|
|
9030
|
-
onChange:
|
|
9031
|
-
type:
|
|
9032
|
-
value:
|
|
9030
|
+
onChange: S,
|
|
9031
|
+
type: c,
|
|
9032
|
+
value: p
|
|
9033
9033
|
}
|
|
9034
9034
|
);
|
|
9035
9035
|
})
|
|
@@ -9060,36 +9060,36 @@ function Sm(e, t) {
|
|
|
9060
9060
|
throw new Error("CheckboxField: the value to set is not properly initialized as an object or array.");
|
|
9061
9061
|
}
|
|
9062
9062
|
const xm = (e) => {
|
|
9063
|
-
var
|
|
9064
|
-
const t = K(_e), n = K(De), r = e.props,
|
|
9065
|
-
formData:
|
|
9066
|
-
formDataPath:
|
|
9063
|
+
var u;
|
|
9064
|
+
const t = K(_e), n = K(De), r = ne(null), i = e.props, a = Ct(i.attributes), {
|
|
9065
|
+
formData: o,
|
|
9066
|
+
formDataPath: l
|
|
9067
9067
|
} = Nn({
|
|
9068
9068
|
currentPath: e.path,
|
|
9069
9069
|
datafield: e.datafield,
|
|
9070
|
-
dataLocation:
|
|
9071
|
-
defaultValue:
|
|
9070
|
+
dataLocation: i.dataLocation,
|
|
9071
|
+
defaultValue: i.defaultFieldValue,
|
|
9072
9072
|
globalDataContext: t,
|
|
9073
9073
|
templateContext: n
|
|
9074
|
-
}),
|
|
9075
|
-
t.updateData(
|
|
9074
|
+
}), s = (f) => {
|
|
9075
|
+
t.updateData(f.target.value, l);
|
|
9076
9076
|
};
|
|
9077
|
-
return /* @__PURE__ */ R(qe, { ...r, children: /* @__PURE__ */ Ve(Ze.Group, { ...
|
|
9078
|
-
|
|
9077
|
+
return /* @__PURE__ */ R(qe, { ...i, attributesHolderRef: r, children: /* @__PURE__ */ Ve(Ze.Group, { ...a, ref: r, controlId: Math.random().toString(), children: [
|
|
9078
|
+
i.label && /* @__PURE__ */ R(Ze.Label, { children: /* @__PURE__ */ R(
|
|
9079
9079
|
Te,
|
|
9080
9080
|
{
|
|
9081
|
-
currentData: ((
|
|
9081
|
+
currentData: ((u = e.currentData) == null ? void 0 : u.label) ?? void 0,
|
|
9082
9082
|
datafield: "label",
|
|
9083
9083
|
path: e.path + ".label",
|
|
9084
|
-
props:
|
|
9084
|
+
props: i.label
|
|
9085
9085
|
}
|
|
9086
9086
|
) }),
|
|
9087
|
-
/* @__PURE__ */ R(Ze.Control, { onChange:
|
|
9087
|
+
/* @__PURE__ */ R(Ze.Control, { onChange: s, type: "datetime-local", value: o ?? "" })
|
|
9088
9088
|
] }) });
|
|
9089
9089
|
}, Om = ({ props: e, datafield: t, path: n, currentData: r }) => {
|
|
9090
|
-
const i = K(_e), a = K(De), o = Ct(e.attributes),
|
|
9091
|
-
formData:
|
|
9092
|
-
formDataPath:
|
|
9090
|
+
const i = K(_e), a = K(De), o = ne(null), l = Ct(e.attributes), s = Ct(e.inputAttributes ?? []), {
|
|
9091
|
+
formData: u,
|
|
9092
|
+
formDataPath: f
|
|
9093
9093
|
} = Nn({
|
|
9094
9094
|
currentPath: n,
|
|
9095
9095
|
datafield: t,
|
|
@@ -9097,14 +9097,14 @@ const xm = (e) => {
|
|
|
9097
9097
|
defaultValue: e.defaultFieldValue,
|
|
9098
9098
|
globalDataContext: i,
|
|
9099
9099
|
templateContext: a
|
|
9100
|
-
}),
|
|
9100
|
+
}), c = Re({
|
|
9101
9101
|
valueToEvaluate: e.placeholder,
|
|
9102
9102
|
globalDataContext: i,
|
|
9103
9103
|
templateContext: a
|
|
9104
|
-
}),
|
|
9105
|
-
i.updateData(
|
|
9104
|
+
}), d = (v) => {
|
|
9105
|
+
i.updateData(v.currentTarget.value, f);
|
|
9106
9106
|
};
|
|
9107
|
-
return /* @__PURE__ */ R(qe, { ...e, children: /* @__PURE__ */ Ve(Ze.Group, { ...o, controlId: Math.random().toString(), children: [
|
|
9107
|
+
return /* @__PURE__ */ R(qe, { ...e, attributesHolderRef: o, children: /* @__PURE__ */ Ve(Ze.Group, { ...l, ref: o, controlId: Math.random().toString(), children: [
|
|
9108
9108
|
e.label && /* @__PURE__ */ R(Ze.Label, { children: /* @__PURE__ */ R(
|
|
9109
9109
|
Te,
|
|
9110
9110
|
{
|
|
@@ -9117,70 +9117,70 @@ const xm = (e) => {
|
|
|
9117
9117
|
/* @__PURE__ */ R(
|
|
9118
9118
|
Ze.Control,
|
|
9119
9119
|
{
|
|
9120
|
-
onChange:
|
|
9120
|
+
onChange: d,
|
|
9121
9121
|
type: "number",
|
|
9122
|
-
value:
|
|
9123
|
-
placeholder:
|
|
9124
|
-
...
|
|
9122
|
+
value: u ?? "",
|
|
9123
|
+
placeholder: c,
|
|
9124
|
+
...s
|
|
9125
9125
|
}
|
|
9126
9126
|
)
|
|
9127
9127
|
] }) });
|
|
9128
9128
|
}, Dm = ({ props: e, currentData: t, path: n, datafield: r }) => {
|
|
9129
|
-
const i = K(_e), a = K(De), { updateData:
|
|
9130
|
-
let
|
|
9131
|
-
|
|
9132
|
-
let
|
|
9129
|
+
const i = K(_e), a = K(De), o = ne(null), { updateData: l } = i, s = e.dynamicOptions ?? void 0;
|
|
9130
|
+
let u;
|
|
9131
|
+
s ? u = Re({ valueToEvaluate: s, globalDataContext: i, templateContext: a }) ?? [] : u = e.options ?? [];
|
|
9132
|
+
let f = nn({
|
|
9133
9133
|
attrs: e.attributes ?? {},
|
|
9134
9134
|
globalDataContext: i,
|
|
9135
9135
|
templateContext: a,
|
|
9136
9136
|
options: { normalizeBeforeEvaluation: !0 }
|
|
9137
9137
|
});
|
|
9138
|
-
const
|
|
9138
|
+
const c = nn({
|
|
9139
9139
|
attrs: e.inputAttributes ?? {},
|
|
9140
9140
|
globalDataContext: i,
|
|
9141
9141
|
templateContext: a,
|
|
9142
9142
|
options: { normalizeBeforeEvaluation: !0 }
|
|
9143
9143
|
});
|
|
9144
|
-
let
|
|
9145
|
-
const
|
|
9146
|
-
|
|
9144
|
+
let d, v;
|
|
9145
|
+
const g = e.defaultFieldValue ?? void 0, b = e.dataLocation ?? void 0;
|
|
9146
|
+
b ? (d = Re({
|
|
9147
9147
|
globalDataContext: i,
|
|
9148
9148
|
templateContext: a,
|
|
9149
|
-
valueToEvaluate:
|
|
9150
|
-
}) ??
|
|
9151
|
-
dataLocation:
|
|
9149
|
+
valueToEvaluate: b
|
|
9150
|
+
}) ?? g, v = lt({
|
|
9151
|
+
dataLocation: b,
|
|
9152
9152
|
currentPath: n,
|
|
9153
9153
|
globalDataContext: i,
|
|
9154
9154
|
templateContext: a
|
|
9155
|
-
})) : ((a.templateData[r] ?? void 0) === void 0 && (a.templateData = typeof a.templateData == "object" ? a.templateData : {}, a.templateData[r] =
|
|
9155
|
+
})) : ((a.templateData[r] ?? void 0) === void 0 && (a.templateData = typeof a.templateData == "object" ? a.templateData : {}, a.templateData[r] = g), d = a.templateData[r], v = lt({
|
|
9156
9156
|
dataLocation: "~." + r,
|
|
9157
9157
|
currentPath: a.templatePath,
|
|
9158
9158
|
globalDataContext: i,
|
|
9159
9159
|
templateContext: a
|
|
9160
9160
|
}));
|
|
9161
|
-
const
|
|
9162
|
-
let
|
|
9163
|
-
switch (
|
|
9161
|
+
const m = (S) => {
|
|
9162
|
+
let x;
|
|
9163
|
+
switch (S.currentTarget.value) {
|
|
9164
9164
|
case "":
|
|
9165
|
-
e.allowEmptyStringAsValue ?
|
|
9165
|
+
e.allowEmptyStringAsValue ? x = "" : x = void 0;
|
|
9166
9166
|
break;
|
|
9167
9167
|
case "true":
|
|
9168
|
-
|
|
9168
|
+
x = !0;
|
|
9169
9169
|
break;
|
|
9170
9170
|
case "false":
|
|
9171
|
-
|
|
9171
|
+
x = !1;
|
|
9172
9172
|
break;
|
|
9173
9173
|
case "null":
|
|
9174
|
-
|
|
9174
|
+
x = null;
|
|
9175
9175
|
break;
|
|
9176
9176
|
default:
|
|
9177
|
-
const
|
|
9178
|
-
|
|
9177
|
+
const A = u.find((y) => String(y.value) === S.currentTarget.value);
|
|
9178
|
+
x = A ? A.value : S.currentTarget.value;
|
|
9179
9179
|
break;
|
|
9180
9180
|
}
|
|
9181
|
-
|
|
9181
|
+
l(x, v);
|
|
9182
9182
|
};
|
|
9183
|
-
return /* @__PURE__ */ R(qe, { ...e, children: /* @__PURE__ */ Ve(Ze.Group, { ...
|
|
9183
|
+
return /* @__PURE__ */ R(qe, { ...e, attributesHolderRef: o, children: /* @__PURE__ */ Ve(Ze.Group, { ...f, ref: o, controlId: Math.random().toString(), children: [
|
|
9184
9184
|
e.label && /* @__PURE__ */ R(Ze.Label, { children: /* @__PURE__ */ R(
|
|
9185
9185
|
Te,
|
|
9186
9186
|
{
|
|
@@ -9194,17 +9194,17 @@ const xm = (e) => {
|
|
|
9194
9194
|
Ze.Select,
|
|
9195
9195
|
{
|
|
9196
9196
|
"aria-label": e.label,
|
|
9197
|
-
onChange:
|
|
9198
|
-
value:
|
|
9199
|
-
...
|
|
9200
|
-
children:
|
|
9197
|
+
onChange: m,
|
|
9198
|
+
value: d,
|
|
9199
|
+
...c,
|
|
9200
|
+
children: u.map((S, x) => /* @__PURE__ */ R("option", { value: S.value, children: S.label }, "opt" + x))
|
|
9201
9201
|
}
|
|
9202
9202
|
)
|
|
9203
9203
|
] }) });
|
|
9204
9204
|
}, Tm = ({ props: e, datafield: t, path: n, currentData: r }) => {
|
|
9205
|
-
const i = K(_e), a = K(De), o = Ct(e.attributes),
|
|
9206
|
-
formData:
|
|
9207
|
-
formDataPath:
|
|
9205
|
+
const i = K(_e), a = K(De), o = ne(null), l = Ct(e.attributes), s = Ct(e.inputAttributes ?? []), {
|
|
9206
|
+
formData: u,
|
|
9207
|
+
formDataPath: f
|
|
9208
9208
|
} = Nn({
|
|
9209
9209
|
currentPath: n,
|
|
9210
9210
|
datafield: t,
|
|
@@ -9212,10 +9212,10 @@ const xm = (e) => {
|
|
|
9212
9212
|
defaultValue: e.defaultFieldValue,
|
|
9213
9213
|
globalDataContext: i,
|
|
9214
9214
|
templateContext: a
|
|
9215
|
-
}),
|
|
9216
|
-
i.updateData(
|
|
9215
|
+
}), c = (d) => {
|
|
9216
|
+
i.updateData(d.currentTarget.value, f);
|
|
9217
9217
|
};
|
|
9218
|
-
return /* @__PURE__ */ R(qe, { ...e, children: /* @__PURE__ */ Ve(Ze.Group, { ...o, controlId: Math.random().toString(), children: [
|
|
9218
|
+
return /* @__PURE__ */ R(qe, { ...e, attributesHolderRef: o, children: /* @__PURE__ */ Ve(Ze.Group, { ...l, ref: o, controlId: Math.random().toString(), children: [
|
|
9219
9219
|
e.label && /* @__PURE__ */ R(Ze.Label, { children: /* @__PURE__ */ R(
|
|
9220
9220
|
Te,
|
|
9221
9221
|
{
|
|
@@ -9229,18 +9229,18 @@ const xm = (e) => {
|
|
|
9229
9229
|
Ze.Control,
|
|
9230
9230
|
{
|
|
9231
9231
|
as: "textarea",
|
|
9232
|
-
onChange:
|
|
9232
|
+
onChange: c,
|
|
9233
9233
|
placeholder: e.placeholder,
|
|
9234
9234
|
rows: e.rows ?? 3,
|
|
9235
|
-
value:
|
|
9236
|
-
...
|
|
9235
|
+
value: u ?? "",
|
|
9236
|
+
...s
|
|
9237
9237
|
}
|
|
9238
9238
|
)
|
|
9239
9239
|
] }) });
|
|
9240
9240
|
}, Rm = ({ props: e, datafield: t, path: n, currentData: r }) => {
|
|
9241
|
-
const i = K(_e), a = K(De), o = Ct(e.attributes),
|
|
9242
|
-
formData:
|
|
9243
|
-
formDataPath:
|
|
9241
|
+
const i = K(_e), a = K(De), o = ne(null), l = Ct(e.attributes), s = Ct(e.inputAttributes ?? []), {
|
|
9242
|
+
formData: u,
|
|
9243
|
+
formDataPath: f
|
|
9244
9244
|
} = Nn({
|
|
9245
9245
|
currentPath: n,
|
|
9246
9246
|
datafield: t,
|
|
@@ -9248,18 +9248,18 @@ const xm = (e) => {
|
|
|
9248
9248
|
defaultValue: e.defaultFieldValue,
|
|
9249
9249
|
globalDataContext: i,
|
|
9250
9250
|
templateContext: a
|
|
9251
|
-
}),
|
|
9252
|
-
i.updateData(
|
|
9253
|
-
},
|
|
9251
|
+
}), c = (g) => {
|
|
9252
|
+
i.updateData(g.currentTarget.value, f);
|
|
9253
|
+
}, d = Re({
|
|
9254
9254
|
valueToEvaluate: e.placeholder,
|
|
9255
9255
|
globalDataContext: i,
|
|
9256
9256
|
templateContext: a
|
|
9257
|
-
}),
|
|
9257
|
+
}), v = Re({
|
|
9258
9258
|
valueToEvaluate: e.inputType,
|
|
9259
9259
|
globalDataContext: i,
|
|
9260
9260
|
templateContext: a
|
|
9261
9261
|
});
|
|
9262
|
-
return /* @__PURE__ */ R(qe, { ...e, children: /* @__PURE__ */ Ve(Ze.Group, { ...o, controlId: Math.random().toString(), children: [
|
|
9262
|
+
return /* @__PURE__ */ R(qe, { ...e, attributesHolderRef: o, children: /* @__PURE__ */ Ve(Ze.Group, { ...l, ref: o, controlId: Math.random().toString(), children: [
|
|
9263
9263
|
e.label && /* @__PURE__ */ R(Ze.Label, { children: /* @__PURE__ */ R(
|
|
9264
9264
|
Te,
|
|
9265
9265
|
{
|
|
@@ -9272,17 +9272,17 @@ const xm = (e) => {
|
|
|
9272
9272
|
/* @__PURE__ */ R(
|
|
9273
9273
|
Ze.Control,
|
|
9274
9274
|
{
|
|
9275
|
-
onChange:
|
|
9276
|
-
placeholder:
|
|
9277
|
-
type:
|
|
9278
|
-
value:
|
|
9279
|
-
...
|
|
9275
|
+
onChange: c,
|
|
9276
|
+
placeholder: d,
|
|
9277
|
+
type: v ?? "text",
|
|
9278
|
+
value: u ?? "",
|
|
9279
|
+
...s
|
|
9280
9280
|
}
|
|
9281
9281
|
)
|
|
9282
9282
|
] }) });
|
|
9283
9283
|
}, _m = ({ props: e, path: t, currentData: n, datafield: r }) => {
|
|
9284
|
-
const i = Ct(e.attributes);
|
|
9285
|
-
return /* @__PURE__ */ R(qe, { ...e, children: /* @__PURE__ */ pi(Hr.Item, { ...i, eventKey: r, key: r }, e != null && e.header ? /* @__PURE__ */ R(Hr.Header, { children: /* @__PURE__ */ R(
|
|
9284
|
+
const i = Ct(e.attributes), a = ne(null);
|
|
9285
|
+
return /* @__PURE__ */ R(qe, { ...e, attributesHolderRef: a, children: /* @__PURE__ */ pi(Hr.Item, { ...i, ref: a, eventKey: r, key: r }, e != null && e.header ? /* @__PURE__ */ R(Hr.Header, { children: /* @__PURE__ */ R(
|
|
9286
9286
|
Te,
|
|
9287
9287
|
{
|
|
9288
9288
|
props: e.header,
|
|
@@ -9365,7 +9365,7 @@ function $n(e) {
|
|
|
9365
9365
|
}
|
|
9366
9366
|
const Pt = Ci ? $a : fe;
|
|
9367
9367
|
function Ai(e) {
|
|
9368
|
-
const t =
|
|
9368
|
+
const t = ne(e);
|
|
9369
9369
|
return Pt(() => {
|
|
9370
9370
|
t.current = e;
|
|
9371
9371
|
}), he(function() {
|
|
@@ -9375,7 +9375,7 @@ function Ai(e) {
|
|
|
9375
9375
|
}, []);
|
|
9376
9376
|
}
|
|
9377
9377
|
function km() {
|
|
9378
|
-
const e =
|
|
9378
|
+
const e = ne(null), t = he((r, i) => {
|
|
9379
9379
|
e.current = setInterval(r, i);
|
|
9380
9380
|
}, []), n = he(() => {
|
|
9381
9381
|
e.current !== null && (clearInterval(e.current), e.current = null);
|
|
@@ -9384,13 +9384,13 @@ function km() {
|
|
|
9384
9384
|
}
|
|
9385
9385
|
function pr(e, t) {
|
|
9386
9386
|
t === void 0 && (t = [e]);
|
|
9387
|
-
const n =
|
|
9387
|
+
const n = ne(e);
|
|
9388
9388
|
return Pt(() => {
|
|
9389
9389
|
n.current !== e && (n.current = e);
|
|
9390
9390
|
}, t), n;
|
|
9391
9391
|
}
|
|
9392
9392
|
function Sr(e, t) {
|
|
9393
|
-
const n =
|
|
9393
|
+
const n = ne();
|
|
9394
9394
|
return me(
|
|
9395
9395
|
() => {
|
|
9396
9396
|
const r = e(n.current);
|
|
@@ -9401,7 +9401,7 @@ function Sr(e, t) {
|
|
|
9401
9401
|
);
|
|
9402
9402
|
}
|
|
9403
9403
|
function ni(e) {
|
|
9404
|
-
const t = Ai(e), n =
|
|
9404
|
+
const t = Ai(e), n = ne(null), r = he(
|
|
9405
9405
|
(i) => {
|
|
9406
9406
|
i !== n.current && (t == null || t(i, n.current)), n.current = i;
|
|
9407
9407
|
},
|
|
@@ -9411,7 +9411,7 @@ function ni(e) {
|
|
|
9411
9411
|
return [n, r];
|
|
9412
9412
|
}
|
|
9413
9413
|
function ri(e) {
|
|
9414
|
-
const t =
|
|
9414
|
+
const t = ne();
|
|
9415
9415
|
return fe(() => {
|
|
9416
9416
|
t.current = e;
|
|
9417
9417
|
}, [e]), t.current;
|
|
@@ -10605,10 +10605,10 @@ function Av(e) {
|
|
|
10605
10605
|
const v = xv({
|
|
10606
10606
|
delta: c,
|
|
10607
10607
|
disabled: !a
|
|
10608
|
-
}), [g, b] = km(), m =
|
|
10608
|
+
}), [g, b] = km(), m = ne({
|
|
10609
10609
|
x: 0,
|
|
10610
10610
|
y: 0
|
|
10611
|
-
}), S =
|
|
10611
|
+
}), S = ne({
|
|
10612
10612
|
x: 0,
|
|
10613
10613
|
y: 0
|
|
10614
10614
|
}), x = me(() => {
|
|
@@ -10623,7 +10623,7 @@ function Av(e) {
|
|
|
10623
10623
|
case or.DraggableRect:
|
|
10624
10624
|
return i;
|
|
10625
10625
|
}
|
|
10626
|
-
}, [n, i, s]), A =
|
|
10626
|
+
}, [n, i, s]), A = ne(null), y = he(() => {
|
|
10627
10627
|
const E = A.current;
|
|
10628
10628
|
if (!E)
|
|
10629
10629
|
return;
|
|
@@ -10754,9 +10754,9 @@ function Tv(e, t) {
|
|
|
10754
10754
|
frequency: l,
|
|
10755
10755
|
measure: s,
|
|
10756
10756
|
strategy: u
|
|
10757
|
-
} = i, f =
|
|
10757
|
+
} = i, f = ne(e), c = m(), d = pr(c), v = he(function(S) {
|
|
10758
10758
|
S === void 0 && (S = []), !d.current && o((x) => x === null ? S : x.concat(S.filter((A) => !x.includes(A))));
|
|
10759
|
-
}, [d]), g =
|
|
10759
|
+
}, [d]), g = ne(null), b = Sr((S) => {
|
|
10760
10760
|
if (c && !n)
|
|
10761
10761
|
return Os;
|
|
10762
10762
|
if (!S || S === Os || f.current !== e || a != null) {
|
|
@@ -10901,13 +10901,13 @@ function Iv(e) {
|
|
|
10901
10901
|
}
|
|
10902
10902
|
const Ts = [];
|
|
10903
10903
|
function kv(e) {
|
|
10904
|
-
const t =
|
|
10904
|
+
const t = ne(e), n = Sr((r) => e ? r && r !== Ts && e && t.current && e.parentNode === t.current.parentNode ? r : yo(e) : Ts, [e]);
|
|
10905
10905
|
return fe(() => {
|
|
10906
10906
|
t.current = e;
|
|
10907
10907
|
}, [e]), n;
|
|
10908
10908
|
}
|
|
10909
10909
|
function Nv(e) {
|
|
10910
|
-
const [t, n] = Oe(null), r =
|
|
10910
|
+
const [t, n] = Oe(null), r = ne(e), i = he((a) => {
|
|
10911
10911
|
const o = ra(a.target);
|
|
10912
10912
|
o && n((l) => l ? (l.set(o, Da(o)), new Map(l)) : null);
|
|
10913
10913
|
}, []);
|
|
@@ -10936,7 +10936,7 @@ function Nv(e) {
|
|
|
10936
10936
|
}
|
|
10937
10937
|
function Rs(e, t) {
|
|
10938
10938
|
t === void 0 && (t = []);
|
|
10939
|
-
const n =
|
|
10939
|
+
const n = ne(null);
|
|
10940
10940
|
return fe(
|
|
10941
10941
|
() => {
|
|
10942
10942
|
n.current = null;
|
|
@@ -11305,7 +11305,7 @@ function Wv(e) {
|
|
|
11305
11305
|
initialRect: r,
|
|
11306
11306
|
config: i = !0
|
|
11307
11307
|
} = e;
|
|
11308
|
-
const a =
|
|
11308
|
+
const a = ne(!1), {
|
|
11309
11309
|
x: o,
|
|
11310
11310
|
y: l
|
|
11311
11311
|
} = typeof i == "boolean" ? {
|
|
@@ -11363,7 +11363,7 @@ const Gv = /* @__PURE__ */ Af(function(t) {
|
|
|
11363
11363
|
droppable: {
|
|
11364
11364
|
containers: F
|
|
11365
11365
|
}
|
|
11366
|
-
} = m, k = C != null ? D.get(C) : null, W =
|
|
11366
|
+
} = m, k = C != null ? D.get(C) : null, W = ne({
|
|
11367
11367
|
initial: null,
|
|
11368
11368
|
translated: null
|
|
11369
11369
|
}), H = me(() => {
|
|
@@ -11374,7 +11374,7 @@ const Gv = /* @__PURE__ */ Af(function(t) {
|
|
|
11374
11374
|
data: (Ke = k == null ? void 0 : k.data) != null ? Ke : $v,
|
|
11375
11375
|
rect: W
|
|
11376
11376
|
} : null;
|
|
11377
|
-
}, [C, k]), V =
|
|
11377
|
+
}, [C, k]), V = ne(null), [Q, ie] = Oe(null), [J, j] = Oe(null), ae = pr(g, Object.values(g)), B = xr("DndDescribedBy", o), q = me(() => F.getEnabled(), [F]), ee = qv(d), {
|
|
11378
11378
|
droppableRects: T,
|
|
11379
11379
|
measureDroppableContainers: P,
|
|
11380
11380
|
measuringScheduled: U
|
|
@@ -11389,7 +11389,7 @@ const Gv = /* @__PURE__ */ Af(function(t) {
|
|
|
11389
11389
|
initialRect: M,
|
|
11390
11390
|
measure: ee.draggable.measure
|
|
11391
11391
|
});
|
|
11392
|
-
const N = Ds(G, ee.draggable.measure, M), Z = Ds(G ? G.parentElement : null), $ =
|
|
11392
|
+
const N = Ds(G, ee.draggable.measure, M), Z = Ds(G ? G.parentElement : null), $ = ne({
|
|
11393
11393
|
activatorEvent: null,
|
|
11394
11394
|
active: null,
|
|
11395
11395
|
activeNode: G,
|
|
@@ -11428,7 +11428,7 @@ const Gv = /* @__PURE__ */ Af(function(t) {
|
|
|
11428
11428
|
droppableRects: T,
|
|
11429
11429
|
droppableContainers: q,
|
|
11430
11430
|
pointerCoordinates: je
|
|
11431
|
-
}) : null, pe = Zm(tt, "id"), [Fe, le] = Oe(null), We = Pe ? de : xn(de, ye), Fi = nv(We, (a = Fe == null ? void 0 : Fe.rect) != null ? a : null, N), pt =
|
|
11431
|
+
}) : null, pe = Zm(tt, "id"), [Fe, le] = Oe(null), We = Pe ? de : xn(de, ye), Fi = nv(We, (a = Fe == null ? void 0 : Fe.rect) != null ? a : null, N), pt = ne(null), an = he(
|
|
11432
11432
|
(Ke, nt) => {
|
|
11433
11433
|
let {
|
|
11434
11434
|
sensor: rt,
|
|
@@ -11452,7 +11452,7 @@ const Gv = /* @__PURE__ */ Af(function(t) {
|
|
|
11452
11452
|
return;
|
|
11453
11453
|
const {
|
|
11454
11454
|
onDragAbort: Qe
|
|
11455
|
-
} =
|
|
11455
|
+
} = ae.current, At = {
|
|
11456
11456
|
id: Ge
|
|
11457
11457
|
};
|
|
11458
11458
|
Qe == null || Qe(At), x({
|
|
@@ -11465,7 +11465,7 @@ const Gv = /* @__PURE__ */ Af(function(t) {
|
|
|
11465
11465
|
return;
|
|
11466
11466
|
const {
|
|
11467
11467
|
onDragPending: sn
|
|
11468
|
-
} =
|
|
11468
|
+
} = ae.current, ze = {
|
|
11469
11469
|
id: Ge,
|
|
11470
11470
|
constraint: Rt,
|
|
11471
11471
|
initialCoordinates: Qe,
|
|
@@ -11485,7 +11485,7 @@ const Gv = /* @__PURE__ */ Af(function(t) {
|
|
|
11485
11485
|
return;
|
|
11486
11486
|
const {
|
|
11487
11487
|
onDragStart: At
|
|
11488
|
-
} =
|
|
11488
|
+
} = ae.current, on = {
|
|
11489
11489
|
activatorEvent: it,
|
|
11490
11490
|
active: {
|
|
11491
11491
|
id: Rt,
|
|
@@ -11501,7 +11501,7 @@ const Gv = /* @__PURE__ */ Af(function(t) {
|
|
|
11501
11501
|
}), x({
|
|
11502
11502
|
type: "onDragStart",
|
|
11503
11503
|
event: on
|
|
11504
|
-
}),
|
|
11504
|
+
}), ie(pt.current), j(it);
|
|
11505
11505
|
});
|
|
11506
11506
|
},
|
|
11507
11507
|
onMove(Ge) {
|
|
@@ -11526,7 +11526,7 @@ const Gv = /* @__PURE__ */ Af(function(t) {
|
|
|
11526
11526
|
if (Qe && sn) {
|
|
11527
11527
|
const {
|
|
11528
11528
|
cancelDrop: $e
|
|
11529
|
-
} =
|
|
11529
|
+
} = ae.current;
|
|
11530
11530
|
ze = {
|
|
11531
11531
|
activatorEvent: it,
|
|
11532
11532
|
active: Qe,
|
|
@@ -11538,10 +11538,10 @@ const Gv = /* @__PURE__ */ Af(function(t) {
|
|
|
11538
11538
|
V.current = null, fn.unstable_batchedUpdates(() => {
|
|
11539
11539
|
S({
|
|
11540
11540
|
type: Ge
|
|
11541
|
-
}), p(Zt.Uninitialized), le(null),
|
|
11541
|
+
}), p(Zt.Uninitialized), le(null), ie(null), j(null), pt.current = null;
|
|
11542
11542
|
const $e = Ge === Xe.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
11543
11543
|
if (ze) {
|
|
11544
|
-
const qn =
|
|
11544
|
+
const qn = ae.current[$e];
|
|
11545
11545
|
qn == null || qn(ze), x({
|
|
11546
11546
|
type: $e,
|
|
11547
11547
|
event: ze
|
|
@@ -11575,7 +11575,7 @@ const Gv = /* @__PURE__ */ Af(function(t) {
|
|
|
11575
11575
|
() => {
|
|
11576
11576
|
const {
|
|
11577
11577
|
onDragMove: Ke
|
|
11578
|
-
} =
|
|
11578
|
+
} = ae.current, {
|
|
11579
11579
|
active: nt,
|
|
11580
11580
|
activatorEvent: rt,
|
|
11581
11581
|
collisions: Ft,
|
|
@@ -11615,7 +11615,7 @@ const Gv = /* @__PURE__ */ Af(function(t) {
|
|
|
11615
11615
|
return;
|
|
11616
11616
|
const {
|
|
11617
11617
|
onDragOver: it
|
|
11618
|
-
} =
|
|
11618
|
+
} = ae.current, bt = Ft.get(pe), Kt = bt && bt.rect.current ? {
|
|
11619
11619
|
id: bt.id,
|
|
11620
11620
|
rect: bt.rect.current,
|
|
11621
11621
|
data: bt.data,
|
|
@@ -11795,9 +11795,9 @@ function Qv(e) {
|
|
|
11795
11795
|
dispatch: l,
|
|
11796
11796
|
over: s,
|
|
11797
11797
|
measureDroppableContainers: u
|
|
11798
|
-
} = K(Or), f =
|
|
11798
|
+
} = K(Or), f = ne({
|
|
11799
11799
|
disabled: n
|
|
11800
|
-
}), c =
|
|
11800
|
+
}), c = ne(!1), d = ne(null), v = ne(null), {
|
|
11801
11801
|
disabled: g,
|
|
11802
11802
|
updateMeasurementsFor: b,
|
|
11803
11803
|
timeout: m
|
|
@@ -12257,7 +12257,7 @@ function gg(e) {
|
|
|
12257
12257
|
droppableRects: s,
|
|
12258
12258
|
over: u,
|
|
12259
12259
|
measureDroppableContainers: f
|
|
12260
|
-
} = sc(), c = xr(lc, n), d = l.rect !== null, v = me(() => r.map((E) => typeof E == "object" && "id" in E ? E.id : E), [r]), g = o != null, b = o ? v.indexOf(o.id) : -1, m = u ? v.indexOf(u.id) : -1, S =
|
|
12260
|
+
} = sc(), c = xr(lc, n), d = l.rect !== null, v = me(() => r.map((E) => typeof E == "object" && "id" in E ? E.id : E), [r]), g = o != null, b = o ? v.indexOf(o.id) : -1, m = u ? v.indexOf(u.id) : -1, S = ne(v), x = !pg(v, S.current), A = m !== -1 && b === -1 || x, y = hg(a);
|
|
12261
12261
|
Pt(() => {
|
|
12262
12262
|
x && g && f(v);
|
|
12263
12263
|
}, [x, v, g, f]), fe(() => {
|
|
@@ -12320,7 +12320,7 @@ function Ag(e) {
|
|
|
12320
12320
|
node: r,
|
|
12321
12321
|
rect: i
|
|
12322
12322
|
} = e;
|
|
12323
|
-
const [a, o] = Oe(null), l =
|
|
12323
|
+
const [a, o] = Oe(null), l = ne(n);
|
|
12324
12324
|
return Pt(() => {
|
|
12325
12325
|
if (!t && n !== l.current && r.current) {
|
|
12326
12326
|
const s = i.current;
|
|
@@ -12389,10 +12389,10 @@ function Sg(e) {
|
|
|
12389
12389
|
activeNodeRect: H,
|
|
12390
12390
|
attributes: V,
|
|
12391
12391
|
setNodeRef: Q,
|
|
12392
|
-
listeners:
|
|
12392
|
+
listeners: ie,
|
|
12393
12393
|
isDragging: J,
|
|
12394
12394
|
over: j,
|
|
12395
|
-
setActivatorNodeRef:
|
|
12395
|
+
setActivatorNodeRef: ae,
|
|
12396
12396
|
transform: B
|
|
12397
12397
|
} = Yv({
|
|
12398
12398
|
id: o,
|
|
@@ -12413,7 +12413,7 @@ function Sg(e) {
|
|
|
12413
12413
|
items: f,
|
|
12414
12414
|
activeIndex: d,
|
|
12415
12415
|
overIndex: m
|
|
12416
|
-
}) : y, M = k == null ? void 0 : k.id, N =
|
|
12416
|
+
}) : y, M = k == null ? void 0 : k.id, N = ne({
|
|
12417
12417
|
activeId: M,
|
|
12418
12418
|
items: f,
|
|
12419
12419
|
newIndex: X,
|
|
@@ -12462,12 +12462,12 @@ function Sg(e) {
|
|
|
12462
12462
|
isOver: I,
|
|
12463
12463
|
isSorting: ee,
|
|
12464
12464
|
isDragging: J,
|
|
12465
|
-
listeners:
|
|
12465
|
+
listeners: ie,
|
|
12466
12466
|
node: D,
|
|
12467
12467
|
overIndex: m,
|
|
12468
12468
|
over: j,
|
|
12469
12469
|
setNodeRef: q,
|
|
12470
|
-
setActivatorNodeRef:
|
|
12470
|
+
setActivatorNodeRef: ae,
|
|
12471
12471
|
setDroppableNodeRef: F,
|
|
12472
12472
|
setDraggableNodeRef: Q,
|
|
12473
12473
|
transform: ve ?? Y,
|
|
@@ -12625,7 +12625,7 @@ function kg(e, t, n, r, i, a, o) {
|
|
|
12625
12625
|
F.isLast = !0;
|
|
12626
12626
|
}, F.isLast = !1), {
|
|
12627
12627
|
depth: D,
|
|
12628
|
-
parentId:
|
|
12628
|
+
parentId: ie(),
|
|
12629
12629
|
parent: F,
|
|
12630
12630
|
isLast: H
|
|
12631
12631
|
};
|
|
@@ -12637,15 +12637,15 @@ function kg(e, t, n, r, i, a, o) {
|
|
|
12637
12637
|
}
|
|
12638
12638
|
return j;
|
|
12639
12639
|
}
|
|
12640
|
-
function Q(J, j,
|
|
12640
|
+
function Q(J, j, ae) {
|
|
12641
12641
|
if (!J) {
|
|
12642
|
-
var B = typeof
|
|
12642
|
+
var B = typeof ae == "function" ? ae(j) : ae;
|
|
12643
12643
|
return B === !1 ? void 0 : J;
|
|
12644
12644
|
}
|
|
12645
12645
|
var q = typeof J.canHaveChildren == "function" ? J.canHaveChildren(j) : J.canHaveChildren;
|
|
12646
|
-
return q === !1 ? Q(J.parent, d,
|
|
12646
|
+
return q === !1 ? Q(J.parent, d, ae) : J;
|
|
12647
12647
|
}
|
|
12648
|
-
function
|
|
12648
|
+
function ie() {
|
|
12649
12649
|
var J;
|
|
12650
12650
|
if (D === 0 || !y)
|
|
12651
12651
|
return null;
|
|
@@ -12653,8 +12653,8 @@ function kg(e, t, n, r, i, a, o) {
|
|
|
12653
12653
|
return y.parentId;
|
|
12654
12654
|
if (D > y.depth)
|
|
12655
12655
|
return y.id;
|
|
12656
|
-
var j = (J = A.slice(0, f).reverse().find(function(
|
|
12657
|
-
return
|
|
12656
|
+
var j = (J = A.slice(0, f).reverse().find(function(ae) {
|
|
12657
|
+
return ae.depth === D;
|
|
12658
12658
|
})) == null ? void 0 : J.parentId;
|
|
12659
12659
|
return j ?? null;
|
|
12660
12660
|
}
|
|
@@ -12841,7 +12841,7 @@ function Wg(e) {
|
|
|
12841
12841
|
return oe && Ce != null && Ce.length ? [].concat($, [Ae]) : $;
|
|
12842
12842
|
}, []), Z = Lg(M, m ? [m].concat(N) : N);
|
|
12843
12843
|
return Z;
|
|
12844
|
-
}, [m, t]), W = kg(k, m, A, E, i, d ?? !1, v), H =
|
|
12844
|
+
}, [m, t]), W = kg(k, m, A, E, i, d ?? !1, v), H = ne({
|
|
12845
12845
|
items: k,
|
|
12846
12846
|
offset: E
|
|
12847
12847
|
}), V = Gm(
|
|
@@ -12854,7 +12854,7 @@ function Wg(e) {
|
|
|
12854
12854
|
var N = M.id;
|
|
12855
12855
|
return N;
|
|
12856
12856
|
});
|
|
12857
|
-
}, [k]),
|
|
12857
|
+
}, [k]), ie = m ? k.find(function(M) {
|
|
12858
12858
|
var N = M.id;
|
|
12859
12859
|
return N === m;
|
|
12860
12860
|
}) : null;
|
|
@@ -12864,7 +12864,7 @@ function Wg(e) {
|
|
|
12864
12864
|
offset: E
|
|
12865
12865
|
};
|
|
12866
12866
|
}, [k, E]);
|
|
12867
|
-
var J =
|
|
12867
|
+
var J = ne(t);
|
|
12868
12868
|
J.current = t;
|
|
12869
12869
|
var j = he(function(M) {
|
|
12870
12870
|
var N = ui(J.current, M);
|
|
@@ -12872,7 +12872,7 @@ function Wg(e) {
|
|
|
12872
12872
|
type: "removed",
|
|
12873
12873
|
item: N
|
|
12874
12874
|
});
|
|
12875
|
-
}, [a]),
|
|
12875
|
+
}, [a]), ae = he(function(N) {
|
|
12876
12876
|
var Z = ui(J.current, N);
|
|
12877
12877
|
a(vc(J.current, N, "collapsed", function($) {
|
|
12878
12878
|
return !$;
|
|
@@ -12933,7 +12933,7 @@ function Wg(e) {
|
|
|
12933
12933
|
indentationWidth: i,
|
|
12934
12934
|
indicator: n,
|
|
12935
12935
|
collapsed: !!(M.collapsed && ((Z = M.children) != null && Z.length)),
|
|
12936
|
-
onCollapse: ($ = M.children) != null && $.length ?
|
|
12936
|
+
onCollapse: ($ = M.children) != null && $.length ? ae : void 0,
|
|
12937
12937
|
onRemove: j,
|
|
12938
12938
|
isLast: M.id === m && W ? W.isLast : M.isLast,
|
|
12939
12939
|
parent: M.id === m && W ? W.parent : M.parent,
|
|
@@ -12944,15 +12944,15 @@ function Wg(e) {
|
|
|
12944
12944
|
}));
|
|
12945
12945
|
}), fn.createPortal(ue.createElement(fg, {
|
|
12946
12946
|
dropAnimation: u === void 0 ? qg : u
|
|
12947
|
-
}, m &&
|
|
12948
|
-
item:
|
|
12947
|
+
}, m && ie ? ue.createElement(o, Object.assign({}, g, {
|
|
12948
|
+
item: ie,
|
|
12949
12949
|
children: [],
|
|
12950
|
-
depth:
|
|
12950
|
+
depth: ie.depth,
|
|
12951
12951
|
clone: !0,
|
|
12952
12952
|
childCount: Bg(t, m) + 1,
|
|
12953
12953
|
indentationWidth: i,
|
|
12954
12954
|
isLast: !1,
|
|
12955
|
-
parent:
|
|
12955
|
+
parent: ie.parent,
|
|
12956
12956
|
isOver: !1,
|
|
12957
12957
|
isOverParent: !1
|
|
12958
12958
|
})) : null), document.body)));
|
|
@@ -14896,12 +14896,12 @@ function a0() {
|
|
|
14896
14896
|
var H = y(), V = C(r);
|
|
14897
14897
|
if (V) {
|
|
14898
14898
|
if (F(), !C(i)) return E("property missing ':'");
|
|
14899
|
-
var Q = C(a),
|
|
14899
|
+
var Q = C(a), ie = H({
|
|
14900
14900
|
type: v,
|
|
14901
14901
|
property: g(V[0].replace(e, c)),
|
|
14902
14902
|
value: Q ? g(Q[0].replace(e, c)) : c
|
|
14903
14903
|
});
|
|
14904
|
-
return C(o),
|
|
14904
|
+
return C(o), ie;
|
|
14905
14905
|
}
|
|
14906
14906
|
}
|
|
14907
14907
|
function W() {
|
|
@@ -15205,22 +15205,22 @@ const Qs = /* @__PURE__ */ yr(f0), d0 = Qs.default || Qs, p0 = [
|
|
|
15205
15205
|
const t = K(De);
|
|
15206
15206
|
return /* @__PURE__ */ R(qe, { ...e, children: (r = (n = t.sortableTreeData)._treeAddCollapseButton) == null ? void 0 : r.call(n) });
|
|
15207
15207
|
}, v0 = ({ currentData: e, path: t, props: n }) => {
|
|
15208
|
-
const r = K(_e), i = K(De), a = Ct(n.attributes);
|
|
15209
|
-
return /* @__PURE__ */ R(qe, { ...n, children: /* @__PURE__ */ R(Ml, { ...a, children: Array.isArray(n.tabs) && n.tabs.map((
|
|
15210
|
-
var
|
|
15211
|
-
const
|
|
15212
|
-
attrs:
|
|
15208
|
+
const r = K(_e), i = K(De), a = ne(null), o = Ct(n.attributes);
|
|
15209
|
+
return /* @__PURE__ */ R(qe, { ...n, attributesHolderRef: a, children: /* @__PURE__ */ R(Ml, { ...o, ref: a, children: Array.isArray(n.tabs) && n.tabs.map((l, s) => {
|
|
15210
|
+
var f;
|
|
15211
|
+
const u = nn({
|
|
15212
|
+
attrs: l.attributes,
|
|
15213
15213
|
globalDataContext: r,
|
|
15214
15214
|
templateContext: i,
|
|
15215
15215
|
options: { normalizeBeforeEvaluation: !0 }
|
|
15216
15216
|
});
|
|
15217
|
-
return /* @__PURE__ */ pi(om, { ...
|
|
15217
|
+
return /* @__PURE__ */ pi(om, { ...u, key: s }, /* @__PURE__ */ R(
|
|
15218
15218
|
Te,
|
|
15219
15219
|
{
|
|
15220
|
-
currentData: ((
|
|
15220
|
+
currentData: ((f = e == null ? void 0 : e[s]) == null ? void 0 : f.content) ?? void 0,
|
|
15221
15221
|
datafield: "content",
|
|
15222
|
-
path: (t ?? "") + "." +
|
|
15223
|
-
props:
|
|
15222
|
+
path: (t ?? "") + "." + s + ".content",
|
|
15223
|
+
props: l == null ? void 0 : l.content
|
|
15224
15224
|
}
|
|
15225
15225
|
));
|
|
15226
15226
|
}) }) });
|
|
@@ -17236,12 +17236,12 @@ const {
|
|
|
17236
17236
|
}) => {
|
|
17237
17237
|
const b = [];
|
|
17238
17238
|
t && (b.push({ deprecatedProperty: "dataFetchMethod", newProperty: "rjBuildFetchMethod" }), d = t), n && (b.push({ deprecatedProperty: "dataUrl", newProperty: "rjBuildUrl" }), v = n), l && (b.push({ deprecatedProperty: "headersForData", newProperty: "headersForRjBuild" }), s = l), u && (b.push({ deprecatedProperty: "maybeRawAppData", newProperty: "maybeRawAppRjBuild" }), f = u), b.length > 0 && console.warn("A ReactiveJsonRoot component got the following deprecated properties that must be replaced: " + b.map((j) => j.deprecatedProperty + " -> " + j.newProperty).join(", "));
|
|
17239
|
-
const [m, S] = Ua((j,
|
|
17240
|
-
switch (
|
|
17239
|
+
const [m, S] = Ua((j, ae) => {
|
|
17240
|
+
switch (ae.type) {
|
|
17241
17241
|
case "setData":
|
|
17242
|
-
return { updateId: 0, realCurrentData:
|
|
17242
|
+
return { updateId: 0, realCurrentData: ae.data };
|
|
17243
17243
|
case "updateData":
|
|
17244
|
-
return V(j,
|
|
17244
|
+
return V(j, ae.path, ae.value, ae.updateMode);
|
|
17245
17245
|
default:
|
|
17246
17246
|
return j;
|
|
17247
17247
|
}
|
|
@@ -17274,20 +17274,20 @@ const {
|
|
|
17274
17274
|
return;
|
|
17275
17275
|
}
|
|
17276
17276
|
A(j.templates ?? j.listForms), !j.templates && j.listForms && console.log("'listForms' needs to be renamed to 'templates'. The support for 'listForms' will be removed in the next releases of reactive-json.");
|
|
17277
|
-
let
|
|
17277
|
+
let ae = e === void 0 ? j.data : e;
|
|
17278
17278
|
const B = j.additionalDataSource;
|
|
17279
17279
|
if (!Array.isArray(B) || B.length === 0) {
|
|
17280
|
-
S({ type: "setData", data:
|
|
17280
|
+
S({ type: "setData", data: ae }), p(j.renderView), C(Object.keys(j.renderView));
|
|
17281
17281
|
return;
|
|
17282
17282
|
}
|
|
17283
17283
|
const q = {
|
|
17284
17284
|
headersForRjBuild: s,
|
|
17285
|
-
templateData:
|
|
17285
|
+
templateData: ae,
|
|
17286
17286
|
templatePath: "data",
|
|
17287
17287
|
setData: H,
|
|
17288
17288
|
updateData: W
|
|
17289
17289
|
}, ee = {
|
|
17290
|
-
templateData:
|
|
17290
|
+
templateData: ae,
|
|
17291
17291
|
templatePath: "data"
|
|
17292
17292
|
}, T = B.filter((Y) => Y.blocking === !0), P = B.filter((Y) => Y.blocking !== !0), U = async (Y, X) => {
|
|
17293
17293
|
var M;
|
|
@@ -17368,7 +17368,7 @@ const {
|
|
|
17368
17368
|
console.error("Error fetching additional data source:", Y.src, N);
|
|
17369
17369
|
}
|
|
17370
17370
|
};
|
|
17371
|
-
S({ type: "setData", data:
|
|
17371
|
+
S({ type: "setData", data: ae }), (async () => {
|
|
17372
17372
|
if (T.length > 0) {
|
|
17373
17373
|
const Y = T.map((X, M) => U(X, M));
|
|
17374
17374
|
await Promise.allSettled(Y).catch((X) => {
|
|
@@ -17383,14 +17383,14 @@ const {
|
|
|
17383
17383
|
}
|
|
17384
17384
|
})();
|
|
17385
17385
|
}, [D, e, s]);
|
|
17386
|
-
function k(j,
|
|
17386
|
+
function k(j, ae, B) {
|
|
17387
17387
|
if (!g || g.size === 0)
|
|
17388
17388
|
return !1;
|
|
17389
17389
|
for (const [q, ee] of g)
|
|
17390
17390
|
if (j === q || j.startsWith(q + ".") || q === "") {
|
|
17391
17391
|
const T = q === "" ? j : j.substring(q.length + 1);
|
|
17392
17392
|
try {
|
|
17393
|
-
return ee(
|
|
17393
|
+
return ee(ae, T, B), !0;
|
|
17394
17394
|
} catch (P) {
|
|
17395
17395
|
console.warn("Error during upstream update:", P);
|
|
17396
17396
|
break;
|
|
@@ -17398,8 +17398,8 @@ const {
|
|
|
17398
17398
|
}
|
|
17399
17399
|
return !1;
|
|
17400
17400
|
}
|
|
17401
|
-
function W(j,
|
|
17402
|
-
let q =
|
|
17401
|
+
function W(j, ae, B = void 0) {
|
|
17402
|
+
let q = ae.replace("data.", "");
|
|
17403
17403
|
k(q, j, B) || S({
|
|
17404
17404
|
type: "updateData",
|
|
17405
17405
|
path: q,
|
|
@@ -17413,8 +17413,8 @@ const {
|
|
|
17413
17413
|
data: j
|
|
17414
17414
|
});
|
|
17415
17415
|
}
|
|
17416
|
-
function V(j,
|
|
17417
|
-
const ee =
|
|
17416
|
+
function V(j, ae, B, q = void 0) {
|
|
17417
|
+
const ee = ae.split(".");
|
|
17418
17418
|
(typeof j.realCurrentData != "object" || j.realCurrentData === null || Array.isArray(j.realCurrentData)) && (j.realCurrentData = {});
|
|
17419
17419
|
let T = j.realCurrentData;
|
|
17420
17420
|
for (let P = 0, U = ee.length; P < U; P++) {
|
|
@@ -17459,18 +17459,18 @@ const {
|
|
|
17459
17459
|
if (!D)
|
|
17460
17460
|
return null;
|
|
17461
17461
|
const Q = E.map((j) => {
|
|
17462
|
-
var
|
|
17462
|
+
var ae;
|
|
17463
17463
|
return /* @__PURE__ */ R(
|
|
17464
17464
|
Te,
|
|
17465
17465
|
{
|
|
17466
17466
|
datafield: j,
|
|
17467
17467
|
props: y[j],
|
|
17468
17468
|
path: "data." + j,
|
|
17469
|
-
currentData: (
|
|
17469
|
+
currentData: (ae = m.realCurrentData) == null ? void 0 : ae[j]
|
|
17470
17470
|
},
|
|
17471
17471
|
j
|
|
17472
17472
|
);
|
|
17473
|
-
}),
|
|
17473
|
+
}), ie = $f(r), J = /* @__PURE__ */ R(Nf, { children: /* @__PURE__ */ Ve(
|
|
17474
17474
|
jf,
|
|
17475
17475
|
{
|
|
17476
17476
|
value: {
|
|
@@ -17484,12 +17484,12 @@ const {
|
|
|
17484
17484
|
updateData: W
|
|
17485
17485
|
},
|
|
17486
17486
|
children: [
|
|
17487
|
-
/* @__PURE__ */ R(De.Provider, { value: { templateData: m.realCurrentData, templatePath: "data" }, children:
|
|
17488
|
-
|
|
17487
|
+
/* @__PURE__ */ R(De.Provider, { value: { templateData: m.realCurrentData, templatePath: "data" }, children: ie && i ? /* @__PURE__ */ R(i, { children: Q }) : Q }),
|
|
17488
|
+
ie ? a && /* @__PURE__ */ R(a, { children: JSON.stringify(m.realCurrentData, null, " ") }) : null
|
|
17489
17489
|
]
|
|
17490
17490
|
}
|
|
17491
17491
|
) });
|
|
17492
|
-
return
|
|
17492
|
+
return ie && i ? /* @__PURE__ */ R(o, { children: J }) : J;
|
|
17493
17493
|
}, ab = ({ props: e }) => {
|
|
17494
17494
|
var l;
|
|
17495
17495
|
const t = K(_e), n = K(De), r = wt({
|
|
@@ -17740,7 +17740,7 @@ const ja = (e) => {
|
|
|
17740
17740
|
}
|
|
17741
17741
|
return n;
|
|
17742
17742
|
}, ha = ({ props: e, currentData: t, datafield: n, path: r }) => {
|
|
17743
|
-
const i = K(_e), a = K(De), o =
|
|
17743
|
+
const i = K(_e), a = K(De), o = ne(null), l = `${e.tag}`, s = e.extra ?? {}, u = ja(e.attributes), f = ja(t.attributes);
|
|
17744
17744
|
for (const v of Object.keys(f)) {
|
|
17745
17745
|
if (v.charAt(0) === "+") {
|
|
17746
17746
|
const g = v.substring(1);
|
|
@@ -17920,7 +17920,7 @@ const ja = (e) => {
|
|
|
17920
17920
|
headers: W.headers || {},
|
|
17921
17921
|
status: W.status,
|
|
17922
17922
|
data: W.data
|
|
17923
|
-
}, Q = v === !1,
|
|
17923
|
+
}, Q = v === !1, ie = vu({
|
|
17924
17924
|
requestContext: H,
|
|
17925
17925
|
responseContext: V,
|
|
17926
17926
|
responseBody: W.data,
|
|
@@ -17932,7 +17932,7 @@ const ja = (e) => {
|
|
|
17932
17932
|
try {
|
|
17933
17933
|
gu({
|
|
17934
17934
|
dataMapping: c,
|
|
17935
|
-
responseData:
|
|
17935
|
+
responseData: ie,
|
|
17936
17936
|
globalDataContext: f,
|
|
17937
17937
|
templateContext: u
|
|
17938
17938
|
});
|
|
@@ -17942,7 +17942,7 @@ const ja = (e) => {
|
|
|
17942
17942
|
return;
|
|
17943
17943
|
}
|
|
17944
17944
|
if (!g) {
|
|
17945
|
-
S(
|
|
17945
|
+
S(ie);
|
|
17946
17946
|
return;
|
|
17947
17947
|
}
|
|
17948
17948
|
const J = lt({
|
|
@@ -17956,12 +17956,12 @@ const ja = (e) => {
|
|
|
17956
17956
|
return;
|
|
17957
17957
|
}
|
|
17958
17958
|
if (J === "data") {
|
|
17959
|
-
S(
|
|
17959
|
+
S(ie);
|
|
17960
17960
|
return;
|
|
17961
17961
|
}
|
|
17962
|
-
A(
|
|
17962
|
+
A(ie, J);
|
|
17963
17963
|
} else
|
|
17964
|
-
x(
|
|
17964
|
+
x(ie);
|
|
17965
17965
|
}
|
|
17966
17966
|
}).catch((W) => {
|
|
17967
17967
|
console.log(`reactionFunction:${n} : Could not execute request. Reason: ${W.message}`);
|