@gouvfr-lasuite/ui-kit 0.1.6 → 0.1.7
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/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -16264,14 +16264,15 @@ const sa = (t) => t ? t.nodeType === qe.SEPARATOR : !1, ua = (t) => t ? t.nodeTy
|
|
|
16264
16264
|
return;
|
|
16265
16265
|
}
|
|
16266
16266
|
let N = I.value.children ?? null;
|
|
16267
|
-
|
|
16268
|
-
|
|
16267
|
+
const A = P.childrenCount ?? I.value.childrenCount ?? 0;
|
|
16268
|
+
(N == null ? void 0 : N.length) === 0 && A > 0 && (N = null), P.children && (N = [...N ?? [], ...P.children]);
|
|
16269
|
+
const L = {
|
|
16269
16270
|
...I.value,
|
|
16270
16271
|
...P,
|
|
16271
16272
|
children: N,
|
|
16272
|
-
childrenCount: (N == null ? void 0 : N.length) ??
|
|
16273
|
+
childrenCount: (N == null ? void 0 : N.length) ?? A
|
|
16273
16274
|
};
|
|
16274
|
-
i(j,
|
|
16275
|
+
i(j, L), I.parentKey && O(I.parentKey, j, P);
|
|
16275
16276
|
}, $ = (j) => {
|
|
16276
16277
|
const P = c(j), I = P == null ? void 0 : P.parentKey;
|
|
16277
16278
|
I && P && J(I, P.value.id), r(j);
|