wcz-test 6.7.7 → 6.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/dist/ApprovalStatus-C9HPyMiS.js +24 -0
  2. package/dist/ApprovalStatus-C9HPyMiS.js.map +1 -0
  3. package/dist/{chunk-4UULRYGW.js → DialogsHooks-BlUsVlfv.js} +7 -14
  4. package/dist/DialogsHooks-BlUsVlfv.js.map +1 -0
  5. package/dist/{chunk-MIVD2XWB.js → FileHooks-hWKTwLCr.js} +36 -46
  6. package/dist/FileHooks-hWKTwLCr.js.map +1 -0
  7. package/dist/{chunk-TME53DAF.js → FileMeta-G1oT3mYK.js} +3 -5
  8. package/dist/FileMeta-G1oT3mYK.js.map +1 -0
  9. package/dist/{chunk-ZMWQQXZT.js → RouterListItemButton-Cx7rXEfm.js} +6 -8
  10. package/dist/RouterListItemButton-Cx7rXEfm.js.map +1 -0
  11. package/dist/android-chrome-192x192.png +0 -0
  12. package/dist/android-chrome-512x512.png +0 -0
  13. package/dist/apple-touch-icon.png +0 -0
  14. package/dist/auth-client-D9snEe6B.js +79 -0
  15. package/dist/auth-client-D9snEe6B.js.map +1 -0
  16. package/dist/client-utils.d.ts +3 -702
  17. package/dist/client-utils.js +7 -17
  18. package/dist/client-utils.js.map +1 -1
  19. package/dist/components/core/AppTitle.d.ts +2 -0
  20. package/dist/components/core/Fullscreen.d.ts +3 -0
  21. package/dist/components/core/Layout.d.ts +8 -0
  22. package/dist/components/core/ToolbarAccount.d.ts +2 -0
  23. package/dist/components/core/TypographyWithIcon.d.ts +7 -0
  24. package/dist/components/core/navigation/NavigationList.d.ts +22 -0
  25. package/dist/components/core/navigation/NavigationListItem.d.ts +16 -0
  26. package/dist/components/core/navigation/NavigationRail.d.ts +12 -0
  27. package/dist/components/data-grid/ChipInputCell.d.ts +9 -0
  28. package/dist/components/data-grid/EditableColumnHeader.d.ts +2 -0
  29. package/dist/components/file/Dropzone.d.ts +8 -0
  30. package/dist/components/file/FileViewer.d.ts +20 -0
  31. package/dist/components/file/fileViewer/FileViewerGrid.d.ts +17 -0
  32. package/dist/components/file/fileViewer/FileViewerList.d.ts +12 -0
  33. package/dist/components/file/fileViewer/ImageViewer.d.ts +6 -0
  34. package/dist/components/file/fileViewer/common/ActionsMenu.d.ts +15 -0
  35. package/dist/components/form/FormAutocomplete.d.ts +7 -0
  36. package/dist/components/form/FormCheckbox.d.ts +7 -0
  37. package/dist/components/form/FormDatePicker.d.ts +8 -0
  38. package/dist/components/form/FormDateRangePicker.d.ts +8 -0
  39. package/dist/components/form/FormDateTimePicker.d.ts +8 -0
  40. package/dist/components/form/FormDateTimeRangePicker.d.ts +8 -0
  41. package/dist/components/form/FormNumberField.d.ts +9 -0
  42. package/dist/components/form/FormRadioGroup.d.ts +13 -0
  43. package/dist/components/form/FormSlider.d.ts +7 -0
  44. package/dist/components/form/FormSubmitButton.d.ts +4 -0
  45. package/dist/components/form/FormSwitch.d.ts +7 -0
  46. package/dist/components/form/FormTextField.d.ts +7 -0
  47. package/dist/components/form/FormTimePicker.d.ts +8 -0
  48. package/dist/components/form/FormTimeRangePicker.d.ts +8 -0
  49. package/dist/components/router/RouterButton.d.ts +6 -0
  50. package/dist/components/router/RouterError.d.ts +7 -0
  51. package/dist/components/router/RouterGridActionsCellItem.d.ts +6 -0
  52. package/dist/components/router/RouterIconButton.d.ts +6 -0
  53. package/dist/components/router/RouterLink.d.ts +6 -0
  54. package/dist/components/router/RouterListItemButton.d.ts +6 -0
  55. package/dist/components/router/RouterNotFound.d.ts +1 -0
  56. package/dist/components/router/RouterTab.d.ts +6 -0
  57. package/dist/components.d.ts +14 -89
  58. package/dist/components.js +124 -227
  59. package/dist/components.js.map +1 -1
  60. package/dist/contexts/DialogsContext.d.ts +6 -0
  61. package/dist/contexts/FileContext.d.ts +13 -0
  62. package/dist/env-CoxTjaDr.js +27 -0
  63. package/dist/env-CoxTjaDr.js.map +1 -0
  64. package/dist/env.d.ts +10 -0
  65. package/dist/favicon-16x16.png +0 -0
  66. package/dist/favicon-32x32.png +0 -0
  67. package/dist/favicon.ico +0 -0
  68. package/dist/favicon.png +0 -0
  69. package/dist/hooks/DialogsHooks.d.ts +42 -0
  70. package/dist/hooks/FormHooks.d.ts +52 -0
  71. package/dist/hooks/ThemeHook.d.ts +4 -0
  72. package/dist/hooks.d.ts +3 -159
  73. package/dist/hooks.js +56 -121
  74. package/dist/hooks.js.map +1 -1
  75. package/dist/index.d.ts +3 -36
  76. package/dist/index.js +173 -1882
  77. package/dist/index.js.map +1 -1
  78. package/dist/{client-utils.d.cts → lib/auth/auth-client.d.ts} +110 -126
  79. package/dist/lib/auth/auth.d.ts +24 -0
  80. package/dist/lib/db/index.d.ts +4 -0
  81. package/dist/lib/db/schemas/auth.d.ts +606 -0
  82. package/dist/{utils-ChipkRJ9.d.ts → lib/utils.d.ts} +11 -10
  83. package/dist/lib/vite-plugin.d.ts +2 -0
  84. package/dist/manifest.webmanifest +18 -0
  85. package/dist/models/Navigation.d.ts +18 -0
  86. package/dist/models/User.d.ts +8 -0
  87. package/dist/models/approval/Approval.d.ts +177 -0
  88. package/dist/models/approval/ApprovalEmployee.d.ts +7 -0
  89. package/dist/models/approval/ApprovalFlow.d.ts +49 -0
  90. package/dist/models/approval/ApprovalFlowStep.d.ts +29 -0
  91. package/dist/models/approval/ApprovalRequestType.d.ts +5 -0
  92. package/dist/models/approval/ApprovalStatus.d.ts +9 -0
  93. package/dist/models/approval/ApprovalStepResult.d.ts +11 -0
  94. package/dist/models/approval/StepApprovalOrder.d.ts +6 -0
  95. package/dist/models/email/Email.d.ts +13 -0
  96. package/dist/models/email/EmailAttachment.d.ts +6 -0
  97. package/dist/models/file/FileActions.d.ts +6 -0
  98. package/dist/{FileMeta-CC014fnB.d.cts → models/file/FileMeta.d.ts} +3 -6
  99. package/dist/models/peoplesoft/Department.d.ts +58 -0
  100. package/dist/models/peoplesoft/Employee.d.ts +46 -0
  101. package/dist/models/peoplesoft/EmployeeCategoryGroup.d.ts +6 -0
  102. package/dist/models/peoplesoft/EmployeeStatus.d.ts +6 -0
  103. package/dist/models.d.ts +25 -161
  104. package/dist/models.js +109 -160
  105. package/dist/models.js.map +1 -1
  106. package/dist/providers/DialogsProvider.d.ts +6 -0
  107. package/dist/providers/LayoutProvider.d.ts +11 -0
  108. package/dist/queries/Approval.d.ts +585 -0
  109. package/dist/queries/ApprovalHooks.d.ts +315 -0
  110. package/dist/queries/FileHooks.d.ts +151 -0
  111. package/dist/queries/PeopleSoftHooks.d.ts +537 -0
  112. package/dist/queries.d.ts +4 -1585
  113. package/dist/queries.js +59 -86
  114. package/dist/queries.js.map +1 -1
  115. package/dist/robots.txt +3 -0
  116. package/dist/server-utils.d.ts +2 -35
  117. package/dist/server-utils.js +13 -26
  118. package/dist/server-utils.js.map +1 -1
  119. package/dist/{chunk-2ROTNT7W.js → utils-DKyKGba7.js} +13 -18
  120. package/dist/utils-DKyKGba7.js.map +1 -0
  121. package/dist/utils.d.ts +1 -2
  122. package/dist/utils.js +3 -9
  123. package/dist/utils.js.map +1 -1
  124. package/dist/vite.d.ts +1 -5
  125. package/dist/vite.js +3 -6
  126. package/dist/vite.js.map +1 -1
  127. package/package.json +15 -23
  128. package/dist/Approval-CWQn-kah.d.cts +0 -284
  129. package/dist/Approval-CWQn-kah.d.ts +0 -284
  130. package/dist/FileMeta-CC014fnB.d.ts +0 -18
  131. package/dist/chunk-2ROTNT7W.js.map +0 -1
  132. package/dist/chunk-4FRZRIAO.js +0 -29
  133. package/dist/chunk-4FRZRIAO.js.map +0 -1
  134. package/dist/chunk-4UULRYGW.js.map +0 -1
  135. package/dist/chunk-5WRI5ZAA.js +0 -31
  136. package/dist/chunk-5WRI5ZAA.js.map +0 -1
  137. package/dist/chunk-CNDRHYQK.js +0 -883
  138. package/dist/chunk-CNDRHYQK.js.map +0 -1
  139. package/dist/chunk-DXXZZHAK.js +0 -28
  140. package/dist/chunk-DXXZZHAK.js.map +0 -1
  141. package/dist/chunk-MIVD2XWB.js.map +0 -1
  142. package/dist/chunk-TME53DAF.js.map +0 -1
  143. package/dist/chunk-ZMWQQXZT.js.map +0 -1
  144. package/dist/client-utils.cjs +0 -118
  145. package/dist/client-utils.cjs.map +0 -1
  146. package/dist/components.cjs +0 -802
  147. package/dist/components.cjs.map +0 -1
  148. package/dist/components.d.cts +0 -89
  149. package/dist/hooks.cjs +0 -534
  150. package/dist/hooks.cjs.map +0 -1
  151. package/dist/hooks.d.cts +0 -160
  152. package/dist/index.cjs +0 -3373
  153. package/dist/index.cjs.map +0 -1
  154. package/dist/index.d.cts +0 -36
  155. package/dist/models.cjs +0 -330
  156. package/dist/models.cjs.map +0 -1
  157. package/dist/models.d.cts +0 -161
  158. package/dist/queries.cjs +0 -706
  159. package/dist/queries.cjs.map +0 -1
  160. package/dist/queries.d.cts +0 -1585
  161. package/dist/server-utils.cjs +0 -145
  162. package/dist/server-utils.cjs.map +0 -1
  163. package/dist/server-utils.d.cts +0 -36
  164. package/dist/utils-ChipkRJ9.d.cts +0 -49
  165. package/dist/utils.cjs +0 -81
  166. package/dist/utils.cjs.map +0 -1
  167. package/dist/utils.d.cts +0 -4
  168. package/dist/vite.cjs +0 -94
  169. package/dist/vite.cjs.map +0 -1
  170. package/dist/vite.d.cts +0 -5
@@ -1,23 +1,13 @@
1
- import {
2
- WISTRON_PRIMARY_COLOR,
3
- WISTRON_SECONDARY_COLOR,
4
- authClient
5
- } from "./chunk-CNDRHYQK.js";
6
- import {
7
- Platform
8
- } from "./chunk-2ROTNT7W.js";
9
- import "./chunk-DXXZZHAK.js";
10
- import "./chunk-5WRI5ZAA.js";
11
-
12
- // src/client-utils.ts
1
+ import { P } from "./utils-DKyKGba7.js";
2
+ import { W, a, b } from "./auth-client-D9snEe6B.js";
13
3
  import { t } from "i18next";
14
4
  import { useTranslation } from "react-i18next";
15
5
  export {
16
- Platform,
17
- WISTRON_PRIMARY_COLOR,
18
- WISTRON_SECONDARY_COLOR,
19
- authClient,
6
+ P as Platform,
7
+ W as WISTRON_PRIMARY_COLOR,
8
+ a as WISTRON_SECONDARY_COLOR,
9
+ b as authClient,
20
10
  t,
21
11
  useTranslation
22
12
  };
23
- //# sourceMappingURL=client-utils.js.map
13
+ //# sourceMappingURL=client-utils.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/client-utils.ts"],"sourcesContent":["export { Platform } from \"./lib/utils\";\r\nexport { WISTRON_PRIMARY_COLOR, WISTRON_SECONDARY_COLOR } from \"./hooks/ThemeHook\";\r\n\r\n// Internationalization\r\nexport { t } from \"i18next\";\r\nexport { useTranslation } from \"react-i18next\";\r\n\r\n// Auth\r\nexport { authClient } from \"./lib/auth/auth-client\";\r\n\r\n"],"mappings":";;;;;;;;;;;;AAIA,SAAS,SAAS;AAClB,SAAS,sBAAsB;","names":[]}
1
+ {"version":3,"file":"client-utils.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -0,0 +1,2 @@
1
+ import { FC } from 'react';
2
+ export declare const AppTitle: FC;
@@ -0,0 +1,3 @@
1
+ import { BoxProps } from '@mui/material';
2
+ import { FC } from 'react';
3
+ export declare const Fullscreen: FC<BoxProps>;
@@ -0,0 +1,8 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { Navigation } from '../../models/Navigation';
3
+ interface LayoutProps {
4
+ navigation: Navigation | undefined;
5
+ children: ReactNode;
6
+ }
7
+ export declare const Layout: FC<LayoutProps>;
8
+ export {};
@@ -0,0 +1,2 @@
1
+ import { FC } from 'react';
2
+ export declare const ToolbarAccount: FC;
@@ -0,0 +1,7 @@
1
+ import { TypographyProps } from '@mui/material';
2
+ interface TypographyWithIconProps extends TypographyProps {
3
+ startIcon?: React.ReactNode;
4
+ endIcon?: React.ReactNode;
5
+ }
6
+ export declare const TypographyWithIcon: React.FC<TypographyWithIconProps>;
7
+ export {};
@@ -0,0 +1,22 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { Navigation, NavigationDivider, NavigationHeader, NavigationItem, NavigationPageItem } from '../../../models/Navigation';
3
+ export declare const isPageItem: (item: NavigationItem) => item is NavigationPageItem;
4
+ export declare const isDivider: (item: NavigationItem) => item is NavigationDivider;
5
+ export declare const isHeader: (item: NavigationItem) => item is NavigationHeader;
6
+ interface NavigationListProps {
7
+ subNavigation: Navigation;
8
+ depth?: number;
9
+ collapsed?: boolean;
10
+ isPopover?: boolean;
11
+ isSidebarFullyExpanded?: boolean;
12
+ isSidebarFullyCollapsed?: boolean;
13
+ expandedWidth: number | string;
14
+ renderItem?: (item: NavigationPageItem, context: {
15
+ collapsed: boolean;
16
+ }) => ReactNode;
17
+ activePath?: string | null;
18
+ onNavigate: (item: NavigationPageItem) => void;
19
+ onClose?: () => void;
20
+ }
21
+ export declare const NavigationList: FC<NavigationListProps>;
22
+ export {};
@@ -0,0 +1,16 @@
1
+ import { NavigationItem, NavigationPageItem } from '../../../models/Navigation';
2
+ import { FC, ReactNode } from 'react';
3
+ interface NavigationListItemProps {
4
+ item: NavigationPageItem;
5
+ isOpen?: boolean;
6
+ selected?: boolean;
7
+ disabled?: boolean;
8
+ collapsed?: boolean;
9
+ isSidebarFullyExpanded?: boolean;
10
+ isSidebarFullyCollapsed?: boolean;
11
+ onClick?: (item: NavigationPageItem) => void;
12
+ renderNested?: (sub: Array<NavigationItem>) => ReactNode;
13
+ onClose?: () => void;
14
+ }
15
+ export declare const NavigationListItem: FC<NavigationListItemProps>;
16
+ export {};
@@ -0,0 +1,12 @@
1
+ import { FC } from 'react';
2
+ import { Navigation } from '../../../models/Navigation';
3
+ export declare const MINI_WIDTH = 84;
4
+ export declare const EXPANDED_WIDTH = 320;
5
+ export declare const TOOLBAR_HEIGHT = 64;
6
+ interface NavigationRailProps {
7
+ navigation: Navigation;
8
+ expanded: boolean;
9
+ setExpanded: (open: boolean) => void;
10
+ }
11
+ export declare const NavigationRail: FC<NavigationRailProps>;
12
+ export {};
@@ -0,0 +1,9 @@
1
+ import { ChipProps } from '@mui/material';
2
+ import { GridRenderCellParams, GridValidRowModel } from '@mui/x-data-grid-premium';
3
+ interface ChipInputCellProps<T extends GridValidRowModel> {
4
+ params: GridRenderCellParams<T>;
5
+ slotProps?: ChipProps;
6
+ getLabel?: (object: T) => string | number;
7
+ }
8
+ export declare const ChipInputCell: <T extends GridValidRowModel>({ params, slotProps, getLabel }: ChipInputCellProps<T>) => import("react/jsx-runtime").JSX.Element | null;
9
+ export {};
@@ -0,0 +1,2 @@
1
+ import { GridColumnHeaderParams, GridValidRowModel } from '@mui/x-data-grid-premium';
2
+ export declare const EditableColumnHeader: <T extends GridValidRowModel>({ colDef }: GridColumnHeaderParams<T>) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { SxProps, Theme } from '@mui/material';
2
+ import { FC } from 'react';
3
+ import { DropzoneOptions } from 'react-dropzone';
4
+ interface DropzoneProps extends DropzoneOptions {
5
+ sx?: SxProps<Theme>;
6
+ }
7
+ export declare const Dropzone: FC<DropzoneProps>;
8
+ export {};
@@ -0,0 +1,20 @@
1
+ import { FileViewerGridProps } from './fileViewer/FileViewerGrid';
2
+ import { ComponentType, FC, ReactNode } from 'react';
3
+ import { FileMeta } from '../../models/file/FileMeta';
4
+ import { FileActions } from '../../models/file/FileActions';
5
+ import { FileViewerListProps } from './fileViewer/FileViewerList';
6
+ interface FileViewerComponent {
7
+ Grid: ComponentType<FileViewerGridProps>;
8
+ List: ComponentType<FileViewerListProps>;
9
+ }
10
+ interface FileViewerProps {
11
+ subId: string;
12
+ onDelete?: (params: {
13
+ remainingFileMetas: Array<FileMeta>;
14
+ deletedFileMeta: FileMeta;
15
+ }) => void;
16
+ actions?: FileActions;
17
+ children: (component: FileViewerComponent) => ReactNode;
18
+ }
19
+ export declare const FileViewer: FC<FileViewerProps>;
20
+ export {};
@@ -0,0 +1,17 @@
1
+ import { default as React } from 'react';
2
+ import { SxProps, Theme } from '@mui/material';
3
+ import { FileMeta } from '../../../models/file/FileMeta';
4
+ type FileViewerGridItemBar = "hidden" | "always" | "onMouseEnter";
5
+ export interface FileViewerGridProps {
6
+ size?: number;
7
+ itemBar?: FileViewerGridItemBar;
8
+ sx?: SxProps<Theme>;
9
+ }
10
+ export declare const FileViewerGrid: React.FC<FileViewerGridProps>;
11
+ interface GridFileViewerItemProps {
12
+ meta: FileMeta;
13
+ size?: number;
14
+ itemBar?: FileViewerGridItemBar;
15
+ }
16
+ export declare const GridFileViewerItem: React.FC<GridFileViewerItemProps>;
17
+ export {};
@@ -0,0 +1,12 @@
1
+ import { FC } from 'react';
2
+ import { SxProps, Theme } from '@mui/material';
3
+ import { FileMeta } from '../../../models/file/FileMeta';
4
+ export interface FileViewerListProps {
5
+ sx?: SxProps<Theme>;
6
+ }
7
+ export declare const FileViewerList: FC<FileViewerListProps>;
8
+ interface ListFileViewerItemProps {
9
+ meta: FileMeta;
10
+ }
11
+ export declare const ListFileViewerItem: React.FC<ListFileViewerItemProps>;
12
+ export {};
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ interface ImageViewerProps {
3
+ metaId: string;
4
+ }
5
+ export declare const ImageViewer: React.FC<ImageViewerProps>;
6
+ export {};
@@ -0,0 +1,15 @@
1
+ import { FC } from 'react';
2
+ import { FileMeta } from '../../../../models/file/FileMeta';
3
+ interface ActionsMenuProps {
4
+ meta: FileMeta;
5
+ menu: {
6
+ mouseX: number;
7
+ mouseY: number;
8
+ } | null;
9
+ setMenu: (menu: {
10
+ mouseX: number;
11
+ mouseY: number;
12
+ } | null) => void;
13
+ }
14
+ export declare const ActionsMenu: FC<ActionsMenuProps>;
15
+ export {};
@@ -0,0 +1,7 @@
1
+ import { AutocompleteProps, TextFieldProps } from '@mui/material';
2
+ import { FC } from 'react';
3
+ import { FormOmittedProps } from '../../lib/utils';
4
+ export interface FormAutocompleteProps extends Omit<AutocompleteProps<any, boolean, boolean, boolean>, FormOmittedProps> {
5
+ textFieldProps?: Omit<TextFieldProps, FormOmittedProps>;
6
+ }
7
+ export declare const FormAutocomplete: FC<FormAutocompleteProps>;
@@ -0,0 +1,7 @@
1
+ import { CheckboxProps } from '@mui/material';
2
+ import { FC } from 'react';
3
+ import { FormOmittedProps } from '../../lib/utils';
4
+ export interface FormCheckboxProps extends Omit<CheckboxProps, FormOmittedProps> {
5
+ label?: string;
6
+ }
7
+ export declare const FormCheckbox: FC<FormCheckboxProps>;
@@ -0,0 +1,8 @@
1
+ import { TextFieldProps } from '@mui/material';
2
+ import { DatePickerProps } from '@mui/x-date-pickers-pro';
3
+ import { FC } from 'react';
4
+ import { FormOmittedProps } from '../../lib/utils';
5
+ export interface FormDatePickerProps extends Omit<DatePickerProps, FormOmittedProps> {
6
+ textFieldProps?: TextFieldProps;
7
+ }
8
+ export declare const FormDatePicker: FC<FormDatePickerProps>;
@@ -0,0 +1,8 @@
1
+ import { TextFieldProps } from '@mui/material';
2
+ import { DateRangePickerProps } from '@mui/x-date-pickers-pro';
3
+ import { FC } from 'react';
4
+ import { FormOmittedProps } from '../../lib/utils';
5
+ export interface FormDateRangePickerProps extends Omit<DateRangePickerProps, FormOmittedProps> {
6
+ textFieldProps?: TextFieldProps;
7
+ }
8
+ export declare const FormDateRangePicker: FC<FormDateRangePickerProps>;
@@ -0,0 +1,8 @@
1
+ import { TextFieldProps } from '@mui/material';
2
+ import { DateTimePickerProps } from '@mui/x-date-pickers-pro';
3
+ import { FC } from 'react';
4
+ import { FormOmittedProps } from '../../lib/utils';
5
+ export interface FormDateTimePickerProps extends Omit<DateTimePickerProps, FormOmittedProps> {
6
+ textFieldProps?: TextFieldProps;
7
+ }
8
+ export declare const FormDateTimePicker: FC<FormDateTimePickerProps>;
@@ -0,0 +1,8 @@
1
+ import { TextFieldProps } from '@mui/material';
2
+ import { DateTimeRangePickerProps } from '@mui/x-date-pickers-pro';
3
+ import { FC } from 'react';
4
+ import { FormOmittedProps } from '../../lib/utils';
5
+ export interface FormDateTimeRangePickerProps extends Omit<DateTimeRangePickerProps, FormOmittedProps> {
6
+ textFieldProps?: TextFieldProps;
7
+ }
8
+ export declare const FormDateTimeRangePicker: FC<FormDateTimeRangePickerProps>;
@@ -0,0 +1,9 @@
1
+ import { InputAttributes, NumericFormatProps } from 'react-number-format/types/types';
2
+ import { FC } from 'react';
3
+ import { TextFieldProps } from '@mui/material';
4
+ import { FormOmittedProps } from '../../lib/utils';
5
+ export interface FormNumberFieldProps extends Omit<TextFieldProps, FormOmittedProps> {
6
+ defaultValue?: number | null;
7
+ options?: Omit<NumericFormatProps<InputAttributes>, "customInput" | "onValueChange" | keyof InputAttributes>;
8
+ }
9
+ export declare const FormNumberField: FC<FormNumberFieldProps>;
@@ -0,0 +1,13 @@
1
+ import { RadioGroupProps } from '@mui/material';
2
+ import { FC } from 'react';
3
+ import { FormOmittedProps } from '../../lib/utils';
4
+ interface Option {
5
+ label: string;
6
+ value: string | number;
7
+ }
8
+ export interface FormRadioGroupProps extends Omit<RadioGroupProps, FormOmittedProps> {
9
+ label?: string;
10
+ options: Array<Option>;
11
+ }
12
+ export declare const FormRadioGroup: FC<FormRadioGroupProps>;
13
+ export {};
@@ -0,0 +1,7 @@
1
+ import { SliderProps } from '@mui/material';
2
+ import { FC } from 'react';
3
+ import { FormOmittedProps } from '../../lib/utils';
4
+ export interface FormSliderProps extends Omit<SliderProps, FormOmittedProps> {
5
+ label?: string;
6
+ }
7
+ export declare const FormSlider: FC<FormSliderProps>;
@@ -0,0 +1,4 @@
1
+ import { ButtonProps } from '@mui/material';
2
+ import { FC } from 'react';
3
+ export type FormSubmitButtonProps = Omit<ButtonProps, "loading" | "disabled" | "onClick" | "type">;
4
+ export declare const FormSubmitButton: FC<FormSubmitButtonProps>;
@@ -0,0 +1,7 @@
1
+ import { SwitchProps } from '@mui/material';
2
+ import { FC } from 'react';
3
+ import { FormOmittedProps } from '../../lib/utils';
4
+ export interface FormSwitchProps extends Omit<SwitchProps, FormOmittedProps> {
5
+ label?: string;
6
+ }
7
+ export declare const FormSwitch: FC<FormSwitchProps>;
@@ -0,0 +1,7 @@
1
+ import { TextFieldProps } from '@mui/material';
2
+ import { FC } from 'react';
3
+ import { FormOmittedProps } from '../../lib/utils';
4
+ export interface FormTextFieldProps extends Omit<TextFieldProps, FormOmittedProps> {
5
+ type?: "color" | "email" | "password" | "search" | "tel" | "text" | "url";
6
+ }
7
+ export declare const FormTextField: FC<FormTextFieldProps>;
@@ -0,0 +1,8 @@
1
+ import { TextFieldProps } from '@mui/material';
2
+ import { TimePickerProps } from '@mui/x-date-pickers-pro';
3
+ import { FC } from 'react';
4
+ import { FormOmittedProps } from '../../lib/utils';
5
+ export interface FormTimePickerProps extends Omit<TimePickerProps, FormOmittedProps> {
6
+ textFieldProps?: TextFieldProps;
7
+ }
8
+ export declare const FormTimePicker: FC<FormTimePickerProps>;
@@ -0,0 +1,8 @@
1
+ import { TextFieldProps } from '@mui/material';
2
+ import { TimeRangePickerProps } from '@mui/x-date-pickers-pro';
3
+ import { FC } from 'react';
4
+ import { FormOmittedProps } from '../../lib/utils';
5
+ export interface FormTimeRangePickerProps extends Omit<TimeRangePickerProps, FormOmittedProps> {
6
+ textFieldProps?: TextFieldProps;
7
+ }
8
+ export declare const FormTimeRangePicker: FC<FormTimeRangePickerProps>;
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { ButtonProps } from '@mui/material';
3
+ import { LinkComponent } from '@tanstack/react-router';
4
+ declare const Component: React.ForwardRefExoticComponent<Omit<ButtonProps<"a">, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
5
+ export declare const RouterButton: LinkComponent<typeof Component>;
6
+ export {};
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ import { ErrorComponentProps } from '@tanstack/react-router';
3
+ interface RouterErrorProps {
4
+ error: ErrorComponentProps["error"];
5
+ }
6
+ export declare const RouterError: FC<RouterErrorProps>;
7
+ export {};
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { GridActionsCellItemProps } from '@mui/x-data-grid-premium';
3
+ import { LinkComponent } from '@tanstack/react-router';
4
+ declare const Component: React.ForwardRefExoticComponent<GridActionsCellItemProps & React.RefAttributes<HTMLButtonElement>>;
5
+ export declare const RouterGridActionsCellItem: LinkComponent<typeof Component>;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { IconButtonProps } from '@mui/material';
3
+ import { LinkComponent } from '@tanstack/react-router';
4
+ declare const Component: React.ForwardRefExoticComponent<Omit<IconButtonProps<"a">, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
5
+ export declare const RouterIconButton: LinkComponent<typeof Component>;
6
+ export {};
@@ -0,0 +1,6 @@
1
+ import { default as React } from 'react';
2
+ import { LinkProps } from '@mui/material';
3
+ import { LinkComponent } from '@tanstack/react-router';
4
+ declare const Component: React.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
5
+ export declare const RouterLink: LinkComponent<typeof Component>;
6
+ export {};
@@ -0,0 +1,6 @@
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 {};
@@ -0,0 +1 @@
1
+ export declare function RouterNotFound(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
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,89 +1,14 @@
1
- import { TypographyProps, BoxProps, SxProps, Theme, ChipProps, ButtonProps, IconButtonProps, LinkProps, TabProps, ListItemButtonProps } from '@mui/material';
2
- import react__default, { FC, ComponentType, ReactNode } from 'react';
3
- import { DropzoneOptions } from 'react-dropzone';
4
- import { F as FileMeta } from './FileMeta-CC014fnB.js';
5
- import * as z from 'zod';
6
- import * as react_jsx_runtime from 'react/jsx-runtime';
7
- import { GridValidRowModel, GridRenderCellParams, GridColumnHeaderParams, GridActionsCellItemProps } from '@mui/x-data-grid-premium';
8
- import { LinkComponent, ErrorComponentProps } from '@tanstack/react-router';
9
-
10
- interface TypographyWithIconProps extends TypographyProps {
11
- startIcon?: React.ReactNode;
12
- endIcon?: React.ReactNode;
13
- }
14
- declare const TypographyWithIcon: React.FC<TypographyWithIconProps>;
15
-
16
- declare const Fullscreen: FC<BoxProps>;
17
-
18
- interface DropzoneProps extends DropzoneOptions {
19
- sx?: SxProps<Theme>;
20
- }
21
- declare const Dropzone: FC<DropzoneProps>;
22
-
23
- type FileViewerGridItemBar = "hidden" | "always" | "onMouseEnter";
24
- interface FileViewerGridProps {
25
- size?: number;
26
- itemBar?: FileViewerGridItemBar;
27
- sx?: SxProps<Theme>;
28
- }
29
-
30
- declare const FileActionsSchema: z.ZodObject<{
31
- download: z.ZodOptional<z.ZodBoolean>;
32
- delete: z.ZodOptional<z.ZodBoolean>;
33
- }, z.core.$strip>;
34
- type FileActions = z.infer<typeof FileActionsSchema>;
35
-
36
- interface FileViewerListProps {
37
- sx?: SxProps<Theme>;
38
- }
39
-
40
- interface FileViewerComponent {
41
- Grid: ComponentType<FileViewerGridProps>;
42
- List: ComponentType<FileViewerListProps>;
43
- }
44
- interface FileViewerProps {
45
- subId: string;
46
- onDelete?: (params: {
47
- remainingFileMetas: Array<FileMeta>;
48
- deletedFileMeta: FileMeta;
49
- }) => void;
50
- actions?: FileActions;
51
- children: (component: FileViewerComponent) => ReactNode;
52
- }
53
- declare const FileViewer: FC<FileViewerProps>;
54
-
55
- interface ChipInputCellProps<T extends GridValidRowModel> {
56
- params: GridRenderCellParams<T>;
57
- slotProps?: ChipProps;
58
- getLabel?: (object: T) => string | number;
59
- }
60
- declare const ChipInputCell: <T extends GridValidRowModel>({ params, slotProps, getLabel }: ChipInputCellProps<T>) => react_jsx_runtime.JSX.Element | null;
61
-
62
- declare const EditableColumnHeader: <T extends GridValidRowModel>({ colDef }: GridColumnHeaderParams<T>) => react_jsx_runtime.JSX.Element;
63
-
64
- declare const Component$5: react__default.ForwardRefExoticComponent<Omit<ButtonProps<"a">, "ref"> & react__default.RefAttributes<HTMLAnchorElement>>;
65
- declare const RouterButton: LinkComponent<typeof Component$5>;
66
-
67
- declare const Component$4: react__default.ForwardRefExoticComponent<GridActionsCellItemProps & react__default.RefAttributes<HTMLButtonElement>>;
68
- declare const RouterGridActionsCellItem: LinkComponent<typeof Component$4>;
69
-
70
- declare const Component$3: react__default.ForwardRefExoticComponent<Omit<IconButtonProps<"a">, "ref"> & react__default.RefAttributes<HTMLAnchorElement>>;
71
- declare const RouterIconButton: LinkComponent<typeof Component$3>;
72
-
73
- declare const Component$2: react__default.ForwardRefExoticComponent<Omit<LinkProps, "ref"> & react__default.RefAttributes<HTMLAnchorElement>>;
74
- declare const RouterLink: LinkComponent<typeof Component$2>;
75
-
76
- declare const Component$1: react__default.ForwardRefExoticComponent<Omit<TabProps<"a">, "ref"> & react__default.RefAttributes<HTMLAnchorElement>>;
77
- declare const RouterTab: LinkComponent<typeof Component$1>;
78
-
79
- declare const Component: react__default.ForwardRefExoticComponent<Omit<ListItemButtonProps<"a">, "ref"> & react__default.RefAttributes<HTMLAnchorElement>>;
80
- declare const RouterListItemButton: LinkComponent<typeof Component>;
81
-
82
- declare function RouterNotFound(): react_jsx_runtime.JSX.Element;
83
-
84
- interface RouterErrorProps {
85
- error: ErrorComponentProps["error"];
86
- }
87
- declare const RouterError: FC<RouterErrorProps>;
88
-
89
- export { ChipInputCell, Dropzone, EditableColumnHeader, FileViewer, Fullscreen, RouterButton, RouterError, RouterGridActionsCellItem, RouterIconButton, RouterLink, RouterListItemButton, RouterNotFound, RouterTab, TypographyWithIcon };
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';