wcz-test 6.10.1 → 6.12.1

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 CHANGED
@@ -12,7 +12,9 @@ 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';
15
16
  import { u } from 'node_modules/better-auth/dist/helper-DU33OcfW.d.mts';
17
+ import { useTranslation } from 'react-i18next';
16
18
  import { WritableAtom } from 'nanostores';
17
19
 
18
20
  export declare const authClient: {
@@ -712,6 +714,10 @@ export declare class Platform {
712
714
  private static get userAgent();
713
715
  }
714
716
 
717
+ export { t }
718
+
719
+ export { useTranslation }
720
+
715
721
  export declare const WISTRON_PRIMARY_COLOR = "#00506E";
716
722
 
717
723
  export declare const WISTRON_SECONDARY_COLOR = "#64DC00";
package/dist/client.js CHANGED
@@ -1,9 +1,13 @@
1
1
  import { W, b, a } from "./auth-client-B6cIXYDV.js";
2
+ import { t } from "i18next";
3
+ import { useTranslation } from "react-i18next";
2
4
  import { P } from "./utils-JYv9O0GI.js";
3
5
  export {
4
6
  P as Platform,
5
7
  W as WISTRON_PRIMARY_COLOR,
6
8
  b as WISTRON_SECONDARY_COLOR,
7
- a as authClient
9
+ a as authClient,
10
+ t,
11
+ useTranslation
8
12
  };
9
13
  //# sourceMappingURL=client.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"client.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -9,7 +9,7 @@ import { grey } from "@mui/material/colors";
9
9
  import { useInView } from "react-intersection-observer";
10
10
  import Delete from "@mui/icons-material/Delete";
11
11
  import FileDownload from "@mui/icons-material/FileDownload";
12
- import { c as useDownloadFile, f as useDeleteFile, a as useGetFileThumbnail, d as useOpenFile, b as useGetFile, u as useGetFileMetas } from "./FileHooks-BbjesS5D.js";
12
+ import { c as useDownloadFile, f as useDeleteFile, a as useGetFileThumbnail, d as useOpenFile, b as useGetFile, u as useGetFileMetas } from "./FileHooks-SPG6LQAD.js";
13
13
  import AttachFile from "@mui/icons-material/AttachFile";
14
14
  import Image from "@mui/icons-material/Image";
15
15
  import SmartDisplay from "@mui/icons-material/SmartDisplay";
package/dist/hooks.d.ts CHANGED
@@ -22,6 +22,7 @@ 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';
25
26
  import { WithFormProps } from '@tanstack/react-form';
26
27
 
27
28
  declare interface AlertOptions {
@@ -132,6 +133,8 @@ export declare const useFieldContext: <TData>() => FieldApi<any, string, TData,
132
133
 
133
134
  export declare const useFormContext: () => ReactFormExtendedApi<Record<string, never>, any, any, any, any, any, any, any, any, any, any, any>;
134
135
 
136
+ export { useInView }
137
+
135
138
  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, {
136
139
  readonly TextField: FC<FormTextFieldProps>;
137
140
  readonly NumberField: FC<FormNumberFieldProps>;