@declarion/react 0.2.4 → 0.2.6

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-lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { $ as e, $t as t, A as n, At as r, B as i, Bt as a, C as o, Ct as s, D as c, Dt as l, E as u, Et as d, F as f, Ft as p, G as m, Gt as h, H as g, Ht as _, I as v, It as y, J as b, Jt as x, K as S, Kt as C, L as w, Lt as T, M as E, Mt as D, N as O, Nt as k, O as A, Ot as j, P as M, Pt as N, Q as P, Qt as F, R as I, Rt as L, S as ee, St as te, T as ne, Tt as re, U as ie, Ut as ae, V as R, Vt as oe, W as se, Wt as ce, X as le, Xt as z, Y as ue, Yt as B, Z as de, Zt as V, _ as fe, _t as pe, a as H, at as me, b as he, bt as ge, c as _e, ct as ve, d as ye, dt as be, et as xe, f as Se, ft as Ce, g as U, gt as W, h as we, ht as Te, i as Ee, it as De, j as Oe, jt as ke, k as Ae, kt as je, l as Me, lt as Ne, m as Pe, mt as Fe, n as Ie, nt as Le, o as Re, ot as ze, p as Be, pt as Ve, q as He, qt as Ue, r as We, rt as Ge, s as Ke, st as qe, t as Je, tt as Ye, u as Xe, ut as Ze, v as Qe, vt as $e, w as et, wt as tt, x as nt, xt as rt, y as it, yt as at, z as ot, zt as st } from "./dataTableStyles-B40JEa-3.js";
1
+ import { $ as e, $t as t, A as n, At as r, B as i, Bt as a, C as o, Ct as s, D as c, Dt as l, E as u, Et as d, F as f, Ft as p, G as m, Gt as h, H as g, Ht as _, I as v, It as y, J as b, Jt as x, K as S, Kt as C, L as w, Lt as T, M as E, Mt as D, N as O, Nt as k, O as A, Ot as j, P as M, Pt as N, Q as P, Qt as F, R as I, Rt as L, S as ee, St as te, T as ne, Tt as re, U as ie, Ut as ae, V as R, Vt as oe, W as se, Wt as ce, X as le, Xt as z, Y as ue, Yt as B, Z as de, Zt as V, _ as fe, _t as pe, a as H, at as me, b as he, bt as ge, c as _e, ct as ve, d as ye, dt as be, et as xe, f as Se, ft as Ce, g as U, gt as W, h as we, ht as Te, i as Ee, it as De, j as Oe, jt as ke, k as Ae, kt as je, l as Me, lt as Ne, m as Pe, mt as Fe, n as Ie, nt as Le, o as Re, ot as ze, p as Be, pt as Ve, q as He, qt as Ue, r as We, rt as Ge, s as Ke, st as qe, t as Je, tt as Ye, u as Xe, ut as Ze, v as Qe, vt as $e, w as et, wt as tt, x as nt, xt as rt, y as it, yt as at, z as ot, zt as st } from "./dataTableStyles-4q9A0Djy.js";
2
2
  import { A as ct, B as lt, C as ut, D as dt, F as ft, H as pt, I as mt, L as ht, M as gt, N as _t, O as vt, P as yt, R as bt, S as xt, T as St, U as Ct, V as wt, W as Tt, _ as Et, a as Dt, b as Ot, j as kt, o as At, s as jt, v as Mt, x as Nt, y as Pt } from "./value-qao1rdkR.js";
3
3
  import { Component as Ft, Fragment as It, Suspense as Lt, createContext as Rt, createElement as zt, lazy as Bt, useCallback as G, useContext as Vt, useEffect as K, useLayoutEffect as Ht, useMemo as q, useRef as J, useState as Y } from "react";
4
4
  import { BrowserRouter as Ut, Link as Wt, Navigate as Gt, Outlet as Kt, Route as qt, Routes as Jt, useLocation as Yt, useLocation as Xt, useNavigate as Zt, useNavigate as Qt, useParams as $t, useParams as en, useSearchParams as tn, useSearchParams as nn } from "react-router-dom";
@@ -6825,6 +6825,12 @@ function Ao({ size: e = 14 }) {
6825
6825
  var jo = new Set(["/preferences", "/admin/catalog"]);
6826
6826
  function Mo(e) {
6827
6827
  if (!e?.navigation) return null;
6828
+ let t = e.areas ?? [];
6829
+ if (t.length > 0) for (let n of t) for (let t of e.navigation) {
6830
+ if ((t.area || "default") !== n.code) continue;
6831
+ let r = Io(e, t);
6832
+ if (r) return r;
6833
+ }
6828
6834
  for (let t of e.navigation) {
6829
6835
  let n = Io(e, t);
6830
6836
  if (n) return n;
@@ -16793,7 +16799,7 @@ function pd({ config: e, childEntity: t, schema: n, rows: r, onChange: i, valida
16793
16799
  }
16794
16800
  //#endregion
16795
16801
  //#region src/components/detail-layout/ChildrenBlock.tsx
16796
- var md = Bt(() => import("./DraggableChildrenTable-BFkRqNSe.js").then((e) => ({ default: e.DraggableChildrenTable })));
16802
+ var md = Bt(() => import("./DraggableChildrenTable-BKQNXZdc.js").then((e) => ({ default: e.DraggableChildrenTable })));
16797
16803
  function hd({ node: e, ctx: t }) {
16798
16804
  let n = e.children;
16799
16805
  if (!n || t.isNew && t.mode !== "edit") return null;
@@ -19156,7 +19162,7 @@ var pf = [
19156
19162
  () => import("./MarkdownRenderer-Dl3GDuY9.js"),
19157
19163
  () => import("./JsonEditor-CexL5HXN.js"),
19158
19164
  () => import("./Grid-pE2-dvug.js"),
19159
- () => import("./DraggableChildrenTable-BFkRqNSe.js")
19165
+ () => import("./DraggableChildrenTable-BKQNXZdc.js")
19160
19166
  ];
19161
19167
  function mf() {
19162
19168
  for (let e of pf) e().catch(() => {});