@moser-inc/moser-labs-react 3.1.0 → 3.1.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.
@@ -5,7 +5,7 @@ import * as C from "react";
5
5
  import To, { useContext as Yn, useState as qa, useRef as Wt, useEffect as On, useMemo as Nr, forwardRef as eu, useCallback as sn, createContext as ho, useLayoutEffect as XT, useId as V1, useInsertionEffect as Bw, Children as JT, isValidElement as QT, Fragment as Hw, createElement as Uw, Component as eP, Suspense as tP } from "react";
6
6
  import { Outlet as nP } from "react-router-dom";
7
7
  import Yu from "react-dom";
8
- const rP = "3.1.0", OY = rP;
8
+ const rP = "3.1.1", OY = rP;
9
9
  var la = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
10
10
  function Xa(e) {
11
11
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -27781,7 +27781,7 @@ var cc = dj(), _r = {
27781
27781
  DATE_AFTER: "dateAfter"
27782
27782
  };
27783
27783
  /**
27784
- * @vue/shared v3.5.15
27784
+ * @vue/shared v3.5.16
27785
27785
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
27786
27786
  * @license MIT
27787
27787
  **/
@@ -27887,7 +27887,7 @@ const N9 = (e) => !!(e && e.__v_isRef === !0), ao = (e) => En(e) ? e : e == null
27887
27887
  );
27888
27888
  };
27889
27889
  /**
27890
- * @vue/reactivity v3.5.15
27890
+ * @vue/reactivity v3.5.16
27891
27891
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
27892
27892
  * @license MIT
27893
27893
  **/
@@ -28973,7 +28973,7 @@ function sa(e, t = 1 / 0, n) {
28973
28973
  return e;
28974
28974
  }
28975
28975
  /**
28976
- * @vue/runtime-core v3.5.15
28976
+ * @vue/runtime-core v3.5.16
28977
28977
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
28978
28978
  * @license MIT
28979
28979
  **/
@@ -32918,11 +32918,11 @@ function GB() {
32918
32918
  }
32919
32919
  window.devtoolsFormatters ? window.devtoolsFormatters.push(i) : window.devtoolsFormatters = [i];
32920
32920
  }
32921
- const E4 = "3.5.15", Bi = process.env.NODE_ENV !== "production" ? Ue : nr;
32921
+ const E4 = "3.5.16", Bi = process.env.NODE_ENV !== "production" ? Ue : nr;
32922
32922
  process.env.NODE_ENV;
32923
32923
  process.env.NODE_ENV;
32924
32924
  /**
32925
- * @vue/runtime-dom v3.5.15
32925
+ * @vue/runtime-dom v3.5.16
32926
32926
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
32927
32927
  * @license MIT
32928
32928
  **/
@@ -33630,7 +33630,7 @@ function AH(e) {
33630
33630
  ), e;
33631
33631
  }
33632
33632
  /**
33633
- * vue v3.5.15
33633
+ * vue v3.5.16
33634
33634
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
33635
33635
  * @license MIT
33636
33636
  **/
@@ -37727,13 +37727,13 @@ const w7 = ho(null), zY = ({
37727
37727
  })();
37728
37728
  }, [e, t]);
37729
37729
  const s = Nr(() => !!i, [i]), l = sn(
37730
- (d) => d ? (Array.isArray(d) ? d : [d]).every((y) => {
37730
+ (d) => d != null && d.length ? (Array.isArray(d) ? d : [d]).every((y) => {
37731
37731
  var g;
37732
37732
  return ((g = i == null ? void 0 : i.roles) == null ? void 0 : g.includes(y)) ?? !1;
37733
37733
  }) : !0,
37734
37734
  [i]
37735
37735
  ), c = sn(
37736
- (d) => d ? (Array.isArray(d) ? d : [d]).some((y) => {
37736
+ (d) => d != null && d.length ? (Array.isArray(d) ? d : [d]).some((y) => {
37737
37737
  var g;
37738
37738
  return ((g = i == null ? void 0 : i.roles) == null ? void 0 : g.includes(y)) ?? !1;
37739
37739
  }) : !0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moser-inc/moser-labs-react",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "React components for the Moser Labs suite of applications.",
5
5
  "repository": {
6
6
  "type": "git",