loon-bulma-react 2026.0.4 → 2026.0.5

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.
@@ -9,16 +9,19 @@ type DropDownProps = {
9
9
  alignment?: 'l' | 'r' | undefined;
10
10
  dropUp?: boolean | undefined;
11
11
  className?: string | undefined;
12
+ keepOpenAfterClick?: boolean | undefined;
12
13
  };
13
14
  declare const Dropdown: {
14
- ({ onHover, id, children: childrenProp, trigger: triggerProp, disabled, alignment, dropUp, startOpen, className: classNameProp, }: DropDownProps): import("react/jsx-runtime").JSX.Element;
15
+ ({ onHover, id, children: childrenProp, trigger: triggerProp, disabled, alignment, dropUp, startOpen, className: classNameProp, keepOpenAfterClick, }: DropDownProps): import("react/jsx-runtime").JSX.Element;
15
16
  Divider(): import("react/jsx-runtime").JSX.Element;
16
- Item({ children, onClick, ...props }: {
17
+ Item({ children, onClick, onItemClick, ...props }: {
17
18
  children: React.ReactNode;
18
19
  onClick?: () => void;
20
+ onItemClick?: (isClickable: boolean) => void;
19
21
  } & React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
20
- Link({ children, ...props }: {
22
+ Link({ children, onItemClick, ...props }: {
21
23
  children: React.ReactNode;
24
+ onItemClick?: (isClickable: boolean) => void;
22
25
  } & React.AnchorHTMLAttributes<HTMLAnchorElement>): import("react/jsx-runtime").JSX.Element;
23
26
  };
24
27
  export { Dropdown };
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { jsxs as R, jsx as y, Fragment as Pt } from "react/jsx-runtime";
1
+ import { jsxs as R, jsx as y, Fragment as Wt } from "react/jsx-runtime";
2
2
  import * as P from "react";
3
3
  import b, { useId as bk, version as wk, isValidElement as Xf, useRef as Zt, useLayoutEffect as Xy, useEffect as Wn, forwardRef as Jy, useImperativeHandle as Sk, Children as Mm, cloneElement as Im, useState as ma, useDebugValue as Zy, createContext as Ih, useContext as Rh, useMemo as Rm } from "react";
4
4
  function r9({ ratio: t = "1by1", children: e, caption: n, className: r = "" }) {
@@ -568,8 +568,8 @@ var Fr = !!st.documentElement && !!st.head && typeof st.addEventListener == "fun
568
568
  GROUP: "duotone-group",
569
569
  PRIMARY: "primary",
570
570
  SECONDARY: "secondary"
571
- }, cv = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], Bt = "classic", ga = "duotone", uv = "sharp", fv = "sharp-duotone", dv = "chisel", hv = "etch", pv = "jelly", mv = "jelly-duo", gv = "jelly-fill", yv = "notdog", vv = "notdog-duo", bv = "slab", wv = "slab-press", Sv = "thumbprint", Ev = "utility", kv = "utility-duo", Cv = "utility-fill", xv = "whiteboard", Jk = "Classic", Zk = "Duotone", Qk = "Sharp", eC = "Sharp Duotone", tC = "Chisel", nC = "Etch", rC = "Jelly", iC = "Jelly Duo", oC = "Jelly Fill", sC = "Notdog", aC = "Notdog Duo", lC = "Slab", cC = "Slab Press", uC = "Thumbprint", fC = "Utility", dC = "Utility Duo", hC = "Utility Fill", pC = "Whiteboard", Nv = [Bt, ga, uv, fv, dv, hv, pv, mv, gv, yv, vv, bv, wv, Sv, Ev, kv, Cv, xv];
572
- sf = {}, Me(Me(Me(Me(Me(Me(Me(Me(Me(Me(sf, Bt, Jk), ga, Zk), uv, Qk), fv, eC), dv, tC), hv, nC), pv, rC), mv, iC), gv, oC), yv, sC), Me(Me(Me(Me(Me(Me(Me(Me(sf, vv, aC), bv, lC), wv, cC), Sv, uC), Ev, fC), kv, dC), Cv, hC), xv, pC);
571
+ }, cv = ["fa-classic", "fa-duotone", "fa-sharp", "fa-sharp-duotone", "fa-thumbprint", "fa-whiteboard", "fa-notdog", "fa-notdog-duo", "fa-chisel", "fa-etch", "fa-jelly", "fa-jelly-fill", "fa-jelly-duo", "fa-slab", "fa-slab-press", "fa-utility", "fa-utility-duo", "fa-utility-fill"], Pt = "classic", ga = "duotone", uv = "sharp", fv = "sharp-duotone", dv = "chisel", hv = "etch", pv = "jelly", mv = "jelly-duo", gv = "jelly-fill", yv = "notdog", vv = "notdog-duo", bv = "slab", wv = "slab-press", Sv = "thumbprint", Ev = "utility", kv = "utility-duo", Cv = "utility-fill", xv = "whiteboard", Jk = "Classic", Zk = "Duotone", Qk = "Sharp", eC = "Sharp Duotone", tC = "Chisel", nC = "Etch", rC = "Jelly", iC = "Jelly Duo", oC = "Jelly Fill", sC = "Notdog", aC = "Notdog Duo", lC = "Slab", cC = "Slab Press", uC = "Thumbprint", fC = "Utility", dC = "Utility Duo", hC = "Utility Fill", pC = "Whiteboard", Nv = [Pt, ga, uv, fv, dv, hv, pv, mv, gv, yv, vv, bv, wv, Sv, Ev, kv, Cv, xv];
572
+ sf = {}, Me(Me(Me(Me(Me(Me(Me(Me(Me(Me(sf, Pt, Jk), ga, Zk), uv, Qk), fv, eC), dv, tC), hv, nC), pv, rC), mv, iC), gv, oC), yv, sC), Me(Me(Me(Me(Me(Me(Me(Me(sf, vv, aC), bv, lC), wv, cC), Sv, uC), Ev, fC), kv, dC), Cv, hC), xv, pC);
573
573
  var mC = {
574
574
  classic: {
575
575
  900: "fas",
@@ -1138,22 +1138,22 @@ var p3 = {
1138
1138
  function ya(t) {
1139
1139
  return new Proxy(t, {
1140
1140
  get: function(n, r) {
1141
- return r in n ? n[r] : n[Bt];
1141
+ return r in n ? n[r] : n[Pt];
1142
1142
  }
1143
1143
  });
1144
1144
  }
1145
1145
  var Dv = G({}, lv);
1146
- Dv[Bt] = G(G(G(G({}, {
1146
+ Dv[Pt] = G(G(G(G({}, {
1147
1147
  "fa-duotone": "duotone"
1148
- }), lv[Bt]), Fm.kit), Fm["kit-duotone"]);
1148
+ }), lv[Pt]), Fm.kit), Fm["kit-duotone"]);
1149
1149
  var x3 = ya(Dv), sd = G({}, vC);
1150
- sd[Bt] = G(G(G(G({}, {
1150
+ sd[Pt] = G(G(G(G({}, {
1151
1151
  duotone: "fad"
1152
- }), sd[Bt]), zm.kit), zm["kit-duotone"]);
1152
+ }), sd[Pt]), zm.kit), zm["kit-duotone"]);
1153
1153
  var jm = ya(sd), ad = G({}, rd);
1154
- ad[Bt] = G(G({}, ad[Bt]), NC.kit);
1154
+ ad[Pt] = G(G({}, ad[Pt]), NC.kit);
1155
1155
  var zh = ya(ad), ld = G({}, p3);
1156
- ld[Bt] = G(G({}, ld[Bt]), CC.kit);
1156
+ ld[Pt] = G(G({}, ld[Pt]), CC.kit);
1157
1157
  ya(ld);
1158
1158
  var N3 = qk, Pv = "fa-layers-text", A3 = Yk, T3 = G({}, mC);
1159
1159
  ya(T3);
@@ -1175,7 +1175,7 @@ if (st && typeof st.querySelector == "function") {
1175
1175
  }
1176
1176
  var Bv = {
1177
1177
  styleDefault: "solid",
1178
- familyDefault: Bt,
1178
+ familyDefault: Pt,
1179
1179
  cssPrefix: Mv,
1180
1180
  replacementClass: Iv,
1181
1181
  autoReplaceSvg: !0,
@@ -2021,7 +2021,7 @@ var Xv = function() {
2021
2021
  };
2022
2022
  };
2023
2023
  function Y3(t) {
2024
- var e = Bt, n = jv.reduce(function(r, i) {
2024
+ var e = Pt, n = jv.reduce(function(r, i) {
2025
2025
  return r[i] = "".concat(he.cssPrefix, "-").concat(i), r;
2026
2026
  }, {});
2027
2027
  return Nv.forEach(function(r) {
@@ -2031,7 +2031,7 @@ function Y3(t) {
2031
2031
  }), e;
2032
2032
  }
2033
2033
  function Zc(t) {
2034
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = e.family, r = n === void 0 ? Bt : n, i = x3[r][t];
2034
+ var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = e.family, r = n === void 0 ? Pt : n, i = x3[r][t];
2035
2035
  if (r === ga && !t)
2036
2036
  return "fad";
2037
2037
  var o = jm[r][t] || jm[r][i], s = t in jn.styles ? t : null, a = o || s || null;
@@ -2088,9 +2088,9 @@ function J3(t, e, n) {
2088
2088
  };
2089
2089
  }
2090
2090
  var Z3 = Nv.filter(function(t) {
2091
- return t !== Bt || t !== ga;
2091
+ return t !== Pt || t !== ga;
2092
2092
  }), Q3 = Object.keys(rd).filter(function(t) {
2093
- return t !== Bt;
2093
+ return t !== Pt;
2094
2094
  }).map(function(t) {
2095
2095
  return Object.keys(rd[t]);
2096
2096
  }).flat();
@@ -2119,7 +2119,7 @@ var tx = /* @__PURE__ */ (function() {
2119
2119
  var s = i.reduce(this._pullDefinitions, {});
2120
2120
  Object.keys(s).forEach(function(a) {
2121
2121
  n.definitions[a] = G(G({}, n.definitions[a] || {}), s[a]), cd(a, s[a]);
2122
- var l = zh[Bt][a];
2122
+ var l = zh[Pt][a];
2123
2123
  l && cd(l, s[a]), qv();
2124
2124
  });
2125
2125
  }
@@ -4008,10 +4008,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
4008
4008
  function _e(t, e) {
4009
4009
  return EA(t) || kA(t, e) || db(t, e) || CA();
4010
4010
  }
4011
- var el = { exports: {} }, zt = {};
4011
+ var el = { exports: {} }, Ft = {};
4012
4012
  var yg;
4013
4013
  function xA() {
4014
- if (yg) return zt;
4014
+ if (yg) return Ft;
4015
4015
  yg = 1;
4016
4016
  var t = b;
4017
4017
  function e(l) {
@@ -4058,23 +4058,23 @@ function xA() {
4058
4058
  if (typeof c == "string")
4059
4059
  return c === "use-credentials" ? c : "";
4060
4060
  }
4061
- return zt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = r, zt.createPortal = function(l, c) {
4061
+ return Ft.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = r, Ft.createPortal = function(l, c) {
4062
4062
  var u = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
4063
4063
  if (!c || c.nodeType !== 1 && c.nodeType !== 9 && c.nodeType !== 11)
4064
4064
  throw Error(e(299));
4065
4065
  return o(l, c, null, u);
4066
- }, zt.flushSync = function(l) {
4066
+ }, Ft.flushSync = function(l) {
4067
4067
  var c = s.T, u = r.p;
4068
4068
  try {
4069
4069
  if (s.T = null, r.p = 2, l) return l();
4070
4070
  } finally {
4071
4071
  s.T = c, r.p = u, r.d.f();
4072
4072
  }
4073
- }, zt.preconnect = function(l, c) {
4073
+ }, Ft.preconnect = function(l, c) {
4074
4074
  typeof l == "string" && (c ? (c = c.crossOrigin, c = typeof c == "string" ? c === "use-credentials" ? c : "" : void 0) : c = null, r.d.C(l, c));
4075
- }, zt.prefetchDNS = function(l) {
4075
+ }, Ft.prefetchDNS = function(l) {
4076
4076
  typeof l == "string" && r.d.D(l);
4077
- }, zt.preinit = function(l, c) {
4077
+ }, Ft.preinit = function(l, c) {
4078
4078
  if (typeof l == "string" && c && typeof c.as == "string") {
4079
4079
  var u = c.as, f = a(u, c.crossOrigin), d = typeof c.integrity == "string" ? c.integrity : void 0, h = typeof c.fetchPriority == "string" ? c.fetchPriority : void 0;
4080
4080
  u === "style" ? r.d.S(
@@ -4092,7 +4092,7 @@ function xA() {
4092
4092
  nonce: typeof c.nonce == "string" ? c.nonce : void 0
4093
4093
  });
4094
4094
  }
4095
- }, zt.preinitModule = function(l, c) {
4095
+ }, Ft.preinitModule = function(l, c) {
4096
4096
  if (typeof l == "string")
4097
4097
  if (typeof c == "object" && c !== null) {
4098
4098
  if (c.as == null || c.as === "script") {
@@ -4107,7 +4107,7 @@ function xA() {
4107
4107
  });
4108
4108
  }
4109
4109
  } else c == null && r.d.M(l);
4110
- }, zt.preload = function(l, c) {
4110
+ }, Ft.preload = function(l, c) {
4111
4111
  if (typeof l == "string" && typeof c == "object" && c !== null && typeof c.as == "string") {
4112
4112
  var u = c.as, f = a(u, c.crossOrigin);
4113
4113
  r.d.L(l, u, {
@@ -4122,7 +4122,7 @@ function xA() {
4122
4122
  media: typeof c.media == "string" ? c.media : void 0
4123
4123
  });
4124
4124
  }
4125
- }, zt.preloadModule = function(l, c) {
4125
+ }, Ft.preloadModule = function(l, c) {
4126
4126
  if (typeof l == "string")
4127
4127
  if (c) {
4128
4128
  var u = a(c.as, c.crossOrigin);
@@ -4132,17 +4132,17 @@ function xA() {
4132
4132
  integrity: typeof c.integrity == "string" ? c.integrity : void 0
4133
4133
  });
4134
4134
  } else r.d.m(l);
4135
- }, zt.requestFormReset = function(l) {
4135
+ }, Ft.requestFormReset = function(l) {
4136
4136
  r.d.r(l);
4137
- }, zt.unstable_batchedUpdates = function(l, c) {
4137
+ }, Ft.unstable_batchedUpdates = function(l, c) {
4138
4138
  return l(c);
4139
- }, zt.useFormState = function(l, c, u) {
4139
+ }, Ft.useFormState = function(l, c, u) {
4140
4140
  return s.H.useFormState(l, c, u);
4141
- }, zt.useFormStatus = function() {
4141
+ }, Ft.useFormStatus = function() {
4142
4142
  return s.H.useHostTransitionStatus();
4143
- }, zt.version = "19.2.4", zt;
4143
+ }, Ft.version = "19.2.4", Ft;
4144
4144
  }
4145
- var Ht = {};
4145
+ var zt = {};
4146
4146
  var vg;
4147
4147
  function NA() {
4148
4148
  return vg || (vg = 1, process.env.NODE_ENV !== "production" && (function() {
@@ -4213,12 +4213,12 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
4213
4213
  }, c = /* @__PURE__ */ Symbol.for("react.portal"), u = a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
4214
4214
  typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
4215
4215
  "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"
4216
- ), Ht.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = l, Ht.createPortal = function(f, d) {
4216
+ ), zt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = l, zt.createPortal = function(f, d) {
4217
4217
  var h = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
4218
4218
  if (!d || d.nodeType !== 1 && d.nodeType !== 9 && d.nodeType !== 11)
4219
4219
  throw Error("Target container is not a DOM element.");
4220
4220
  return n(f, d, null, h);
4221
- }, Ht.flushSync = function(f) {
4221
+ }, zt.flushSync = function(f) {
4222
4222
  var d = u.T, h = l.p;
4223
4223
  try {
4224
4224
  if (u.T = null, l.p = 2, f)
@@ -4228,7 +4228,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
4228
4228
  "flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."
4229
4229
  );
4230
4230
  }
4231
- }, Ht.preconnect = function(f, d) {
4231
+ }, zt.preconnect = function(f, d) {
4232
4232
  typeof f == "string" && f ? d != null && typeof d != "object" ? console.error(
4233
4233
  "ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",
4234
4234
  o(d)
@@ -4239,7 +4239,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
4239
4239
  "ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
4240
4240
  i(f)
4241
4241
  ), typeof f == "string" && (d ? (d = d.crossOrigin, d = typeof d == "string" ? d === "use-credentials" ? d : "" : void 0) : d = null, l.d.C(f, d));
4242
- }, Ht.prefetchDNS = function(f) {
4242
+ }, zt.prefetchDNS = function(f) {
4243
4243
  if (typeof f != "string" || !f)
4244
4244
  console.error(
4245
4245
  "ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
@@ -4256,7 +4256,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
4256
4256
  );
4257
4257
  }
4258
4258
  typeof f == "string" && l.d.D(f);
4259
- }, Ht.preinit = function(f, d) {
4259
+ }, zt.preinit = function(f, d) {
4260
4260
  if (typeof f == "string" && f ? d == null || typeof d != "object" ? console.error(
4261
4261
  "ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",
4262
4262
  o(d)
@@ -4283,7 +4283,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
4283
4283
  nonce: typeof d.nonce == "string" ? d.nonce : void 0
4284
4284
  });
4285
4285
  }
4286
- }, Ht.preinitModule = function(f, d) {
4286
+ }, zt.preinitModule = function(f, d) {
4287
4287
  var h = "";
4288
4288
  if (typeof f == "string" && f || (h += " The `href` argument encountered was " + i(f) + "."), d !== void 0 && typeof d != "object" ? h += " The `options` argument encountered was " + i(d) + "." : d && "as" in d && d.as !== "script" && (h += " The `as` option encountered was " + o(d.as) + "."), h)
4289
4289
  console.error(
@@ -4309,7 +4309,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
4309
4309
  integrity: typeof d.integrity == "string" ? d.integrity : void 0,
4310
4310
  nonce: typeof d.nonce == "string" ? d.nonce : void 0
4311
4311
  })) : d == null && l.d.M(f));
4312
- }, Ht.preload = function(f, d) {
4312
+ }, zt.preload = function(f, d) {
4313
4313
  var h = "";
4314
4314
  if (typeof f == "string" && f || (h += " The `href` argument encountered was " + i(f) + "."), d == null || typeof d != "object" ? h += " The `options` argument encountered was " + i(d) + "." : typeof d.as == "string" && d.as || (h += " The `as` option encountered was " + i(d.as) + "."), h && console.error(
4315
4315
  'ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',
@@ -4332,7 +4332,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
4332
4332
  media: typeof d.media == "string" ? d.media : void 0
4333
4333
  });
4334
4334
  }
4335
- }, Ht.preloadModule = function(f, d) {
4335
+ }, zt.preloadModule = function(f, d) {
4336
4336
  var h = "";
4337
4337
  typeof f == "string" && f || (h += " The `href` argument encountered was " + i(f) + "."), d !== void 0 && typeof d != "object" ? h += " The `options` argument encountered was " + i(d) + "." : d && "as" in d && typeof d.as != "string" && (h += " The `as` option encountered was " + i(d.as) + "."), h && console.error(
4338
4338
  'ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',
@@ -4345,16 +4345,16 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
4345
4345
  crossOrigin: h,
4346
4346
  integrity: typeof d.integrity == "string" ? d.integrity : void 0
4347
4347
  })) : l.d.m(f));
4348
- }, Ht.requestFormReset = function(f) {
4348
+ }, zt.requestFormReset = function(f) {
4349
4349
  l.d.r(f);
4350
- }, Ht.unstable_batchedUpdates = function(f, d) {
4350
+ }, zt.unstable_batchedUpdates = function(f, d) {
4351
4351
  return f(d);
4352
- }, Ht.useFormState = function(f, d, h) {
4352
+ }, zt.useFormState = function(f, d, h) {
4353
4353
  return s().useFormState(f, d, h);
4354
- }, Ht.useFormStatus = function() {
4354
+ }, zt.useFormStatus = function() {
4355
4355
  return s().useHostTransitionStatus();
4356
- }, Ht.version = "19.2.4", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
4357
- })()), Ht;
4356
+ }, zt.version = "19.2.4", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
4357
+ })()), zt;
4358
4358
  }
4359
4359
  var bg;
4360
4360
  function AA() {
@@ -6138,7 +6138,7 @@ function rO(t, e, n, r, i, o, s) {
6138
6138
  return;
6139
6139
  var dn = D.offset, En = D.targetOffset, qe = Wg(W, dn), Ct = _e(qe, 2), me = Ct[0], Fe = Ct[1], de = Wg(B, En), Ce = _e(de, 2), $e = Ce[0], fs = Ce[1];
6140
6140
  B.x -= $e, B.y -= fs;
6141
- var zu = D.points || [], La = _e(zu, 2), Hu = La[0], Da = La[1], wr = Vg(Da), nn = Vg(Hu), Ft = Eo(B, wr), Pa = Eo(W, nn), kn = ge({}, D), it = Ft.x - Pa.x + me, ct = Ft.y - Pa.y + Fe, _n = xn(it, ct), Li = xn(it, ct, Q), Cn = Eo(B, ["t", "l"]), Ba = Eo(W, ["t", "l"]), ds = Eo(B, ["b", "r"]), Di = Eo(W, ["b", "r"]), Pi = D.overflow || {}, ju = Pi.adjustX, $a = Pi.adjustY, yo = Pi.shiftX, hs = Pi.shiftY, _a = function(Er) {
6141
+ var zu = D.points || [], La = _e(zu, 2), Hu = La[0], Da = La[1], wr = Vg(Da), nn = Vg(Hu), _t = Eo(B, wr), Pa = Eo(W, nn), kn = ge({}, D), it = _t.x - Pa.x + me, ct = _t.y - Pa.y + Fe, _n = xn(it, ct), Li = xn(it, ct, Q), Cn = Eo(B, ["t", "l"]), Ba = Eo(W, ["t", "l"]), ds = Eo(B, ["b", "r"]), Di = Eo(W, ["b", "r"]), Pi = D.overflow || {}, ju = Pi.adjustX, $a = Pi.adjustY, yo = Pi.shiftX, hs = Pi.shiftY, _a = function(Er) {
6142
6142
  return typeof Er == "boolean" ? Er : Er >= 0;
6143
6143
  }, Wr, Vr, Bi, Sr;
6144
6144
  bo();
@@ -6287,19 +6287,19 @@ function aO() {
6287
6287
  return St?.contains(ne) || ((we = Ad(St)) === null || we === void 0 ? void 0 : we.host) === ne || ne === St || le?.contains(ne) || ((at = Ad(le)) === null || at === void 0 ? void 0 : at.host) === ne || ne === le || Object.values(ke.current).some(function(ht) {
6288
6288
  return ht?.contains(ne) || ne === ht;
6289
6289
  });
6290
- }), zu = Hg(o, J, te, oe), La = Hg(o, ee, Te, se), Hu = P.useState(d || !1), Da = _e(Hu, 2), wr = Da[0], nn = Da[1], Ft = f ?? wr, Pa = rr(function(ne) {
6290
+ }), zu = Hg(o, J, te, oe), La = Hg(o, ee, Te, se), Hu = P.useState(d || !1), Da = _e(Hu, 2), wr = Da[0], nn = Da[1], _t = f ?? wr, Pa = rr(function(ne) {
6291
6291
  f === void 0 && nn(ne);
6292
6292
  });
6293
6293
  pn(function() {
6294
6294
  nn(f || !1);
6295
6295
  }, [f]);
6296
- var kn = P.useRef(Ft);
6297
- kn.current = Ft;
6296
+ var kn = P.useRef(_t);
6297
+ kn.current = _t;
6298
6298
  var it = P.useRef([]);
6299
6299
  it.current = [];
6300
6300
  var ct = rr(function(ne) {
6301
6301
  var we;
6302
- Pa(ne), ((we = it.current[it.current.length - 1]) !== null && we !== void 0 ? we : Ft) !== ne && (it.current.push(ne), h?.(ne));
6302
+ Pa(ne), ((we = it.current[it.current.length - 1]) !== null && we !== void 0 ? we : _t) !== ne && (it.current.push(ne), h?.(ne));
6303
6303
  }), _n = P.useRef(), Li = function() {
6304
6304
  clearTimeout(_n.current);
6305
6305
  }, Cn = function(we) {
@@ -6313,19 +6313,19 @@ function aO() {
6313
6313
  }, []);
6314
6314
  var Ba = P.useState(!1), ds = _e(Ba, 2), Di = ds[0], Pi = ds[1];
6315
6315
  pn(function(ne) {
6316
- (!ne || Ft) && Pi(!0);
6317
- }, [Ft]);
6316
+ (!ne || _t) && Pi(!0);
6317
+ }, [_t]);
6318
6318
  var ju = P.useState(null), $a = _e(ju, 2), yo = $a[0], hs = $a[1], _a = P.useState(null), Wr = _e(_a, 2), Vr = Wr[0], Bi = Wr[1], Sr = function(we) {
6319
6319
  Bi([we.clientX, we.clientY]);
6320
- }, Fa = rO(Ft, le, W && Vr !== null ? Vr : qe, I, D, _, Y), rn = _e(Fa, 11), $i = rn[0], za = rn[1], Uu = rn[2], _i = rn[3], Ha = rn[4], Wu = rn[5], ja = rn[6], Ua = rn[7], Fi = rn[8], zi = rn[9], ps = rn[10], Hi = QT(Le, l, c, u), ms = _e(Hi, 2), vo = ms[0], Fn = ms[1], Kr = vo.has("click"), Gr = Fn.has("click") || Fn.has("contextMenu"), qr = rr(function() {
6320
+ }, Fa = rO(_t, le, W && Vr !== null ? Vr : qe, I, D, _, Y), rn = _e(Fa, 11), $i = rn[0], za = rn[1], Uu = rn[2], _i = rn[3], Ha = rn[4], Wu = rn[5], ja = rn[6], Ua = rn[7], Fi = rn[8], zi = rn[9], ps = rn[10], Hi = QT(Le, l, c, u), ms = _e(Hi, 2), vo = ms[0], Fn = ms[1], Kr = vo.has("click"), Gr = Fn.has("click") || Fn.has("contextMenu"), qr = rr(function() {
6321
6321
  Di || ps();
6322
6322
  }), gs = function() {
6323
6323
  kn.current && W && Gr && Cn(!1);
6324
6324
  };
6325
- iO(Ft, qe, le, qr, gs), pn(function() {
6325
+ iO(_t, qe, le, qr, gs), pn(function() {
6326
6326
  qr();
6327
6327
  }, [Vr, I]), pn(function() {
6328
- Ft && !(D != null && D[I]) && qr();
6328
+ _t && !(D != null && D[I]) && qr();
6329
6329
  }, [JSON.stringify(_)]);
6330
6330
  var Vu = P.useMemo(function() {
6331
6331
  var ne = nO(D, o, zi, W);
@@ -6373,13 +6373,13 @@ function aO() {
6373
6373
  St[ht - 1] = arguments[ht];
6374
6374
  (we = Ce.onClick) === null || we === void 0 || we.call.apply(we, [Ce, ne].concat(St));
6375
6375
  });
6376
- var ys = oO(Ft, Gr, qe, le, E, C, fs, Cn), Qu = vo.has("hover"), xn = Fn.has("hover"), bo, vs;
6376
+ var ys = oO(_t, Gr, qe, le, E, C, fs, Cn), Qu = vo.has("hover"), xn = Fn.has("hover"), bo, vs;
6377
6377
  Qu && (Zn("onMouseEnter", !0, m, function(ne) {
6378
6378
  Sr(ne);
6379
6379
  }), Zn("onPointerEnter", !0, m, function(ne) {
6380
6380
  Sr(ne);
6381
6381
  }), bo = function(we) {
6382
- (Ft || Di) && le !== null && le !== void 0 && le.contains(we.target) && Cn(!0, m);
6382
+ (_t || Di) && le !== null && le !== void 0 && le.contains(we.target) && Cn(!0, m);
6383
6383
  }, W && ($e.onMouseMove = function(ne) {
6384
6384
  var we;
6385
6385
  (we = Ce.onMouseMove) === null || we === void 0 || we.call(Ce, ne);
@@ -6393,7 +6393,7 @@ function aO() {
6393
6393
  (we = Ce.onContextMenu) === null || we === void 0 || we.call.apply(we, [Ce, ne].concat(St));
6394
6394
  }), Se && ($e.className = lr(Ce.className, Se));
6395
6395
  var Er = P.useRef(!1);
6396
- Er.current || (Er.current = N || Ft || Di);
6396
+ Er.current || (Er.current = N || _t || Di);
6397
6397
  var Yr = ge(ge({}, Ce), $e), bs = {}, Ya = ["onContextMenu", "onClick", "onMouseDown", "onTouchStart", "onMouseEnter", "onMouseLeave", "onFocus", "onBlur"];
6398
6398
  Ya.forEach(function(ne) {
6399
6399
  U[ne] && (bs[ne] = function() {
@@ -6407,7 +6407,7 @@ function aO() {
6407
6407
  y: ja
6408
6408
  }, nf = Z ? ge({}, Z !== !0 ? Z : {}) : null;
6409
6409
  return /* @__PURE__ */ P.createElement(P.Fragment, null, /* @__PURE__ */ P.createElement(au, {
6410
- disabled: !Ft,
6410
+ disabled: !_t,
6411
6411
  ref: Fe,
6412
6412
  onResize: Xu
6413
6413
  }, /* @__PURE__ */ P.createElement(Gb, {
@@ -6426,7 +6426,7 @@ function aO() {
6426
6426
  onMouseLeave: vs,
6427
6427
  onPointerEnter: bo,
6428
6428
  zIndex: B,
6429
- open: Ft,
6429
+ open: _t,
6430
6430
  keepDom: Di,
6431
6431
  fresh: F,
6432
6432
  onClick: q,
@@ -6601,7 +6601,7 @@ function wa({
6601
6601
  dO,
6602
6602
  {
6603
6603
  placement: f,
6604
- overlay: typeof r == "string" ? /* @__PURE__ */ y(Pt, { children: r }) : r,
6604
+ overlay: typeof r == "string" ? /* @__PURE__ */ y(Wt, { children: r }) : r,
6605
6605
  trigger: o,
6606
6606
  showArrow: !i,
6607
6607
  mouseEnterDelay: d,
@@ -6803,21 +6803,21 @@ const m9 = ({
6803
6803
  ...l,
6804
6804
  children: t
6805
6805
  }
6806
- ), $t = ({ children: t, title: e, style: n, itemRef: r, className: i = "", color: o = "default", alignment: s = "l" }) => {
6806
+ ), Bt = ({ children: t, title: e, style: n, itemRef: r, className: i = "", color: o = "default", alignment: s = "l" }) => {
6807
6807
  let { scheme: a } = Ti(), l = gO(o, a), c = `border-box ${l} ${i}`.trim(), u = `border-box-title ${l.replace("is-", "has-text-")} ${Sa(s, !0)}`.trim();
6808
6808
  return /* @__PURE__ */ R("div", { style: n, className: c, ref: r, children: [
6809
6809
  e && /* @__PURE__ */ y("div", { className: "border-box-title-container", children: /* @__PURE__ */ y("div", { className: "border-box-title-flex-wrapper", children: /* @__PURE__ */ y(mO, { size: 6, className: u, children: e }) }) }),
6810
6810
  /* @__PURE__ */ y("div", { className: "border-box-content", children: t })
6811
6811
  ] });
6812
6812
  };
6813
- $t.Primary = (t) => /* @__PURE__ */ y($t, { color: "p", ...t });
6814
- $t.Link = (t) => /* @__PURE__ */ y($t, { color: "l", ...t });
6815
- $t.Info = (t) => /* @__PURE__ */ y($t, { color: "i", ...t });
6816
- $t.Warning = (t) => /* @__PURE__ */ y($t, { color: "w", ...t });
6817
- $t.Danger = (t) => /* @__PURE__ */ y($t, { color: "d", ...t });
6818
- $t.Success = (t) => /* @__PURE__ */ y($t, { color: "s", ...t });
6819
- $t.Light = (t) => /* @__PURE__ */ y($t, { color: "light", ...t });
6820
- $t.Dark = (t) => /* @__PURE__ */ y($t, { color: "dark", ...t });
6813
+ Bt.Primary = (t) => /* @__PURE__ */ y(Bt, { color: "p", ...t });
6814
+ Bt.Link = (t) => /* @__PURE__ */ y(Bt, { color: "l", ...t });
6815
+ Bt.Info = (t) => /* @__PURE__ */ y(Bt, { color: "i", ...t });
6816
+ Bt.Warning = (t) => /* @__PURE__ */ y(Bt, { color: "w", ...t });
6817
+ Bt.Danger = (t) => /* @__PURE__ */ y(Bt, { color: "d", ...t });
6818
+ Bt.Success = (t) => /* @__PURE__ */ y(Bt, { color: "s", ...t });
6819
+ Bt.Light = (t) => /* @__PURE__ */ y(Bt, { color: "light", ...t });
6820
+ Bt.Dark = (t) => /* @__PURE__ */ y(Bt, { color: "dark", ...t });
6821
6821
  function gO(t, e) {
6822
6822
  let n = "";
6823
6823
  return t === "w" ? n = " is-warning" : t === "l" ? n = " is-link" : t === "d" ? n = " is-danger" : t === "i" ? n = " is-info" : t === "s" ? n = " is-success" : t === "p" ? n = " is-primary" : t === "dark" ? n = " is-dark" : t === "light" ? n = " is-light" : t === "is-default" ? n = e === "light" ? " is-default-light" : "is-default-dark" : t?.startsWith("is-") ? n = ` ${t}` : n = e === "light" ? " is-default-light" : "is-default-dark", n.trim();
@@ -6836,7 +6836,7 @@ function w9({
6836
6836
  let c = "columns";
6837
6837
  return n !== "3" && (c += ` is-variable is-${n}`), r && (c += " is-multiline"), i && (c += " is-centered"), o && (c += " is-vcentered"), s && (c += ` ${s}`), /* @__PURE__ */ y("div", { "data-testid": "columns", className: c, style: a, id: e, ref: l, children: t });
6838
6838
  }
6839
- const ut = ({ children: t = /* @__PURE__ */ y(Pt, {}), className: e, styles: n, id: r, itemRef: i }) => /* @__PURE__ */ y("div", { className: e, id: r, ref: i, children: /* @__PURE__ */ y("div", { style: n, children: t }) }), fo = ({ narrow: t, size: e = "auto", className: n, styles: r, id: i, children: o, itemRef: s }) => {
6839
+ const ut = ({ children: t = /* @__PURE__ */ y(Wt, {}), className: e, styles: n, id: r, itemRef: i }) => /* @__PURE__ */ y("div", { className: e, id: r, ref: i, children: /* @__PURE__ */ y("div", { style: n, children: t }) }), fo = ({ narrow: t, size: e = "auto", className: n, styles: r, id: i, children: o, itemRef: s }) => {
6840
6840
  let a = b.useMemo(() => yO(t, e, n), [t, e, n]);
6841
6841
  return /* @__PURE__ */ y("div", { className: a, id: i, ref: s, style: r, children: o });
6842
6842
  };
@@ -9646,11 +9646,11 @@ function yM(t) {
9646
9646
  Object.hasOwn(t, e) && (t[e] = iM(t[e]));
9647
9647
  return t;
9648
9648
  }
9649
- var _t = BO(Et, {});
9650
- _t.registerLanguage = function(t, e) {
9649
+ var $t = BO(Et, {});
9650
+ $t.registerLanguage = function(t, e) {
9651
9651
  return Et.register(e);
9652
9652
  };
9653
- _t.alias = function(t, e) {
9653
+ $t.alias = function(t, e) {
9654
9654
  return Et.alias(t, e);
9655
9655
  };
9656
9656
  ka.displayName = "markup";
@@ -12068,23 +12068,23 @@ const vM = {
12068
12068
  stroke: "hsl(230, 8%, 24%)"
12069
12069
  }
12070
12070
  };
12071
- _t.registerLanguage("csharp", hp);
12072
- _t.registerLanguage("bash", dp);
12073
- _t.registerLanguage("typescript", fu);
12074
- _t.registerLanguage("tsx", yp);
12075
- _t.registerLanguage("javascript", xa);
12076
- _t.registerLanguage("json", gp);
12077
- _t.registerLanguage("jsx", du);
12078
- _t.registerLanguage("markup", ka);
12079
- _t.registerLanguage("sass", vp);
12080
- _t.registerLanguage("scss", mp);
12081
- _t.registerLanguage("css", Ca);
12082
- _t.registerLanguage("sql", fp);
12083
- _t.registerLanguage("vbnet", bp);
12084
- _t.registerLanguage("xmlDoc", wp);
12071
+ $t.registerLanguage("csharp", hp);
12072
+ $t.registerLanguage("bash", dp);
12073
+ $t.registerLanguage("typescript", fu);
12074
+ $t.registerLanguage("tsx", yp);
12075
+ $t.registerLanguage("javascript", xa);
12076
+ $t.registerLanguage("json", gp);
12077
+ $t.registerLanguage("jsx", du);
12078
+ $t.registerLanguage("markup", ka);
12079
+ $t.registerLanguage("sass", vp);
12080
+ $t.registerLanguage("scss", mp);
12081
+ $t.registerLanguage("css", Ca);
12082
+ $t.registerLanguage("sql", fp);
12083
+ $t.registerLanguage("vbnet", bp);
12084
+ $t.registerLanguage("xmlDoc", wp);
12085
12085
  function A9({ code: t, dark: e = !0, language: n = "tsx", className: r = "", showLineNumbers: i = !1 }) {
12086
12086
  let o = "";
12087
- return n === "ts" ? o = "typescript" : n === "js" ? o = "javascript" : n === "c#" || n === "C#" ? o = "csharp" : n === "vb" ? o = "vbnet" : n === "html" ? o = "markup" : o = n, /* @__PURE__ */ y("div", { className: r, children: /* @__PURE__ */ y(_t, { language: o, style: e ? vM : bM, showLineNumbers: i, children: t.trim() }) });
12087
+ return n === "ts" ? o = "typescript" : n === "js" ? o = "javascript" : n === "c#" || n === "C#" ? o = "csharp" : n === "vb" ? o = "vbnet" : n === "html" ? o = "markup" : o = n, /* @__PURE__ */ y("div", { className: r, children: /* @__PURE__ */ y($t, { language: o, style: e ? vM : bM, showLineNumbers: i, children: t.trim() }) });
12088
12088
  }
12089
12089
  function Sp(t) {
12090
12090
  try {
@@ -12622,7 +12622,7 @@ function kM(t) {
12622
12622
  }
12623
12623
  function CM({ outerRef: t, children: e }) {
12624
12624
  let { x: n, y: r, show: i } = kM(t);
12625
- return t === null ? /* @__PURE__ */ y(Pt, {}) : i ? /* @__PURE__ */ y("div", { className: "context-menu", style: { top: r, left: n }, children: e }) : /* @__PURE__ */ y(Pt, {});
12625
+ return t === null ? /* @__PURE__ */ y(Wt, {}) : i ? /* @__PURE__ */ y("div", { className: "context-menu", style: { top: r, left: n }, children: e }) : /* @__PURE__ */ y(Wt, {});
12626
12626
  }
12627
12627
  function xM(t, e = { leading: !1, delay: 300 }) {
12628
12628
  let [n, r] = b.useState(t), i = b.useRef(!1), o = b.useRef(void 0);
@@ -15067,10 +15067,7 @@ function H9({
15067
15067
  itemRef: C,
15068
15068
  paginationOptions: x
15069
15069
  }) {
15070
- let { defaults: N } = b.useContext(Ze), A = b.useMemo(
15071
- () => ({ ...N.datatablePagination, ...x }),
15072
- [x, N]
15073
- ), T = e.sort((Y, Z) => l4(Y.order ?? 0, Z.order ?? 0)), M = w ?? Dn(0, 999999999999).toString(), [L, O] = b.useState(""), [I] = xM(L, { delay: 200 }), [$, D] = b.useState(() => n || T.findIndex((Y) => Y.sort !== void 0) + 1), [_, B] = TM(A.initialPage), [j, z] = b.useState(A.initialRowsPerPage), { visibleData: F, pagination: W } = b.useMemo(() => {
15070
+ let { defaults: N } = b.useContext(Ze), A = b.useMemo(() => ({ ...N.datatablePagination, ...x }), [x, N]), T = e.sort((Y, Z) => l4(Y.order ?? 0, Z.order ?? 0)), M = w ?? Dn(0, 999999999999).toString(), [L, O] = b.useState(""), [I] = xM(L, { delay: 200 }), [$, D] = b.useState(() => n || T.findIndex((Y) => Y.sort !== void 0) + 1), [_, B] = TM(A.initialPage), [j, z] = b.useState(A.initialRowsPerPage), { visibleData: F, pagination: W } = b.useMemo(() => {
15074
15071
  let Y = [...I === "" ? t : m(I, t)];
15075
15072
  Y.sort(T[Math.abs($) - 1]?.sort ?? (() => 0)), $ < 0 && Y.reverse();
15076
15073
  let Z = j === 0 ? -1 : j;
@@ -15089,7 +15086,7 @@ function H9({
15089
15086
  }, te = Y.slice((ee - 1) * Z, ee * Z);
15090
15087
  return { filteredData: Y, visibleData: te, pagination: oe };
15091
15088
  }, [T, t, _, A, j, I, $, B, z, m]), q = "table";
15092
- return r && (q += " is-narrow"), o || (q += " is-fullwidth"), a && (q += " is-hoverable"), s && (q += " is-bordered"), i || (q += " is-striped"), l !== "none" && (q += " is-sticky"), /* @__PURE__ */ y(Pt, { children: /* @__PURE__ */ R("table", { className: q, id: M, ref: C, children: [
15089
+ return r && (q += " is-narrow"), o || (q += " is-fullwidth"), a && (q += " is-hoverable"), s && (q += " is-bordered"), i || (q += " is-striped"), l !== "none" && (q += " is-sticky"), /* @__PURE__ */ R("table", { className: q, id: M, ref: C, children: [
15093
15090
  /* @__PURE__ */ y(
15094
15091
  d4,
15095
15092
  {
@@ -15123,7 +15120,7 @@ function H9({
15123
15120
  }
15124
15121
  ),
15125
15122
  x && /* @__PURE__ */ y(h4, { size: d, cols: T, pagination: W, children: f })
15126
- ] }) });
15123
+ ] });
15127
15124
  }
15128
15125
  function u4({
15129
15126
  rows: t = [],
@@ -15134,7 +15131,7 @@ function u4({
15134
15131
  onRowSelected: o = () => {
15135
15132
  },
15136
15133
  onRowRightClick: s,
15137
- renderWhenNoData: a = () => /* @__PURE__ */ y(Pt, {})
15134
+ renderWhenNoData: a = () => /* @__PURE__ */ y(Wt, {})
15138
15135
  }) {
15139
15136
  return t.length === 0 ? /* @__PURE__ */ R("tbody", { children: [
15140
15137
  /* @__PURE__ */ y("tr", { role: "no-rows-to-show-row", children: /* @__PURE__ */ y("td", { colSpan: n.filter((l) => !l.hidden).length, children: a(e !== "") }) }),
@@ -15146,28 +15143,16 @@ function u4({
15146
15143
  }
15147
15144
  function f4({ rowClass: t, rowKey: e, columns: n, item: r, onRowSelected: i, onRowRightClick: o, ...s }) {
15148
15145
  let [a, l] = b.useState(!1), c = b.useRef(null), u = typeof t == "function" ? t(r) : t ?? "";
15149
- return /* @__PURE__ */ y(
15150
- "tr",
15151
- {
15152
- role: "row",
15153
- className: u,
15154
- onClick: (f) => i(r, f),
15155
- ref: c,
15156
- onMouseEnter: () => l(!0),
15157
- onMouseLeave: () => l(!1),
15158
- ...s,
15159
- children: n.map((f, d) => {
15160
- if (f.hidden) return null;
15161
- let h;
15162
- typeof f.cellIdentifier == "function" ? h = f.cellIdentifier(r) : f.cellIdentifier ? h = r[f.cellIdentifier] : h = `${e}-${d}`;
15163
- let p = typeof f.columnClass == "function" ? f.columnClass(r) : f.columnClass ?? "";
15164
- return p += Vt(f.alignment ?? "l"), /* @__PURE__ */ R("td", { className: p.trim(), children: [
15165
- typeof f.value == "function" ? f.value(r, a) : r[f.value],
15166
- d === 0 && o && /* @__PURE__ */ y(CM, { outerRef: c, children: o(r) })
15167
- ] }, h);
15168
- })
15169
- }
15170
- );
15146
+ return /* @__PURE__ */ y("tr", { role: "row", className: u, onClick: (f) => i(r, f), ref: c, onMouseEnter: () => l(!0), onMouseLeave: () => l(!1), ...s, children: n.map((f, d) => {
15147
+ if (f.hidden) return null;
15148
+ let h;
15149
+ typeof f.cellIdentifier == "function" ? h = f.cellIdentifier(r) : f.cellIdentifier ? h = r[f.cellIdentifier] : h = `${e}-${d}`;
15150
+ let p = typeof f.columnClass == "function" ? f.columnClass(r) : f.columnClass ?? "";
15151
+ return p += Vt(f.alignment ?? "l"), /* @__PURE__ */ R("td", { className: p.trim(), children: [
15152
+ typeof f.value == "function" ? f.value(r, a) : r[f.value],
15153
+ d === 0 && o && /* @__PURE__ */ y(CM, { outerRef: c, children: o(r) })
15154
+ ] }, h);
15155
+ }) });
15171
15156
  }
15172
15157
  function d4({
15173
15158
  children: t = void 0,
@@ -15248,18 +15233,7 @@ function h4({ size: t, children: e = void 0, pagination: n, cols: r }) {
15248
15233
  set: i.setPage
15249
15234
  }
15250
15235
  ) }),
15251
- n.rowsPerPageOptions.length > 1 && /* @__PURE__ */ y("div", { className: "mx-4", children: /* @__PURE__ */ y(
15252
- On,
15253
- {
15254
- name: "datatable-default-rows-per-page",
15255
- label: "",
15256
- labelHidden: !0,
15257
- size: t,
15258
- value: n.rowsPerPage,
15259
- onValueChanged: n.setRowsPerPage,
15260
- children: n.rowsPerPageOptions?.map((o) => /* @__PURE__ */ y(On.Option, { value: o.value, children: o.label }, o.value))
15261
- }
15262
- ) })
15236
+ n.rowsPerPageOptions.length > 1 && /* @__PURE__ */ y("div", { className: "mx-4", children: /* @__PURE__ */ y(On, { name: "datatable-default-rows-per-page", label: "", labelHidden: !0, size: t, value: n.rowsPerPage, onValueChanged: n.setRowsPerPage, children: n.rowsPerPageOptions?.map((o) => /* @__PURE__ */ y(On.Option, { value: o.value, children: o.label }, o.value)) }) })
15263
15237
  ] }) }) }),
15264
15238
  e
15265
15239
  ] });
@@ -15299,31 +15273,36 @@ const jo = ({
15299
15273
  alignment: o = "l",
15300
15274
  dropUp: s = !1,
15301
15275
  startOpen: a = !1,
15302
- className: l = ""
15276
+ className: l = "",
15277
+ keepOpenAfterClick: c = !1
15303
15278
  }) => {
15304
- let [c, u] = v2(a), f = p4(() => !t && u(!1)), d = "dropdown";
15305
- c && (d += " is-active"), i && (d += " is-disabled"), s && (d += " is-up"), o === "r" && (d += " is-right"), l !== "" && (d += " " + l);
15306
- let h = b.useMemo(() => g4(r, c, i, t, u), [r, c, i, t, u]), p = b.Children.map(n, (m) => !m || m === "" ? null : m.type === jo.Divider || m.type === jo.Item || m.type === jo.Link ? m : /* @__PURE__ */ y("div", { className: "dropdown-item", children: m }));
15307
- return /* @__PURE__ */ R(
15308
- "div",
15309
- {
15310
- className: d,
15311
- ref: f,
15312
- onMouseEnter: () => t && u(!0),
15313
- onMouseLeave: () => t && u(!1),
15314
- children: [
15315
- h,
15316
- /* @__PURE__ */ y("div", { className: "dropdown-menu", id: e, role: "menu", children: /* @__PURE__ */ y("div", { className: "dropdown-content", children: p }) })
15317
- ]
15318
- }
15319
- );
15279
+ let [u, f] = v2(a), d = p4(() => !t && f(!1)), h = "dropdown";
15280
+ u && (h += " is-active"), i && (h += " is-disabled"), s && (h += " is-up"), o === "r" && (h += " is-right"), l !== "" && (h += " " + l);
15281
+ let p = b.useMemo(() => g4(r, u, i, t, f), [r, u, i, t, f]);
15282
+ const m = (v) => {
15283
+ !c && v && f(!1);
15284
+ };
15285
+ let g = b.Children.map(n, (v) => !v || v === "" ? null : v.type === jo.Divider ? v : v.type === jo.Item ? b.cloneElement(v, { onItemClick: m }) : v.type === jo.Link ? b.cloneElement(v, { onItemClick: m }) : /* @__PURE__ */ y("div", { className: "dropdown-item", children: v }));
15286
+ return /* @__PURE__ */ R("div", { className: h, ref: d, onMouseEnter: () => t && f(!0), onMouseLeave: () => t && f(!1), children: [
15287
+ p,
15288
+ /* @__PURE__ */ y("div", { className: "dropdown-menu", id: e, role: "menu", children: /* @__PURE__ */ y("div", { className: "dropdown-content", children: g }) })
15289
+ ] });
15320
15290
  };
15321
15291
  jo.Divider = () => /* @__PURE__ */ y("hr", { className: "dropdown-divider" });
15322
- jo.Item = ({ children: t, onClick: e, ...n }) => /* @__PURE__ */ y("div", { className: `dropdown-item ${e ? "is-clickable" : ""}`, onClick: e, ...n, children: t });
15323
- jo.Link = ({ children: t, ...e }) => /* @__PURE__ */ y("a", { className: "dropdown-item", ...e, children: t });
15292
+ jo.Item = ({
15293
+ children: t,
15294
+ onClick: e,
15295
+ onItemClick: n,
15296
+ ...r
15297
+ }) => /* @__PURE__ */ y("div", { className: `dropdown-item ${e ? "is-clickable" : ""}`, onClick: (o) => {
15298
+ e?.(o), n?.(!!e);
15299
+ }, ...r, children: t });
15300
+ jo.Link = ({ children: t, onItemClick: e, ...n }) => /* @__PURE__ */ y("a", { className: "dropdown-item", ...n, onClick: (i) => {
15301
+ n.onClick?.(i), e?.(!0);
15302
+ }, children: t });
15324
15303
  function g4(t, e, n, r, i) {
15325
15304
  let o, s;
15326
- return typeof t == "function" ? o = t(e, n) : o = t, typeof o == "string" ? s = /* @__PURE__ */ R(Pt, { children: [
15305
+ return typeof t == "function" ? o = t(e, n) : o = t, typeof o == "string" ? s = /* @__PURE__ */ R(Wt, { children: [
15327
15306
  /* @__PURE__ */ y(Rn, { icon: e ? lo : co }),
15328
15307
  /* @__PURE__ */ y("span", { children: o })
15329
15308
  ] }) : s = o, /* @__PURE__ */ y("div", { className: "dropdown-trigger", onClick: () => !n && !r && i(), children: s });
@@ -15378,7 +15357,7 @@ function b2({ label: t, onClick: e, onInternClick: n, children: r, startExpanded
15378
15357
  function c(u) {
15379
15358
  e && t ? e(typeof t == "string" ? t : t?.toString(), u) : e && e("", u), a(!s);
15380
15359
  }
15381
- return /* @__PURE__ */ R(Pt, { children: [
15360
+ return /* @__PURE__ */ R(Wt, { children: [
15382
15361
  /* @__PURE__ */ R("p", { className: "menu-label is-clickable", onClick: c, children: [
15383
15362
  /* @__PURE__ */ y(Ne, { icon: s ? lo : co, className: "mr-1" }),
15384
15363
  t
@@ -15464,7 +15443,7 @@ const Bn = ({
15464
15443
  style: { cursor: s ? "pointer" : "default" },
15465
15444
  children: [
15466
15445
  /* @__PURE__ */ R("p", { children: [
15467
- s && /* @__PURE__ */ y(Pt, { children: /* @__PURE__ */ R("span", { className: "icon mr-1", children: [
15446
+ s && /* @__PURE__ */ y(Wt, { children: /* @__PURE__ */ R("span", { className: "icon mr-1", children: [
15468
15447
  u && /* @__PURE__ */ y(Rn, { icon: RN }),
15469
15448
  !u && /* @__PURE__ */ y(Rn, { icon: cA })
15470
15449
  ] }) }),
@@ -16981,8 +16960,8 @@ function sR({
16981
16960
  }
16982
16961
  const P2 = () => /* @__PURE__ */ y("div", {});
16983
16962
  function B2(t, e) {
16984
- let n = /* @__PURE__ */ y(Pt, {});
16985
- return typeof t == "string" || typeof t == "number" || typeof t == "boolean" ? n = /* @__PURE__ */ y(Pt, { children: t }) : typeof t == "object" && (n = /* @__PURE__ */ y(Pt, { children: JSON.stringify(t, null, 2) })), /* @__PURE__ */ y("div", { children: n });
16963
+ let n = /* @__PURE__ */ y(Wt, {});
16964
+ return typeof t == "string" || typeof t == "number" || typeof t == "boolean" ? n = /* @__PURE__ */ y(Wt, { children: t }) : typeof t == "object" && (n = /* @__PURE__ */ y(Wt, { children: JSON.stringify(t, null, 2) })), /* @__PURE__ */ y("div", { children: n });
16986
16965
  }
16987
16966
  const $2 = (t, e = !0) => /* @__PURE__ */ R("div", { className: "calendar-header-cell pb-2", children: [
16988
16967
  /* @__PURE__ */ y("div", { className: "help my-1 mx-0 ", children: t.dayLong }),
@@ -17207,7 +17186,7 @@ function pR({ viewDate: t = re.now(), options: e, onDateSelected: n, onJSDateTim
17207
17186
  p = [...p, ...a(d)], d = d.plus({ weeks: 1 });
17208
17187
  return p.length < 42 && (p = [...p, ...a(d)]), p;
17209
17188
  }, [o]);
17210
- return /* @__PURE__ */ R($t, { style: { minWidth: "220px" }, children: [
17189
+ return /* @__PURE__ */ R(Bt, { style: { minWidth: "220px" }, children: [
17211
17190
  /* @__PURE__ */ R("div", { className: "is-flex is-flex-wrap-nowrap is-justify-content-center mini-calendar-header", children: [
17212
17191
  /* @__PURE__ */ y("span", { className: "mini-calendar-button", onClick: () => s(o.plus({ months: -1 })), children: /* @__PURE__ */ y(Ne, { icon: tA }) }),
17213
17192
  /* @__PURE__ */ y("div", { className: "is-flex-grow-1 is-flex-shrink-1", children: o.toFormat(c.monthFormat) }),
@@ -17426,8 +17405,8 @@ function Z9({
17426
17405
  onKeyUp: M,
17427
17406
  onSearch: L = (D, _) => D.toLowerCase().indexOf(JSON.stringify(_).toLowerCase()) !== -1,
17428
17407
  formatLabel: O = (D) => typeof D == "string" || typeof D == "number" || typeof D == "boolean" ? `${D}` : JSON.stringify(D),
17429
- formatValue: I = (D) => /* @__PURE__ */ y(Pt, { children: typeof D == "string" || typeof D == "number" || typeof D == "boolean" ? `${D}` : JSON.stringify(D) }),
17430
- formatOption: $ = (D, _) => /* @__PURE__ */ y(Pt, { children: typeof D == "string" || typeof D == "number" || typeof D == "boolean" ? `${D}` : JSON.stringify(D) })
17408
+ formatValue: I = (D) => /* @__PURE__ */ y(Wt, { children: typeof D == "string" || typeof D == "number" || typeof D == "boolean" ? `${D}` : JSON.stringify(D) }),
17409
+ formatOption: $ = (D, _) => /* @__PURE__ */ y(Wt, { children: typeof D == "string" || typeof D == "number" || typeof D == "boolean" ? `${D}` : JSON.stringify(D) })
17431
17410
  }) {
17432
17411
  let [D, _] = b.useState(le(e)), [B, j] = b.useState(O(t)), [z, F] = b.useReducer(bR, vR), [W, q] = b.useState(!1), [Y, Z] = b.useState(!1), [J, ee] = b.useState(-1), [oe, te] = b.useState(!1), [se, Te] = b.useState(!1), { defaults: Se } = b.useContext(Ze), Be = u ?? Se.input.size, U = f ?? Se.input.direction, ye = c ?? Se.input.alignment, Ee = typeof a == "string" ? a : a({ value: B, touched: oe, focused: z.focused, required: o, disabled: p, readonly: !1 }), Ae = typeof l == "string" ? l : l(B), Le = b.useRef(null), De = b.useRef(null);
17433
17412
  yR(z.focusIndex, Le, De);
@@ -24059,7 +24038,7 @@ function WL(t, e, n) {
24059
24038
  }
24060
24039
  const dr = typeof navigator < "u" ? navigator : null, J0 = typeof document < "u" ? document : null, Ii = dr && dr.userAgent || "", Jd = /Edge\/(\d+)/.exec(Ii), Lw = /MSIE \d/.exec(Ii), Zd = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(Ii), ln = !!(Lw || Zd || Jd), mi = Lw ? document.documentMode : Zd ? +Zd[1] : Jd ? +Jd[1] : 0, Gn = !ln && /gecko\/(\d+)/i.test(Ii);
24061
24040
  Gn && +(/Firefox\/(\d+)/.exec(Ii) || [0, 0])[1];
24062
- const Qd = !ln && /Chrome\/(\d+)/.exec(Ii), Wt = !!Qd, Dw = Qd ? +Qd[1] : 0, Qt = !ln && !!dr && /Apple Computer/.test(dr.vendor), Qo = Qt && (/Mobile\/\w+/.test(Ii) || !!dr && dr.maxTouchPoints > 2), Mn = Qo || (dr ? /Mac/.test(dr.platform) : !1), VL = dr ? /Win/.test(dr.platform) : !1, Lr = /Android \d/.test(Ii), Oa = !!J0 && "webkitFontSmoothing" in J0.documentElement.style, KL = Oa ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
24041
+ const Qd = !ln && /Chrome\/(\d+)/.exec(Ii), Ut = !!Qd, Dw = Qd ? +Qd[1] : 0, Qt = !ln && !!dr && /Apple Computer/.test(dr.vendor), Qo = Qt && (/Mobile\/\w+/.test(Ii) || !!dr && dr.maxTouchPoints > 2), Mn = Qo || (dr ? /Mac/.test(dr.platform) : !1), VL = dr ? /Win/.test(dr.platform) : !1, Lr = /Android \d/.test(Ii), Oa = !!J0 && "webkitFontSmoothing" in J0.documentElement.style, KL = Oa ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
24063
24042
  function GL(t) {
24064
24043
  let e = t.defaultView && t.defaultView.visualViewport;
24065
24044
  return e ? {
@@ -25281,7 +25260,7 @@ class fD {
25281
25260
  for (; e instanceof oo; )
25282
25261
  n = e, e = n.children[n.children.length - 1];
25283
25262
  (!e || // Empty textblock
25284
- !(e instanceof ku) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((Qt || Wt) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", n), this.addHackNode("BR", this.top));
25263
+ !(e instanceof ku) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((Qt || Ut) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", n), this.addHackNode("BR", this.top));
25285
25264
  }
25286
25265
  addHackNode(e, n) {
25287
25266
  if (n == this.top && this.index < n.children.length && n.children[this.index].matchesHack(e))
@@ -25457,7 +25436,7 @@ function Kw(t) {
25457
25436
  function Br(t, e = !1) {
25458
25437
  let n = t.state.selection;
25459
25438
  if (Gw(t, n), !!Kw(t)) {
25460
- if (!e && t.input.mouseDown && t.input.mouseDown.allowDefault && Wt) {
25439
+ if (!e && t.input.mouseDown && t.input.mouseDown.allowDefault && Ut) {
25461
25440
  let r = t.domSelectionRange(), i = t.domObserver.currentSelection;
25462
25441
  if (r.anchorNode && i.anchorNode && io(r.anchorNode, r.anchorOffset, i.anchorNode, i.anchorOffset)) {
25463
25442
  t.input.mouseDown.delayedSelectionSync = !0, t.domObserver.setCurSelection();
@@ -25473,7 +25452,7 @@ function Br(t, e = !1) {
25473
25452
  t.domObserver.setCurSelection(), t.domObserver.connectSelection();
25474
25453
  }
25475
25454
  }
25476
- const s1 = Qt || Wt && Dw < 63;
25455
+ const s1 = Qt || Ut && Dw < 63;
25477
25456
  function a1(t, e) {
25478
25457
  let { node: n, offset: r } = t.docView.domFromPos(e, 0), i = r < n.childNodes.length ? n.childNodes[r] : null, o = r ? n.childNodes[r - 1] : null;
25479
25458
  if (Qt && i && i.contentEditable == "false")
@@ -25701,7 +25680,7 @@ function rh(t, e, n) {
25701
25680
  }
25702
25681
  function d1(t, e) {
25703
25682
  let n = t.state.doc.resolve(e);
25704
- if (!(Wt || VL) && n.parent.inlineContent) {
25683
+ if (!(Ut || VL) && n.parent.inlineContent) {
25705
25684
  let i = t.coordsAtPos(e);
25706
25685
  if (e > n.start()) {
25707
25686
  let o = t.coordsAtPos(e - 1), s = (o.top + o.bottom) / 2;
@@ -25954,7 +25933,7 @@ function MD(t) {
25954
25933
  return n;
25955
25934
  }
25956
25935
  function ID(t) {
25957
- let e = t.querySelectorAll(Wt ? "span:not([class]):not([style])" : "span.Apple-converted-space");
25936
+ let e = t.querySelectorAll(Ut ? "span:not([class]):not([style])" : "span.Apple-converted-space");
25958
25937
  for (let n = 0; n < e.length; n++) {
25959
25938
  let r = e[n];
25960
25939
  r.childNodes.length == 1 && r.textContent == " " && r.parentNode && r.parentNode.replaceChild(t.ownerDocument.createTextNode(" "), r);
@@ -26029,7 +26008,7 @@ function _D(t, e) {
26029
26008
  }
26030
26009
  tn.keydown = (t, e) => {
26031
26010
  let n = e;
26032
- if (t.input.shiftKey = n.keyCode == 16 || n.shiftKey, !rS(t, n) && (t.input.lastKeyCode = n.keyCode, t.input.lastKeyCodeTime = Date.now(), !(Lr && Wt && n.keyCode == 13)))
26011
+ if (t.input.shiftKey = n.keyCode == 16 || n.shiftKey, !rS(t, n) && (t.input.lastKeyCode = n.keyCode, t.input.lastKeyCodeTime = Date.now(), !(Lr && Ut && n.keyCode == 13)))
26033
26012
  if (n.keyCode != 229 && t.domObserver.forceFlush(), Qo && n.keyCode == 13 && !n.ctrlKey && !n.altKey && !n.metaKey) {
26034
26013
  let r = Date.now();
26035
26014
  t.input.lastIOSEnter = r, t.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
@@ -26173,7 +26152,7 @@ class KD {
26173
26152
  // (hidden) cursor is doesn't change the selection, and
26174
26153
  // thus doesn't get a reaction from ProseMirror. This
26175
26154
  // works around that.
26176
- Wt && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (Vo(this.view, be.near(this.view.state.doc.resolve(n.pos))), e.preventDefault()) : fi(this.view, "pointer");
26155
+ Ut && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (Vo(this.view, be.near(this.view.state.doc.resolve(n.pos))), e.preventDefault()) : fi(this.view, "pointer");
26177
26156
  }
26178
26157
  move(e) {
26179
26158
  this.updateAllowDefault(e), fi(this.view, "pointer"), e.buttons == 0 && this.done();
@@ -26337,7 +26316,7 @@ en.dragstart = (t, e) => {
26337
26316
  }
26338
26317
  }
26339
26318
  let a = (s || t.state.selection).content(), { dom: l, text: c, slice: u } = _p(t, a);
26340
- (!n.dataTransfer.files.length || !Wt || Dw > 120) && n.dataTransfer.clearData(), n.dataTransfer.setData(oa ? "Text" : "text/html", l.innerHTML), n.dataTransfer.effectAllowed = "copyMove", oa || n.dataTransfer.setData("text/plain", c), t.dragging = new aS(u, lS(t, n), s);
26319
+ (!n.dataTransfer.files.length || !Ut || Dw > 120) && n.dataTransfer.clearData(), n.dataTransfer.setData(oa ? "Text" : "text/html", l.innerHTML), n.dataTransfer.effectAllowed = "copyMove", oa || n.dataTransfer.setData("text/plain", c), t.dragging = new aS(u, lS(t, n), s);
26341
26320
  };
26342
26321
  en.dragend = (t) => {
26343
26322
  let e = t.dragging;
@@ -26394,7 +26373,7 @@ en.blur = (t, e) => {
26394
26373
  t.focused && (t.domObserver.stop(), t.dom.classList.remove("ProseMirror-focused"), t.domObserver.start(), n.relatedTarget && t.dom.contains(n.relatedTarget) && t.domObserver.currentSelection.clear(), t.focused = !1);
26395
26374
  };
26396
26375
  en.beforeinput = (t, e) => {
26397
- if (Wt && Lr && e.inputType == "deleteContentBackward") {
26376
+ if (Ut && Lr && e.inputType == "deleteContentBackward") {
26398
26377
  t.domObserver.flushSoon();
26399
26378
  let { domChangeCount: r } = t.input;
26400
26379
  setTimeout(() => {
@@ -26562,7 +26541,7 @@ class et {
26562
26541
  you must make a copy if you want need to preserve that.
26563
26542
  */
26564
26543
  static create(e, n) {
26565
- return n.length ? hc(n, e, 0, Ji) : Ut;
26544
+ return n.length ? hc(n, e, 0, Ji) : jt;
26566
26545
  }
26567
26546
  /**
26568
26547
  Find all decorations in this set which touch the given range
@@ -26592,7 +26571,7 @@ class et {
26592
26571
  document.
26593
26572
  */
26594
26573
  map(e, n, r) {
26595
- return this == Ut || e.maps.length == 0 ? this : this.mapInner(e, n, 0, 0, r || Ji);
26574
+ return this == jt || e.maps.length == 0 ? this : this.mapInner(e, n, 0, 0, r || Ji);
26596
26575
  }
26597
26576
  /**
26598
26577
  @internal
@@ -26603,7 +26582,7 @@ class et {
26603
26582
  let l = this.local[a].map(e, r, i);
26604
26583
  l && l.type.valid(n, l) ? (s || (s = [])).push(l) : o.onRemove && o.onRemove(this.local[a].spec);
26605
26584
  }
26606
- return this.children.length ? eP(this.children, s || [], e, n, r, i, o) : s ? new et(s.sort(Zi), Oo) : Ut;
26585
+ return this.children.length ? eP(this.children, s || [], e, n, r, i, o) : s ? new et(s.sort(Zi), Oo) : jt;
26607
26586
  }
26608
26587
  /**
26609
26588
  Add the given array of decorations to the ones in the set,
@@ -26612,7 +26591,7 @@ class et {
26612
26591
  structure.
26613
26592
  */
26614
26593
  add(e, n) {
26615
- return n.length ? this == Ut ? et.create(e, n) : this.addInner(e, n, 0) : this;
26594
+ return n.length ? this == jt ? et.create(e, n) : this.addInner(e, n, 0) : this;
26616
26595
  }
26617
26596
  addInner(e, n, r) {
26618
26597
  let i, o = 0;
@@ -26634,7 +26613,7 @@ class et {
26634
26613
  the ones in the given array.
26635
26614
  */
26636
26615
  remove(e) {
26637
- return e.length == 0 || this == Ut ? this : this.removeInner(e, 0);
26616
+ return e.length == 0 || this == jt ? this : this.removeInner(e, 0);
26638
26617
  }
26639
26618
  removeInner(e, n) {
26640
26619
  let r = this.children, i = this.local;
@@ -26646,7 +26625,7 @@ class et {
26646
26625
  continue;
26647
26626
  r == this.children && (r = this.children.slice());
26648
26627
  let c = r[o + 2].removeInner(s, a + 1);
26649
- c != Ut ? r[o + 2] = c : (r.splice(o, 3), o -= 3);
26628
+ c != jt ? r[o + 2] = c : (r.splice(o, 3), o -= 3);
26650
26629
  }
26651
26630
  if (i.length) {
26652
26631
  for (let o = 0, s; o < e.length; o++)
@@ -26654,10 +26633,10 @@ class et {
26654
26633
  for (let a = 0; a < i.length; a++)
26655
26634
  i[a].eq(s, n) && (i == this.local && (i = this.local.slice()), i.splice(a--, 1));
26656
26635
  }
26657
- return r == this.children && i == this.local ? this : i.length || r.length ? new et(i, r) : Ut;
26636
+ return r == this.children && i == this.local ? this : i.length || r.length ? new et(i, r) : jt;
26658
26637
  }
26659
26638
  forChild(e, n) {
26660
- if (this == Ut)
26639
+ if (this == jt)
26661
26640
  return this;
26662
26641
  if (n.isLeaf)
26663
26642
  return et.empty;
@@ -26679,7 +26658,7 @@ class et {
26679
26658
  let a = new et(i.sort(Zi), Oo);
26680
26659
  return r ? new oi([a, r]) : a;
26681
26660
  }
26682
- return r || Ut;
26661
+ return r || jt;
26683
26662
  }
26684
26663
  /**
26685
26664
  @internal
@@ -26707,7 +26686,7 @@ class et {
26707
26686
  @internal
26708
26687
  */
26709
26688
  localsInner(e) {
26710
- if (this == Ut)
26689
+ if (this == jt)
26711
26690
  return Oo;
26712
26691
  if (e.inlineContent || !this.local.some(yi.is))
26713
26692
  return this.local;
@@ -26722,7 +26701,7 @@ class et {
26722
26701
  }
26723
26702
  et.empty = new et([], []);
26724
26703
  et.removeOverlap = Up;
26725
- const Ut = et.empty;
26704
+ const jt = et.empty;
26726
26705
  class oi {
26727
26706
  constructor(e) {
26728
26707
  this.members = e;
@@ -26737,7 +26716,7 @@ class oi {
26737
26716
  let r = [];
26738
26717
  for (let i = 0; i < this.members.length; i++) {
26739
26718
  let o = this.members[i].forChild(e, n);
26740
- o != Ut && (o instanceof oi ? r = r.concat(o.members) : r.push(o));
26719
+ o != jt && (o instanceof oi ? r = r.concat(o.members) : r.push(o));
26741
26720
  }
26742
26721
  return oi.from(r);
26743
26722
  }
@@ -26769,7 +26748,7 @@ class oi {
26769
26748
  static from(e) {
26770
26749
  switch (e.length) {
26771
26750
  case 0:
26772
- return Ut;
26751
+ return jt;
26773
26752
  case 1:
26774
26753
  return e[0];
26775
26754
  default:
@@ -26812,7 +26791,7 @@ function eP(t, e, n, r, i, o, s) {
26812
26791
  let d = n.map(t[c + 1] + o, -1), h = d - i, { index: p, offset: m } = r.content.findIndex(f), g = r.maybeChild(p);
26813
26792
  if (g && m == f && m + g.nodeSize == h) {
26814
26793
  let v = a[c + 2].mapInner(n, g, u + 1, t[c] + o + 1, s);
26815
- v != Ut ? (a[c] = f, a[c + 1] = h, a[c + 2] = v) : (a[c + 1] = -2, l = !0);
26794
+ v != jt ? (a[c] = f, a[c + 1] = h, a[c + 2] = v) : (a[c + 1] = -2, l = !0);
26816
26795
  } else
26817
26796
  l = !0;
26818
26797
  }
@@ -26874,13 +26853,13 @@ function hc(t, e, n, r) {
26874
26853
  if (c) {
26875
26854
  o = !0;
26876
26855
  let u = hc(c, a, n + l + 1, r);
26877
- u != Ut && i.push(l, l + a.nodeSize, u);
26856
+ u != jt && i.push(l, l + a.nodeSize, u);
26878
26857
  }
26879
26858
  });
26880
26859
  let s = cS(o ? fS(t) : t, -n).sort(Zi);
26881
26860
  for (let a = 0; a < s.length; a++)
26882
26861
  s[a].type.valid(e, s[a]) || (r.onRemove && r.onRemove(s[a].spec), s.splice(a--, 1));
26883
- return s.length || i.length ? new et(s, i) : Ut;
26862
+ return s.length || i.length ? new et(s, i) : jt;
26884
26863
  }
26885
26864
  function Zi(t, e) {
26886
26865
  return t.from - e.from || t.to - e.to;
@@ -26912,7 +26891,7 @@ function If(t) {
26912
26891
  let e = [];
26913
26892
  return t.someProp("decorations", (n) => {
26914
26893
  let r = n(t.state);
26915
- r && r != Ut && e.push(r);
26894
+ r && r != jt && e.push(r);
26916
26895
  }), t.cursorWrapper && e.push(et.create(t.state.doc, [t.cursorWrapper.deco])), oi.from(e);
26917
26896
  }
26918
26897
  const nP = {
@@ -27113,7 +27092,7 @@ function lP(t, e) {
27113
27092
  }
27114
27093
  function cP(t, e, n) {
27115
27094
  let { node: r, fromOffset: i, toOffset: o, from: s, to: a } = t.docView.parseRange(e, n), l = t.domSelectionRange(), c, u = l.anchorNode;
27116
- if (u && t.dom.contains(u.nodeType == 1 ? u : u.parentNode) && (c = [{ node: u, offset: l.anchorOffset }], Eu(l) || c.push({ node: l.focusNode, offset: l.focusOffset })), Wt && t.input.lastKeyCode === 8)
27095
+ if (u && t.dom.contains(u.nodeType == 1 ? u : u.parentNode) && (c = [{ node: u, offset: l.anchorOffset }], Eu(l) || c.push({ node: l.focusNode, offset: l.focusOffset })), Ut && t.input.lastKeyCode === 8)
27117
27096
  for (let g = o; g > i; g--) {
27118
27097
  let v = r.childNodes[g - 1], S = v.pmViewDesc;
27119
27098
  if (v.nodeName == "BR" && !S) {
@@ -27160,7 +27139,7 @@ function dP(t, e, n, r, i) {
27160
27139
  if (t.input.compositionPendingChanges = 0, e < 0) {
27161
27140
  let N = t.input.lastSelectionTime > Date.now() - 50 ? t.input.lastSelectionOrigin : null, A = Bp(t, N);
27162
27141
  if (A && !t.state.selection.eq(A)) {
27163
- if (Wt && Lr && t.input.lastKeyCode === 13 && Date.now() - 100 < t.input.lastKeyCodeTime && t.someProp("handleKeyDown", (M) => M(t, Wi(13, "Enter"))))
27142
+ if (Ut && Lr && t.input.lastKeyCode === 13 && Date.now() - 100 < t.input.lastKeyCodeTime && t.someProp("handleKeyDown", (M) => M(t, Wi(13, "Enter"))))
27164
27143
  return;
27165
27144
  let T = t.state.tr.setSelection(A);
27166
27145
  N == "pointer" ? T.setMeta("pointer", !0) : N == "key" && T.scrollIntoView(), o && T.setMeta("composition", o), t.dispatch(T);
@@ -27196,10 +27175,10 @@ function dP(t, e, n, r, i) {
27196
27175
  return;
27197
27176
  }
27198
27177
  if (t.state.selection.anchor > p.start && pP(u, p.start, p.endA, m, g) && t.someProp("handleKeyDown", (N) => N(t, Wi(8, "Backspace")))) {
27199
- Lr && Wt && t.domObserver.suppressSelectionUpdates();
27178
+ Lr && Ut && t.domObserver.suppressSelectionUpdates();
27200
27179
  return;
27201
27180
  }
27202
- Wt && p.endB == p.start && (t.input.lastChromeDelete = Date.now()), Lr && !S && m.start() != g.start() && g.parentOffset == 0 && m.depth == g.depth && c.sel && c.sel.anchor == c.sel.head && c.sel.head == p.endA && (p.endB -= 2, g = c.doc.resolveNoCache(p.endB - c.from), setTimeout(() => {
27181
+ Ut && p.endB == p.start && (t.input.lastChromeDelete = Date.now()), Lr && !S && m.start() != g.start() && g.parentOffset == 0 && m.depth == g.depth && c.sel && c.sel.anchor == c.sel.head && c.sel.head == p.endA && (p.endB -= 2, g = c.doc.resolveNoCache(p.endB - c.from), setTimeout(() => {
27203
27182
  t.someProp("handleKeyDown", function(N) {
27204
27183
  return N(t, Wi(13, "Enter"));
27205
27184
  });
@@ -27208,7 +27187,7 @@ function dP(t, e, n, r, i) {
27208
27187
  let A = N || t.state.tr.replace(E, w, c.doc.slice(p.start - c.from, p.endB - c.from));
27209
27188
  if (c.sel) {
27210
27189
  let T = E1(t, A.doc, c.sel);
27211
- T && !(Wt && t.composing && T.empty && (p.start != p.endB || t.input.lastChromeDelete < Date.now() - 100) && (T.head == E || T.head == A.mapping.map(w) - 1) || ln && T.empty && T.head == E) && A.setSelection(T);
27190
+ T && !(Ut && t.composing && T.empty && (p.start != p.endB || t.input.lastChromeDelete < Date.now() - 100) && (T.head == E || T.head == A.mapping.map(w) - 1) || ln && T.empty && T.head == E) && A.setSelection(T);
27212
27191
  }
27213
27192
  return o && A.setMeta("composition", o), A.scrollIntoView();
27214
27193
  }, x;
@@ -27380,9 +27359,9 @@ class dS {
27380
27359
  let d = u == "preserve" && s && this.dom.style.overflowAnchor == null && YL(this);
27381
27360
  if (s) {
27382
27361
  this.domObserver.stop();
27383
- let h = f && (ln || Wt) && !this.composing && !i.selection.empty && !e.selection.empty && gP(i.selection, e.selection);
27362
+ let h = f && (ln || Ut) && !this.composing && !i.selection.empty && !e.selection.empty && gP(i.selection, e.selection);
27384
27363
  if (f) {
27385
- let p = Wt ? this.trackWrites = this.domSelectionRange().focusNode : null;
27364
+ let p = Ut ? this.trackWrites = this.domSelectionRange().focusNode : null;
27386
27365
  this.composing && (this.input.compositionNode = qD(this)), (o || !this.docView.update(e.doc, c, l, this)) && (this.docView.updateOuterDeco(c), this.docView.destroy(), this.docView = i1(e.doc, c, l, this.dom, this)), p && !this.trackWrites && (h = !0);
27387
27366
  }
27388
27367
  h || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && bD(this)) ? Br(this, h) : (Gw(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
@@ -35282,7 +35261,7 @@ var o$ = (...t) => (e) => {
35282
35261
  t.getSnapshot,
35283
35262
  t.getServerSnapshot
35284
35263
  );
35285
- return /* @__PURE__ */ y(Pt, { children: Object.values(e) });
35264
+ return /* @__PURE__ */ y(Wt, { children: Object.values(e) });
35286
35265
  };
35287
35266
  function a$() {
35288
35267
  const t = /* @__PURE__ */ new Set();
@@ -35369,7 +35348,7 @@ var l$ = class extends b.Component {
35369
35348
  }
35370
35349
  render() {
35371
35350
  const { editor: t, innerRef: e, ...n } = this.props;
35372
- return /* @__PURE__ */ R(Pt, { children: [
35351
+ return /* @__PURE__ */ R(Wt, { children: [
35373
35352
  /* @__PURE__ */ y("div", { ref: o$(e, this.editorContentRef), ...n }),
35374
35353
  t?.contentComponent && /* @__PURE__ */ y(s$, { contentComponent: t.contentComponent })
35375
35354
  ] });
@@ -40206,7 +40185,7 @@ function W8({ editor: t, size: e }) {
40206
40185
  ] });
40207
40186
  }
40208
40187
  function V8({ editor: t, size: e }) {
40209
- return /* @__PURE__ */ R(Pt, { children: [
40188
+ return /* @__PURE__ */ R(Wt, { children: [
40210
40189
  /* @__PURE__ */ y(Ye, { size: e, children: /* @__PURE__ */ y(Ye.OnOffItem, { onToggle: () => t.chain().focus().insertTable({ rows: 3, cols: 3, withHeaderRow: !0 }).run(), title: "Nieuwe tabel", children: /* @__PURE__ */ y(Ne, { icon: MN }) }) }),
40211
40190
  /* @__PURE__ */ y(uk, {})
40212
40191
  ] });
@@ -43000,7 +42979,7 @@ const Il = [
43000
42979
  }))
43001
42980
  )
43002
42981
  ];
43003
- class jt {
42982
+ class Ht {
43004
42983
  /** constructor - private zodate je hem __NIET__ gaat gebruiken */
43005
42984
  constructor() {
43006
42985
  throw new Error("TR: This class is static, abstract and may not be instantiated or extended!");
@@ -43016,13 +42995,13 @@ class jt {
43016
42995
  * @returns Het resultaat of een error
43017
42996
  */
43018
42997
  static async get({ url: e, options: n = void 0, params: r = void 0 }) {
43019
- let i, o, s, a = jt._getOptions(n), { log: l, revive: c, deserializer: u, ...f } = a;
42998
+ let i, o, s, a = Ht._getOptions(n), { log: l, revive: c, deserializer: u, ...f } = a;
43020
42999
  try {
43021
- return e = jt.createUrlWithParams(e, r), o = await fetch(e, { method: "GET", ...f }), i = await jt.handleResponse(o, l, c, u), i;
43000
+ return e = Ht.createUrlWithParams(e, r), o = await fetch(e, { method: "GET", ...f }), i = await Ht.handleResponse(o, l, c, u), i;
43022
43001
  } catch (d) {
43023
43002
  throw s = d, new Error(`[GET ] ${e}`, { cause: d });
43024
43003
  } finally {
43025
- l && jt.handleLog({
43004
+ l && Ht.handleLog({
43026
43005
  method: "GET",
43027
43006
  url: e,
43028
43007
  result: i,
@@ -43042,13 +43021,13 @@ class jt {
43042
43021
  * @returns Het resultaat of een error
43043
43022
  */
43044
43023
  static async post({ url: e, body: n, options: r = void 0 }) {
43045
- let i, o, s, a = jt._getOptions(r), { log: l, revive: c, deserializer: u, serializer: f, ...d } = a;
43024
+ let i, o, s, a = Ht._getOptions(r), { log: l, revive: c, deserializer: u, serializer: f, ...d } = a;
43046
43025
  try {
43047
- return typeof n != "string" && (n = f(n)), o = await fetch(e, { method: "POST", body: n, ...d }), i = await jt.handleResponse(o, l, c, u), i;
43026
+ return typeof n != "string" && (n = f(n)), o = await fetch(e, { method: "POST", body: n, ...d }), i = await Ht.handleResponse(o, l, c, u), i;
43048
43027
  } catch (h) {
43049
43028
  throw s = h, new Error(`[POST] ${e}`, { cause: h });
43050
43029
  } finally {
43051
- l && jt.handleLog({
43030
+ l && Ht.handleLog({
43052
43031
  method: "POST",
43053
43032
  url: e,
43054
43033
  result: i,
@@ -43068,13 +43047,13 @@ class jt {
43068
43047
  * @returns Het resultaat of een error
43069
43048
  */
43070
43049
  static async put({ url: e, body: n, options: r = void 0 }) {
43071
- let i, o, s, a = jt._getOptions(r), { log: l, revive: c, deserializer: u, serializer: f, ...d } = a;
43050
+ let i, o, s, a = Ht._getOptions(r), { log: l, revive: c, deserializer: u, serializer: f, ...d } = a;
43072
43051
  try {
43073
- return typeof n != "string" && (n = f(n)), o = await fetch(e, { method: "PUT", body: n, ...d }), i = await jt.handleResponse(o, l, c, u), i;
43052
+ return typeof n != "string" && (n = f(n)), o = await fetch(e, { method: "PUT", body: n, ...d }), i = await Ht.handleResponse(o, l, c, u), i;
43074
43053
  } catch (h) {
43075
43054
  throw s = h, new Error(`[PUT] ${e}`, { cause: h });
43076
43055
  } finally {
43077
- l && jt.handleLog({
43056
+ l && Ht.handleLog({
43078
43057
  method: "PUT",
43079
43058
  url: e,
43080
43059
  result: i,
@@ -43093,13 +43072,13 @@ class jt {
43093
43072
  * @returns Het resultaat of een error
43094
43073
  */
43095
43074
  static async del({ url: e, params: n = void 0, options: r = void 0 }) {
43096
- let i, o, s, a = jt._getOptions(r), { log: l, revive: c, deserializer: u, ...f } = a;
43075
+ let i, o, s, a = Ht._getOptions(r), { log: l, revive: c, deserializer: u, ...f } = a;
43097
43076
  try {
43098
- return e = jt.createUrlWithParams(e, n), o = await fetch(e, { method: "DEL", ...f }), i = await jt.handleResponse(o, l, c, u), i;
43077
+ return e = Ht.createUrlWithParams(e, n), o = await fetch(e, { method: "DEL", ...f }), i = await Ht.handleResponse(o, l, c, u), i;
43099
43078
  } catch (d) {
43100
43079
  throw s = d, new Error(`[DEL ] ${e}`, { cause: d });
43101
43080
  } finally {
43102
- l && !l && jt.handleLog({
43081
+ l && !l && Ht.handleLog({
43103
43082
  method: "DELETE",
43104
43083
  url: e,
43105
43084
  result: i,
@@ -43162,7 +43141,7 @@ class jt {
43162
43141
  let o, s;
43163
43142
  try {
43164
43143
  if (e.ok)
43165
- o = await jt.handleDeserialize(e, r, i);
43144
+ o = await Ht.handleDeserialize(e, r, i);
43166
43145
  else
43167
43146
  throw Ve.Error(e), new Error(`Request Status: [${e.status}] ${e.statusText}`);
43168
43147
  return o;
@@ -43224,7 +43203,7 @@ export {
43224
43203
  r9 as AspectRatio,
43225
43204
  hu as BaseInput,
43226
43205
  i9 as Block,
43227
- $t as BorderBox,
43206
+ Bt as BorderBox,
43228
43207
  Lh as Box,
43229
43208
  kF as BulmaBreakpoints,
43230
43209
  ae as Button,
@@ -43260,7 +43239,7 @@ export {
43260
43239
  jo as Dropdown,
43261
43240
  nz as EmailInput,
43262
43241
  l9 as EvMv,
43263
- jt as FetchWrapper,
43242
+ Ht as FetchWrapper,
43264
43243
  mz as FileInput,
43265
43244
  E9 as Footer,
43266
43245
  cz as FormattedInput,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "loon-bulma-react",
3
3
  "private": false,
4
- "version": "2026.0.4",
4
+ "version": "2026.0.5",
5
5
  "description": "Bulma &amp; React componenten voor Loon Salarissoftware",
6
6
  "type": "module",
7
7
  "license": "MIT",
@@ -13,6 +13,7 @@
13
13
  "README.md"
14
14
  ],
15
15
  "scripts": {
16
+ "publish": "npm login && npm publish",
16
17
  "dev": "vite --config vite.build.config.ts",
17
18
  "build": "npm run lib:build && npm run app:build",
18
19
  "lib:build": "tsc --project ./tsconfig.build.json && vite build --config vite.build.config.ts",
@@ -63,19 +64,19 @@
63
64
  "react-syntax-highlighter": "^16.1.0"
64
65
  },
65
66
  "devDependencies": {
66
- "@eslint/compat": "^2.0.1",
67
+ "@eslint/compat": "^2.0.2",
67
68
  "@eslint/eslintrc": "^3.3.3",
68
69
  "@eslint/js": "^9.39.2",
69
70
  "@testing-library/jest-dom": "^6.9.1",
70
71
  "@testing-library/react": "^16.3.2",
71
72
  "@testing-library/user-event": "^14.6.1",
72
- "@types/node": "^25.1.0",
73
+ "@types/node": "^25.2.0",
73
74
  "@types/react": "^19.2.10",
74
75
  "@types/react-dom": "^19.2.3",
75
76
  "@types/react-is": "^19.2.0",
76
77
  "@types/react-syntax-highlighter": "^15.5.13",
77
78
  "@typescript-eslint/parser": "^8.54.0",
78
- "@vitejs/plugin-react-swc": "^4.2.2",
79
+ "@vitejs/plugin-react-swc": "^4.2.3",
79
80
  "@vitest/ui": "^4.0.18",
80
81
  "eslint": "^9.39.2",
81
82
  "eslint-config-prettier": "^10.1.8",
@@ -85,10 +86,10 @@
85
86
  "eslint-plugin-promise": "^7.2.1",
86
87
  "eslint-plugin-react": "^7.37.5",
87
88
  "eslint-plugin-react-hooks": "^7.0.1",
88
- "eslint-plugin-react-refresh": "^0.4.26",
89
+ "eslint-plugin-react-refresh": "^0.5.0",
89
90
  "eslint-plugin-standard": "^5.0.0",
90
91
  "eslint-plugin-testing-library": "^7.15.4",
91
- "globals": "^17.2.0",
92
+ "globals": "^17.3.0",
92
93
  "happy-dom": "^20.4.0",
93
94
  "prettier": "^3.8.1",
94
95
  "react": "^19.2.4",