finance-shared 0.0.6 → 0.0.8

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.
@@ -0,0 +1,592 @@
1
+ import { ActionCreatorWithoutPayload } from '@reduxjs/toolkit';
2
+ import { ActionCreatorWithPayload } from '@reduxjs/toolkit';
3
+ import { Breakpoint } from '@mui/material';
4
+ import { default as default_2 } from 'react';
5
+ import { default as i18n } from 'i18next';
6
+ import { JSX } from 'react/jsx-runtime';
7
+ import { Locale as Locale_2 } from 'date-fns';
8
+ import { MemoExoticComponent } from 'react';
9
+ import { PayloadAction } from '@reduxjs/toolkit';
10
+ import * as React_2 from 'react';
11
+ import { ReactElement } from 'react';
12
+ import { Slice } from '@reduxjs/toolkit';
13
+ import { SliceSelectors } from '@reduxjs/toolkit';
14
+ import { TextFieldProps } from '@mui/material';
15
+ import { TextFieldVariants } from '@mui/material';
16
+ import { TextFieldVariants as TextFieldVariants_2 } from '@mui/material/TextField';
17
+ import { WritableDraft } from 'immer';
18
+
19
+ declare type AdditionalProps = {
20
+ [key: string]: any;
21
+ };
22
+
23
+ export declare const addSectionWiseRemark: (requestData: any, onSuccess?: () => void) => (dispatch: any) => Promise<any>;
24
+
25
+ export declare const ChangeDetectDialog: default_2.FC<ChangeDetectDialogProps>;
26
+
27
+ export declare interface ChangeDetectDialogProps {
28
+ open?: boolean;
29
+ onClose: () => void;
30
+ onButtonClick: () => void;
31
+ }
32
+
33
+ export declare function ChangePasswordDialog({ userId }: ChangePasswordDialogProps): JSX.Element;
34
+
35
+ export declare interface ChangePasswordDialogProps {
36
+ userId?: string | number | null;
37
+ }
38
+
39
+ declare type CommonAutocompleteProps = {
40
+ label: string;
41
+ isTooltipShow?: boolean;
42
+ variant?: TextFieldVariants;
43
+ onChange: (newValue: any) => void;
44
+ onInputChange?: (event: React_2.SyntheticEvent, value: string, reason: string) => void;
45
+ options: (string | {
46
+ id: string | number;
47
+ label: string;
48
+ extraParam?: any;
49
+ })[];
50
+ error?: string;
51
+ required?: boolean;
52
+ isSmall?: boolean;
53
+ loading?: boolean;
54
+ style?: React_2.CSSProperties;
55
+ isUpperCase?: boolean;
56
+ getListboxProps?: any;
57
+ ref?: React_2.Ref<HTMLElement>;
58
+ disableClearable?: boolean;
59
+ value?: string | number | null;
60
+ };
61
+
62
+ export declare const CommonStatusChangeDialog: default_2.FC<CommonStatusChangeDialogProps>;
63
+
64
+ declare interface CommonStatusChangeDialogProps {
65
+ size?: Breakpoint;
66
+ listApiFunc: () => void;
67
+ title: string;
68
+ id: string;
69
+ existingStatus?: string;
70
+ isDialogOpen?: boolean;
71
+ isLoading?: boolean;
72
+ onClose?: () => void;
73
+ onSubmit?: (data: any) => void;
74
+ }
75
+
76
+ export declare const CommonTextField: default_2.FC<CommonTextFieldProps>;
77
+
78
+ export declare interface CommonTextFieldProps extends Omit<TextFieldProps, 'onChange' | 'error'> {
79
+ label?: string;
80
+ onChange: (value: string) => void;
81
+ variant?: "standard" | "filled" | "outlined";
82
+ error?: FieldError | null | boolean;
83
+ isTextUpperCase?: boolean;
84
+ }
85
+
86
+ export declare const ConfirmDialog: default_2.FC<ConfirmDialogProps>;
87
+
88
+ export declare interface ConfirmDialogProps {
89
+ open: boolean;
90
+ title: string;
91
+ description?: string;
92
+ cancelText?: string;
93
+ okText?: string;
94
+ handleClose: () => void;
95
+ handleConfirm: () => void;
96
+ className?: string;
97
+ style?: default_2.CSSProperties;
98
+ size?: "xs" | "sm" | "md" | "lg" | "xl";
99
+ }
100
+
101
+ export declare const CustomAutocomplete: React_2.FC<CustomAutocompleteProps>;
102
+
103
+ declare type CustomAutocompleteProps = CommonAutocompleteProps & AdditionalProps;
104
+
105
+ export declare const CustomDatePicker: default_2.FC<CustomDatePickerProps>;
106
+
107
+ export declare interface CustomDatePickerProps {
108
+ label: string;
109
+ value: Date | null;
110
+ onChange: (date: Date | null) => void;
111
+ error?: string;
112
+ variant?: TextFieldVariants_2;
113
+ maxDate?: Date;
114
+ minDate?: Date;
115
+ disabled?: boolean;
116
+ required?: boolean;
117
+ locale?: Locale_2;
118
+ }
119
+
120
+ export declare function CustomDialog({ open, onClose, content, size, hideCloseIcon }: CustomDialogProps): JSX.Element;
121
+
122
+ export declare interface CustomDialogProps {
123
+ open: boolean;
124
+ onClose: () => void;
125
+ content: {
126
+ title?: string;
127
+ component: React.ReactNode;
128
+ };
129
+ size?: Breakpoint;
130
+ hideBackdrop?: boolean;
131
+ hideCloseIcon?: boolean;
132
+ }
133
+
134
+ export declare const CustomPopover: default_2.FC<CustomPopoverProps>;
135
+
136
+ export declare interface CustomPopoverProps {
137
+ anchorEl: HTMLElement | null;
138
+ content: default_2.ReactNode;
139
+ showCancelButton?: boolean;
140
+ onClose: () => void;
141
+ }
142
+
143
+ export declare const deleteUser: ({ id, }: {
144
+ id: string;
145
+ userTypeProp: string;
146
+ tenantId: string;
147
+ }) => (dispatch: any) => Promise<void>;
148
+
149
+ export declare const DeleteUserDialog: default_2.FC<DeleteUserDialogProps>;
150
+
151
+ export declare interface DeleteUserDialogProps {
152
+ open: boolean;
153
+ deleteUserId: string | null;
154
+ userTypeProp: string;
155
+ tenantId: string;
156
+ onClose: () => void;
157
+ onSuccess?: (userType: string) => void;
158
+ className?: string;
159
+ style?: default_2.CSSProperties;
160
+ size?: "xs" | "sm" | "md" | "lg" | "xl";
161
+ }
162
+
163
+ export declare const dialogsSlice: Slice<DialogsState, {
164
+ setLoading: (state: WritableDraft<DialogsState>, action: PayloadAction<{
165
+ key: string;
166
+ value: boolean;
167
+ }>) => void;
168
+ setRemarkList: (state: WritableDraft<DialogsState>, action: PayloadAction<RemarkType_2[]>) => void;
169
+ setDocumentSignJPDF: (state: WritableDraft<DialogsState>, action: PayloadAction<string>) => void;
170
+ setActiveFinanceDetail: (state: WritableDraft<DialogsState>, action: PayloadAction<any>) => void;
171
+ setImagePath: (state: WritableDraft<DialogsState>, action: PayloadAction<string>) => void;
172
+ setSelectedMediaFilePath: (state: WritableDraft<DialogsState>, action: PayloadAction<string>) => void;
173
+ }, "dialogs", "dialogs", SliceSelectors<DialogsState>>;
174
+
175
+ declare interface DialogsState {
176
+ loading: {
177
+ isDeleteUserDialogOpen: boolean;
178
+ isChangeDetectDialogOpen: boolean;
179
+ isChangePasswordDialogOpen: boolean;
180
+ isUserChangePasswordFormLoading: boolean;
181
+ isConfirmDialogOpen: boolean;
182
+ isAddRemarkFormLoading: boolean;
183
+ isChangeStatusDialogOpen: boolean;
184
+ isUserChangeStatusFormLoading: boolean;
185
+ isDocumentSignatureDialogOpen: boolean;
186
+ isProcessSignatureLoading: boolean;
187
+ isDocumentSignJPDFLoading: boolean;
188
+ isPdfDialogOpen: boolean;
189
+ isPopoverOpen: boolean;
190
+ };
191
+ remarksList: RemarkType_2[];
192
+ documentSignJPDF: string;
193
+ activeFinanceDetail: any;
194
+ imagePath: string;
195
+ selectedMediaFilePath: string;
196
+ }
197
+
198
+ export declare const DigitalProcessSignature: (request_data: any) => (dispatch: any) => Promise<void>;
199
+
200
+ export declare function DocumentSigningDialog({ financeDetail, loginUserDetail, digitalSignatureRole, ColoredSubmitButton }: DocumentSigningDialogProps): JSX.Element;
201
+
202
+ declare interface DocumentSigningDialogProps {
203
+ financeDetail: any;
204
+ loginUserDetail: any;
205
+ digitalSignatureRole: {
206
+ Admin: string;
207
+ Lawyer: string;
208
+ };
209
+ ColoredSubmitButton: React.ComponentType<any>;
210
+ }
211
+
212
+ export declare interface FieldError {
213
+ message?: string;
214
+ }
215
+
216
+ export declare const FinanceApplicationAutocomplete: ({ value, onChange, label, error, required, pagination, isTenantInvoiceGenerated, status, style, tenantId, onFetchData, isParentLoading, }: FinanceApplicationAutocompleteProps) => JSX.Element;
217
+
218
+ export declare interface FinanceApplicationAutocompleteProps {
219
+ value: string;
220
+ onChange: (value: any) => void;
221
+ label: string;
222
+ isParentLoading?: boolean;
223
+ error?: string;
224
+ required?: boolean;
225
+ pagination?: any;
226
+ isTenantInvoiceGenerated?: boolean;
227
+ status?: string | string[];
228
+ style?: default_2.CSSProperties;
229
+ tenantId: string;
230
+ onFetchData: (params: {
231
+ tenantId: string;
232
+ filters: {
233
+ status: string[];
234
+ searchKeyword: string;
235
+ isInvoiceGenerated: boolean;
236
+ };
237
+ pagination: {
238
+ pageSize: number;
239
+ pageIndex: number;
240
+ };
241
+ }) => Promise<Array<{
242
+ id: string;
243
+ applicationNumber: string;
244
+ }>>;
245
+ }
246
+
247
+ export declare function formatAmount({ num, showCurrency }: FormatAmountProps): string;
248
+
249
+ declare interface FormatAmountProps {
250
+ num: any;
251
+ showCurrency?: boolean;
252
+ }
253
+
254
+ export declare const FuseMessage: MemoExoticComponent<typeof FuseMessage_2>;
255
+
256
+ /**
257
+ * FuseMessage
258
+ * The FuseMessage component holds a snackbar that is capable of displaying message with 4 different variant. It uses the @mui/material React packages to create the components.
259
+ */
260
+ declare function FuseMessage_2(): JSX.Element;
261
+
262
+ /**
263
+ * The Message slice.
264
+ */
265
+ export declare const fuseMessageSlice: Slice<initialStateProps, {
266
+ showMessage(state: WritableDraft<initialStateProps>, action: PayloadAction<Partial<initialStateProps["options"]>>): void;
267
+ hideMessage(state: WritableDraft<initialStateProps>): void;
268
+ }, "fuseMessage", "fuseMessage", SliceSelectors<initialStateProps>>;
269
+
270
+ export declare type FuseMessageSliceType = typeof fuseMessageSlice;
271
+
272
+ export declare interface FuseMessageState {
273
+ fuseMessage: {
274
+ state: boolean;
275
+ options: {
276
+ variant: 'success' | 'error' | 'warning' | 'info';
277
+ anchorOrigin: {
278
+ vertical: 'top' | 'bottom';
279
+ horizontal: 'left' | 'center' | 'right';
280
+ };
281
+ autoHideDuration: number | null;
282
+ message: string;
283
+ style?: React.CSSProperties;
284
+ };
285
+ };
286
+ }
287
+
288
+ export declare type FuseMessageVariantType = 'success' | 'error' | 'warning' | 'info';
289
+
290
+ export declare const generateFromJPDF: (financeApplicationId: string) => (dispatch: any) => Promise<void>;
291
+
292
+ export declare const getActiveFinanceDetail: (state: any) => any;
293
+
294
+ export declare const getApplicationDetailById: (id: string) => (dispatch: any) => Promise<any>;
295
+
296
+ export declare const getConfig: () => SharedLibConfig;
297
+
298
+ export declare const getDocumentSignJPDF: (state: any) => any;
299
+
300
+ export declare const getDocumentSignJPDFLoading: (state: any) => any;
301
+
302
+ export declare const getImagePath: (state: any) => any;
303
+
304
+ export declare const getIsAddRemarkFormLoading: (state: any) => any;
305
+
306
+ export declare const getIsChangeDetectDialogOpen: (state: any) => any;
307
+
308
+ export declare const getIsChangePasswordDialogOpen: (state: any) => any;
309
+
310
+ export declare const getIsChangeStatusDialogOpen: (state: any) => any;
311
+
312
+ export declare const getIsDeleteUserDialogOpen: (state: any) => any;
313
+
314
+ export declare const getIsDocumentSignatureDialogOpen: (state: any) => any;
315
+
316
+ export declare const getIsPdfDialogOpen: (state: any) => any;
317
+
318
+ export declare const getIsPopoverOpen: (state: any) => any;
319
+
320
+ export declare const getIsProcessSignatureLoading: (state: any) => any;
321
+
322
+ export declare const getIsUserChangeStatusFormLoading: (state: any) => any;
323
+
324
+ export declare const getRemarkListByFinanceApplicationId: (requestData: RemarkListRequestData) => (dispatch: any) => Promise<void>;
325
+
326
+ export declare const getRemarkListData: (state: any) => any;
327
+
328
+ export declare const getSelectedMediaFilePath: (state: any) => any;
329
+
330
+ export declare const hideMessage: ActionCreatorWithoutPayload<"fuseMessage/hideMessage">;
331
+
332
+ export { i18n }
333
+
334
+ export declare const ImageUpload: default_2.FC<ImageUploadProps>;
335
+
336
+ export declare interface ImageUploadProps {
337
+ name: string;
338
+ existingImage?: string;
339
+ onChange?: (value: any) => void;
340
+ uploadFile?: (value: any) => void;
341
+ supportedFormats?: string;
342
+ className?: string;
343
+ t?: (key: string) => string;
344
+ }
345
+
346
+ export declare function InfoDialog({ open, onClose, title, message, buttonText, onButtonClick, icon: Icon, color, isLoading, t, discardText, }: InfoDialogProps): JSX.Element;
347
+
348
+ export declare interface InfoDialogProps {
349
+ open: boolean;
350
+ onClose: () => void;
351
+ title: string;
352
+ message?: string;
353
+ buttonText: string;
354
+ onButtonClick: () => void;
355
+ icon?: default_2.ComponentType<any>;
356
+ color?: string;
357
+ isLoading?: boolean;
358
+ t?: (key: string) => string;
359
+ discardText?: string;
360
+ }
361
+
362
+ /**
363
+ * The type definition for the initial state of the message slice.
364
+ */
365
+ declare type initialStateProps = {
366
+ state: boolean;
367
+ options: {
368
+ variant: 'success' | 'error' | 'warning' | 'info';
369
+ anchorOrigin: {
370
+ vertical: 'top' | 'bottom';
371
+ horizontal: 'left' | 'center' | 'right';
372
+ };
373
+ autoHideDuration: number | null;
374
+ message: ReactElement | string;
375
+ style?: React.CSSProperties;
376
+ };
377
+ };
378
+
379
+ export declare interface MediaDialogProps {
380
+ filePath?: string;
381
+ isMobile?: boolean;
382
+ open?: boolean;
383
+ onClose?: () => void;
384
+ }
385
+
386
+ export declare const MemberAutoComplete: ({ label, roleIds, onChange, value, error, required, style, isTooltipShow, variant, dataTestId, tenantId, initialSearchTerm }: MemberAutoCompleteProps) => JSX.Element;
387
+
388
+ declare type MemberAutoCompleteProps = {
389
+ label: string;
390
+ roleIds?: string[];
391
+ onChange: (value: string | null) => void;
392
+ value?: string | null;
393
+ error?: string;
394
+ required?: boolean;
395
+ style?: React.CSSProperties;
396
+ isTooltipShow?: boolean;
397
+ variant?: TextFieldVariants;
398
+ dataTestId?: string;
399
+ tenantId?: string;
400
+ initialSearchTerm?: string;
401
+ };
402
+
403
+ export declare const MultiSelectAutoComplete: ({ options, selectedValues, onChange, label, placeholder, maxVisibleChips, }: MultiSelectAutocompleteProps) => JSX.Element;
404
+
405
+ declare interface MultiSelectAutocompleteProps {
406
+ options: OptionType[];
407
+ selectedValues: OptionType[];
408
+ onChange: (newValue: OptionType[]) => void;
409
+ label?: string;
410
+ placeholder?: string;
411
+ maxVisibleChips?: number;
412
+ }
413
+
414
+ declare type Option_2 = {
415
+ label: string;
416
+ id: string;
417
+ };
418
+
419
+ export declare interface OptionType {
420
+ id: string;
421
+ label: string;
422
+ }
423
+
424
+ export declare const PdfDialog: default_2.FC<MediaDialogProps>;
425
+
426
+ export declare const PDFPreviewForTheSignature: default_2.FC<PDFPreviewForTheSignatureProps>;
427
+
428
+ declare interface PDFPreviewForTheSignatureProps {
429
+ filePath: string;
430
+ open: boolean;
431
+ onClose: () => void;
432
+ onConfirm?: () => void;
433
+ isButtonLoading?: boolean;
434
+ bottomButtonLabel?: string;
435
+ applicationDetailsData: Record<any, any>;
436
+ loginUserDetail: any;
437
+ loginUserRoles: {
438
+ Admin: string;
439
+ Lawyer: string;
440
+ };
441
+ ColoredSubmitButton: default_2.ComponentType<any>;
442
+ }
443
+
444
+ export declare const PreviewMedia: default_2.FC<PreviewMediaProps>;
445
+
446
+ declare interface PreviewMediaProps {
447
+ children: ReactElement;
448
+ filePath?: string;
449
+ showDefaultView?: boolean;
450
+ }
451
+
452
+ export declare const reassignStaffMember: (remarkId: string, newUserId: string, remarksList: RemarkType_2[]) => (dispatch: any) => Promise<void>;
453
+
454
+ declare interface RemarkListRequestData {
455
+ financeApplicationId: string;
456
+ SectionName: string;
457
+ }
458
+
459
+ export declare function RemarksDialog({ sectionName, financeApplicationId, tenantId, permissions, isApplicationRejected, ReassignStaffFormComponent, staffRoleIds, dataTestId, themesConfig, remarksCount, }: RemarksDialogProps): JSX.Element;
460
+
461
+ export declare interface RemarksDialogProps {
462
+ sectionName: string;
463
+ financeApplicationId: string;
464
+ tenantId: string;
465
+ permissions?: {
466
+ canViewRemarks?: boolean;
467
+ canCreateRemark?: boolean;
468
+ canToggleAction?: boolean;
469
+ };
470
+ isApplicationRejected?: boolean;
471
+ ReassignStaffFormComponent?: React.ComponentType<any>;
472
+ staffRoleIds?: string[];
473
+ dataTestId?: string;
474
+ themesConfig?: {
475
+ remarksButtonBg?: string;
476
+ remarksButtonColor?: string;
477
+ internalChipBg?: string;
478
+ externalChipBg?: string;
479
+ };
480
+ remarksCount?: number;
481
+ }
482
+
483
+ export declare interface RemarkType {
484
+ id: string;
485
+ remark: string;
486
+ remarkType: "Internal" | "External";
487
+ hasActionTaken: boolean;
488
+ createdBy?: string;
489
+ assignedToUserName?: string;
490
+ created?: string;
491
+ assignedToUserId?: string;
492
+ sectionName?: string;
493
+ }
494
+
495
+ declare interface RemarkType_2 {
496
+ id: string;
497
+ remark: string;
498
+ remarkType: "Internal" | "External";
499
+ hasActionTaken: boolean;
500
+ createdBy?: string;
501
+ assignedToUserName?: string;
502
+ created?: string;
503
+ assignedToUserId?: string;
504
+ sectionName?: string;
505
+ financeApplicationId?: string;
506
+ }
507
+
508
+ export declare const SearchableAutocomplete: MemoExoticComponent<({ dataTestId, label, value, variant, isTooltipShow, onChange, fetchOptions, isParentLoading, error, required, isSmall, style, pagination, ref, disableClearable, initialSearchTerm, }: SearchableAutocompleteProps) => JSX.Element>;
509
+
510
+ declare type SearchableAutocompleteProps = {
511
+ label: string;
512
+ value: string | null;
513
+ isTooltipShow?: boolean;
514
+ variant?: TextFieldVariants;
515
+ onChange: (selectedOption: string | null) => void;
516
+ fetchOptions: (searchTerm: string, pageIndex: number) => Promise<Option_2[]>;
517
+ isParentLoading?: boolean;
518
+ error?: string;
519
+ required?: boolean;
520
+ disableClearable?: boolean;
521
+ isSmall?: boolean;
522
+ style?: React.CSSProperties;
523
+ dataTestId?: string;
524
+ pagination?: {
525
+ pageIndex: number;
526
+ pageSize: number;
527
+ totalCount: number;
528
+ };
529
+ ref?: React.Ref<HTMLElement>;
530
+ initialSearchTerm?: string;
531
+ };
532
+
533
+ export declare const setActiveFinanceDetail: ActionCreatorWithPayload<any, "dialogs/setActiveFinanceDetail">;
534
+
535
+ export declare const setConfig: (c: SharedLibConfig) => void;
536
+
537
+ export declare const setDocumentSignJPDF: ActionCreatorWithPayload<string, "dialogs/setDocumentSignJPDF">;
538
+
539
+ export declare const setIsChangeDetectDialogOpen: (value: boolean) => (dispatch: any) => Promise<void>;
540
+
541
+ export declare const setIsChangePasswordDialogOpen: (value: boolean) => (dispatch: any) => Promise<void>;
542
+
543
+ export declare const setIsChangeStatusDialogOpen: (value: boolean) => (dispatch: any) => Promise<void>;
544
+
545
+ export declare const setIsDeleteUserDialogOpen: (value: boolean) => (dispatch: any) => Promise<void>;
546
+
547
+ export declare const setIsDocumentSignatureDialogOpen: (value: boolean) => (dispatch: any) => Promise<void>;
548
+
549
+ export declare const setIsPdfDialogOpen: (value: boolean) => (dispatch: any) => Promise<void>;
550
+
551
+ export declare const setIsPopoverOpen: (value: boolean) => (dispatch: any) => Promise<void>;
552
+
553
+ export declare const setIsUserChangeStatusFormLoading: (value: boolean) => (dispatch: any) => Promise<void>;
554
+
555
+ export declare const setRemarkList: ActionCreatorWithPayload<RemarkType_2[], "dialogs/setRemarkList">;
556
+
557
+ export declare const setSelectedMediaFilePath: ActionCreatorWithPayload<string, "dialogs/setSelectedMediaFilePath">;
558
+
559
+ export declare interface SharedLibConfig {
560
+ apiUrl: string;
561
+ }
562
+
563
+ export declare const showMessage: ActionCreatorWithPayload<Partial<{
564
+ variant: "success" | "error" | "warning" | "info";
565
+ anchorOrigin: {
566
+ vertical: "top" | "bottom";
567
+ horizontal: "left" | "center" | "right";
568
+ };
569
+ autoHideDuration: number | null;
570
+ message: ReactElement | string;
571
+ style?: React.CSSProperties;
572
+ }>, "fuseMessage/showMessage">;
573
+
574
+ export declare const TenantAutocomplete: ({ value, onChange, label, error, required, status, style, disableClearable, autoSelectFirst, }: TenantAutocompleteProps) => JSX.Element;
575
+
576
+ declare interface TenantAutocompleteProps {
577
+ value: string;
578
+ onChange: (value: any, isAutoSelection?: boolean) => void;
579
+ label?: string;
580
+ error?: string;
581
+ required?: boolean;
582
+ status?: string | string[];
583
+ style?: default_2.CSSProperties;
584
+ disableClearable?: boolean;
585
+ autoSelectFirst?: boolean;
586
+ }
587
+
588
+ export declare const updateRemark: (requestData: RemarkType_2) => (dispatch: any) => Promise<void>;
589
+
590
+ export declare const updateUserStatus: (requestData: any, listApiFunc: () => void) => (dispatch: any) => Promise<void>;
591
+
592
+ export { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "finance-shared",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist/"
@@ -30,7 +30,6 @@
30
30
  "dayjs": "^1.11.18",
31
31
  "i18next": "^25.5.2",
32
32
  "lodash": "^4.17.21",
33
- "path": "^0.12.7",
34
33
  "react-i18next": "^15.7.4",
35
34
  "react-redux": "^9.2.0",
36
35
  "redux": "^5.0.1",
@@ -50,8 +49,7 @@
50
49
  "@reduxjs/toolkit": "^2.9.0",
51
50
  "@types/lodash": "^4.17.20",
52
51
  "@types/node": "^24.0.3",
53
- "@types/react": "^18.2.79",
54
- "@types/react-dom": "^18.2.25",
52
+ "@types/react": "19.0.0",
55
53
  "@vitejs/plugin-react": "^4.4.1",
56
54
  "autoprefixer": "10.4.17",
57
55
  "eslint": "^9.25.0",
@@ -59,14 +57,14 @@
59
57
  "eslint-plugin-react-refresh": "^0.4.19",
60
58
  "globals": "^16.0.0",
61
59
  "postcss": "8.4.35",
62
- "react": "18.2.0",
63
- "react-dom": "18.2.0",
60
+ "react": "19.0.0",
64
61
  "react-hook-form": "^7.63.0",
65
62
  "tailwindcss": "3.4.1",
66
63
  "terser": "^5.43.0",
67
64
  "typescript": "~5.8.3",
68
65
  "typescript-eslint": "^8.30.1",
69
- "vite": "^6.3.5"
66
+ "vite": "^6.3.5",
67
+ "vite-plugin-dts": "^4.5.4"
70
68
  },
71
69
  "peerDependencies": {
72
70
  "@emotion/cache": "11.11.0",
@@ -79,8 +77,7 @@
79
77
  "@mui/system": "6.4.0",
80
78
  "@mui/x-date-pickers": "6.10.2",
81
79
  "@reduxjs/toolkit": "^2.9.0",
82
- "react": "^18.2.0",
83
- "react-dom": "^18.2.0",
80
+ "react": "19.0.0",
84
81
  "react-hook-form": "^7.63.0"
85
82
  }
86
83
  }