wcz-test 4.5.5 → 4.5.6

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.d.cts DELETED
@@ -1,429 +0,0 @@
1
- import { TypographyProps, SxProps, Theme, BoxProps, ChipProps, ButtonProps, IconButtonProps, LinkProps, TabProps, ListItemButtonProps, CssVarsThemeOptions, TextFieldProps, SliderProps, RadioGroupProps, SwitchProps, CheckboxProps, AutocompleteProps } from '@mui/material';
2
- import * as react from 'react';
3
- import react__default, { FC, ReactNode, ComponentType } from 'react';
4
- import { DropzoneOptions } from 'react-dropzone';
5
- import * as react_jsx_runtime from 'react/jsx-runtime';
6
- import { GridValidRowModel, GridRenderCellParams, GridColumnHeaderParams, GridActionsCellItemProps } from '@mui/x-data-grid-premium';
7
- import { LinkComponent, ErrorComponentProps, LinkOptions } from '@tanstack/react-router';
8
- import { TFunction } from 'i18next';
9
- export { t } from 'i18next';
10
- export { uuidv7 } from 'uuidv7';
11
- import * as axios from 'axios';
12
- import * as _tanstack_start_client_core from '@tanstack/start-client-core';
13
- import { DateTimePickerProps, DatePickerProps } from '@mui/x-date-pickers-pro';
14
- import { NumericFormatProps, InputAttributes } from 'react-number-format/types/types';
15
- import * as _tanstack_react_form from '@tanstack/react-form';
16
- import * as _tanstack_form_core from '@tanstack/form-core';
17
- export { default as useLocalStorageState } from 'use-local-storage-state';
18
- export { useTranslation } from 'react-i18next';
19
- import * as _tanstack_react_query from '@tanstack/react-query';
20
- import { DefinedInitialDataOptions, UseMutationOptions } from '@tanstack/react-query';
21
- import { DetailedError } from 'tus-js-client';
22
-
23
- interface TypographyWithIconProps extends TypographyProps {
24
- startIcon?: React.ReactNode;
25
- endIcon?: React.ReactNode;
26
- }
27
- declare const TypographyWithIcon: React.FC<TypographyWithIconProps>;
28
-
29
- interface PageHeaderProps {
30
- title: string;
31
- action?: ReactNode;
32
- sx?: SxProps<Theme>;
33
- }
34
- declare const PageHeader: FC<PageHeaderProps>;
35
-
36
- declare const TableContainer: FC<BoxProps>;
37
-
38
- interface DropzoneProps extends DropzoneOptions {
39
- sx?: SxProps<Theme>;
40
- }
41
- declare const Dropzone: FC<DropzoneProps>;
42
-
43
- interface FileMeta {
44
- id: string;
45
- subId: string;
46
- appName: string;
47
- fileName: string;
48
- fileExtension: string;
49
- fileSize: number;
50
- mediaSubType: string;
51
- mediaType: string;
52
- mimeType: string;
53
- }
54
-
55
- type FileViewerGridItemBar = "hidden" | "always" | "onMouseEnter";
56
- interface FileViewerGridProps {
57
- size?: number;
58
- itemBar?: FileViewerGridItemBar;
59
- sx?: SxProps<Theme>;
60
- }
61
-
62
- type FileActions = {
63
- download?: boolean;
64
- delete?: boolean;
65
- };
66
-
67
- interface FileViewerListProps {
68
- sx?: SxProps<Theme>;
69
- }
70
-
71
- interface FileViewerComponent {
72
- Grid: ComponentType<FileViewerGridProps>;
73
- List: ComponentType<FileViewerListProps>;
74
- }
75
- interface FileViewerProps {
76
- /** Insert your record ID (can be multiple splitted by comma) */
77
- subId: string | undefined | null;
78
- onDelete?: (params: {
79
- remainingFileMetas: Array<FileMeta>;
80
- deletedFileMeta: FileMeta;
81
- }) => void;
82
- actions?: FileActions;
83
- children: (component: FileViewerComponent) => ReactNode;
84
- }
85
- declare const FileViewer: FC<FileViewerProps>;
86
-
87
- interface ChipInputCellProps<T extends GridValidRowModel> {
88
- params: GridRenderCellParams<T>;
89
- slotProps?: ChipProps;
90
- getLabel?: (object: T) => string | number;
91
- }
92
- declare const ChipInputCell: <T extends GridValidRowModel>({ params, slotProps, getLabel }: ChipInputCellProps<T>) => react_jsx_runtime.JSX.Element | null;
93
-
94
- declare const EditableColumnHeader: <T extends GridValidRowModel>({ colDef }: GridColumnHeaderParams<T>) => react_jsx_runtime.JSX.Element;
95
-
96
- declare const Component$5: react__default.ForwardRefExoticComponent<Omit<ButtonProps<"a">, "ref"> & react__default.RefAttributes<HTMLAnchorElement>>;
97
- declare const RouterButton: LinkComponent<typeof Component$5>;
98
-
99
- declare const Component$4: react__default.ForwardRefExoticComponent<GridActionsCellItemProps & react__default.RefAttributes<HTMLButtonElement>>;
100
- declare const RouterGridActionsCellItem: LinkComponent<typeof Component$4>;
101
-
102
- declare const Component$3: react__default.ForwardRefExoticComponent<Omit<IconButtonProps<"a">, "ref"> & react__default.RefAttributes<HTMLAnchorElement>>;
103
- declare const RouterIconButton: LinkComponent<typeof Component$3>;
104
-
105
- declare const Component$2: react__default.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & react__default.RefAttributes<HTMLAnchorElement>>;
106
- declare const RouterLink: LinkComponent<typeof Component$2>;
107
-
108
- declare const Component$1: react__default.ForwardRefExoticComponent<Omit<TabProps<"a">, "ref"> & react__default.RefAttributes<HTMLAnchorElement>>;
109
- declare const RouterTab: LinkComponent<typeof Component$1>;
110
-
111
- declare const Component: react__default.ForwardRefExoticComponent<Omit<ListItemButtonProps<"a">, "ref"> & react__default.RefAttributes<HTMLAnchorElement>>;
112
- declare const RouterListItemButton: LinkComponent<typeof Component>;
113
-
114
- declare function RouterNotFound(): react_jsx_runtime.JSX.Element;
115
-
116
- interface RouterErrorProps {
117
- error: ErrorComponentProps["error"];
118
- }
119
- declare const RouterError: FC<RouterErrorProps>;
120
-
121
- interface User {
122
- employeeId: string;
123
- name: string;
124
- department: string;
125
- email?: string;
126
- company: string;
127
- category: string;
128
- }
129
-
130
- interface NavigationParams {
131
- user: User;
132
- t: TFunction<"translation", undefined>;
133
- }
134
-
135
- interface NavigationPageItem extends Pick<LinkOptions, "to">, Partial<Pick<LinkOptions, "href" | "params" | "search">> {
136
- title: string;
137
- icon: React.ReactNode;
138
- children?: Array<NavigationItem>;
139
- hidden?: boolean;
140
- }
141
- interface NavigationDivider {
142
- kind: "divider";
143
- hidden?: boolean;
144
- }
145
- interface NavigationHeader {
146
- kind: "header";
147
- title: string;
148
- hidden?: boolean;
149
- }
150
- type NavigationItem = NavigationPageItem | NavigationDivider | NavigationHeader;
151
- type Navigation = Array<NavigationItem>;
152
-
153
- interface ProvidersProps {
154
- getNavigation?: (parameters: NavigationParams) => Navigation;
155
- theme?: Pick<CssVarsThemeOptions, "colorSchemes" | "components">;
156
- children: ReactNode;
157
- }
158
- declare const LayoutProvider: FC<ProvidersProps>;
159
-
160
- declare class Platform {
161
- static get isAndroid(): boolean;
162
- static get isIOS(): boolean;
163
- static get isWindows(): boolean;
164
- static get isMacOS(): boolean;
165
- private static get userAgent();
166
- }
167
- interface RootRouteHeadProps {
168
- title: string;
169
- }
170
- declare const rootRouteHead: ({ title }: RootRouteHeadProps) => () => {
171
- meta: ({
172
- charSet: string;
173
- name?: undefined;
174
- content?: undefined;
175
- title?: undefined;
176
- } | {
177
- name: string;
178
- content: string;
179
- charSet?: undefined;
180
- title?: undefined;
181
- } | {
182
- title: string;
183
- charSet?: undefined;
184
- name?: undefined;
185
- content?: undefined;
186
- })[];
187
- links: ({
188
- rel: string;
189
- sizes: string;
190
- href: string;
191
- type?: undefined;
192
- } | {
193
- rel: string;
194
- type: string;
195
- sizes: string;
196
- href: string;
197
- } | {
198
- rel: string;
199
- href: string;
200
- sizes?: undefined;
201
- type?: undefined;
202
- })[];
203
- };
204
- declare const wczApiClient: axios.AxiosInstance;
205
-
206
- declare const setSSRLanguage: _tanstack_start_client_core.ServerOnlyFn<[], Promise<void>>;
207
-
208
- type FormSubmitButtonProps = Omit<ButtonProps, "loading" | "disabled" | "onClick" | "type">;
209
-
210
- type FormOmittedProps = "name" | "value" | "onChange" | "onBlur" | "error" | "helperText" | "renderInput" | "type" | "aria-label";
211
-
212
- interface FormDateTimePickerProps extends Omit<DateTimePickerProps, FormOmittedProps> {
213
- textFieldProps?: TextFieldProps;
214
- }
215
-
216
- interface FormDatePickerProps extends Omit<DatePickerProps, FormOmittedProps> {
217
- textFieldProps?: TextFieldProps;
218
- }
219
-
220
- interface FormSliderProps extends Omit<SliderProps, FormOmittedProps> {
221
- label?: string;
222
- }
223
-
224
- interface Option {
225
- label: string;
226
- value: string | number;
227
- }
228
- interface FormRadioGroupProps extends Omit<RadioGroupProps, FormOmittedProps> {
229
- label?: string;
230
- options: Array<Option>;
231
- }
232
-
233
- interface FormSwitchProps extends Omit<SwitchProps, FormOmittedProps> {
234
- label?: string;
235
- }
236
-
237
- interface FormCheckboxProps extends Omit<CheckboxProps, FormOmittedProps> {
238
- label?: string;
239
- }
240
-
241
- interface FormAutocompleteProps extends Omit<AutocompleteProps<any, boolean, boolean, boolean>, FormOmittedProps> {
242
- textFieldProps?: Omit<TextFieldProps, FormOmittedProps>;
243
- }
244
-
245
- interface FormNumberFieldProps extends Omit<TextFieldProps, FormOmittedProps> {
246
- defaultValue?: number | null;
247
- options?: Omit<NumericFormatProps<InputAttributes>, "customInput" | "onValueChange" | keyof InputAttributes>;
248
- }
249
-
250
- interface FormTextFieldProps extends Omit<TextFieldProps, FormOmittedProps> {
251
- type?: "color" | "email" | "password" | "search" | "tel" | "text" | "url";
252
- }
253
-
254
- declare const useFieldContext: <TData>() => _tanstack_form_core.FieldApi<any, string, TData, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any>;
255
- declare const useFormContext: () => _tanstack_react_form.ReactFormExtendedApi<Record<string, never>, any, any, any, any, any, any, any, any, any, any, any>;
256
- declare const useLayoutForm: <TFormData, TOnMount extends _tanstack_form_core.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_form_core.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_form_core.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_form_core.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_form_core.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_form_core.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_form_core.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_form_core.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_form_core.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_form_core.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: _tanstack_form_core.FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => _tanstack_react_form.AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
257
- readonly TextField: react.FC<FormTextFieldProps>;
258
- readonly NumberField: react.FC<FormNumberFieldProps>;
259
- readonly Autocomplete: react.FC<FormAutocompleteProps>;
260
- readonly Checkbox: react.FC<FormCheckboxProps>;
261
- readonly Switch: react.FC<FormSwitchProps>;
262
- readonly RadioGroup: react.FC<FormRadioGroupProps>;
263
- readonly Slider: react.FC<FormSliderProps>;
264
- readonly DatePicker: react.FC<FormDatePickerProps>;
265
- readonly DateTimePicker: react.FC<FormDateTimePickerProps>;
266
- }, {
267
- readonly SubmitButton: react.FC<FormSubmitButtonProps>;
268
- }>;
269
- declare const withLayoutForm: <TFormData, TOnMount extends _tanstack_form_core.FormValidateOrFn<TFormData> | undefined, TOnChange extends _tanstack_form_core.FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends _tanstack_form_core.FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends _tanstack_form_core.FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends _tanstack_form_core.FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends _tanstack_form_core.FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends _tanstack_form_core.FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends _tanstack_form_core.FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends _tanstack_form_core.FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends _tanstack_form_core.FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta, TRenderProps extends object = {}>({ render, props, }: _tanstack_react_form.WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
270
- readonly TextField: react.FC<FormTextFieldProps>;
271
- readonly NumberField: react.FC<FormNumberFieldProps>;
272
- readonly Autocomplete: react.FC<FormAutocompleteProps>;
273
- readonly Checkbox: react.FC<FormCheckboxProps>;
274
- readonly Switch: react.FC<FormSwitchProps>;
275
- readonly RadioGroup: react.FC<FormRadioGroupProps>;
276
- readonly Slider: react.FC<FormSliderProps>;
277
- readonly DatePicker: react.FC<FormDatePickerProps>;
278
- readonly DateTimePicker: react.FC<FormDateTimePickerProps>;
279
- }, {
280
- readonly SubmitButton: react.FC<FormSubmitButtonProps>;
281
- }, TRenderProps>) => (props: react.PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
282
- form: _tanstack_react_form.AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [_tanstack_form_core.FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (_tanstack_form_core.FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [_tanstack_form_core.FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (_tanstack_form_core.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [_tanstack_form_core.FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (_tanstack_form_core.FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [_tanstack_form_core.FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (_tanstack_form_core.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [_tanstack_form_core.FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (_tanstack_form_core.FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [_tanstack_form_core.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (_tanstack_form_core.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [_tanstack_form_core.FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (_tanstack_form_core.FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [_tanstack_form_core.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (_tanstack_form_core.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [_tanstack_form_core.FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (_tanstack_form_core.FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [_tanstack_form_core.FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (_tanstack_form_core.FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {
283
- readonly TextField: react.FC<FormTextFieldProps>;
284
- readonly NumberField: react.FC<FormNumberFieldProps>;
285
- readonly Autocomplete: react.FC<FormAutocompleteProps>;
286
- readonly Checkbox: react.FC<FormCheckboxProps>;
287
- readonly Switch: react.FC<FormSwitchProps>;
288
- readonly RadioGroup: react.FC<FormRadioGroupProps>;
289
- readonly Slider: react.FC<FormSliderProps>;
290
- readonly DatePicker: react.FC<FormDatePickerProps>;
291
- readonly DateTimePicker: react.FC<FormDateTimePickerProps>;
292
- }, {
293
- readonly SubmitButton: react.FC<FormSubmitButtonProps>;
294
- }>;
295
- }>) => react.JSX.Element;
296
-
297
- interface OpenDialogOptions<TResult> {
298
- onClose?: (result: TResult) => Promise<void>;
299
- }
300
- interface AlertOptions {
301
- title?: ReactNode;
302
- }
303
- interface ConfirmOptions {
304
- title?: ReactNode;
305
- cancelText?: ReactNode;
306
- }
307
- interface DialogProps<TPayload = undefined, TResult = void> {
308
- payload: TPayload;
309
- open: boolean;
310
- onClose: (result: TResult) => Promise<void>;
311
- }
312
- type OpenAlertDialog = (message: ReactNode, options?: AlertOptions) => Promise<void>;
313
- type OpenConfirmDialog = (message: ReactNode, options?: ConfirmOptions) => Promise<boolean>;
314
- type DialogComponent<TPayload, TResult> = React.ComponentType<DialogProps<TPayload, TResult>>;
315
- interface OpenDialog {
316
- <TPayload extends undefined, TResult>(Component: DialogComponent<TPayload, TResult>, payload?: TPayload, options?: OpenDialogOptions<TResult>): Promise<TResult>;
317
- <TPayload, TResult>(Component: DialogComponent<TPayload, TResult>, payload: TPayload, options?: OpenDialogOptions<TResult>): Promise<TResult>;
318
- }
319
- type CloseDialog = <TResult>(dialog: Promise<TResult>, result: TResult) => Promise<TResult>;
320
- interface DialogHook {
321
- alert: OpenAlertDialog;
322
- confirm: OpenConfirmDialog;
323
- open: OpenDialog;
324
- close: CloseDialog;
325
- }
326
- declare function useDialogs(): DialogHook;
327
-
328
- type OptionalId = string | undefined | null;
329
- type BaseFileMetaArrayQueryOptions = Omit<DefinedInitialDataOptions<Array<FileMeta>>, "queryKey" | "queryFn" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
330
- type BaseBlobQueryOptions = Omit<DefinedInitialDataOptions<Blob, Error, string>, "queryKey" | "queryFn" | "select" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
331
- type BaseFileMetaMutationOptions = Omit<UseMutationOptions<FileMeta, Error, FileMeta>, "mutationFn" | "onSettled">;
332
- type BaseBlobMutationOptions = Omit<UseMutationOptions<Blob, Error, FileMeta>, "mutationFn" | "onSuccess">;
333
- type BaseStringMutationOptions = Omit<UseMutationOptions<string, Error, string>, "mutationFn" | "onSettled">;
334
- declare const useGetFileMetas: (subId: OptionalId, options?: BaseFileMetaArrayQueryOptions) => _tanstack_react_query.UseQueryResult<FileMeta[], Error>;
335
- declare const useGetFileThumbnail: (meta: FileMeta | undefined | null, options?: BaseBlobQueryOptions) => _tanstack_react_query.UseQueryResult<string, Error>;
336
- declare const useGetFile: (meta: FileMeta | undefined | null, options?: BaseBlobQueryOptions) => _tanstack_react_query.UseQueryResult<string, Error>;
337
- declare const useDownloadFile: (options?: BaseBlobMutationOptions) => _tanstack_react_query.UseMutationResult<Blob, Error, FileMeta, unknown>;
338
- declare const useOpenFile: (options?: BaseBlobMutationOptions) => _tanstack_react_query.UseMutationResult<Blob, Error, FileMeta, unknown>;
339
- declare const useUpdateFileMeta: (options?: BaseFileMetaMutationOptions) => _tanstack_react_query.UseMutationResult<FileMeta, Error, FileMeta, unknown>;
340
- declare const useDeleteFile: (options?: BaseFileMetaMutationOptions) => _tanstack_react_query.UseMutationResult<FileMeta, Error, FileMeta, unknown>;
341
- declare const useDeleteFiles: (options?: BaseStringMutationOptions) => _tanstack_react_query.UseMutationResult<string, Error, string, unknown>;
342
- interface UseUploadFileProps {
343
- subId: OptionalId;
344
- onSuccess?: (meta: Pick<FileMeta, "id" | "appName" | "subId" | "fileName">) => void;
345
- onError?: (error: Error | DetailedError) => void;
346
- }
347
- declare const useUploadFile: ({ subId, onSuccess, onError }: UseUploadFileProps) => {
348
- mutate: (file: File) => Promise<void>;
349
- progress: number;
350
- };
351
-
352
- interface EmailAttachment {
353
- appName: string;
354
- subId: string;
355
- }
356
-
357
- interface Email {
358
- subject: string;
359
- body: string;
360
- to: Array<string>;
361
- bcc?: Array<string>;
362
- cc?: Array<string>;
363
- attachments?: Array<EmailAttachment>;
364
- }
365
-
366
- declare enum EmployeeCategoryGroup {
367
- IDL = "IDL",
368
- FD = "FD",
369
- FI = "FI"
370
- }
371
-
372
- declare enum EmployeeStatus {
373
- Active = "Active",
374
- Terminated = "Terminated",
375
- LeaveOfAbsence = "Leave of Absence"
376
- }
377
-
378
- interface Employee {
379
- badgeId: string;
380
- category: string;
381
- categoryGroup: EmployeeCategoryGroup;
382
- companyCode: string;
383
- contactPhone: string;
384
- departmentId: string;
385
- departmentDescription: string;
386
- emailString: string;
387
- employeeId: string;
388
- extensionNumber: string;
389
- firstName: string;
390
- gender: string;
391
- hiredDate: Date;
392
- lastName: string;
393
- managerId: string;
394
- middleName: string;
395
- name: string;
396
- nameTitleCase: string;
397
- nfcSn: string;
398
- plantId: string;
399
- position: string;
400
- previousEmployeeIds: string | null;
401
- reHiredDate: Date | null;
402
- recordNumber: number;
403
- status: EmployeeStatus;
404
- supervisorId: string;
405
- terminationDate: Date | null;
406
- terminationFutureDate: Date | null;
407
- type: string;
408
- upperDepartmentId: string;
409
- jobCode: string;
410
- jobDescription: string;
411
- terminationReason: string | null;
412
- supervisorRecordNumber: number;
413
- }
414
-
415
- interface Department {
416
- departmentId: string;
417
- description: string;
418
- managerId: string;
419
- managerRecordNumber: string;
420
- treeLevel: number;
421
- upperDepartmentId: string;
422
- companyCode: string;
423
- location: string;
424
- salLocation: string;
425
- plantId: string;
426
- manager: Employee;
427
- }
428
-
429
- export { ChipInputCell, type Department, type DialogProps, Dropzone, EditableColumnHeader, type Email, type EmailAttachment, type Employee, EmployeeCategoryGroup, EmployeeStatus, type FileMeta, FileViewer, LayoutProvider, type Navigation, type NavigationParams, PageHeader, Platform, RouterButton, RouterError, RouterGridActionsCellItem, RouterIconButton, RouterLink, RouterListItemButton, RouterNotFound, RouterTab, TableContainer, TypographyWithIcon, type User, rootRouteHead, setSSRLanguage, useDeleteFile, useDeleteFiles, useDialogs, useDownloadFile, useFieldContext, useFormContext, useGetFile, useGetFileMetas, useGetFileThumbnail, useLayoutForm, useOpenFile, useUpdateFileMeta, useUploadFile, wczApiClient, withLayoutForm };