finance-shared 0.0.10 → 0.0.12
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/finance-shared-library.es.js +347 -176
- package/dist/finance-shared-library.es.js.map +1 -1
- package/dist/finance-shared-library.umd.js +20 -20
- package/dist/finance-shared-library.umd.js.map +1 -1
- package/dist/finance-shared.css +1 -1
- package/dist/index.d.ts +71 -18
- package/package.json +1 -1
package/dist/finance-shared.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media(min-width:640px){.container{max-width:640px}}@media(min-width:768px){.container{max-width:768px}}@media(min-width:1024px){.container{max-width:1024px}}@media(min-width:1280px){.container{max-width:1280px}}@media(min-width:1536px){.container{max-width:1536px}}.\!pointer-events-none{pointer-events:none!important}.pointer-events-auto{pointer-events:auto!important}.\!visible,.visible{visibility:visible!important}.invisible{visibility:hidden!important}.collapse{visibility:collapse!important}.static{position:static!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.sticky{position:sticky!important}.bottom-0{bottom:0!important}.right-\[-4px\]{right:-4px!important}.top-\[-4px\]{top:-4px!important}.m-10{margin:2.5rem!important}.mx-20{margin-left:5rem!important;margin-right:5rem!important}.mx-8{margin-left:2rem!important;margin-right:2rem!important}.my-20{margin-top:5rem!important;margin-bottom:5rem!important}.mb-10{margin-bottom:2.5rem!important}.mb-5{margin-bottom:1.25rem!important}.mb-8{margin-bottom:2rem!important}.ml-10{margin-left:2.5rem!important}.ml-2{margin-left:.5rem!important}.ml-32{margin-left:8rem!important}.ml-40{margin-left:10rem!important}.mr-8{margin-right:2rem!important}.mt-10{margin-top:2.5rem!important}.mt-20{margin-top:5rem!important}.block{display:block!important}.inline-block{display:inline-block!important}.inline{display:inline!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}.table{display:table!important}.table-cell{display:table-cell!important}.table-footer-group{display:table-footer-group!important}.table-header-group{display:table-header-group!important}.table-row-group{display:table-row-group!important}.table-row{display:table-row!important}.grid{display:grid!important}.contents{display:contents!important}.\!hidden,.hidden{display:none!important}.size-\[100px\]{width:100px!important;height:100px!important}.size-full{width:100%!important;height:100%!important}.h
|
|
1
|
+
*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media(min-width:640px){.container{max-width:640px}}@media(min-width:768px){.container{max-width:768px}}@media(min-width:1024px){.container{max-width:1024px}}@media(min-width:1280px){.container{max-width:1280px}}@media(min-width:1536px){.container{max-width:1536px}}.\!pointer-events-none{pointer-events:none!important}.pointer-events-auto{pointer-events:auto!important}.\!visible,.visible{visibility:visible!important}.invisible{visibility:hidden!important}.collapse{visibility:collapse!important}.static{position:static!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.sticky{position:sticky!important}.bottom-0{bottom:0!important}.right-\[-4px\]{right:-4px!important}.top-\[-4px\]{top:-4px!important}.m-0{margin:0!important}.m-10{margin:2.5rem!important}.mx-20{margin-left:5rem!important;margin-right:5rem!important}.mx-8{margin-left:2rem!important;margin-right:2rem!important}.my-20{margin-top:5rem!important;margin-bottom:5rem!important}.mb-10{margin-bottom:2.5rem!important}.mb-5{margin-bottom:1.25rem!important}.mb-8{margin-bottom:2rem!important}.ml-10{margin-left:2.5rem!important}.ml-2{margin-left:.5rem!important}.ml-32{margin-left:8rem!important}.ml-40{margin-left:10rem!important}.ml-auto{margin-left:auto!important}.mr-8{margin-right:2rem!important}.mt-10{margin-top:2.5rem!important}.mt-20{margin-top:5rem!important}.block{display:block!important}.inline-block{display:inline-block!important}.inline{display:inline!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}.table{display:table!important}.table-cell{display:table-cell!important}.table-footer-group{display:table-footer-group!important}.table-header-group{display:table-header-group!important}.table-row-group{display:table-row-group!important}.table-row{display:table-row!important}.grid{display:grid!important}.contents{display:contents!important}.\!hidden,.hidden{display:none!important}.size-\[100px\]{width:100px!important;height:100px!important}.size-full{width:100%!important;height:100%!important}.h-auto{height:auto!important}.h-full{height:100%!important}.max-h-\[100px\]{max-height:100px!important}.min-h-\[100px\]{min-height:100px!important}.w-full{width:100%!important}.min-w-\[100px\]{min-width:100px!important}.min-w-\[230px\]{min-width:230px!important}.max-w-\[100px\]{max-width:100px!important}.flex-shrink-0{flex-shrink:0!important}.shrink{flex-shrink:1!important}.grow{flex-grow:1!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cursor-pointer{cursor:pointer!important}.resize{resize:both!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.gap-10{gap:2.5rem!important}.overflow-hidden{overflow:hidden!important}.truncate{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.rounded{border-radius:.25rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.bg-white{--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity))!important}.object-contain{-o-object-fit:contain!important;object-fit:contain!important}.object-cover{-o-object-fit:cover!important;object-fit:cover!important}.p-0{padding:0!important}.p-16{padding:4rem!important}.p-20{padding:5rem!important}.p-3{padding:.75rem!important}.p-8{padding:2rem!important}.px-10{padding-left:2.5rem!important;padding-right:2.5rem!important}.py-10{padding-top:2.5rem!important;padding-bottom:2.5rem!important}.text-center{text-align:center!important}.text-justify{text-align:justify!important}.text-end{text-align:end!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-bold{font-weight:700!important}.uppercase{text-transform:uppercase!important}.lowercase{text-transform:lowercase!important}.capitalize{text-transform:capitalize!important}.italic{font-style:italic!important}.text-red-500{--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}.text-white{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity))!important}.underline{text-decoration-line:underline!important}.overline{text-decoration-line:overline!important}.antialiased{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.outline{outline-style:solid!important}.ring{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color) !important;--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color) !important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)!important}.blur{--tw-blur: blur(8px) !important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.grayscale{--tw-grayscale: grayscale(100%) !important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.invert{--tw-invert: invert(100%) !important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.\!transition,.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.hover\:bg-transparent:hover{background-color:transparent!important}@media(min-width:640px){.sm\:m-20{margin:5rem!important}.sm\:text-xl{font-size:1.25rem!important;line-height:1.75rem!important}}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ActionCreatorWithoutPayload } from '@reduxjs/toolkit';
|
|
2
2
|
import { ActionCreatorWithPayload } from '@reduxjs/toolkit';
|
|
3
3
|
import { Breakpoint } from '@mui/material';
|
|
4
|
+
import { CheckboxProps } from '@mui/material';
|
|
4
5
|
import { Context } from 'react';
|
|
5
6
|
import { default as default_2 } from 'react';
|
|
6
7
|
import { default as i18n } from 'i18next';
|
|
@@ -59,6 +60,7 @@ declare type CommonAutocompleteProps = {
|
|
|
59
60
|
ref?: React_2.Ref<HTMLElement>;
|
|
60
61
|
disableClearable?: boolean;
|
|
61
62
|
value?: string | number | null;
|
|
63
|
+
optionTestId?: string;
|
|
62
64
|
};
|
|
63
65
|
|
|
64
66
|
export declare const CommonStatusChangeDialog: default_2.FC<CommonStatusChangeDialogProps>;
|
|
@@ -98,12 +100,21 @@ export declare interface ConfirmDialogProps {
|
|
|
98
100
|
className?: string;
|
|
99
101
|
style?: default_2.CSSProperties;
|
|
100
102
|
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
103
|
+
capitalize?: boolean;
|
|
101
104
|
}
|
|
102
105
|
|
|
103
106
|
export declare const CustomAutocomplete: React_2.FC<CustomAutocompleteProps>;
|
|
104
107
|
|
|
105
108
|
declare type CustomAutocompleteProps = CommonAutocompleteProps & AdditionalProps;
|
|
106
109
|
|
|
110
|
+
export declare const CustomCheckbox: default_2.FC<CustomCheckboxProps>;
|
|
111
|
+
|
|
112
|
+
export declare interface CustomCheckboxProps extends Omit<CheckboxProps, 'onChange' | 'checked'> {
|
|
113
|
+
label?: string;
|
|
114
|
+
onChange?: (checked: boolean) => void;
|
|
115
|
+
checked?: boolean;
|
|
116
|
+
}
|
|
117
|
+
|
|
107
118
|
export declare const CustomDatePicker: default_2.FC<CustomDatePickerProps>;
|
|
108
119
|
|
|
109
120
|
export declare interface CustomDatePickerProps {
|
|
@@ -117,18 +128,28 @@ export declare interface CustomDatePickerProps {
|
|
|
117
128
|
disabled?: boolean;
|
|
118
129
|
required?: boolean;
|
|
119
130
|
locale?: Locale_2;
|
|
131
|
+
dataTestId?: string;
|
|
132
|
+
iconColor?: string;
|
|
133
|
+
open?: boolean;
|
|
134
|
+
anchorEl?: HTMLElement | null;
|
|
135
|
+
onClose?: () => void;
|
|
136
|
+
hideTextField?: boolean;
|
|
137
|
+
applyCustomStyling?: boolean;
|
|
138
|
+
style?: default_2.CSSProperties | object;
|
|
120
139
|
}
|
|
121
140
|
|
|
122
|
-
export declare function CustomDialog({ open, onClose, content, size, hideCloseIcon }: CustomDialogProps): JSX.Element;
|
|
141
|
+
export declare function CustomDialog({ open, onClose, content, size, maxWidth, hideCloseIcon }: CustomDialogProps): JSX.Element;
|
|
123
142
|
|
|
124
143
|
export declare interface CustomDialogProps {
|
|
125
144
|
open: boolean;
|
|
126
145
|
onClose: () => void;
|
|
127
146
|
content: {
|
|
128
147
|
title?: string;
|
|
148
|
+
description?: string;
|
|
129
149
|
component: React.ReactNode;
|
|
130
150
|
};
|
|
131
151
|
size?: Breakpoint;
|
|
152
|
+
maxWidth?: Breakpoint | false;
|
|
132
153
|
hideBackdrop?: boolean;
|
|
133
154
|
hideCloseIcon?: boolean;
|
|
134
155
|
}
|
|
@@ -199,16 +220,24 @@ declare interface DialogsState {
|
|
|
199
220
|
|
|
200
221
|
export declare const DigitalProcessSignature: (request_data: any) => (dispatch: any) => Promise<void>;
|
|
201
222
|
|
|
202
|
-
export declare function DocumentSigningDialog({ financeDetail, loginUserDetail, digitalSignatureRole, ColoredSubmitButton }: DocumentSigningDialogProps): JSX.Element;
|
|
223
|
+
export declare function DocumentSigningDialog({ financeDetail, loginUserDetail, digitalSignatureRole, ColoredSubmitButton, financeCalculation }: DocumentSigningDialogProps): JSX.Element;
|
|
203
224
|
|
|
204
225
|
declare interface DocumentSigningDialogProps {
|
|
205
226
|
financeDetail: any;
|
|
206
227
|
loginUserDetail: any;
|
|
207
228
|
digitalSignatureRole: {
|
|
208
|
-
Admin
|
|
209
|
-
Lawyer
|
|
229
|
+
Admin?: string;
|
|
230
|
+
Lawyer?: string;
|
|
231
|
+
User?: string;
|
|
210
232
|
};
|
|
211
233
|
ColoredSubmitButton: React.ComponentType<any>;
|
|
234
|
+
financeCalculation?: {
|
|
235
|
+
loanAmount?: number;
|
|
236
|
+
interestFees?: number;
|
|
237
|
+
feesDeduction?: number;
|
|
238
|
+
repaymentAmount?: number;
|
|
239
|
+
cashInHand?: number;
|
|
240
|
+
};
|
|
212
241
|
}
|
|
213
242
|
|
|
214
243
|
export declare interface FieldError {
|
|
@@ -253,12 +282,7 @@ export declare interface FinanceSharedProviderProps {
|
|
|
253
282
|
config: Partial<LibraryConfig>;
|
|
254
283
|
}
|
|
255
284
|
|
|
256
|
-
export declare function formatAmount(
|
|
257
|
-
|
|
258
|
-
declare interface FormatAmountProps {
|
|
259
|
-
num: any;
|
|
260
|
-
showCurrency?: boolean;
|
|
261
|
-
}
|
|
285
|
+
export declare function formatAmount(num: any, showCurrency?: boolean): string;
|
|
262
286
|
|
|
263
287
|
export declare const FuseMessage: MemoExoticComponent<typeof FuseMessage_2>;
|
|
264
288
|
|
|
@@ -350,7 +374,7 @@ export declare interface ImageUploadProps {
|
|
|
350
374
|
t?: (key: string) => string;
|
|
351
375
|
}
|
|
352
376
|
|
|
353
|
-
export declare function InfoDialog({ open, onClose, title, message, buttonText, onButtonClick, icon: Icon, color, isLoading, t, discardText, }: InfoDialogProps): JSX.Element;
|
|
377
|
+
export declare function InfoDialog({ open, onClose, title, message, buttonText, onButtonClick, icon: Icon, color, isLoading, t, discardText, buttonDataTestId, }: InfoDialogProps): JSX.Element;
|
|
354
378
|
|
|
355
379
|
export declare interface InfoDialogProps {
|
|
356
380
|
open: boolean;
|
|
@@ -364,6 +388,7 @@ export declare interface InfoDialogProps {
|
|
|
364
388
|
isLoading?: boolean;
|
|
365
389
|
t?: (key: string) => string;
|
|
366
390
|
discardText?: string;
|
|
391
|
+
buttonDataTestId?: string;
|
|
367
392
|
}
|
|
368
393
|
|
|
369
394
|
/**
|
|
@@ -399,7 +424,7 @@ export declare interface MediaDialogProps {
|
|
|
399
424
|
onClose?: () => void;
|
|
400
425
|
}
|
|
401
426
|
|
|
402
|
-
export declare const MemberAutoComplete: ({ label, roleIds, onChange, value, error, required, style, isTooltipShow, variant, dataTestId, tenantId, initialSearchTerm }: MemberAutoCompleteProps) => JSX.Element;
|
|
427
|
+
export declare const MemberAutoComplete: ({ label, roleIds, onChange, value, error, required, style, isTooltipShow, variant, dataTestId, optionTestId, tenantId, initialSearchTerm }: MemberAutoCompleteProps) => JSX.Element;
|
|
403
428
|
|
|
404
429
|
declare type MemberAutoCompleteProps = {
|
|
405
430
|
label: string;
|
|
@@ -412,6 +437,7 @@ declare type MemberAutoCompleteProps = {
|
|
|
412
437
|
isTooltipShow?: boolean;
|
|
413
438
|
variant?: TextFieldVariants;
|
|
414
439
|
dataTestId?: string;
|
|
440
|
+
optionTestId?: string;
|
|
415
441
|
tenantId?: string;
|
|
416
442
|
initialSearchTerm?: string;
|
|
417
443
|
};
|
|
@@ -451,10 +477,19 @@ declare interface PDFPreviewForTheSignatureProps {
|
|
|
451
477
|
applicationDetailsData: Record<any, any>;
|
|
452
478
|
loginUserDetail: any;
|
|
453
479
|
loginUserRoles: {
|
|
454
|
-
Admin
|
|
455
|
-
Lawyer
|
|
480
|
+
Admin?: string;
|
|
481
|
+
Lawyer?: string;
|
|
482
|
+
User?: string;
|
|
456
483
|
};
|
|
457
484
|
ColoredSubmitButton: default_2.ComponentType<any>;
|
|
485
|
+
financeCalculation?: {
|
|
486
|
+
loanAmount?: number;
|
|
487
|
+
interestFees?: number;
|
|
488
|
+
feesDeduction?: number;
|
|
489
|
+
repaymentAmount?: number;
|
|
490
|
+
cashInHand?: number;
|
|
491
|
+
};
|
|
492
|
+
t?: (key: string) => string;
|
|
458
493
|
}
|
|
459
494
|
|
|
460
495
|
export declare const PreviewMedia: default_2.FC<PreviewMediaProps>;
|
|
@@ -472,12 +507,16 @@ declare interface RemarkListRequestData {
|
|
|
472
507
|
SectionName: string;
|
|
473
508
|
}
|
|
474
509
|
|
|
475
|
-
export declare function RemarksDialog({ sectionName, financeApplicationId, tenantId, permissions, isApplicationRejected, ReassignStaffFormComponent, staffRoleIds, dataTestId, themesConfig, remarksCount, }: RemarksDialogProps): JSX.Element;
|
|
510
|
+
export declare function RemarksDialog({ variant, sectionName, sectionTitle: propSectionTitle, financeApplicationId, tenantId, remarksList: propRemarksList, onRemarkUpdate, permissions, isApplicationRejected, ReassignStaffFormComponent, staffRoleIds, dataTestId, themesConfig, remarksCount, }: RemarksDialogProps): JSX.Element;
|
|
476
511
|
|
|
477
512
|
export declare interface RemarksDialogProps {
|
|
513
|
+
variant?: "full" | "simple";
|
|
478
514
|
sectionName: string;
|
|
479
|
-
|
|
480
|
-
|
|
515
|
+
sectionTitle?: string;
|
|
516
|
+
financeApplicationId?: string;
|
|
517
|
+
tenantId?: string;
|
|
518
|
+
remarksList?: RemarkType[];
|
|
519
|
+
onRemarkUpdate?: (remark: RemarkType) => void;
|
|
481
520
|
permissions?: {
|
|
482
521
|
canViewRemarks?: boolean;
|
|
483
522
|
canCreateRemark?: boolean;
|
|
@@ -501,6 +540,7 @@ export declare interface RemarkType {
|
|
|
501
540
|
remark: string;
|
|
502
541
|
remarkType: "Internal" | "External";
|
|
503
542
|
hasActionTaken: boolean;
|
|
543
|
+
hasActionTakenByCustomer?: boolean;
|
|
504
544
|
createdBy?: string;
|
|
505
545
|
assignedToUserName?: string;
|
|
506
546
|
created?: string;
|
|
@@ -521,7 +561,19 @@ declare interface RemarkType_2 {
|
|
|
521
561
|
financeApplicationId?: string;
|
|
522
562
|
}
|
|
523
563
|
|
|
524
|
-
export declare const
|
|
564
|
+
export declare const SaveButton: default_2.FC<SaveButtonProps>;
|
|
565
|
+
|
|
566
|
+
export declare interface SaveButtonProps {
|
|
567
|
+
variant: 'text' | 'outlined' | 'contained';
|
|
568
|
+
onClick?: () => void;
|
|
569
|
+
disabled?: boolean;
|
|
570
|
+
isLoading: boolean;
|
|
571
|
+
text: string;
|
|
572
|
+
size?: 'small' | 'medium' | 'large';
|
|
573
|
+
dataTestId?: string;
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
export declare const SearchableAutocomplete: MemoExoticComponent<({ dataTestId, optionTestId, label, value, variant, isTooltipShow, onChange, fetchOptions, isParentLoading, error, required, isSmall, style, pagination, ref, disableClearable, initialSearchTerm, }: SearchableAutocompleteProps) => JSX.Element>;
|
|
525
577
|
|
|
526
578
|
declare type SearchableAutocompleteProps = {
|
|
527
579
|
label: string;
|
|
@@ -537,6 +589,7 @@ declare type SearchableAutocompleteProps = {
|
|
|
537
589
|
isSmall?: boolean;
|
|
538
590
|
style?: React.CSSProperties;
|
|
539
591
|
dataTestId?: string;
|
|
592
|
+
optionTestId?: string;
|
|
540
593
|
pagination?: {
|
|
541
594
|
pageIndex: number;
|
|
542
595
|
pageSize: number;
|