wcz-test 6.9.2 → 6.9.4
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/DialogsHooks-Bi8dZoyu.js +338 -0
- package/dist/DialogsHooks-Bi8dZoyu.js.map +1 -0
- package/dist/{RouterListItemButton-Cx7rXEfm.js → RouterListItemButton-CHS7rofI.js} +4 -4
- package/dist/{RouterListItemButton-Cx7rXEfm.js.map → RouterListItemButton-CHS7rofI.js.map} +1 -1
- package/dist/auth-client-B6cIXYDV.js +1417 -0
- package/dist/auth-client-B6cIXYDV.js.map +1 -0
- package/dist/client.d.ts +725 -0
- package/dist/client.js +1 -1
- package/dist/components.d.ts +134 -0
- package/dist/components.js +65 -66
- package/dist/components.js.map +1 -1
- package/dist/error-BhAKg8LX-X0sdNXNa.js +195 -0
- package/dist/error-BhAKg8LX-X0sdNXNa.js.map +1 -0
- package/dist/hooks.d.ts +192 -0
- package/dist/hooks.js +31 -31
- package/dist/hooks.js.map +1 -1
- package/dist/index.d.ts +74 -0
- package/dist/index.js +83 -84
- package/dist/index.js.map +1 -1
- package/dist/models.d.ts +476 -0
- package/dist/queries.d.ts +1956 -0
- package/dist/server-mxQ3s5dx-CC81W42s.js +644 -0
- package/dist/server-mxQ3s5dx-CC81W42s.js.map +1 -0
- package/dist/server.d.ts +41 -0
- package/dist/server.js +8659 -7
- package/dist/server.js.map +1 -1
- package/dist/utils.d.ts +11 -0
- package/dist/vite.d.ts +5 -0
- package/package.json +29 -29
- package/dist/DialogsHooks-BlUsVlfv.js +0 -39
- package/dist/DialogsHooks-BlUsVlfv.js.map +0 -1
- package/dist/auth-client-o9U0_qmf.js +0 -79
- package/dist/auth-client-o9U0_qmf.js.map +0 -1
- package/dist/components/core/AppTitle.d.ts +0 -2
- package/dist/components/core/Fullscreen.d.ts +0 -3
- package/dist/components/core/Layout.d.ts +0 -8
- package/dist/components/core/ToolbarAccount.d.ts +0 -2
- package/dist/components/core/TypographyWithIcon.d.ts +0 -7
- package/dist/components/core/navigation/NavigationList.d.ts +0 -22
- package/dist/components/core/navigation/NavigationListItem.d.ts +0 -16
- package/dist/components/core/navigation/NavigationRail.d.ts +0 -12
- package/dist/components/data-grid/ChipInputCell.d.ts +0 -9
- package/dist/components/data-grid/EditableColumnHeader.d.ts +0 -2
- package/dist/components/file/Dropzone.d.ts +0 -8
- package/dist/components/file/FileViewer.d.ts +0 -20
- package/dist/components/file/fileViewer/FileViewerGrid.d.ts +0 -17
- package/dist/components/file/fileViewer/FileViewerList.d.ts +0 -12
- package/dist/components/file/fileViewer/ImageViewer.d.ts +0 -6
- package/dist/components/file/fileViewer/common/ActionsMenu.d.ts +0 -15
- package/dist/components/form/FormAutocomplete.d.ts +0 -7
- package/dist/components/form/FormCheckbox.d.ts +0 -7
- package/dist/components/form/FormDatePicker.d.ts +0 -8
- package/dist/components/form/FormDateRangePicker.d.ts +0 -8
- package/dist/components/form/FormDateTimePicker.d.ts +0 -8
- package/dist/components/form/FormDateTimeRangePicker.d.ts +0 -8
- package/dist/components/form/FormNumberField.d.ts +0 -9
- package/dist/components/form/FormRadioGroup.d.ts +0 -13
- package/dist/components/form/FormSlider.d.ts +0 -7
- package/dist/components/form/FormSubmitButton.d.ts +0 -4
- package/dist/components/form/FormSwitch.d.ts +0 -7
- package/dist/components/form/FormTextField.d.ts +0 -7
- package/dist/components/form/FormTimePicker.d.ts +0 -8
- package/dist/components/form/FormTimeRangePicker.d.ts +0 -8
- package/dist/components/router/RouterButton.d.ts +0 -6
- package/dist/components/router/RouterError.d.ts +0 -7
- package/dist/components/router/RouterGridActionsCellItem.d.ts +0 -6
- package/dist/components/router/RouterIconButton.d.ts +0 -6
- package/dist/components/router/RouterLink.d.ts +0 -6
- package/dist/components/router/RouterListItemButton.d.ts +0 -6
- package/dist/components/router/RouterNotFound.d.ts +0 -1
- package/dist/components/router/RouterTab.d.ts +0 -6
- package/dist/contexts/DialogsContext.d.ts +0 -6
- package/dist/contexts/FileContext.d.ts +0 -13
- package/dist/env.d.ts +0 -10
- package/dist/exports/client.d.ts +0 -5
- package/dist/exports/components.d.ts +0 -14
- package/dist/exports/hooks.d.ts +0 -4
- package/dist/exports/index.d.ts +0 -3
- package/dist/exports/models.d.ts +0 -25
- package/dist/exports/queries.d.ts +0 -4
- package/dist/exports/server.d.ts +0 -3
- package/dist/exports/utils.d.ts +0 -3
- package/dist/exports/vite.d.ts +0 -1
- package/dist/hooks/DialogsHooks.d.ts +0 -42
- package/dist/hooks/FormHooks.d.ts +0 -52
- package/dist/hooks/ThemeHook.d.ts +0 -4
- package/dist/lib/auth/auth-client.d.ts +0 -688
- package/dist/lib/auth/auth.d.ts +0 -24
- package/dist/lib/db/index.d.ts +0 -4
- package/dist/lib/db/schemas/auth.d.ts +0 -606
- package/dist/lib/utils.d.ts +0 -50
- package/dist/lib/vite-plugin.d.ts +0 -2
- package/dist/models/Navigation.d.ts +0 -18
- package/dist/models/User.d.ts +0 -8
- package/dist/models/approval/Approval.d.ts +0 -177
- package/dist/models/approval/ApprovalEmployee.d.ts +0 -7
- package/dist/models/approval/ApprovalFlow.d.ts +0 -49
- package/dist/models/approval/ApprovalFlowStep.d.ts +0 -29
- package/dist/models/approval/ApprovalRequestType.d.ts +0 -5
- package/dist/models/approval/ApprovalStatus.d.ts +0 -9
- package/dist/models/approval/ApprovalStepResult.d.ts +0 -11
- package/dist/models/approval/StepApprovalOrder.d.ts +0 -6
- package/dist/models/email/Email.d.ts +0 -13
- package/dist/models/email/EmailAttachment.d.ts +0 -6
- package/dist/models/file/FileActions.d.ts +0 -6
- package/dist/models/file/FileMeta.d.ts +0 -15
- package/dist/models/peoplesoft/Department.d.ts +0 -58
- package/dist/models/peoplesoft/Employee.d.ts +0 -46
- package/dist/models/peoplesoft/EmployeeCategoryGroup.d.ts +0 -6
- package/dist/models/peoplesoft/EmployeeStatus.d.ts +0 -6
- package/dist/providers/DialogsProvider.d.ts +0 -6
- package/dist/providers/LayoutProvider.d.ts +0 -11
- package/dist/queries/Approval.d.ts +0 -585
- package/dist/queries/ApprovalHooks.d.ts +0 -315
- package/dist/queries/FileHooks.d.ts +0 -151
- package/dist/queries/PeopleSoftHooks.d.ts +0 -537
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ListItemButtonProps } from '@mui/material';
|
|
3
|
-
import { LinkComponent } from '@tanstack/react-router';
|
|
4
|
-
declare const Component: React.ForwardRefExoticComponent<Omit<ListItemButtonProps<"a">, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
5
|
-
export declare const RouterListItemButton: LinkComponent<typeof Component>;
|
|
6
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function RouterNotFound(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { TabProps } from '@mui/material';
|
|
3
|
-
import { LinkComponent } from '@tanstack/react-router';
|
|
4
|
-
declare const Component: React.ForwardRefExoticComponent<Omit<TabProps<"a">, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
5
|
-
export declare const RouterTab: LinkComponent<typeof Component>;
|
|
6
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { FileMeta } from '../models/file/FileMeta';
|
|
2
|
-
import { FileActions } from '../models/file/FileActions';
|
|
3
|
-
export interface FileContextValue {
|
|
4
|
-
fileMetas: Array<FileMeta>;
|
|
5
|
-
onDelete?: (params: {
|
|
6
|
-
remainingFileMetas: Array<FileMeta>;
|
|
7
|
-
deletedFileMeta: FileMeta;
|
|
8
|
-
}) => void;
|
|
9
|
-
actions?: FileActions;
|
|
10
|
-
setImageId: (imageId: string) => void;
|
|
11
|
-
}
|
|
12
|
-
export declare const FileContext: import('react').Context<FileContextValue | null>;
|
|
13
|
-
export declare const useFile: () => FileContextValue;
|
package/dist/env.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const clientEnv: Readonly<{
|
|
2
|
-
VITE_APP_TITLE: string;
|
|
3
|
-
VITE_MUI_LICENSE_KEY: string;
|
|
4
|
-
VITE_API_URL: string;
|
|
5
|
-
}>;
|
|
6
|
-
export declare const serverEnv: Readonly<{
|
|
7
|
-
DATABASE_URL: string;
|
|
8
|
-
MICROSOFT_CLIENT_ID: string;
|
|
9
|
-
MICROSOFT_CLIENT_SECRET: string;
|
|
10
|
-
}>;
|
package/dist/exports/client.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export { TypographyWithIcon } from '../components/core/TypographyWithIcon';
|
|
2
|
-
export { Fullscreen } from '../components/core/Fullscreen';
|
|
3
|
-
export { Dropzone } from '../components/file/Dropzone';
|
|
4
|
-
export { FileViewer } from '../components/file/FileViewer';
|
|
5
|
-
export { ChipInputCell } from '../components/data-grid/ChipInputCell';
|
|
6
|
-
export { EditableColumnHeader } from '../components/data-grid/EditableColumnHeader';
|
|
7
|
-
export { RouterButton } from '../components/router/RouterButton';
|
|
8
|
-
export { RouterGridActionsCellItem } from '../components/router/RouterGridActionsCellItem';
|
|
9
|
-
export { RouterIconButton } from '../components/router/RouterIconButton';
|
|
10
|
-
export { RouterLink } from '../components/router/RouterLink';
|
|
11
|
-
export { RouterTab } from '../components/router/RouterTab';
|
|
12
|
-
export { RouterListItemButton } from '../components/router/RouterListItemButton';
|
|
13
|
-
export { RouterNotFound } from '../components/router/RouterNotFound';
|
|
14
|
-
export { RouterError } from '../components/router/RouterError';
|
package/dist/exports/hooks.d.ts
DELETED
package/dist/exports/index.d.ts
DELETED
package/dist/exports/models.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export type { User } from '../models/User';
|
|
2
|
-
export type { FileMeta } from '../models/file/FileMeta';
|
|
3
|
-
export type { Email } from '../models/email/Email';
|
|
4
|
-
export type { EmailAttachment } from '../models/email/EmailAttachment';
|
|
5
|
-
export type { Employee } from '../models/peoplesoft/Employee';
|
|
6
|
-
export type { Department } from '../models/peoplesoft/Department';
|
|
7
|
-
export type { EmployeeCategoryGroup } from '../models/peoplesoft/EmployeeCategoryGroup';
|
|
8
|
-
export type { EmployeeStatus } from '../models/peoplesoft/EmployeeStatus';
|
|
9
|
-
export type { Approval, CreateApproval, ApproveApproval, ResubmitApproval, CancelApproval, WithdrawApproval } from '../models/approval/Approval';
|
|
10
|
-
export type { ApprovalEmployee } from '../models/approval/ApprovalEmployee';
|
|
11
|
-
export type { ApprovalFlow } from '../models/approval/ApprovalFlow';
|
|
12
|
-
export type { ApprovalFlowStep } from '../models/approval/ApprovalFlowStep';
|
|
13
|
-
export type { ApprovalRequestType } from '../models/approval/ApprovalRequestType';
|
|
14
|
-
export type { ApprovalStatus } from '../models/approval/ApprovalStatus';
|
|
15
|
-
export type { ApprovalStepResult } from '../models/approval/ApprovalStepResult';
|
|
16
|
-
export type { StepApprovalOrder } from '../models/approval/StepApprovalOrder';
|
|
17
|
-
export { FileMetaSchema } from '../models/file/FileMeta';
|
|
18
|
-
export { EmailSchema } from '../models/email/Email';
|
|
19
|
-
export { EmailAttachmentSchema } from '../models/email/EmailAttachment';
|
|
20
|
-
export { EmployeeSchema } from '../models/peoplesoft/Employee';
|
|
21
|
-
export { DepartmentSchema } from '../models/peoplesoft/Department';
|
|
22
|
-
export { ApprovalSchema, CreateApprovalSchema, ApproveApprovalSchema, ResubmitApprovalSchema, CancelApprovalSchema, WithdrawApprovalSchema } from '../models/approval/Approval';
|
|
23
|
-
export { ApprovalEmployeeSchema } from '../models/approval/ApprovalEmployee';
|
|
24
|
-
export { ApprovalFlowSchema } from '../models/approval/ApprovalFlow';
|
|
25
|
-
export { ApprovalFlowStepSchema } from '../models/approval/ApprovalFlowStep';
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { useGetFileMetas, useGetFileThumbnail, useGetFile, useDownloadFile, useOpenFile, useUpdateFileMeta, useDeleteFile, useDeleteFiles, useUploadFile, } from '../queries/FileHooks';
|
|
2
|
-
export { useGetPeopleSoftEmployeesSearch, useGetPeopleSoftEmployees, useGetPeopleSoftActiveEmployees, useGetPeopleSoftEmployeeById, useGetPeopleSoftPreviousEmployeeIds, useGetPeopleSoftEmployeeSupervisor, useGetPeopleSoftEmployeeSubordinates, useGetPeopleSoftEmployeeManager, useGetPeopleSoftEmployeeGeneralManager, useGetPeopleSoftDepartments, useGetPeopleSoftDepartmentById, useGetPeopleSoftDepartmentManager, useGetPeopleSoftDepartmentEmployees, useGetPeopleSoftCompanyGeneralManager, } from '../queries/PeopleSoftHooks';
|
|
3
|
-
export { getApprovals, getApproval, createApproval, approveApproval, resubmitApproval, withdrawApproval, cancelApproval, } from '../queries/Approval';
|
|
4
|
-
export { useGetApprovals, useGetApproval, useCreateApproval, useApproveApproval, useResubmitApproval, useWithdrawApproval, useCancelApproval, } from '../queries/ApprovalHooks';
|
package/dist/exports/server.d.ts
DELETED
package/dist/exports/utils.d.ts
DELETED
package/dist/exports/vite.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { viteWczLayout } from '../lib/vite-plugin';
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export interface OpenDialogOptions<TResult> {
|
|
3
|
-
onClose?: (result: TResult) => Promise<void>;
|
|
4
|
-
}
|
|
5
|
-
export interface AlertOptions {
|
|
6
|
-
title?: ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export interface ConfirmOptions {
|
|
9
|
-
title?: ReactNode;
|
|
10
|
-
cancelText?: ReactNode;
|
|
11
|
-
}
|
|
12
|
-
export interface DialogProps<TPayload = undefined, TResult = void> {
|
|
13
|
-
payload: TPayload;
|
|
14
|
-
open: boolean;
|
|
15
|
-
onClose: (result: TResult) => Promise<void>;
|
|
16
|
-
}
|
|
17
|
-
export type OpenAlertDialog = (message: ReactNode, options?: AlertOptions) => Promise<void>;
|
|
18
|
-
export type OpenConfirmDialog = (message: ReactNode, options?: ConfirmOptions) => Promise<boolean>;
|
|
19
|
-
export type DialogComponent<TPayload, TResult> = React.ComponentType<DialogProps<TPayload, TResult>>;
|
|
20
|
-
export interface OpenDialog {
|
|
21
|
-
<TPayload extends undefined, TResult>(Component: DialogComponent<TPayload, TResult>, payload?: TPayload, options?: OpenDialogOptions<TResult>): Promise<TResult>;
|
|
22
|
-
<TPayload, TResult>(Component: DialogComponent<TPayload, TResult>, payload: TPayload, options?: OpenDialogOptions<TResult>): Promise<TResult>;
|
|
23
|
-
}
|
|
24
|
-
export type CloseDialog = <TResult>(dialog: Promise<TResult>, result: TResult) => Promise<TResult>;
|
|
25
|
-
export interface AlertDialogPayload extends AlertOptions {
|
|
26
|
-
message: ReactNode;
|
|
27
|
-
}
|
|
28
|
-
export type AlertDialogProps = DialogProps<AlertDialogPayload, void>;
|
|
29
|
-
export declare function AlertDialog({ open, payload, onClose }: Readonly<AlertDialogProps>): import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
export interface ConfirmDialogPayload extends ConfirmOptions {
|
|
31
|
-
message: ReactNode;
|
|
32
|
-
}
|
|
33
|
-
export type ConfirmDialogProps = DialogProps<ConfirmDialogPayload, boolean>;
|
|
34
|
-
export declare function ConfirmDialog({ open, payload, onClose }: Readonly<ConfirmDialogProps>): import("react/jsx-runtime").JSX.Element;
|
|
35
|
-
interface DialogHook {
|
|
36
|
-
alert: OpenAlertDialog;
|
|
37
|
-
confirm: OpenConfirmDialog;
|
|
38
|
-
open: OpenDialog;
|
|
39
|
-
close: CloseDialog;
|
|
40
|
-
}
|
|
41
|
-
export declare function useDialogs(): DialogHook;
|
|
42
|
-
export {};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
export declare const fieldContext: import('react').Context<import('@tanstack/form-core').AnyFieldApi>, useFieldContext: <TData>() => import('@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>, formContext: import('react').Context<import('@tanstack/form-core').AnyFormApi>, useFormContext: () => import('@tanstack/react-form').ReactFormExtendedApi<Record<string, never>, any, any, any, any, any, any, any, any, any, any, any>;
|
|
2
|
-
export declare const useLayoutForm: <TFormData, TOnMount extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnChange extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta>(props: import('@tanstack/form-core').FormOptions<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta>) => import('@tanstack/react-form').AppFieldExtendedReactFormApi<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
3
|
-
readonly TextField: import('react').FC<import('../components/form/FormTextField').FormTextFieldProps>;
|
|
4
|
-
readonly NumberField: import('react').FC<import('../components/form/FormNumberField').FormNumberFieldProps>;
|
|
5
|
-
readonly Autocomplete: import('react').FC<import('../components/form/FormAutocomplete').FormAutocompleteProps>;
|
|
6
|
-
readonly Checkbox: import('react').FC<import('../components/form/FormCheckbox').FormCheckboxProps>;
|
|
7
|
-
readonly Switch: import('react').FC<import('../components/form/FormSwitch').FormSwitchProps>;
|
|
8
|
-
readonly RadioGroup: import('react').FC<import('../components/form/FormRadioGroup').FormRadioGroupProps>;
|
|
9
|
-
readonly Slider: import('react').FC<import('../components/form/FormSlider').FormSliderProps>;
|
|
10
|
-
readonly DatePicker: import('react').FC<import('../components/form/FormDatePicker').FormDatePickerProps>;
|
|
11
|
-
readonly DateRangePicker: import('react').FC<import('../components/form/FormDateRangePicker').FormDateRangePickerProps>;
|
|
12
|
-
readonly TimePicker: import('react').FC<import('../components/form/FormTimePicker').FormTimePickerProps>;
|
|
13
|
-
readonly TimeRangePicker: import('react').FC<import('../components/form/FormTimeRangePicker').FormTimeRangePickerProps>;
|
|
14
|
-
readonly DateTimePicker: import('react').FC<import('../components/form/FormDateTimePicker').FormDateTimePickerProps>;
|
|
15
|
-
readonly DateTimeRangePicker: import('react').FC<import('../components/form/FormDateTimeRangePicker').FormDateTimeRangePickerProps>;
|
|
16
|
-
}, {
|
|
17
|
-
readonly SubmitButton: import('react').FC<import('../components/form/FormSubmitButton').FormSubmitButtonProps>;
|
|
18
|
-
}>, withLayoutForm: <TFormData, TOnMount extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnChange extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnChangeAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnBlur extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnBlurAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnSubmit extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnSubmitAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnDynamic extends import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined, TOnDynamicAsync extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TOnServer extends import('@tanstack/form-core').FormAsyncValidateOrFn<TFormData> | undefined, TSubmitMeta, TRenderProps extends object = {}>({ render, props, }: import('@tanstack/react-form').WithFormProps<TFormData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync, TOnDynamic, TOnDynamicAsync, TOnServer, TSubmitMeta, {
|
|
19
|
-
readonly TextField: import('react').FC<import('../components/form/FormTextField').FormTextFieldProps>;
|
|
20
|
-
readonly NumberField: import('react').FC<import('../components/form/FormNumberField').FormNumberFieldProps>;
|
|
21
|
-
readonly Autocomplete: import('react').FC<import('../components/form/FormAutocomplete').FormAutocompleteProps>;
|
|
22
|
-
readonly Checkbox: import('react').FC<import('../components/form/FormCheckbox').FormCheckboxProps>;
|
|
23
|
-
readonly Switch: import('react').FC<import('../components/form/FormSwitch').FormSwitchProps>;
|
|
24
|
-
readonly RadioGroup: import('react').FC<import('../components/form/FormRadioGroup').FormRadioGroupProps>;
|
|
25
|
-
readonly Slider: import('react').FC<import('../components/form/FormSlider').FormSliderProps>;
|
|
26
|
-
readonly DatePicker: import('react').FC<import('../components/form/FormDatePicker').FormDatePickerProps>;
|
|
27
|
-
readonly DateRangePicker: import('react').FC<import('../components/form/FormDateRangePicker').FormDateRangePickerProps>;
|
|
28
|
-
readonly TimePicker: import('react').FC<import('../components/form/FormTimePicker').FormTimePickerProps>;
|
|
29
|
-
readonly TimeRangePicker: import('react').FC<import('../components/form/FormTimeRangePicker').FormTimeRangePickerProps>;
|
|
30
|
-
readonly DateTimePicker: import('react').FC<import('../components/form/FormDateTimePicker').FormDateTimePickerProps>;
|
|
31
|
-
readonly DateTimeRangePicker: import('react').FC<import('../components/form/FormDateTimeRangePicker').FormDateTimeRangePickerProps>;
|
|
32
|
-
}, {
|
|
33
|
-
readonly SubmitButton: import('react').FC<import('../components/form/FormSubmitButton').FormSubmitButtonProps>;
|
|
34
|
-
}, TRenderProps>) => (props: import('react').PropsWithChildren<NoInfer<[unknown] extends [TRenderProps] ? any : TRenderProps> & {
|
|
35
|
-
form: import('@tanstack/react-form').AppFieldExtendedReactFormApi<[unknown] extends [TFormData] ? any : TFormData, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnMount] ? [TOnMount] extends [TOnMount & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnMount : TOnMount, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnChange] ? [TOnChange] extends [TOnChange & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnChange : TOnChange, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnChangeAsync] ? [TOnChangeAsync] extends [TOnChangeAsync & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnChangeAsync : TOnChangeAsync, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnBlur] ? [TOnBlur] extends [TOnBlur & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlur : TOnBlur, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnBlurAsync] ? [TOnBlurAsync] extends [TOnBlurAsync & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnBlurAsync : TOnBlurAsync, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnSubmit] ? [TOnSubmit] extends [TOnSubmit & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmit : TOnSubmit, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnSubmitAsync] ? [TOnSubmitAsync] extends [TOnSubmitAsync & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnSubmitAsync : TOnSubmitAsync, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnDynamic] ? [TOnDynamic] extends [TOnDynamic & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamic : TOnDynamic, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnDynamicAsync] ? [TOnDynamicAsync] extends [TOnDynamicAsync & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnDynamicAsync : TOnDynamicAsync, [import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined] extends [TOnServer] ? [TOnServer] extends [TOnServer & (import('@tanstack/form-core').FormValidateOrFn<TFormData> | undefined)] ? any : TOnServer : TOnServer, [unknown] extends [TSubmitMeta] ? any : TSubmitMeta, {
|
|
36
|
-
readonly TextField: import('react').FC<import('../components/form/FormTextField').FormTextFieldProps>;
|
|
37
|
-
readonly NumberField: import('react').FC<import('../components/form/FormNumberField').FormNumberFieldProps>;
|
|
38
|
-
readonly Autocomplete: import('react').FC<import('../components/form/FormAutocomplete').FormAutocompleteProps>;
|
|
39
|
-
readonly Checkbox: import('react').FC<import('../components/form/FormCheckbox').FormCheckboxProps>;
|
|
40
|
-
readonly Switch: import('react').FC<import('../components/form/FormSwitch').FormSwitchProps>;
|
|
41
|
-
readonly RadioGroup: import('react').FC<import('../components/form/FormRadioGroup').FormRadioGroupProps>;
|
|
42
|
-
readonly Slider: import('react').FC<import('../components/form/FormSlider').FormSliderProps>;
|
|
43
|
-
readonly DatePicker: import('react').FC<import('../components/form/FormDatePicker').FormDatePickerProps>;
|
|
44
|
-
readonly DateRangePicker: import('react').FC<import('../components/form/FormDateRangePicker').FormDateRangePickerProps>;
|
|
45
|
-
readonly TimePicker: import('react').FC<import('../components/form/FormTimePicker').FormTimePickerProps>;
|
|
46
|
-
readonly TimeRangePicker: import('react').FC<import('../components/form/FormTimeRangePicker').FormTimeRangePickerProps>;
|
|
47
|
-
readonly DateTimePicker: import('react').FC<import('../components/form/FormDateTimePicker').FormDateTimePickerProps>;
|
|
48
|
-
readonly DateTimeRangePicker: import('react').FC<import('../components/form/FormDateTimeRangePicker').FormDateTimeRangePickerProps>;
|
|
49
|
-
}, {
|
|
50
|
-
readonly SubmitButton: import('react').FC<import('../components/form/FormSubmitButton').FormSubmitButtonProps>;
|
|
51
|
-
}>;
|
|
52
|
-
}>) => import('react').ReactNode;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { CssVarsThemeOptions } from '@mui/material';
|
|
2
|
-
export declare const WISTRON_PRIMARY_COLOR = "#00506E";
|
|
3
|
-
export declare const WISTRON_SECONDARY_COLOR = "#64DC00";
|
|
4
|
-
export declare const useGetTheme: (theme?: Pick<CssVarsThemeOptions, "colorSchemes" | "components">) => import('@mui/material').Theme;
|