wcz-test 6.12.1 → 6.12.2
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/client.d.ts +0 -6
- package/dist/client.js +1 -5
- package/dist/client.js.map +1 -1
- package/dist/hooks.d.ts +0 -3
- package/dist/hooks.js +0 -2
- package/dist/hooks.js.map +1 -1
- package/dist/server.d.ts +0 -2
- package/dist/server.js +3 -5
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -12,9 +12,7 @@ import { RetryOptions } from '@better-fetch/fetch';
|
|
|
12
12
|
import { SessionQueryParams } from 'better-auth';
|
|
13
13
|
import { StandardSchemaV1 } from '@better-fetch/fetch';
|
|
14
14
|
import { SuccessContext } from '@better-fetch/fetch';
|
|
15
|
-
import { t } from 'i18next';
|
|
16
15
|
import { u } from 'node_modules/better-auth/dist/helper-DU33OcfW.d.mts';
|
|
17
|
-
import { useTranslation } from 'react-i18next';
|
|
18
16
|
import { WritableAtom } from 'nanostores';
|
|
19
17
|
|
|
20
18
|
export declare const authClient: {
|
|
@@ -714,10 +712,6 @@ export declare class Platform {
|
|
|
714
712
|
private static get userAgent();
|
|
715
713
|
}
|
|
716
714
|
|
|
717
|
-
export { t }
|
|
718
|
-
|
|
719
|
-
export { useTranslation }
|
|
720
|
-
|
|
721
715
|
export declare const WISTRON_PRIMARY_COLOR = "#00506E";
|
|
722
716
|
|
|
723
717
|
export declare const WISTRON_SECONDARY_COLOR = "#64DC00";
|
package/dist/client.js
CHANGED
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { W, b, a } from "./auth-client-B6cIXYDV.js";
|
|
2
|
-
import { t } from "i18next";
|
|
3
|
-
import { useTranslation } from "react-i18next";
|
|
4
2
|
import { P } from "./utils-JYv9O0GI.js";
|
|
5
3
|
export {
|
|
6
4
|
P as Platform,
|
|
7
5
|
W as WISTRON_PRIMARY_COLOR,
|
|
8
6
|
b as WISTRON_SECONDARY_COLOR,
|
|
9
|
-
a as authClient
|
|
10
|
-
t,
|
|
11
|
-
useTranslation
|
|
7
|
+
a as authClient
|
|
12
8
|
};
|
|
13
9
|
//# sourceMappingURL=client.js.map
|
package/dist/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"client.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
package/dist/hooks.d.ts
CHANGED
|
@@ -22,7 +22,6 @@ import { SwitchProps } from '@mui/material';
|
|
|
22
22
|
import { TextFieldProps } from '@mui/material';
|
|
23
23
|
import { TimePickerProps } from '@mui/x-date-pickers-pro';
|
|
24
24
|
import { TimeRangePickerProps } from '@mui/x-date-pickers-pro';
|
|
25
|
-
import { useInView } from 'react-intersection-observer';
|
|
26
25
|
import { WithFormProps } from '@tanstack/react-form';
|
|
27
26
|
|
|
28
27
|
declare interface AlertOptions {
|
|
@@ -133,8 +132,6 @@ export declare const useFieldContext: <TData>() => FieldApi<any, string, TData,
|
|
|
133
132
|
|
|
134
133
|
export declare const useFormContext: () => ReactFormExtendedApi<Record<string, never>, any, any, any, any, any, any, any, any, any, any, any>;
|
|
135
134
|
|
|
136
|
-
export { useInView }
|
|
137
|
-
|
|
138
135
|
export declare const useLayoutForm: <TFormData, TOnMount extends FormValidateOrFn<TFormData> | undefined, TOnChange extends FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
139
136
|
readonly TextField: FC<FormTextFieldProps>;
|
|
140
137
|
readonly NumberField: FC<FormNumberFieldProps>;
|
package/dist/hooks.js
CHANGED
|
@@ -5,7 +5,6 @@ import { Autocomplete, TextField, FormControl, FormControlLabel, Checkbox, FormH
|
|
|
5
5
|
import { g as getFieldStatus } from "./utils-JYv9O0GI.js";
|
|
6
6
|
import { DatePicker, DateRangePicker, TimePicker, TimeRangePicker, DateTimePicker, DateTimeRangePicker } from "@mui/x-date-pickers-pro";
|
|
7
7
|
import React, { useRef, useState, useEffect, useLayoutEffect, useMemo } from "react";
|
|
8
|
-
import { useInView } from "react-intersection-observer";
|
|
9
8
|
const FormAutocomplete = ({ textFieldProps, ...autocompleteProps }) => {
|
|
10
9
|
const field = useFieldContext();
|
|
11
10
|
const { isTouched, hasError, helperText } = getFieldStatus(field);
|
|
@@ -1353,7 +1352,6 @@ export {
|
|
|
1353
1352
|
u as useDialogs,
|
|
1354
1353
|
useFieldContext,
|
|
1355
1354
|
useFormContext,
|
|
1356
|
-
useInView,
|
|
1357
1355
|
useLayoutForm,
|
|
1358
1356
|
withLayoutForm
|
|
1359
1357
|
};
|