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