@acvl/frontend-components 0.0.117 → 0.0.118

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
@@ -24,6 +24,8 @@ import { UseFormReturn } from 'react-hook-form';
24
24
  import { DebouncedFunc } from 'lodash';
25
25
  import { Breadcrumb, PageHeaderProps, Navigation, Branding, Session, Authentication, DashboardHeaderProps } from '@toolpad/core';
26
26
  import { SidebarFooterProps } from '@toolpad/core/DashboardLayout';
27
+ import { Mutex } from 'async-mutex';
28
+ import ReconnectingWebSocket from 'reconnecting-websocket';
27
29
 
28
30
  interface NormalOrIconProps {
29
31
  buttonProps: ButtonProps;
@@ -5524,5 +5526,51 @@ declare const mutationParams: (arg: any) => {
5524
5526
  */
5525
5527
  declare const mutationId: (arg: any) => any;
5526
5528
 
5527
- export { APIContext, APIProvider, AccountMenuContent, ActiveCell, ActiveIcon, Base, ButtonWithDrawer, COLOR_SCHEME_SELECTOR, CSVUpload, CatalogoItem, CatalogoList, ChipCell, ConfirmDialog, ContentBorderRadiusContext, ContentLayout, ControlledAddressAutocomplete, ControlledAmountWithCurrency, ControlledAutocomplete, ControlledColor, ControlledDate$1 as ControlledDate, ControlledDate as ControlledDate_v2, ControlledDropdown, ControlledFileField$1 as ControlledFileField, ControlledFileField as ControlledFileField_v2, FileUploadBox as ControlledFileUploadBox, ControlledNumber, ControlledPhoneNumber, ControlledSelect$1 as ControlledSelect, ControlledSelect as ControlledSelect_v2, ControlledSlider as ControlledSimpleSlider, ControlledSlider$1 as ControlledSlider, ControlledSwitch, ControlledText, ControlledTimePicker, ControlledToggleButtons, CoverPage, CreateButtonBase, CreateButtonWithMenuOptions, CrudDropdown, CustomNoRows, DEFAULT_CONTENT_BORDER_RADIUS, DEFAULT_FORM_BREAKPOINTS, DEFAULT_PAGINATION, DRAWER_Z_INDEX, Dato, DeleteButton, DeleteConfirmationDialog, DetailFormDialog as DetailFormDialog_v2, DetailFormDrawer as DetailFormDrawer_v2, DetailForm as DetailForm_v2, DetailPage$1 as DetailPage, DetailPage as DetailPage_v2, Documento, DrawerGrid as DrawerGrid_v2, EditButton, ExportCSV$1 as ExportCSV, ExportCSV as ExportCSV_v2, ExtraButtons, FILTERS_DRAWER_GAP, FORM_CONTAINER_NAME, GlobalSearch, GrillaHastaElFondo, HEADER_CONTAINER, HEADER_NARROW, HiddenPageHeaderContext, HistorialDrawer, KpiCard, LAYER_ORDER, ListPage, Lista, Loadable, LoadingComponent, LocaleContext, LocaleProvider, Logo, MainDrawer, MainDrawer$1 as MainDrawer_v2, MainLayout, MenuItemWithLoading, ModuleCard, MoreOptions, MyGridEditSingleSelect, NavigationContext, NavigationProvider, NormalOrIcon, NotAllowed, NotFound, NotificationItem, NotificationsBell, ObjectProgressStack, OverModalContext, OverModalProvider, PageActionsHostContext, PageBadgeHostContext, PageInfo, PageInfoHostContext, PaginaLegal, Panel, Parrafo, PollingCountdownChip, PulseDot, RESPONSIVE_ACTION_MODES, ResponsiveActions, SIDE_PANEL_WIDTH_VAR, SaveCancelButton, Seccion, ServerGrid as ServerGrid_v2, SidePanelHostContext, StatusBadge, StickyPageHeaderContext, StyledMenu, StyledToggleButtonGroup, Subtitulo, TEXTOS, TabCounter, Tabs, Titulo, Transitions, TrueFalse, UncontrolledText, aplicarLocaleDeDayjs, buildEstadoTabs, changeTitle, closeProgressSnack, columnasDeCatalogo, composeGridProps, crearFabricaDeCatalogos, deleteColumn$1 as deleteColumn, deleteColumn as deleteColumn_v2, drawerZIndex, editColumn, filterQuery, filtersPanelFrameSx, formContainerSx, formGridSx, formParser, headerContainerSx, _default as headerReducer, llaveDeFiltrosCompartidos, localeDeNumeros, localeTextDeMUI, localeTextDeToolpad, manualCacheRefresh, mergeSettings, mutationData, mutationId, mutationParams, openProgressSnack, pageSizeOptions, query, renderChipCell, renderEditCellWithErrorTooltip, resolveChipOption, resolveInitialState, resolveStatusColor, setErrors, singularizarPalabra, singularizarTitulo, _default$1 as snackProgressReducer, statusColors, tags, theme, togglableFields, updateProgressSnackData, useAPI, useColorMode, useContentBorderRadius, useDetailForm, useHasPermission, useHasPermission_v2, useHiddenPageHeader, useHiddenPageHeaderHost, useKeyboardShortcut, useLocale, useMutationHandler, useNavigation, useOverModal, usePageActionsHost, usePageBadgeHost, usePageInfoHost, useRememberedTab, useServerGrid, useSharedFilters, useSidePanelHost, useStickyPageHeader, useStickyPageHeaderHost, useTextos, valueLabel };
5528
- export type { APIcontextProps, AccountMenuContentProps, AccountMenuItem, AddressValue, AppTheme, AutocompleteOption, BuildEstadoTabsOptions, CSVMenuOptionProps, CatalogoAPI, CatalogoItemProps, CatalogoListProps, ChipCellProps, ChipColor, ChipOption, ColorMode, ComoOpcionesProps, ConfirmDialogProps, ControlledAutocompleteProps, ControlledInput, CrearCatalogoAPI, CustomFilterDef, CustomToolbarProps, DefinicionDeCatalogo, DeleteGridColumnsProps$1 as DeleteGridColumnsProps, DetachedPage, DetailExtraButton, DetailFormApi, DetailFormConfig, DetailFormController, DetailFormDialogProps, DetailFormDrawerNavigation, DetailFormDrawerProps, DetailFormProps, DetailFormStatus, DetailPageV2Props, DetailRenderProps, DrawerGridDrawerConfig, DrawerGridEditConfig, DrawerGridProps, EditGridColumnsProps, EditReadOnlyFields, EstadoDeFiltro, EstadoTabConfig, ExportCSVProps as ExportCSVProps_v2, ExtraButtonContext, ExtraCreateOptionProps, FieldFilter, FieldProps$1 as FieldProps, FieldValidationProps, FilterInput, FormBreakpoint, FormGridSxOptions, GlobalSearchOption, GlobalSearchProps, GridArgs, GridColDefPropsOverrides, GridLayerContribution, GridLayerId, GridLayerMap, GrillaHastaElFondoProps, HiddenPageHeaderHost, InsigniaDeCatalogo, JSONFormProps, JSONParserProps, KeyboardShortcut, KpiCardProps, ListaProps, Locale, LocaleContextProps, LocaleProviderProps, MainDrawerV2Props, MainLayoutFooterConfig, MainLayoutPageHeaderProps, MainLayoutProps, MainLayoutSidebarFooterProps, MutationArgs, MyDataGridProps, MyGridFilterModel, MyTab, MyTabProps, NotificationItemProps, NotificationsApi, NotificationsBellProps, PageActionsHost, PageBadgeHost, PageInfoHost, PageInfoProps, PageType, PaginaLegalProps, PanelProps, PollingCountdownChipProps, ProgressStatusProps, PulseDotProps, ResponsiveAction, ResponsiveActionsMode, ResponsiveActionsProps, RowsSnapshot, RutasDePaginaLegal, SeccionProps, ServerGridArgs, ServerGridCreateApi, ServerGridDataApi, ServerGridDeleteApi, ServerGridEditApi, ServerGridEditToggleApi, ServerGridHandle, ServerGridProps, ServerGridSnapshot, ServerGridState, SharedFiltersConfig, SidePanelHost, StatusColor, StickyPageHeaderHost, TabCounterProps, Textos, TextosDePaginaLegal, UseColorModeResult, UseServerGridOptions };
5529
+ /**
5530
+ * WebSockets that stay connected for as long as a screen is mounted (a chat thread, the
5531
+ * notifications bell), authenticated with the JWT access token in `?token=`.
5532
+ *
5533
+ * The problem this solves: HTTP calls refresh the token by themselves when they get a 401, but a
5534
+ * socket never sees a 401. With an expired token the consumer just closes it as anonymous, and
5535
+ * someone who leaves the screen open without touching anything makes no request that would
5536
+ * renew it. The access token lives 5 minutes and the socket drops several times a day (gunicorn
5537
+ * recycles its workers, Cloud Run cuts connections at the hour, deploys, a laptop going to
5538
+ * sleep): every reconnection presented the stale token, and after `maxRetries` the socket gave
5539
+ * up for good — nothing arrived until a page reload.
5540
+ *
5541
+ * Where the session lives is the portal's business (its `localStorage` key, its Redux actions),
5542
+ * so it comes in through {@link LiveSocketSessionOptions}. The `mutex` must be **the same one**
5543
+ * the portal's `baseQueryWithReauth` uses: the backend rotates the refresh token and blacklists
5544
+ * the old one, so an HTTP call and a socket refreshing at the same time log the second one out.
5545
+ */
5546
+ interface SessionTokens {
5547
+ access?: string;
5548
+ refresh?: string;
5549
+ }
5550
+ interface LiveSocketSessionOptions {
5551
+ /** The lock shared with the portal's `baseQueryWithReauth`. */
5552
+ mutex: Mutex;
5553
+ /** Absolute URL of the refresh endpoint (`…/auth/token/refresh/`). */
5554
+ refreshUrl: string;
5555
+ /** The stored tokens, read fresh on every call. */
5556
+ readTokens: () => SessionTokens | undefined;
5557
+ /** Action to dispatch with the refresh response (it stores the new pair). */
5558
+ refreshed: (tokens: {
5559
+ access: string;
5560
+ refresh?: string;
5561
+ }) => unknown;
5562
+ /** Action to dispatch when the backend rejects the refresh token: the session is over. */
5563
+ expired: () => unknown;
5564
+ }
5565
+ type LiveSocketDispatch = (action: any) => unknown;
5566
+ declare function createLiveSocketSession(options: LiveSocketSessionOptions): {
5567
+ validAccessToken: (dispatch: LiveSocketDispatch) => Promise<string | undefined>;
5568
+ openLiveSocket: (dispatch: LiveSocketDispatch, url: (token: string | undefined) => string) => {
5569
+ socket: ReconnectingWebSocket;
5570
+ close: () => void;
5571
+ };
5572
+ };
5573
+ type LiveSocketSession = ReturnType<typeof createLiveSocketSession>;
5574
+
5575
+ export { APIContext, APIProvider, AccountMenuContent, ActiveCell, ActiveIcon, Base, ButtonWithDrawer, COLOR_SCHEME_SELECTOR, CSVUpload, CatalogoItem, CatalogoList, ChipCell, ConfirmDialog, ContentBorderRadiusContext, ContentLayout, ControlledAddressAutocomplete, ControlledAmountWithCurrency, ControlledAutocomplete, ControlledColor, ControlledDate$1 as ControlledDate, ControlledDate as ControlledDate_v2, ControlledDropdown, ControlledFileField$1 as ControlledFileField, ControlledFileField as ControlledFileField_v2, FileUploadBox as ControlledFileUploadBox, ControlledNumber, ControlledPhoneNumber, ControlledSelect$1 as ControlledSelect, ControlledSelect as ControlledSelect_v2, ControlledSlider as ControlledSimpleSlider, ControlledSlider$1 as ControlledSlider, ControlledSwitch, ControlledText, ControlledTimePicker, ControlledToggleButtons, CoverPage, CreateButtonBase, CreateButtonWithMenuOptions, CrudDropdown, CustomNoRows, DEFAULT_CONTENT_BORDER_RADIUS, DEFAULT_FORM_BREAKPOINTS, DEFAULT_PAGINATION, DRAWER_Z_INDEX, Dato, DeleteButton, DeleteConfirmationDialog, DetailFormDialog as DetailFormDialog_v2, DetailFormDrawer as DetailFormDrawer_v2, DetailForm as DetailForm_v2, DetailPage$1 as DetailPage, DetailPage as DetailPage_v2, Documento, DrawerGrid as DrawerGrid_v2, EditButton, ExportCSV$1 as ExportCSV, ExportCSV as ExportCSV_v2, ExtraButtons, FILTERS_DRAWER_GAP, FORM_CONTAINER_NAME, GlobalSearch, GrillaHastaElFondo, HEADER_CONTAINER, HEADER_NARROW, HiddenPageHeaderContext, HistorialDrawer, KpiCard, LAYER_ORDER, ListPage, Lista, Loadable, LoadingComponent, LocaleContext, LocaleProvider, Logo, MainDrawer, MainDrawer$1 as MainDrawer_v2, MainLayout, MenuItemWithLoading, ModuleCard, MoreOptions, MyGridEditSingleSelect, NavigationContext, NavigationProvider, NormalOrIcon, NotAllowed, NotFound, NotificationItem, NotificationsBell, ObjectProgressStack, OverModalContext, OverModalProvider, PageActionsHostContext, PageBadgeHostContext, PageInfo, PageInfoHostContext, PaginaLegal, Panel, Parrafo, PollingCountdownChip, PulseDot, RESPONSIVE_ACTION_MODES, ResponsiveActions, SIDE_PANEL_WIDTH_VAR, SaveCancelButton, Seccion, ServerGrid as ServerGrid_v2, SidePanelHostContext, StatusBadge, StickyPageHeaderContext, StyledMenu, StyledToggleButtonGroup, Subtitulo, TEXTOS, TabCounter, Tabs, Titulo, Transitions, TrueFalse, UncontrolledText, aplicarLocaleDeDayjs, buildEstadoTabs, changeTitle, closeProgressSnack, columnasDeCatalogo, composeGridProps, crearFabricaDeCatalogos, createLiveSocketSession, deleteColumn$1 as deleteColumn, deleteColumn as deleteColumn_v2, drawerZIndex, editColumn, filterQuery, filtersPanelFrameSx, formContainerSx, formGridSx, formParser, headerContainerSx, _default as headerReducer, llaveDeFiltrosCompartidos, localeDeNumeros, localeTextDeMUI, localeTextDeToolpad, manualCacheRefresh, mergeSettings, mutationData, mutationId, mutationParams, openProgressSnack, pageSizeOptions, query, renderChipCell, renderEditCellWithErrorTooltip, resolveChipOption, resolveInitialState, resolveStatusColor, setErrors, singularizarPalabra, singularizarTitulo, _default$1 as snackProgressReducer, statusColors, tags, theme, togglableFields, updateProgressSnackData, useAPI, useColorMode, useContentBorderRadius, useDetailForm, useHasPermission, useHasPermission_v2, useHiddenPageHeader, useHiddenPageHeaderHost, useKeyboardShortcut, useLocale, useMutationHandler, useNavigation, useOverModal, usePageActionsHost, usePageBadgeHost, usePageInfoHost, useRememberedTab, useServerGrid, useSharedFilters, useSidePanelHost, useStickyPageHeader, useStickyPageHeaderHost, useTextos, valueLabel };
5576
+ export type { APIcontextProps, AccountMenuContentProps, AccountMenuItem, AddressValue, AppTheme, AutocompleteOption, BuildEstadoTabsOptions, CSVMenuOptionProps, CatalogoAPI, CatalogoItemProps, CatalogoListProps, ChipCellProps, ChipColor, ChipOption, ColorMode, ComoOpcionesProps, ConfirmDialogProps, ControlledAutocompleteProps, ControlledInput, CrearCatalogoAPI, CustomFilterDef, CustomToolbarProps, DefinicionDeCatalogo, DeleteGridColumnsProps$1 as DeleteGridColumnsProps, DetachedPage, DetailExtraButton, DetailFormApi, DetailFormConfig, DetailFormController, DetailFormDialogProps, DetailFormDrawerNavigation, DetailFormDrawerProps, DetailFormProps, DetailFormStatus, DetailPageV2Props, DetailRenderProps, DrawerGridDrawerConfig, DrawerGridEditConfig, DrawerGridProps, EditGridColumnsProps, EditReadOnlyFields, EstadoDeFiltro, EstadoTabConfig, ExportCSVProps as ExportCSVProps_v2, ExtraButtonContext, ExtraCreateOptionProps, FieldFilter, FieldProps$1 as FieldProps, FieldValidationProps, FilterInput, FormBreakpoint, FormGridSxOptions, GlobalSearchOption, GlobalSearchProps, GridArgs, GridColDefPropsOverrides, GridLayerContribution, GridLayerId, GridLayerMap, GrillaHastaElFondoProps, HiddenPageHeaderHost, InsigniaDeCatalogo, JSONFormProps, JSONParserProps, KeyboardShortcut, KpiCardProps, ListaProps, LiveSocketDispatch, LiveSocketSession, LiveSocketSessionOptions, Locale, LocaleContextProps, LocaleProviderProps, MainDrawerV2Props, MainLayoutFooterConfig, MainLayoutPageHeaderProps, MainLayoutProps, MainLayoutSidebarFooterProps, MutationArgs, MyDataGridProps, MyGridFilterModel, MyTab, MyTabProps, NotificationItemProps, NotificationsApi, NotificationsBellProps, PageActionsHost, PageBadgeHost, PageInfoHost, PageInfoProps, PageType, PaginaLegalProps, PanelProps, PollingCountdownChipProps, ProgressStatusProps, PulseDotProps, ResponsiveAction, ResponsiveActionsMode, ResponsiveActionsProps, RowsSnapshot, RutasDePaginaLegal, SeccionProps, ServerGridArgs, ServerGridCreateApi, ServerGridDataApi, ServerGridDeleteApi, ServerGridEditApi, ServerGridEditToggleApi, ServerGridHandle, ServerGridProps, ServerGridSnapshot, ServerGridState, SessionTokens, SharedFiltersConfig, SidePanelHost, StatusColor, StickyPageHeaderHost, TabCounterProps, Textos, TextosDePaginaLegal, UseColorModeResult, UseServerGridOptions };
package/package.json CHANGED
@@ -1,111 +1,113 @@
1
- {
2
- "name": "@acvl/frontend-components",
3
- "version": "0.0.117",
4
- "description": "Component library for ACV frontend projects.",
5
- "homepage": "https://github.com/ACV-Logistics/acv-frontend-components#readme",
6
- "access": "public",
7
- "bugs": {
8
- "url": "https://github.com/ACV-Logistics/acv-frontend-components/issues"
9
- },
10
- "repository": {
11
- "type": "git",
12
- "url": "git+https://github.com/ACV-Logistics/acv-frontend-components.git"
13
- },
14
- "license": "MIT",
15
- "author": "mario.aftimos",
16
- "main": "dist/cjs/index.js",
17
- "module": "dist/esm/index.js",
18
- "types": "dist/index.d.ts",
19
- "files": [
20
- "dist"
21
- ],
22
- "scripts": {
23
- "dev": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript --watch",
24
- "build": "rimraf dist && rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript && rimraf dist/esm/types",
25
- "test": "vitest run",
26
- "format": "prettier --write .",
27
- "format:check": "prettier --check ."
28
- },
29
- "devDependencies": {
30
- "@babel/core": "^7.29.0",
31
- "@babel/preset-env": "^7.29.2",
32
- "@babel/preset-react": "^7.28.5",
33
- "@babel/preset-typescript": "^7.28.5",
34
- "@rollup/plugin-commonjs": "^29.0.2",
35
- "@rollup/plugin-image": "^3.0.3",
36
- "@rollup/plugin-node-resolve": "^16.0.3",
37
- "@rollup/plugin-terser": "^1.0.0",
38
- "@rollup/plugin-typescript": "^12.3.0",
39
- "@types/lodash": "^4.17.24",
40
- "@types/node": "^25.6.0",
41
- "@types/react": "^19.2.14",
42
- "@types/rollup-plugin-peer-deps-external": "^2.2.6",
43
- "postcss": "^8.5.8",
44
- "prettier": "3.9.6",
45
- "react": "^19.2.5",
46
- "react-dom": "^19.2.4",
47
- "rimraf": "^6.1.3",
48
- "rollup": "^4.60.1",
49
- "rollup-plugin-dts": "^6.4.1",
50
- "rollup-plugin-peer-deps-external": "^2.2.4",
51
- "rollup-plugin-postcss": "^4.0.2",
52
- "rollup-plugin-preserve-directives": "^0.4.0",
53
- "rollup-plugin-preserve-use-client": "^3.0.1",
54
- "rollup-plugin-typescript2": "^0.37.0",
55
- "tslib": "^2.8.1",
56
- "typescript": "^5.9.3",
57
- "vitest": "^4.1.10"
58
- },
59
- "peerDependencies": {
60
- "@dnd-kit/modifiers": "^9.0.0",
61
- "@dnd-kit/sortable": "^10.0.0",
62
- "@dnd-kit/utilities": "^3.2.2",
63
- "@emotion/react": "^11.14.0",
64
- "@emotion/styled": "^11.14.0",
65
- "@hookform/resolvers": "^5.2.2",
66
- "@mui/icons-material": "^7.3.9",
67
- "@mui/lab": "^7.0.1-beta.23",
68
- "@mui/material": "^7.3.9",
69
- "@mui/styled-engine-sc": "^7.3.9",
70
- "@mui/x-data-grid": "^8.28.2",
71
- "@mui/x-date-pickers": "^8.0.0",
72
- "@reduxjs/toolkit": "^2.11.2",
73
- "@toolpad/core": "^0.16.0",
74
- "async-mutex": "^0.5.0",
75
- "dayjs": "^1.11.0",
76
- "immer": "^11.1.4",
77
- "lodash": "^4.18.1",
78
- "mui-tel-input": "^10.0.0",
79
- "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
80
- "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
81
- "react-dropzone": "^15.0.0",
82
- "react-hook-form": "^7.72.1",
83
- "react-number-format": "^5.4.5",
84
- "react-redux": "^9.2.0",
85
- "react-router-dom": "^7.14.1",
86
- "styled-components": "^6.3.12",
87
- "zod": "^4.3.6"
88
- },
89
- "babel": {
90
- "sourceType": "unambiguous",
91
- "presets": [
92
- [
93
- "@babel/preset-env",
94
- {
95
- "targets": {
96
- "chrome": 100,
97
- "safari": 15,
98
- "firefox": 91
99
- }
100
- }
101
- ],
102
- [
103
- "@babel/preset-react",
104
- {
105
- "runtime": "automatic"
106
- }
107
- ],
108
- "@babel/preset-typescript"
109
- ]
110
- }
111
- }
1
+ {
2
+ "name": "@acvl/frontend-components",
3
+ "version": "0.0.118",
4
+ "description": "Component library for ACV frontend projects.",
5
+ "homepage": "https://github.com/ACV-Logistics/acv-frontend-components#readme",
6
+ "access": "public",
7
+ "bugs": {
8
+ "url": "https://github.com/ACV-Logistics/acv-frontend-components/issues"
9
+ },
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/ACV-Logistics/acv-frontend-components.git"
13
+ },
14
+ "license": "MIT",
15
+ "author": "mario.aftimos",
16
+ "main": "dist/cjs/index.js",
17
+ "module": "dist/esm/index.js",
18
+ "types": "dist/index.d.ts",
19
+ "files": [
20
+ "dist"
21
+ ],
22
+ "scripts": {
23
+ "dev": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript --watch",
24
+ "build": "rimraf dist && rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript && rimraf dist/esm/types",
25
+ "test": "vitest run",
26
+ "format": "prettier --write .",
27
+ "format:check": "prettier --check ."
28
+ },
29
+ "devDependencies": {
30
+ "@babel/core": "^7.29.0",
31
+ "@babel/preset-env": "^7.29.2",
32
+ "@babel/preset-react": "^7.28.5",
33
+ "@babel/preset-typescript": "^7.28.5",
34
+ "@rollup/plugin-commonjs": "^29.0.2",
35
+ "@rollup/plugin-image": "^3.0.3",
36
+ "@rollup/plugin-node-resolve": "^16.0.3",
37
+ "@rollup/plugin-terser": "^1.0.0",
38
+ "@rollup/plugin-typescript": "^12.3.0",
39
+ "@types/lodash": "^4.17.24",
40
+ "@types/node": "^25.6.0",
41
+ "@types/react": "^19.2.14",
42
+ "@types/rollup-plugin-peer-deps-external": "^2.2.6",
43
+ "postcss": "^8.5.8",
44
+ "prettier": "3.9.6",
45
+ "react": "^19.2.5",
46
+ "react-dom": "^19.2.4",
47
+ "reconnecting-websocket": "^4.4.0",
48
+ "rimraf": "^6.1.3",
49
+ "rollup": "^4.60.1",
50
+ "rollup-plugin-dts": "^6.4.1",
51
+ "rollup-plugin-peer-deps-external": "^2.2.4",
52
+ "rollup-plugin-postcss": "^4.0.2",
53
+ "rollup-plugin-preserve-directives": "^0.4.0",
54
+ "rollup-plugin-preserve-use-client": "^3.0.1",
55
+ "rollup-plugin-typescript2": "^0.37.0",
56
+ "tslib": "^2.8.1",
57
+ "typescript": "^5.9.3",
58
+ "vitest": "^4.1.10"
59
+ },
60
+ "peerDependencies": {
61
+ "@dnd-kit/modifiers": "^9.0.0",
62
+ "@dnd-kit/sortable": "^10.0.0",
63
+ "@dnd-kit/utilities": "^3.2.2",
64
+ "@emotion/react": "^11.14.0",
65
+ "@emotion/styled": "^11.14.0",
66
+ "@hookform/resolvers": "^5.2.2",
67
+ "@mui/icons-material": "^7.3.9",
68
+ "@mui/lab": "^7.0.1-beta.23",
69
+ "@mui/material": "^7.3.9",
70
+ "@mui/styled-engine-sc": "^7.3.9",
71
+ "@mui/x-data-grid": "^8.28.2",
72
+ "@mui/x-date-pickers": "^8.0.0",
73
+ "@reduxjs/toolkit": "^2.11.2",
74
+ "@toolpad/core": "^0.16.0",
75
+ "async-mutex": "^0.5.0",
76
+ "dayjs": "^1.11.0",
77
+ "immer": "^11.1.4",
78
+ "lodash": "^4.18.1",
79
+ "mui-tel-input": "^10.0.0",
80
+ "react": "^17.0.0 || ^18.0.0 || ^19.0.0",
81
+ "react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
82
+ "react-dropzone": "^15.0.0",
83
+ "react-hook-form": "^7.72.1",
84
+ "react-number-format": "^5.4.5",
85
+ "reconnecting-websocket": "^4.4.0",
86
+ "react-redux": "^9.2.0",
87
+ "react-router-dom": "^7.14.1",
88
+ "styled-components": "^6.3.12",
89
+ "zod": "^4.3.6"
90
+ },
91
+ "babel": {
92
+ "sourceType": "unambiguous",
93
+ "presets": [
94
+ [
95
+ "@babel/preset-env",
96
+ {
97
+ "targets": {
98
+ "chrome": 100,
99
+ "safari": 15,
100
+ "firefox": 91
101
+ }
102
+ }
103
+ ],
104
+ [
105
+ "@babel/preset-react",
106
+ {
107
+ "runtime": "automatic"
108
+ }
109
+ ],
110
+ "@babel/preset-typescript"
111
+ ]
112
+ }
113
+ }