wcz-layout 7.6.2 → 7.6.4
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/DialogsContext-BIhId-r8.js.map +1 -1
- package/dist/components/core/navigation/NavigationList.d.ts +1 -6
- package/dist/components.js +16 -15
- package/dist/components.js.map +1 -1
- package/dist/contexts/DialogsContext.d.ts +1 -1
- package/dist/exports/hooks.d.ts +3 -3
- package/dist/exports/utils.d.ts +1 -1
- package/dist/hooks/useTheme.d.ts +1 -0
- package/dist/hooks.js +5 -5
- package/dist/hooks.js.map +1 -1
- package/dist/index.js +338 -340
- package/dist/index.js.map +1 -1
- package/dist/models/Navigation.d.ts +7 -8
- package/dist/{queries-D-DV5lCw.js → queries-D8Ys1kLs.js} +370 -375
- package/dist/{queries-D-DV5lCw.js.map → queries-D8Ys1kLs.js.map} +1 -1
- package/dist/query.js +1 -1
- package/dist/{DialogsHooks-CZVdKmPv.js → useDialogs-CX8kuAuA.js} +3 -2
- package/dist/useDialogs-CX8kuAuA.js.map +1 -0
- package/dist/utils.js +14 -14
- package/package.json +9 -9
- package/skills/template-init.md +146 -0
- package/dist/DialogsHooks-CZVdKmPv.js.map +0 -1
- package/dist/lib/theme.d.ts +0 -1
- /package/dist/hooks/{DialogsHooks.d.ts → useDialogs.d.ts} +0 -0
- /package/dist/hooks/{FormHooks.d.ts → useForm.d.ts} +0 -0
package/dist/exports/hooks.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { useFieldContext, useFormContext, useLayoutForm, withLayoutForm } from '../hooks/
|
|
2
|
-
export { useDialogs } from '../hooks/
|
|
3
|
-
export type { DialogProps } from '../hooks/
|
|
1
|
+
export { useFieldContext, useFormContext, useLayoutForm, withLayoutForm } from '../hooks/useForm';
|
|
2
|
+
export { useDialogs } from '../hooks/useDialogs';
|
|
3
|
+
export type { DialogProps } from '../hooks/useDialogs';
|
|
4
4
|
export { useNotification } from '../hooks/UseNotification';
|
|
5
5
|
export { useInView } from 'react-intersection-observer';
|
|
6
6
|
export { useTranslation } from 'react-i18next';
|
package/dist/exports/utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { createEnv } from '@t3-oss/env-core';
|
|
2
|
-
export { t } from 'i18next';
|
|
2
|
+
export { default as i18next, t } from 'i18next';
|
|
3
3
|
export { uuidv7 } from 'uuidv7';
|
|
4
4
|
export { getAccessToken } from '../lib/auth/msalClient';
|
|
5
5
|
export { getAppToken, getTokenOnBehalfOf } from '../lib/auth/msalServer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useTheme(locale: string): import('@mui/material').Theme;
|
package/dist/hooks.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./NotificationContext-DovR_auQ.js";
|
|
2
2
|
import { a as t } from "./utils-C4oJ0tr5.js";
|
|
3
|
-
import { n, t as r } from "./
|
|
3
|
+
import { n, t as r } from "./useDialogs-CX8kuAuA.js";
|
|
4
4
|
import { c as i } from "react/compiler-runtime";
|
|
5
5
|
import { Autocomplete as a, Button as o, Checkbox as s, FormControl as c, FormControlLabel as l, FormHelperText as u, FormLabel as d, Radio as f, RadioGroup as p, Slider as m, Switch as h, TextField as g } from "@mui/material";
|
|
6
6
|
import { useTranslation as _ } from "react-i18next";
|
|
@@ -688,7 +688,7 @@ function Oe(e, t, n) {
|
|
|
688
688
|
var _ = function(e, t, n) {
|
|
689
689
|
var r = !1, i = !1;
|
|
690
690
|
a.startsWith("-") ? r = !1 : e.startsWith("--") ? (r = !1, i = !0) : o.startsWith("-") && e.length === o.length ? r = !1 : e[0] === "-" && (r = !0);
|
|
691
|
-
var s = r
|
|
691
|
+
var s = +!!r;
|
|
692
692
|
return i && (s = 2), s && (e = e.substring(s), t -= s, n -= s), {
|
|
693
693
|
value: e,
|
|
694
694
|
start: t,
|
|
@@ -718,7 +718,7 @@ function ke(e, t) {
|
|
|
718
718
|
var i = Array.from({ length: e.length + 1 }).map(function() {
|
|
719
719
|
return !0;
|
|
720
720
|
}), a = e[0] === "-";
|
|
721
|
-
i.fill(!1, 0, Math.min(n.length +
|
|
721
|
+
i.fill(!1, 0, Math.min(n.length + +!!a, e.length));
|
|
722
722
|
var o = e.length;
|
|
723
723
|
return i.fill(!1, o - r.length + 1, o + 1), i;
|
|
724
724
|
}
|
|
@@ -1033,8 +1033,8 @@ var qe = (e) => {
|
|
|
1033
1033
|
let M = j, N;
|
|
1034
1034
|
t[6] !== g || t[7] !== S || t[8] !== s || t[9] !== c || t[10] !== v ? (N = () => {
|
|
1035
1035
|
clearTimeout(A.current);
|
|
1036
|
-
let e = k.current.map(Je).slice(1).reduce(Ye, 0) / (k.current.length - 1), t = k.current.slice(v.length > 0
|
|
1037
|
-
e <= g && k.current.slice(v.length > 0
|
|
1036
|
+
let e = k.current.map(Je).slice(1).reduce(Ye, 0) / (k.current.length - 1), t = k.current.slice(+(v.length > 0)).filter(Xe).map(Ze).join("");
|
|
1037
|
+
e <= g && k.current.slice(+(v.length > 0)).length >= S ? s(t) : e <= g && c && c(t), M();
|
|
1038
1038
|
}, t[6] = g, t[7] = S, t[8] = s, t[9] = c, t[10] = v, t[11] = N) : N = t[11];
|
|
1039
1039
|
let P = N, F;
|
|
1040
1040
|
t[12] !== D || t[13] !== x || t[14] !== P || t[15] !== u || t[16] !== T || t[17] !== v || t[18] !== w || t[19] !== h ? (F = (e) => {
|