maquinaweb-ui 2.44.0 → 2.45.0
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/container-animation.d.ts +2 -2
- package/dist/date-field.d.ts +2 -2
- package/dist/input-suggest.d.ts +2 -2
- package/dist/input-suggest.d.ts.map +1 -1
- package/dist/page-header.d.ts +2 -2
- package/dist/remote-selector.d.ts +3 -3
- package/dist/split-text-poor.d.ts.map +1 -1
- package/dist/system-switcher.d.ts +5 -5
- package/dist/system-switcher.d.ts.map +1 -1
- package/dist/system-switcher.js +15 -5
- package/dist/system-switcher.js.map +1 -1
- package/dist/text-field.d.ts +5 -5
- package/dist/toggle-field.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps, ElementType } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/container-animation/container-animation.d.ts
|
|
5
5
|
type ContainerAnimationProps<T extends ElementType = 'div'> = ComponentProps<'div'> & ComponentProps<T> & {
|
|
@@ -23,7 +23,7 @@ declare const ContainerAnimation: <T extends ElementType = "div">({
|
|
|
23
23
|
distance,
|
|
24
24
|
hideNotInView,
|
|
25
25
|
...props
|
|
26
|
-
}: ContainerAnimationProps<T>) =>
|
|
26
|
+
}: ContainerAnimationProps<T>) => react_jsx_runtime1.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { ContainerAnimation, type ContainerAnimationProps };
|
|
29
29
|
//# sourceMappingURL=container-animation.d.ts.map
|
package/dist/date-field.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldPath, FieldValues, UseControllerProps } from "react-hook-form";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import { Matcher } from "react-day-picker";
|
|
4
4
|
|
|
5
5
|
//#region src/components/date-field/DateField.d.ts
|
|
@@ -29,7 +29,7 @@ declare function DateField<TFieldValues extends FieldValues = FieldValues, TFiel
|
|
|
29
29
|
required,
|
|
30
30
|
help,
|
|
31
31
|
dateOnly
|
|
32
|
-
}: DateFieldProps<TFieldValues, TFieldName>):
|
|
32
|
+
}: DateFieldProps<TFieldValues, TFieldName>): react_jsx_runtime0.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { DateField, type DateFieldProps };
|
|
35
35
|
//# sourceMappingURL=date-field.d.ts.map
|
package/dist/input-suggest.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as Options, t as Mask } from "./with-mask-Chm8kVE1.js";
|
|
2
2
|
import { FieldPath, FieldValues, UseControllerProps } from "react-hook-form";
|
|
3
3
|
import { Dispatch, SetStateAction } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
5
5
|
import { PopoverProps } from "@radix-ui/react-popover";
|
|
6
6
|
|
|
7
7
|
//#region src/components/input-suggest/input-suggest.d.ts
|
|
@@ -71,7 +71,7 @@ declare function InputSuggest<TFieldValues extends FieldValues = FieldValues, TF
|
|
|
71
71
|
debounceTime,
|
|
72
72
|
maxWait,
|
|
73
73
|
...props
|
|
74
|
-
}: InputSuggestProps<TFieldValues, TFieldName> & PopoverProps):
|
|
74
|
+
}: InputSuggestProps<TFieldValues, TFieldName> & PopoverProps): react_jsx_runtime10.JSX.Element;
|
|
75
75
|
//#endregion
|
|
76
76
|
export { InputSuggest, type InputSuggestProps };
|
|
77
77
|
//# sourceMappingURL=input-suggest.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-suggest.d.ts","names":[],"sources":["../src/components/input-suggest/input-suggest.tsx"],"sourcesContent":[],"mappings":";;;;;;;UAmCiB,uCACM,cAAc,gCAChB,UAAU,gBAAgB,UAAU,uBAC/C,mBAAmB,cAAc;;;EAH1B,QAAA,C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.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime9 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/page-header/page-header.d.ts
|
|
4
4
|
interface PageHeaderProps {
|
|
@@ -10,7 +10,7 @@ declare function PageHeader({
|
|
|
10
10
|
title,
|
|
11
11
|
help,
|
|
12
12
|
description
|
|
13
|
-
}: PageHeaderProps):
|
|
13
|
+
}: PageHeaderProps): react_jsx_runtime9.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { PageHeader, type PageHeaderProps };
|
|
16
16
|
//# sourceMappingURL=page-header.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldPath, FieldPathValue, FieldValues, UseControllerProps } from "react-hook-form";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
3
3
|
import { Options } from "nuqs";
|
|
4
4
|
import { PopoverProps } from "@radix-ui/react-popover";
|
|
5
5
|
|
|
@@ -76,7 +76,7 @@ declare function RemoteSelectorField<T, TFieldValues extends FieldValues = Field
|
|
|
76
76
|
...props
|
|
77
77
|
}: RemoteSelectorFieldProps<TFieldValues, TFieldName> & BaseRemoteSelectorProps<T> & {
|
|
78
78
|
withPortal?: boolean;
|
|
79
|
-
}):
|
|
79
|
+
}): react_jsx_runtime7.JSX.Element;
|
|
80
80
|
interface RemoteSelectorQueryProps<T> extends BaseRemoteSelectorProps<T> {
|
|
81
81
|
name: string;
|
|
82
82
|
defaultValue?: string;
|
|
@@ -96,7 +96,7 @@ declare function RemoteSelectorQuery<T>({
|
|
|
96
96
|
fieldLabel,
|
|
97
97
|
type,
|
|
98
98
|
...props
|
|
99
|
-
}: RemoteSelectorQueryProps<T>):
|
|
99
|
+
}: RemoteSelectorQueryProps<T>): react_jsx_runtime7.JSX.Element;
|
|
100
100
|
//#endregion
|
|
101
101
|
export { type BaseRemoteSelectorProps, RemoteSelectorField as RemoteSelector, RemoteSelectorField, type RemoteSelectorFieldProps, RemoteSelectorQuery, type RemoteSelectorQueryProps, type TUseData };
|
|
102
102
|
//# sourceMappingURL=remote-selector.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"split-text-poor.d.ts","names":[],"sources":["../src/components/split-text-poor/split-text-poor.tsx"],"sourcesContent":[],"mappings":";cAwBM;EAAA,EAAA,EAAA;;;;;;IAoBM,OAAA,EAAA,CAAA;MAAA,KAAkB;MAAA;KAAA,
|
|
1
|
+
{"version":3,"file":"split-text-poor.d.ts","names":[],"sources":["../src/components/split-text-poor/split-text-poor.tsx"],"sourcesContent":[],"mappings":";cAwBM;EAAA,EAAA,EAAA;;;;;;IAoBM,OAAA,EAAA,CAAA;MAAA,KAAkB;MAAA;KAAA,EAClB;MAQN,KAAA,EAAA,MAuDL;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAhEW,kBAAA;YACA,KAAA,CAAM;;wBAEM;;;;;cAMlB,eAAe,KAAA,CAAM,GAAG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/system-switcher/SystemSwitcherClient.d.ts
|
|
4
4
|
interface System {
|
|
@@ -16,9 +16,9 @@ declare function SystemSwitcherClient({
|
|
|
16
16
|
systems,
|
|
17
17
|
currentSystemId
|
|
18
18
|
}: {
|
|
19
|
-
systems
|
|
20
|
-
currentSystemId
|
|
21
|
-
}):
|
|
19
|
+
systems?: System[];
|
|
20
|
+
currentSystemId?: number;
|
|
21
|
+
}): react_jsx_runtime2.JSX.Element | null;
|
|
22
22
|
//#endregion
|
|
23
23
|
//#region src/components/system-switcher/SystemSwitcher.d.ts
|
|
24
24
|
interface SystemSwitcherProps {
|
|
@@ -28,7 +28,7 @@ interface SystemSwitcherProps {
|
|
|
28
28
|
declare function SystemSwitcher({
|
|
29
29
|
token,
|
|
30
30
|
backendUrl
|
|
31
|
-
}: SystemSwitcherProps): Promise<
|
|
31
|
+
}: SystemSwitcherProps): Promise<react_jsx_runtime2.JSX.Element>;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { System, SystemSwitcher, SystemSwitcherClient, SystemSwitcherProps };
|
|
34
34
|
//# sourceMappingURL=system-switcher.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system-switcher.d.ts","names":[],"sources":["../src/components/system-switcher/SystemSwitcherClient.tsx","../src/components/system-switcher/SystemSwitcher.tsx"],"sourcesContent":[],"mappings":";;;UAYiB,MAAA;;;EAAA,IAAA,CAAA,EAAA,MAAM;EAUP,UAAA,CAAA,EAAA,OAAA;EAAuB,IAAA,CAAA,EAAA,MAAA,GAAA,IAAA;EAAS,gBAAA,CAAA,EAAA,MAAA,GAAA,IAAA;
|
|
1
|
+
{"version":3,"file":"system-switcher.d.ts","names":[],"sources":["../src/components/system-switcher/SystemSwitcherClient.tsx","../src/components/system-switcher/SystemSwitcher.tsx"],"sourcesContent":[],"mappings":";;;UAYiB,MAAA;;;EAAA,IAAA,CAAA,EAAA,MAAM;EAUP,UAAA,CAAA,EAAA,OAAA;EAAuB,IAAA,CAAA,EAAA,MAAA,GAAA,IAAA;EAAS,gBAAA,CAAA,EAAA,MAAA,GAAA,IAAA;EAA+B,OAAA,CAAA,EAAA;IAAoC,IAAA,EAAA,MAAA;EAAA,CAAA,EAAA;;iBAAnG,oBAAA;;;ACZhB;YDY+E;ECjB9D,eAAA,CAAA,EAAA,MAAmB;AAKpC,CAAA,CAAA,EDYmH,kBAAA,CAAA,GAAA,CAAA,OAAA,GCZ/E,IAAA;;;UALnB,mBAAA;;;ADOjB;AAUgB,iBCZM,cAAA,CDYc;EAAA,KAAA;EAAA;AAAA,CAAA,ECZwB,mBDYxB,CAAA,ECZ2C,ODY3C,CCZ2C,kBAAA,CAAA,GAAA,CAAA,OAAA,CDY3C"}
|
package/dist/system-switcher.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./utils-C8_amEgK.js";
|
|
2
2
|
import { n as PopoverContent, r as PopoverTrigger, t as Popover } from "./popover-BQgd_AEd.js";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
|
-
import { useState } from "react";
|
|
5
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { cloneElement, useState } from "react";
|
|
5
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { ChevronsUpDown, Lock } from "lucide-react";
|
|
7
7
|
|
|
8
8
|
//#region rolldown:runtime
|
|
@@ -6259,9 +6259,9 @@ var require_headers = /* @__PURE__ */ __commonJS({ "node_modules/next/headers.js
|
|
|
6259
6259
|
}) });
|
|
6260
6260
|
|
|
6261
6261
|
//#endregion
|
|
6262
|
-
//#region src/components/system-switcher/
|
|
6262
|
+
//#region src/components/system-switcher/SystemSwitcherProvider.tsx
|
|
6263
6263
|
var import_headers = /* @__PURE__ */ __toESM(require_headers());
|
|
6264
|
-
async function
|
|
6264
|
+
async function SystemSwitcherProvider({ children, token, backendUrl }) {
|
|
6265
6265
|
let systems = [];
|
|
6266
6266
|
const cookieStore = await (0, import_headers.cookies)();
|
|
6267
6267
|
const activeToken = token || cookieStore.get("token")?.value;
|
|
@@ -6282,9 +6282,19 @@ async function SystemSwitcher({ token, backendUrl }) {
|
|
|
6282
6282
|
}
|
|
6283
6283
|
const savedSystemId = cookieStore.get("admin_system")?.value;
|
|
6284
6284
|
const selectedSystemId = savedSystemId ? parseInt(savedSystemId) : systems?.[0]?.id || 0;
|
|
6285
|
-
return /* @__PURE__ */ jsx(
|
|
6285
|
+
return /* @__PURE__ */ jsx(Fragment$1, { children: cloneElement(children, {
|
|
6286
6286
|
systems,
|
|
6287
6287
|
currentSystemId: selectedSystemId
|
|
6288
|
+
}) });
|
|
6289
|
+
}
|
|
6290
|
+
|
|
6291
|
+
//#endregion
|
|
6292
|
+
//#region src/components/system-switcher/SystemSwitcher.tsx
|
|
6293
|
+
async function SystemSwitcher({ token, backendUrl }) {
|
|
6294
|
+
return /* @__PURE__ */ jsx(SystemSwitcherProvider, {
|
|
6295
|
+
backendUrl,
|
|
6296
|
+
token,
|
|
6297
|
+
children: /* @__PURE__ */ jsx(SystemSwitcherClient, {})
|
|
6288
6298
|
});
|
|
6289
6299
|
}
|
|
6290
6300
|
|