digitinary-ui 1.0.70 → 1.0.71
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/components/Accordion/Accordion.d.ts +4 -0
- package/dist/components/Accordion/index.d.ts +1 -0
- package/dist/components/ActionDropdown/index.d.ts +8 -0
- package/dist/components/Alert/Alert.d.ts +4 -0
- package/dist/components/Alert/index.d.ts +1 -0
- package/dist/components/ArenaDatePicker/ArenaDatePicker.d.ts +6 -0
- package/dist/components/ArenaDatePicker/index.d.ts +1 -0
- package/dist/components/ArenaDateRange/ArenaDateRange.d.ts +37 -0
- package/dist/components/ArenaDateRange/index.d.ts +1 -0
- package/dist/components/ArenaLabel/ArenaLabel.d.ts +7 -0
- package/dist/components/BarChart/BarChart.d.ts +20 -0
- package/dist/components/Button/Button.d.ts +7 -0
- package/dist/components/Button/index.d.ts +1 -0
- package/dist/components/Card/Card.d.ts +4 -0
- package/dist/components/Card/index.d.ts +1 -0
- package/dist/components/Carousel/Carousel.d.ts +11 -0
- package/dist/components/Checkbox/Checkbox.d.ts +4 -0
- package/dist/components/Checkbox/index.d.ts +1 -0
- package/dist/components/Chip/Chip.d.ts +7 -0
- package/dist/components/Chip/index.d.ts +1 -0
- package/dist/components/Chips/Chips.d.ts +9 -0
- package/dist/components/CounterComponent/CounterComponent.d.ts +16 -0
- package/dist/components/Date/Date.d.ts +5 -0
- package/dist/components/Date/index.d.ts +1 -0
- package/dist/components/DateRange/DateRange.d.ts +53 -0
- package/dist/components/DateRange/index.d.ts +1 -0
- package/dist/components/Dialog/Dialog.d.ts +4 -0
- package/dist/components/Dialog/index.d.ts +1 -0
- package/dist/components/DonutChart/DonutChart.d.ts +31 -0
- package/dist/components/DoubleBarChart/DoubleBarChart.d.ts +21 -0
- package/dist/components/DropDown/DropDown.d.ts +28 -0
- package/dist/components/EllipsisTextWithTooltip/EllipsisTextWithTooltip.d.ts +7 -0
- package/dist/components/FieldArray/FieldArray.d.ts +10 -0
- package/dist/components/FieldArray/FieldArrayHook.d.ts +13 -0
- package/dist/components/FileUploader/index.d.ts +18 -0
- package/dist/components/FileUploader/viewFiles.d.ts +8 -0
- package/dist/components/HelperText/HelperText.d.ts +4 -0
- package/dist/components/HelperText/index.d.ts +1 -0
- package/dist/components/Input/Input.d.ts +5 -0
- package/dist/components/Input/index.d.ts +1 -0
- package/dist/components/InputRange/index.d.ts +13 -0
- package/dist/components/JsonEditor/JsonEditor.d.ts +3 -0
- package/dist/components/JsonField/JsonField.d.ts +11 -0
- package/dist/components/Label/Label.d.ts +4 -0
- package/dist/components/Label/index.d.ts +1 -0
- package/dist/components/LineChart/LineChart.d.ts +22 -0
- package/dist/components/Loader/Loader.d.ts +11 -0
- package/dist/components/Loader/index.d.ts +1 -0
- package/dist/components/MultiSelectWithChips/MultiSelectWithChips.d.ts +26 -0
- package/dist/components/NewDate/ArenaDatePicker.d.ts +0 -0
- package/dist/components/NewDate/types.d.ts +0 -0
- package/dist/components/NoDataFallback/NoDataFallback.d.ts +9 -0
- package/dist/components/Overlay/Overlay.d.ts +5 -0
- package/dist/components/Overlay/index.d.ts +1 -0
- package/dist/components/Pagination/Pagination.d.ts +5 -0
- package/dist/components/Pagination/index.d.ts +1 -0
- package/dist/components/PhoneNumber/CountryFlags/index.d.ts +253 -0
- package/dist/components/PhoneNumber/CountryList.d.ts +6 -0
- package/dist/components/PhoneNumber/DropDown/DropDown.d.ts +36 -0
- package/dist/components/PhoneNumber/PhoneNumber.d.ts +21 -0
- package/dist/components/PhoneNumber/index.d.ts +2 -0
- package/dist/components/PieChart/PieChart.d.ts +17 -0
- package/dist/components/Radio/Radio.d.ts +5 -0
- package/dist/components/Radio/index.d.ts +1 -0
- package/dist/components/RadioGroup/RadioGroup.d.ts +4 -0
- package/dist/components/RadioGroup/index.d.ts +1 -0
- package/dist/components/SectionHead/SectionHead.d.ts +11 -0
- package/dist/components/SelectGroup/SelectGroup.d.ts +4 -0
- package/dist/components/SelectGroup/index.d.ts +1 -0
- package/dist/components/SideDrawer/SideDrawer.d.ts +4 -0
- package/dist/components/SideDrawer/index.d.ts +1 -0
- package/dist/components/SimpleCollapseSection/SimpleCollapseSection.d.ts +11 -0
- package/dist/components/SimpleLabelValue/SimpleLabelValue.d.ts +11 -0
- package/dist/components/SimpleLabelValue/index.d.ts +1 -0
- package/dist/components/StackedBarChart/StackedBarChart.d.ts +26 -0
- package/dist/components/Stepper/Step/Step.d.ts +16 -0
- package/dist/components/Stepper/Stepper.d.ts +16 -0
- package/dist/components/Switch/Switch.d.ts +4 -0
- package/dist/components/Switch/index.d.ts +1 -0
- package/dist/components/Table/Table.d.ts +4 -0
- package/dist/components/Table/index.d.ts +1 -0
- package/dist/components/TextArea/TextArea.d.ts +4 -0
- package/dist/components/TextArea/index.d.ts +1 -0
- package/dist/components/TimeTracker/TimeTracker.d.ts +15 -0
- package/dist/components/Tooltip/Tooltip.d.ts +12 -0
- package/dist/components/Uploader/Uploader.d.ts +24 -0
- package/dist/components/index.d.ts +50 -0
- package/dist/constants/index.d.ts +1 -0
- package/dist/icons/AccessDeniedIcon.d.ts +3 -0
- package/dist/icons/AccountActivation.d.ts +3 -0
- package/dist/icons/AccountChartIcon.d.ts +3 -0
- package/dist/icons/AccountDarkIcon.d.ts +3 -0
- package/dist/icons/AccountIcon.d.ts +3 -0
- package/dist/icons/AccountStatement.d.ts +3 -0
- package/dist/icons/ActivateAccount.d.ts +3 -0
- package/dist/icons/ActivateCard.d.ts +3 -0
- package/dist/icons/ActivateCardIcon.d.ts +3 -0
- package/dist/icons/ActiveIcon.d.ts +3 -0
- package/dist/icons/Add.d.ts +3 -0
- package/dist/icons/AddIcon.d.ts +3 -0
- package/dist/icons/AlertErrorIcon.d.ts +3 -0
- package/dist/icons/AlertInfoIcon.d.ts +3 -0
- package/dist/icons/AlertSuccessIcon.d.ts +3 -0
- package/dist/icons/AlertWarningIcon.d.ts +3 -0
- package/dist/icons/ApproveIcon.d.ts +3 -0
- package/dist/icons/ArenaLogo.d.ts +3 -0
- package/dist/icons/ArrowBottom.d.ts +3 -0
- package/dist/icons/ArrowIcon.d.ts +3 -0
- package/dist/icons/ArrowLeft.d.ts +3 -0
- package/dist/icons/ArrowRight.d.ts +3 -0
- package/dist/icons/ArrowUp.d.ts +3 -0
- package/dist/icons/ArrowUpIcon.d.ts +3 -0
- package/dist/icons/AssignIcon.d.ts +3 -0
- package/dist/icons/BackArrow.d.ts +3 -0
- package/dist/icons/BackArrowArabic.d.ts +3 -0
- package/dist/icons/Buyer.d.ts +3 -0
- package/dist/icons/Calendar.d.ts +3 -0
- package/dist/icons/CardIcon.d.ts +3 -0
- package/dist/icons/CardsIcon.d.ts +3 -0
- package/dist/icons/Check.d.ts +3 -0
- package/dist/icons/CheckMark.d.ts +3 -0
- package/dist/icons/ClaimIcon.d.ts +3 -0
- package/dist/icons/ClearField.d.ts +3 -0
- package/dist/icons/ClipBoard.d.ts +3 -0
- package/dist/icons/CloseAccount.d.ts +3 -0
- package/dist/icons/CloseIcon.d.ts +3 -0
- package/dist/icons/ConsentCharIcon.d.ts +3 -0
- package/dist/icons/ContactIcon.d.ts +3 -0
- package/dist/icons/CopyInput.d.ts +3 -0
- package/dist/icons/CustomerApproved.d.ts +3 -0
- package/dist/icons/CustomerRejected.d.ts +3 -0
- package/dist/icons/DangerIcon.d.ts +3 -0
- package/dist/icons/DefaultIcon.d.ts +3 -0
- package/dist/icons/DeleteIcon.d.ts +3 -0
- package/dist/icons/DeleteOutlinedIcon.d.ts +3 -0
- package/dist/icons/DisabledIcon.d.ts +3 -0
- package/dist/icons/Document.d.ts +3 -0
- package/dist/icons/DoubleLeftArrow.d.ts +3 -0
- package/dist/icons/DoubleRightArrow.d.ts +3 -0
- package/dist/icons/DownloadIcon.d.ts +3 -0
- package/dist/icons/EditIcon.d.ts +3 -0
- package/dist/icons/EmptyAccount.d.ts +3 -0
- package/dist/icons/EmptyActivityStatus.d.ts +3 -0
- package/dist/icons/EmptyCard.d.ts +3 -0
- package/dist/icons/EmptyCardIcon.d.ts +3 -0
- package/dist/icons/EmptyChannelsIcon.d.ts +3 -0
- package/dist/icons/EmptyDashboard.d.ts +3 -0
- package/dist/icons/EmptyFinance.d.ts +3 -0
- package/dist/icons/EmptyFinanceIcon.d.ts +3 -0
- package/dist/icons/EmptyLiabilitiesIcon.d.ts +3 -0
- package/dist/icons/EmptyRequest.d.ts +3 -0
- package/dist/icons/EmptyResults.d.ts +3 -0
- package/dist/icons/EmptySpendingIcon.d.ts +3 -0
- package/dist/icons/ErrorIcon.d.ts +3 -0
- package/dist/icons/ExcelIcon.d.ts +3 -0
- package/dist/icons/EyeIcon.d.ts +3 -0
- package/dist/icons/Fail.d.ts +3 -0
- package/dist/icons/FilterIcon.d.ts +3 -0
- package/dist/icons/Finance.d.ts +3 -0
- package/dist/icons/GeneralIcon.d.ts +3 -0
- package/dist/icons/GridView.d.ts +3 -0
- package/dist/icons/HidePasswordIcon.d.ts +3 -0
- package/dist/icons/HistoryIcon.d.ts +3 -0
- package/dist/icons/HomeIcon.d.ts +3 -0
- package/dist/icons/InactiveCardIcon.d.ts +3 -0
- package/dist/icons/InactiveIcon.d.ts +3 -0
- package/dist/icons/InfoCircle.d.ts +3 -0
- package/dist/icons/InfoIcon.d.ts +3 -0
- package/dist/icons/InfoIconOnboard.d.ts +3 -0
- package/dist/icons/InfoSquare.d.ts +3 -0
- package/dist/icons/InstallmentsPay.d.ts +3 -0
- package/dist/icons/IntoUser.d.ts +3 -0
- package/dist/icons/Kwd.d.ts +3 -0
- package/dist/icons/LaptopIcon.d.ts +3 -0
- package/dist/icons/LeadActivities.d.ts +3 -0
- package/dist/icons/LeadDocuments.d.ts +3 -0
- package/dist/icons/LeadInterestIcon.d.ts +3 -0
- package/dist/icons/LeadOwnerIcon.d.ts +3 -0
- package/dist/icons/LeadSourceIcon.d.ts +3 -0
- package/dist/icons/LeadStagesIcon.d.ts +3 -0
- package/dist/icons/LeadStatus.d.ts +3 -0
- package/dist/icons/LeftArrowIcon.d.ts +3 -0
- package/dist/icons/LinkIcon.d.ts +3 -0
- package/dist/icons/LoaderIcon.d.ts +3 -0
- package/dist/icons/LogoutIcon.d.ts +3 -0
- package/dist/icons/ManageCardIcon.d.ts +3 -0
- package/dist/icons/ManageDebitCard.d.ts +3 -0
- package/dist/icons/MasterCardDiamond.d.ts +3 -0
- package/dist/icons/MessageExclamation.d.ts +3 -0
- package/dist/icons/MessageSquareIcon.d.ts +3 -0
- package/dist/icons/Minus.d.ts +3 -0
- package/dist/icons/MoreSquare.d.ts +3 -0
- package/dist/icons/MoreSquareIcon.d.ts +3 -0
- package/dist/icons/MurabahaCars.d.ts +3 -0
- package/dist/icons/MurabahaRealEstate.d.ts +3 -0
- package/dist/icons/NoAvatar.d.ts +3 -0
- package/dist/icons/NoDocuments.d.ts +3 -0
- package/dist/icons/OnboardingError.d.ts +3 -0
- package/dist/icons/OnboardingPending.d.ts +3 -0
- package/dist/icons/OnboardingReject.d.ts +3 -0
- package/dist/icons/OnboardingSuccess.d.ts +3 -0
- package/dist/icons/OpenAccount.d.ts +3 -0
- package/dist/icons/OpenDeposit.d.ts +3 -0
- package/dist/icons/PayToCardIcon.d.ts +3 -0
- package/dist/icons/PaymentCard.d.ts +3 -0
- package/dist/icons/PaymentChartIcon.d.ts +3 -0
- package/dist/icons/PaymentDarkIcon.d.ts +3 -0
- package/dist/icons/PaymentIcon.d.ts +3 -0
- package/dist/icons/PdfIcon.d.ts +3 -0
- package/dist/icons/PenIcon.d.ts +3 -0
- package/dist/icons/PlusIcon.d.ts +3 -0
- package/dist/icons/PointIcon.d.ts +3 -0
- package/dist/icons/Profile.d.ts +3 -0
- package/dist/icons/ProfileIcon.d.ts +3 -0
- package/dist/icons/ReassignIcon.d.ts +3 -0
- package/dist/icons/Refresh.d.ts +3 -0
- package/dist/icons/RefreshIcon.d.ts +3 -0
- package/dist/icons/RejectIcon.d.ts +3 -0
- package/dist/icons/Reload.d.ts +3 -0
- package/dist/icons/ReportLost.d.ts +3 -0
- package/dist/icons/ReportStolen.d.ts +3 -0
- package/dist/icons/RequestCardIcon.d.ts +3 -0
- package/dist/icons/ResetPasswordIcon.d.ts +3 -0
- package/dist/icons/ResolvedIcon.d.ts +3 -0
- package/dist/icons/ResubmitIcon.d.ts +3 -0
- package/dist/icons/ReturnIcon.d.ts +3 -0
- package/dist/icons/RightArrowIcon.d.ts +3 -0
- package/dist/icons/RotatingCircle.d.ts +3 -0
- package/dist/icons/SearchIcon.d.ts +3 -0
- package/dist/icons/SelectDownArrowIcon.d.ts +3 -0
- package/dist/icons/SelectFieldDownArrow.d.ts +3 -0
- package/dist/icons/SelectFieldUpArrow.d.ts +3 -0
- package/dist/icons/SendCardPinIcon.d.ts +3 -0
- package/dist/icons/ServerBlock.d.ts +3 -0
- package/dist/icons/Settings.d.ts +3 -0
- package/dist/icons/ShowPasswordIcon.d.ts +3 -0
- package/dist/icons/SmallArrow.d.ts +3 -0
- package/dist/icons/SmallArrowRight.d.ts +3 -0
- package/dist/icons/SortIcon.d.ts +3 -0
- package/dist/icons/Sound.d.ts +3 -0
- package/dist/icons/StandingOrderIcon.d.ts +3 -0
- package/dist/icons/SubmitIcon.d.ts +3 -0
- package/dist/icons/Success.d.ts +3 -0
- package/dist/icons/SuccessIcon.d.ts +3 -0
- package/dist/icons/Swap.d.ts +3 -0
- package/dist/icons/TableView.d.ts +3 -0
- package/dist/icons/Tawaroq.d.ts +3 -0
- package/dist/icons/TimeCircle.d.ts +3 -0
- package/dist/icons/TopOpenLeadsIcon.d.ts +3 -0
- package/dist/icons/TrackingIcon.d.ts +3 -0
- package/dist/icons/TransferBetweenOwnAccountIcon.d.ts +3 -0
- package/dist/icons/TransferFromCardIcon.d.ts +3 -0
- package/dist/icons/TransferIcon.d.ts +3 -0
- package/dist/icons/TransferInternalIcon.d.ts +3 -0
- package/dist/icons/TransferInternational.d.ts +3 -0
- package/dist/icons/TransferInternationalIcon.d.ts +3 -0
- package/dist/icons/TransferLocalIcon.d.ts +3 -0
- package/dist/icons/ViewAccount.d.ts +3 -0
- package/dist/icons/ViewCreditCard.d.ts +3 -0
- package/dist/icons/ViewDebitCard.d.ts +3 -0
- package/dist/icons/ViewFinanceIcon.d.ts +3 -0
- package/dist/icons/ViewIcon.d.ts +3 -0
- package/dist/icons/VisaPlatinum.d.ts +3 -0
- package/dist/icons/VisaSignature.d.ts +3 -0
- package/dist/icons/WaitList.d.ts +3 -0
- package/dist/icons/WarningIcon.d.ts +3 -0
- package/dist/icons/WhiteArrowLeft.d.ts +3 -0
- package/dist/icons/WhiteList.d.ts +3 -0
- package/dist/icons/WordIcon.d.ts +3 -0
- package/dist/icons/ZoomIn.d.ts +3 -0
- package/dist/icons/ZoomInIcon.d.ts +3 -0
- package/dist/icons/ZoomOut.d.ts +3 -0
- package/dist/icons/ZoomOutIcon.d.ts +3 -0
- package/dist/icons/index.d.ts +179 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -0
- package/dist/index.js.LICENSE.txt +64 -0
- package/dist/types/all.scss.d.ts +5 -0
- package/dist/types/enums.d.ts +21 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/interfaces.d.ts +326 -0
- package/dist/types/jsx.d.ts +13 -0
- package/dist/types/types.d.ts +33 -0
- package/dist/utils/index.d.ts +82 -0
- package/package.json +2 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Accordion';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
interface DropdownButtonProps {
|
|
4
|
+
options?: React.ReactNode[];
|
|
5
|
+
customContainer?: HTMLElement;
|
|
6
|
+
}
|
|
7
|
+
declare const ActionDropdown: ({ options, customContainer }: DropdownButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default ActionDropdown;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Alert';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ArenaDatePicker';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
interface DateRangePickerProps {
|
|
4
|
+
value: string | null;
|
|
5
|
+
onChange: (dateRange: string) => void;
|
|
6
|
+
label?: string | JSX.Element;
|
|
7
|
+
placeholder?: string;
|
|
8
|
+
showTimeInput?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
size?: string;
|
|
12
|
+
id?: string;
|
|
13
|
+
clearable?: boolean;
|
|
14
|
+
endDatePlaceholder: string;
|
|
15
|
+
startDatePlaceholder: string;
|
|
16
|
+
disableStartDate: boolean;
|
|
17
|
+
showMonthYearPicker: boolean;
|
|
18
|
+
disableEndDate: boolean;
|
|
19
|
+
maxStartDate?: string;
|
|
20
|
+
minStartDate?: string;
|
|
21
|
+
maxEndDate?: string;
|
|
22
|
+
minEndDate?: string;
|
|
23
|
+
required?: boolean;
|
|
24
|
+
labels?: {
|
|
25
|
+
month: string;
|
|
26
|
+
day: string;
|
|
27
|
+
Apply: string;
|
|
28
|
+
week: string;
|
|
29
|
+
Select: string;
|
|
30
|
+
Last: string;
|
|
31
|
+
Start_Date: string;
|
|
32
|
+
End_Date: string;
|
|
33
|
+
Selected_Date: string;
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
declare const ArenaDateRange: React.FC<DateRangePickerProps>;
|
|
37
|
+
export default ArenaDateRange;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './ArenaDateRange';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
type DataItem = {
|
|
4
|
+
name: string;
|
|
5
|
+
value: number;
|
|
6
|
+
color: string;
|
|
7
|
+
};
|
|
8
|
+
type BarChartProps = {
|
|
9
|
+
data: DataItem[];
|
|
10
|
+
className?: string;
|
|
11
|
+
barSize: number;
|
|
12
|
+
width: number;
|
|
13
|
+
height: number;
|
|
14
|
+
selectedItem?: string;
|
|
15
|
+
yAxisFontSize?: string;
|
|
16
|
+
xAxisFontSize?: string;
|
|
17
|
+
yAxisOffset?: number;
|
|
18
|
+
};
|
|
19
|
+
declare const BarChart: React.FC<BarChartProps>;
|
|
20
|
+
export default BarChart;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ButtonPropsType } from '../../types';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
declare const Button: {
|
|
4
|
+
({ children, className, variant, color, size, type, disabled, loading, startIcon, endIcon, fullWidth, onKeyDown, onClick, active, dataId, ...props }: ButtonPropsType): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default Button;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Button';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Card';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
type CarouselProps = {
|
|
4
|
+
items: JSX.Element[];
|
|
5
|
+
title: string;
|
|
6
|
+
move?: boolean;
|
|
7
|
+
setMove?: (move: boolean) => void;
|
|
8
|
+
className?: string;
|
|
9
|
+
};
|
|
10
|
+
declare const Carousel: React.FC<CarouselProps>;
|
|
11
|
+
export default Carousel;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { CheckboxPropsType } from '../../types';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
declare const Checkbox: ({ label, labelPlacement, handleCheckboxChange, className, checked, size, disabled, }: CheckboxPropsType) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default Checkbox;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Checkbox';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ChipPropsType } from '../../types';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
declare const Chip: {
|
|
4
|
+
({ className, color, children, variant, clickable, onClick, onDelete, size, id, type, }: ChipPropsType): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
displayName: string;
|
|
6
|
+
};
|
|
7
|
+
export default Chip;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Chip';
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SizeType } from 'types';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
interface CounterComponentProps {
|
|
4
|
+
label?: string;
|
|
5
|
+
value?: number;
|
|
6
|
+
size?: SizeType;
|
|
7
|
+
onChange?: (value?: number) => void;
|
|
8
|
+
errorMsg?: string;
|
|
9
|
+
required?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
minNumber: number;
|
|
13
|
+
maxNumber: number;
|
|
14
|
+
}
|
|
15
|
+
declare const CounterComponent: ({ label, value, size, onChange, errorMsg, required, disabled, className, minNumber, maxNumber, }: CounterComponentProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export default CounterComponent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Date';
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { SizeType, periodType } from '../../types';
|
|
3
|
+
import './style.scss';
|
|
4
|
+
interface DateRangeProps {
|
|
5
|
+
id?: string;
|
|
6
|
+
label?: JSX.Element | string;
|
|
7
|
+
helperText?: string;
|
|
8
|
+
errorMsg?: string;
|
|
9
|
+
success?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
maxRangeSpan?: periodType;
|
|
12
|
+
value?: {
|
|
13
|
+
value: string;
|
|
14
|
+
type: {
|
|
15
|
+
key: string;
|
|
16
|
+
value: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
onChange: (newValue?: {
|
|
20
|
+
value: string;
|
|
21
|
+
type: {
|
|
22
|
+
key: string;
|
|
23
|
+
value: string;
|
|
24
|
+
};
|
|
25
|
+
}) => void;
|
|
26
|
+
size?: SizeType;
|
|
27
|
+
clearable?: boolean;
|
|
28
|
+
hideMoreDateOptions?: boolean;
|
|
29
|
+
showTimePicker?: boolean;
|
|
30
|
+
acceptSameDay?: boolean;
|
|
31
|
+
maxStartDate?: string;
|
|
32
|
+
minStartDate?: string;
|
|
33
|
+
maxEndDate?: string;
|
|
34
|
+
minEndDate?: string;
|
|
35
|
+
disableStartDate?: boolean;
|
|
36
|
+
disableEndDate?: boolean;
|
|
37
|
+
labels?: {
|
|
38
|
+
month: string;
|
|
39
|
+
day: string;
|
|
40
|
+
Apply: string;
|
|
41
|
+
week: string;
|
|
42
|
+
Select: string;
|
|
43
|
+
Last: string;
|
|
44
|
+
Start_Date: string;
|
|
45
|
+
End_Date: string;
|
|
46
|
+
Selected_Date: string;
|
|
47
|
+
};
|
|
48
|
+
className?: string;
|
|
49
|
+
dataId?: string;
|
|
50
|
+
required?: boolean;
|
|
51
|
+
}
|
|
52
|
+
declare const DateRange: FC<DateRangeProps>;
|
|
53
|
+
export default DateRange;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './DateRange';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { DialogPropsType } from '../../types';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
declare const Dialog: ({ open, onClose, header, content, footer, position, size, disableOverlay, disableBackdropClick, fullWidth, dataId, scroll, className, }: DialogPropsType) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export default Dialog;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Dialog';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
type DataItem = {
|
|
4
|
+
name: string;
|
|
5
|
+
value: number;
|
|
6
|
+
fill: string;
|
|
7
|
+
};
|
|
8
|
+
type DonutChartProps = {
|
|
9
|
+
data: DataItem[];
|
|
10
|
+
height?: number;
|
|
11
|
+
width?: number;
|
|
12
|
+
innerRadius?: number;
|
|
13
|
+
outerRadius?: number;
|
|
14
|
+
withPercentage?: boolean;
|
|
15
|
+
dataId?: string;
|
|
16
|
+
fontSize?: string;
|
|
17
|
+
withLegend?: boolean;
|
|
18
|
+
withMoreDetails?: boolean;
|
|
19
|
+
valueFontSize?: string;
|
|
20
|
+
nameFontSize?: string;
|
|
21
|
+
noDataState?: boolean;
|
|
22
|
+
endAngle?: number;
|
|
23
|
+
startAngle?: number;
|
|
24
|
+
dy?: number;
|
|
25
|
+
className?: string;
|
|
26
|
+
innerShapeRadius?: number;
|
|
27
|
+
outerShapeRadius?: number;
|
|
28
|
+
withTooltip?: boolean;
|
|
29
|
+
};
|
|
30
|
+
declare const DonutChart: React.FC<DonutChartProps>;
|
|
31
|
+
export default DonutChart;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
interface DoubleBarChartProps {
|
|
4
|
+
data: {
|
|
5
|
+
name: string;
|
|
6
|
+
value: number;
|
|
7
|
+
volume: number;
|
|
8
|
+
}[];
|
|
9
|
+
className?: string;
|
|
10
|
+
barSize: number;
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
selectedFirstItem: string;
|
|
14
|
+
selectedSeconedItem: string;
|
|
15
|
+
color: {
|
|
16
|
+
first: string;
|
|
17
|
+
seconed: string;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
declare const DoubleBarChart: React.FC<DoubleBarChartProps>;
|
|
21
|
+
export default DoubleBarChart;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
type Option = {
|
|
4
|
+
value: string;
|
|
5
|
+
view: React.ReactNode;
|
|
6
|
+
};
|
|
7
|
+
type Value = {
|
|
8
|
+
item: Object;
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
};
|
|
11
|
+
type DropDownProps = {
|
|
12
|
+
label?: string;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
options?: Option[];
|
|
15
|
+
value?: Value;
|
|
16
|
+
size?: string;
|
|
17
|
+
setValue?: React.Dispatch<React.SetStateAction<string>>;
|
|
18
|
+
clearable?: boolean;
|
|
19
|
+
errorMessage?: string;
|
|
20
|
+
required?: boolean;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
defaultIconTitle?: string;
|
|
23
|
+
showDefaultIcon?: boolean;
|
|
24
|
+
defaultIcon?: React.ReactNode;
|
|
25
|
+
className?: string;
|
|
26
|
+
};
|
|
27
|
+
declare const DropDown: React.FC<DropDownProps>;
|
|
28
|
+
export default DropDown;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import './style.scss';
|
|
2
|
+
interface FieldArrayProps {
|
|
3
|
+
initialFields: any[];
|
|
4
|
+
fieldsSettings: any[];
|
|
5
|
+
value: any[];
|
|
6
|
+
setValue: (value: any) => void;
|
|
7
|
+
handleDataChanged?: () => void;
|
|
8
|
+
}
|
|
9
|
+
declare const FieldArray: ({ initialFields, fieldsSettings, value, setValue, handleDataChanged, }: FieldArrayProps) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default FieldArray;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
type FieldArrayValue = Record<string, string | number | object>;
|
|
2
|
+
interface UseCusFieldArrayProps {
|
|
3
|
+
initialFields: any[];
|
|
4
|
+
value: FieldArrayValue[];
|
|
5
|
+
}
|
|
6
|
+
interface UseCusFieldArrayReturn {
|
|
7
|
+
fields: any[];
|
|
8
|
+
append: (newField: any) => void;
|
|
9
|
+
replace: (index: number, newField: any) => void;
|
|
10
|
+
remove: (index: number) => void;
|
|
11
|
+
}
|
|
12
|
+
declare const useCusFieldArray: ({ value }: UseCusFieldArrayProps) => UseCusFieldArrayReturn;
|
|
13
|
+
export default useCusFieldArray;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import './style.scss';
|
|
3
|
+
type FileOrUrl = File | string;
|
|
4
|
+
interface FileUploaderProps {
|
|
5
|
+
multiple?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
accept?: string;
|
|
8
|
+
value: FileOrUrl[] | [];
|
|
9
|
+
onChange: (value: FileOrUrl[]) => void;
|
|
10
|
+
size?: 'small' | 'medium' | 'large';
|
|
11
|
+
label?: JSX.Element | string | number;
|
|
12
|
+
placeholder?: string | number;
|
|
13
|
+
required?: boolean;
|
|
14
|
+
key?: any;
|
|
15
|
+
handleDownload: (value: FileOrUrl) => void;
|
|
16
|
+
}
|
|
17
|
+
declare const FileUploader: ({ multiple, disabled, accept, value, onChange, size, label, placeholder, required, key, handleDownload, }: FileUploaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export default FileUploader;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import './style.scss';
|
|
2
|
+
type FileOrUrl = File | string;
|
|
3
|
+
declare const ViewFiles: ({ files, onChange, handleDownload, }: {
|
|
4
|
+
files: FileOrUrl[];
|
|
5
|
+
onChange: (value: FileOrUrl[]) => void;
|
|
6
|
+
handleDownload: (value: FileOrUrl) => void;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default ViewFiles;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './HelperText';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Input';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import './style.scss';
|
|
3
|
+
interface InputRangeProps {
|
|
4
|
+
value: string;
|
|
5
|
+
onChange: (value: string) => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
min?: string;
|
|
8
|
+
max?: string;
|
|
9
|
+
label?: JSX.Element | string | number;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const InputRange: ({ value, onChange, disabled, min, max, label, required, }: InputRangeProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default InputRange;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
interface JsonFieldProps {
|
|
4
|
+
json: string;
|
|
5
|
+
setJson: React.Dispatch<React.SetStateAction<string>>;
|
|
6
|
+
title: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const JsonField: React.FC<JsonFieldProps>;
|
|
11
|
+
export default JsonField;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Label';
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
type LineData = {
|
|
4
|
+
name: string;
|
|
5
|
+
[key: string]: string | number;
|
|
6
|
+
fill: string | number;
|
|
7
|
+
};
|
|
8
|
+
type LineItem = {
|
|
9
|
+
name: string;
|
|
10
|
+
key: string;
|
|
11
|
+
color: string;
|
|
12
|
+
dotColor: string;
|
|
13
|
+
};
|
|
14
|
+
type LineChartProps = {
|
|
15
|
+
data: LineData[];
|
|
16
|
+
lines: LineItem[];
|
|
17
|
+
height?: number;
|
|
18
|
+
width?: number;
|
|
19
|
+
className?: string;
|
|
20
|
+
};
|
|
21
|
+
declare const LineChartComponent: React.FC<LineChartProps>;
|
|
22
|
+
export default LineChartComponent;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './style.scss';
|
|
3
|
+
interface LoaderProps {
|
|
4
|
+
className?: string;
|
|
5
|
+
width?: number;
|
|
6
|
+
height?: number;
|
|
7
|
+
color?: string;
|
|
8
|
+
shape?: 'quarter' | 'half' | 'three-quarters';
|
|
9
|
+
}
|
|
10
|
+
declare const Loader: React.FC<LoaderProps>;
|
|
11
|
+
export default Loader;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Loader';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import './style.scss';
|
|
2
|
+
interface Option {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
[key: string]: string;
|
|
6
|
+
}
|
|
7
|
+
interface Group {
|
|
8
|
+
groupName?: string;
|
|
9
|
+
list: Option[];
|
|
10
|
+
}
|
|
11
|
+
interface MultiSelectGroupProps {
|
|
12
|
+
label?: string;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
options: Group[];
|
|
15
|
+
value: Option[];
|
|
16
|
+
setValue: (value: Option | Option[] | null) => void;
|
|
17
|
+
isMultiple?: boolean;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
className?: string;
|
|
20
|
+
helperText?: string;
|
|
21
|
+
withSearch?: boolean;
|
|
22
|
+
itemsLabel?: string;
|
|
23
|
+
size?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare const MultiSelectWithChips: ({ label, placeholder, options, value, setValue, isMultiple, disabled, className, helperText, withSearch, itemsLabel, size, }: MultiSelectGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
export default MultiSelectWithChips;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Overlay';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './Pagination';
|