@secondstaxorg/sscomp 1.1.5 → 1.1.6
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/package.json +3 -3
- package/types/components/ActionFailed/ActionFailed.d.ts +4 -0
- package/types/components/ActionFailed/style.d.ts +2 -0
- package/types/components/ActionFailed/type.d.ts +4 -0
- package/types/components/ActionSuccess/ActionSuccess.d.ts +4 -0
- package/types/components/ActionSuccess/style.d.ts +2 -0
- package/types/components/ActionSuccess/type.d.ts +4 -0
- package/types/components/AddBankAccount/request.d.ts +10 -0
- package/types/components/AddBroker/request.d.ts +10 -0
- package/types/components/AddUserContent/helpers.d.ts +1 -0
- package/types/components/AddUserContent/request.d.ts +10 -0
- package/types/components/AppActionsTable/AppActionsTable.d.ts +4 -0
- package/types/components/AppActionsTable/style.d.ts +4 -0
- package/types/components/AppActionsTable/type.d.ts +15 -0
- package/types/components/AppFormsTable/AppFormsTable.d.ts +4 -0
- package/types/components/AppFormsTable/style.d.ts +4 -0
- package/types/components/AppFormsTable/type.d.ts +13 -0
- package/types/components/AppModulesTable/AppModulesTable.d.ts +4 -0
- package/types/components/AppModulesTable/style.d.ts +4 -0
- package/types/components/AppModulesTable/type.d.ts +13 -0
- package/types/components/AuditLog/AuditLog.d.ts +4 -0
- package/types/components/AuditLog/style.d.ts +4 -0
- package/types/components/AuditLog/type.d.ts +8 -0
- package/types/components/BankAccounts/BankAccounts.d.ts +4 -0
- package/types/components/BankAccounts/style.d.ts +4 -0
- package/types/components/BankAccounts/type.d.ts +16 -0
- package/types/components/BankSelector/BankSelector.d.ts +4 -0
- package/types/components/BankSelector/style.d.ts +4 -0
- package/types/components/BankSelector/type.d.ts +16 -0
- package/types/components/BreadcrumbBar/BreadcrumbBar.d.ts +4 -0
- package/types/components/BreadcrumbBar/style.d.ts +1 -0
- package/types/components/BreadcrumbBar/type.d.ts +7 -0
- package/types/components/BrokersTable/BrokersTable.d.ts +4 -0
- package/types/components/BrokersTable/style.d.ts +5 -0
- package/types/components/BrokersTable/type.d.ts +19 -0
- package/types/components/Button/Button.d.ts +4 -0
- package/types/components/Button/index.d.ts +1 -0
- package/types/components/Button/style.d.ts +1 -0
- package/types/components/Button/type.d.ts +7 -0
- package/types/components/ButtonOutline/OutlineButton.d.ts +4 -0
- package/types/components/ButtonOutline/index.d.ts +1 -0
- package/types/components/ButtonOutline/style.d.ts +1 -0
- package/types/components/ButtonOutline/type.d.ts +8 -0
- package/types/components/Chart/Chart.d.ts +4 -0
- package/types/components/Chart/helpers.d.ts +1 -0
- package/types/components/Chart/style.d.ts +6 -0
- package/types/components/Chart/type.d.ts +13 -0
- package/types/components/ChartMedium/ChartMedium.d.ts +4 -0
- package/types/components/ChartMedium/helpers.d.ts +1 -0
- package/types/components/ChartMedium/style.d.ts +6 -0
- package/types/components/ChartMedium/type.d.ts +13 -0
- package/types/components/ChartSmall/ChartSmall.d.ts +4 -0
- package/types/components/ChartSmall/helpers.d.ts +1 -0
- package/types/components/ChartSmall/style.d.ts +6 -0
- package/types/components/ChartSmall/type.d.ts +13 -0
- package/types/components/CookieConsent/CookieConsent.d.ts +4 -0
- package/types/components/CookieConsent/style.d.ts +6 -0
- package/types/components/CookieConsent/type.d.ts +5 -0
- package/types/components/CountrySelector/CountrySelector.d.ts +4 -0
- package/types/components/CountrySelector/style.d.ts +7 -0
- package/types/components/CountrySelector/type.d.ts +15 -0
- package/types/components/CurrencyPairs/CurrencyPairsTable.d.ts +4 -0
- package/types/components/CurrencyPairs/style.d.ts +4 -0
- package/types/components/CurrencyPairs/type.d.ts +19 -0
- package/types/components/DataTable/style.d.ts +1 -0
- package/types/components/DataTable/type.d.ts +68 -0
- package/types/components/DatePicker/DatePicker.d.ts +4 -0
- package/types/components/DatePicker/style.d.ts +4 -0
- package/types/components/DatePicker/type.d.ts +8 -0
- package/types/components/DatePickerOld/style.d.ts +12 -0
- package/types/components/DatePickerOld/type.d.ts +63 -0
- package/types/components/DateRangePicker/style.d.ts +5 -0
- package/types/components/DateRangePicker/type.d.ts +9 -0
- package/types/components/DisplayField/style.d.ts +1 -0
- package/types/components/DisplayField/type.d.ts +4 -0
- package/types/components/DropdownList/DropdownList.d.ts +4 -0
- package/types/components/DropdownList/style.d.ts +7 -0
- package/types/components/DropdownList/type.d.ts +15 -0
- package/types/components/Dropshadows/DropShadows.d.ts +4 -0
- package/types/components/Dropshadows/style.d.ts +1 -0
- package/types/components/Dropshadows/type.d.ts +4 -0
- package/types/components/EditUserContent/helpers.d.ts +1 -0
- package/types/components/EditUserContent/request.d.ts +10 -0
- package/types/components/ExchangeRates/ExchangeRates.d.ts +4 -0
- package/types/components/ExchangeRates/style.d.ts +3 -0
- package/types/components/ExchangeRates/type.d.ts +11 -0
- package/types/components/Footer/Footer.d.ts +3 -0
- package/types/components/Footer/style.d.ts +6 -0
- package/types/components/Header/type.d.ts +10 -0
- package/types/components/Indices/Indices.d.ts +4 -0
- package/types/components/Indices/style.d.ts +5 -0
- package/types/components/Indices/type.d.ts +9 -0
- package/types/components/LPRequestTable/LPRequestTable.d.ts +4 -0
- package/types/components/LPRequestTable/helpers.d.ts +1 -0
- package/types/components/LPRequestTable/style.d.ts +4 -0
- package/types/components/LPRequestTable/type.d.ts +29 -0
- package/types/components/LPSideNav/LPSideNav.d.ts +9 -0
- package/types/components/LPSideNav/style.d.ts +7 -0
- package/types/components/LPSideNav/type.d.ts +18 -0
- package/types/components/LPTopBar/LPTopBar.d.ts +4 -0
- package/types/components/LPTopBar/style.d.ts +19 -0
- package/types/components/LPTopBar/type.d.ts +19 -0
- package/types/components/LoadingShimmer/LoadingShimmer.d.ts +4 -0
- package/types/components/LoadingShimmer/style.d.ts +2 -0
- package/types/components/LoadingShimmer/type.d.ts +5 -0
- package/types/components/LoadingSpinner/LoadingSpinner.d.ts +7 -0
- package/types/components/MarketData/MarketData.d.ts +4 -0
- package/types/components/MarketData/style.d.ts +8 -0
- package/types/components/MarketData/type.d.ts +9 -0
- package/types/components/MarketMovers/MarketMovers.d.ts +4 -0
- package/types/components/MarketMovers/style.d.ts +5 -0
- package/types/components/MarketMovers/type.d.ts +12 -0
- package/types/components/MenuBar/MenuBar.d.ts +4 -0
- package/types/components/MenuBar/style.d.ts +2 -0
- package/types/components/MenuBar/type.d.ts +8 -0
- package/types/components/NewsCard/NewsCard.d.ts +4 -0
- package/types/components/NewsCard/style.d.ts +6 -0
- package/types/components/NewsCard/type.d.ts +10 -0
- package/types/components/NewsFilterBar/NewsFilterBar.d.ts +4 -0
- package/types/components/NewsFilterBar/style.d.ts +2 -0
- package/types/components/NewsFilterBar/type.d.ts +13 -0
- package/types/components/NewsSourceTag/NewsSourceTag.d.ts +4 -0
- package/types/components/NewsSourceTag/style.d.ts +1 -0
- package/types/components/NewsSourceTag/type.d.ts +5 -0
- package/types/components/NewsTitleBar/NewsTitleBar.d.ts +4 -0
- package/types/components/NewsTitleBar/style.d.ts +1 -0
- package/types/components/NewsTitleBar/type.d.ts +4 -0
- package/types/components/OffersCard/helpers.d.ts +1 -0
- package/types/components/OffersCard/style.d.ts +13 -0
- package/types/components/OffersCard/type.d.ts +28 -0
- package/types/components/Pagination/index.d.ts +9 -0
- package/types/components/Pagination/style.d.ts +2 -0
- package/types/components/PasswordField/PasswordField.d.ts +4 -0
- package/types/components/PasswordField/style.d.ts +5 -0
- package/types/components/PasswordField/type.d.ts +7 -0
- package/types/components/PaymentMethodsTable/PaymentMethods.d.ts +4 -0
- package/types/components/PaymentMethodsTable/style.d.ts +4 -0
- package/types/components/PaymentMethodsTable/type.d.ts +15 -0
- package/types/components/PopupModal/style.d.ts +5 -0
- package/types/components/PopupModal/type.d.ts +9 -0
- package/types/components/ProvidersContent/request.d.ts +10 -0
- package/types/components/ProvidersTable/ProvidersTable.d.ts +4 -0
- package/types/components/ProvidersTable/style.d.ts +4 -0
- package/types/components/ProvidersTable/type.d.ts +18 -0
- package/types/components/RateHistory/RateHistory.d.ts +4 -0
- package/types/components/RateHistory/style.d.ts +6 -0
- package/types/components/RateHistory/type.d.ts +12 -0
- package/types/components/ReportsTable/helpers.d.ts +1 -0
- package/types/components/ReportsTable/style.d.ts +4 -0
- package/types/components/ReportsTable/type.d.ts +24 -0
- package/types/components/RequestForm/RequestForm.d.ts +4 -0
- package/types/components/RequestForm/style.d.ts +2 -0
- package/types/components/RequestForm/type.d.ts +18 -0
- package/types/components/Ribbon/Ribbon.d.ts +4 -0
- package/types/components/Ribbon/style.d.ts +2 -0
- package/types/components/Ribbon/type.d.ts +7 -0
- package/types/components/SSXBar/style.d.ts +1 -0
- package/types/components/SearchBar/SearchBar.d.ts +4 -0
- package/types/components/SearchBar/style.d.ts +3 -0
- package/types/components/SearchBar/type.d.ts +5 -0
- package/types/components/SearchResultsBar/SearchResultsBar.d.ts +4 -0
- package/types/components/SearchResultsBar/style.d.ts +1 -0
- package/types/components/SearchResultsBar/type.d.ts +5 -0
- package/types/components/SideModal/SideModal.d.ts +4 -0
- package/types/components/SideModal/style.d.ts +6 -0
- package/types/components/SideModal/type.d.ts +8 -0
- package/types/components/SmallNewsCard/SmallNewsCard.d.ts +4 -0
- package/types/components/SmallNewsCard/style.d.ts +5 -0
- package/types/components/SmallNewsCard/type.d.ts +9 -0
- package/types/components/StatusBadge/StatusBadge.d.ts +4 -0
- package/types/components/StatusBadge/style.d.ts +1 -0
- package/types/components/StatusBadge/type.d.ts +5 -0
- package/types/components/StocksTicker/StocksTicker.d.ts +4 -0
- package/types/components/StocksTicker/style.d.ts +2 -0
- package/types/components/StocksTicker/type.d.ts +10 -0
- package/types/components/SystemConfigTable/SystemConfigTable.d.ts +4 -0
- package/types/components/SystemConfigTable/style.d.ts +4 -0
- package/types/components/SystemConfigTable/type.d.ts +10 -0
- package/types/components/Tab/Tab.d.ts +4 -0
- package/types/components/Tab/style.d.ts +3 -0
- package/types/components/Tab/type.d.ts +11 -0
- package/types/components/Table/helpers.d.ts +6 -0
- package/types/components/Table/index.d.ts +1 -0
- package/types/components/Table/style.d.ts +1 -0
- package/types/components/Table/table.d.ts +4 -0
- package/types/components/Table/type.d.ts +71 -0
- package/types/components/TextArea/TextArea.d.ts +4 -0
- package/types/components/TextArea/style.d.ts +4 -0
- package/types/components/TextArea/type.d.ts +7 -0
- package/types/components/TextField/TextField.d.ts +4 -0
- package/types/components/TextField/style.d.ts +4 -0
- package/types/components/TextField/type.d.ts +7 -0
- package/types/components/TransactionDetails/TransactionDetails.d.ts +4 -0
- package/types/components/TransactionDetails/helpers.d.ts +1 -0
- package/types/components/TransactionDetails/style.d.ts +2 -0
- package/types/components/TransactionDetails/type.d.ts +17 -0
- package/types/components/TransactionDetailsWithPayment/TransactionDetailsWithPayment.d.ts +4 -0
- package/types/components/TransactionDetailsWithPayment/style.d.ts +2 -0
- package/types/components/TransactionDetailsWithPayment/type.d.ts +24 -0
- package/types/components/UpdateUserActions/UpdateUserActions.d.ts +4 -0
- package/types/components/UpdateUserActions/style.d.ts +5 -0
- package/types/components/UpdateUserActions/type.d.ts +16 -0
- package/types/components/UserActions/UserActions.d.ts +4 -0
- package/types/components/UserActions/style.d.ts +5 -0
- package/types/components/UserActions/type.d.ts +20 -0
- package/types/components/UserRolesTable/UserRolesTable.d.ts +4 -0
- package/types/components/UserRolesTable/style.d.ts +4 -0
- package/types/components/UserRolesTable/type.d.ts +13 -0
- package/types/components/UsersTable/UsersTable.d.ts +4 -0
- package/types/components/UsersTable/style.d.ts +4 -0
- package/types/components/UsersTable/type.d.ts +12 -0
- package/types/components/WidgetTitle/WidgetTitle.d.ts +4 -0
- package/types/components/WidgetTitle/style.d.ts +1 -0
- package/types/components/WidgetTitle/type.d.ts +4 -0
- package/types/components/index.d.ts +60 -0
- package/types/index.d.ts +1 -0
- package/types/theme.d.ts +58 -0
- package/types/utils.d.ts +7 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const InputLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const InputField: import("styled-components").StyledComponent<"input", any, {}, never>;
|
|
3
|
+
export declare const InputContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const ToggleButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
5
|
+
export declare const ErrorMessage: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const TableContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const Table: import("styled-components").StyledComponent<"table", any, {}, never>;
|
|
3
|
+
export declare const NothingContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const NothingContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface PaymentMethodsProps {
|
|
2
|
+
methods: {
|
|
3
|
+
pymtModeCode: string;
|
|
4
|
+
pymtModeName: string;
|
|
5
|
+
pymtModeShortName: string;
|
|
6
|
+
remarks: string;
|
|
7
|
+
}[];
|
|
8
|
+
callback: (a: {
|
|
9
|
+
pymtModeCode: string;
|
|
10
|
+
pymtModeName: string;
|
|
11
|
+
pymtModeShortName: string;
|
|
12
|
+
remarks: string;
|
|
13
|
+
}) => void;
|
|
14
|
+
srchActive?: boolean;
|
|
15
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const Backdrop: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const ModalCard: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const CardHead: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const CardBody: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const CardFooter: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare type Method = "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
2
|
+
interface iApiRequest {
|
|
3
|
+
url: string;
|
|
4
|
+
method: Method;
|
|
5
|
+
data?: any;
|
|
6
|
+
headers?: any;
|
|
7
|
+
}
|
|
8
|
+
declare function createRequest(params: iApiRequest): Promise<any>;
|
|
9
|
+
export declare const axiosSend: typeof createRequest;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const TableContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const Table: import("styled-components").StyledComponent<"table", any, {}, never>;
|
|
3
|
+
export declare const NothingContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const NothingContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface ProvidersProps {
|
|
2
|
+
providers: {
|
|
3
|
+
providerId: string;
|
|
4
|
+
name: string;
|
|
5
|
+
email: string;
|
|
6
|
+
phone: string;
|
|
7
|
+
status: Status;
|
|
8
|
+
}[];
|
|
9
|
+
callback: (a: {
|
|
10
|
+
providerId: string;
|
|
11
|
+
name: string;
|
|
12
|
+
email: string;
|
|
13
|
+
phone: string;
|
|
14
|
+
status: Status;
|
|
15
|
+
}) => void;
|
|
16
|
+
srchActive?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare type Status = "active" | "inactive";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const RateContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const Currencies: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const Rates: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const Dates: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const EmptyContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function moneyfy(number: number | bigint, currency: string): string;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const TableContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const Table: import("styled-components").StyledComponent<"table", any, {}, never>;
|
|
3
|
+
export declare const NothingContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const NothingContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface ReportsProps {
|
|
2
|
+
reports: {
|
|
3
|
+
clientId: string;
|
|
4
|
+
symbol: string;
|
|
5
|
+
ticker: string;
|
|
6
|
+
price: number;
|
|
7
|
+
quantity: number;
|
|
8
|
+
amount: number;
|
|
9
|
+
currency: string;
|
|
10
|
+
currencyFlag: string;
|
|
11
|
+
dateAdded: string;
|
|
12
|
+
}[];
|
|
13
|
+
callback: (selReport: {
|
|
14
|
+
clientId: string;
|
|
15
|
+
symbol: string;
|
|
16
|
+
ticker: string;
|
|
17
|
+
price: number;
|
|
18
|
+
quantity: number;
|
|
19
|
+
amount: number;
|
|
20
|
+
currency: string;
|
|
21
|
+
currencyFlag: string;
|
|
22
|
+
dateAdded: string;
|
|
23
|
+
}) => void;
|
|
24
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface RequestFormProps {
|
|
2
|
+
symbols: {
|
|
3
|
+
name: string;
|
|
4
|
+
shortName: string;
|
|
5
|
+
countryFlag?: string;
|
|
6
|
+
price: string;
|
|
7
|
+
}[];
|
|
8
|
+
currencies: {
|
|
9
|
+
currencyShortName: string;
|
|
10
|
+
currencyLongName: string;
|
|
11
|
+
countryFlag?: string;
|
|
12
|
+
}[];
|
|
13
|
+
returnedData: (a: {
|
|
14
|
+
symbol: string;
|
|
15
|
+
quantity: number;
|
|
16
|
+
baseCurrency: string;
|
|
17
|
+
}) => void;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SSXBarContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const SearchBarContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const SearchBox: import("styled-components").StyledComponent<"input", any, {}, never>;
|
|
3
|
+
export declare const SearchButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TitleBarContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const ModalBackdrop: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const SideModalContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const NavSection: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const Button: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
5
|
+
export declare const ModalContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const ModalTitleArea: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const SmallNewsCardContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const FeaturedImage: import("styled-components").StyledComponent<"img", any, {}, never>;
|
|
3
|
+
export declare const NewsTitle: import("styled-components").StyledComponent<"h6", any, {}, never>;
|
|
4
|
+
export declare const TitleSource: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const SourceDate: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Badge: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const TableContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const Table: import("styled-components").StyledComponent<"table", any, {}, never>;
|
|
3
|
+
export declare const NothingContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const NothingContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare const TabContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const TabItem: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const TabContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
export interface TabType {
|
|
3
|
+
tabs: {
|
|
4
|
+
tabName: string;
|
|
5
|
+
tabComponent: ReactNode;
|
|
6
|
+
activeBgHexColor?: string;
|
|
7
|
+
}[];
|
|
8
|
+
bgHexColor?: string;
|
|
9
|
+
inactiveTabBgHexColor?: string;
|
|
10
|
+
selectedTab?: (a: string | number) => void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { TableRow } from './type';
|
|
2
|
+
export declare function setHeader(arr: string): string;
|
|
3
|
+
export declare function getData(data: any, config: {
|
|
4
|
+
[key: string]: any;
|
|
5
|
+
}): Promise<any>;
|
|
6
|
+
export declare function sortData(data: TableRow[], sort: string, order: string): TableRow[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SDatatable } from './table';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TableStyled: import("styled-components").StyledComponent<"table", any, {}, never>;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface TableProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
data: TableRow[] | string;
|
|
5
|
+
columns?: TableColumn[];
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
onRowClick?: (row: TableRow) => void;
|
|
8
|
+
onRowDoubleClick?: (row: TableRow) => void;
|
|
9
|
+
onRowContextMenu?: (row: TableRow) => void;
|
|
10
|
+
onRowMouseEnter?: (row: TableRow) => void;
|
|
11
|
+
onRowMouseLeave?: (row: TableRow) => void;
|
|
12
|
+
onRowMouseOver?: (row: TableRow) => void;
|
|
13
|
+
onRowMouseOut?: (row: TableRow) => void;
|
|
14
|
+
onRowMouseMove?: (row: TableRow) => void;
|
|
15
|
+
onRowExpand?: (row: TableRow) => void;
|
|
16
|
+
onRowCollapse?: (row: TableRow) => void;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
onColumnClick?: (column: TableColumn) => void;
|
|
21
|
+
onColumnDoubleClick?: (column: TableColumn) => void;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
onActionClick?: (action: TableAction) => void;
|
|
26
|
+
/**
|
|
27
|
+
* This is the component that you want to show to the user when the row is expanded
|
|
28
|
+
* @param TableRow the row that is being expanded
|
|
29
|
+
*/
|
|
30
|
+
onRowExpandComponent?: (row: TableRow) => React.ReactElement<TableRow>;
|
|
31
|
+
actionOptions?: ActionOptions;
|
|
32
|
+
actionColumn?: boolean;
|
|
33
|
+
columnSort?: boolean;
|
|
34
|
+
config: {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
};
|
|
37
|
+
rowExpand?: boolean;
|
|
38
|
+
itemsPerPage?: number;
|
|
39
|
+
hasSearch?: boolean;
|
|
40
|
+
formatData?: (data: any) => any;
|
|
41
|
+
}
|
|
42
|
+
export interface ActionOptions {
|
|
43
|
+
edit: boolean;
|
|
44
|
+
delete: boolean;
|
|
45
|
+
add: boolean;
|
|
46
|
+
view: boolean;
|
|
47
|
+
custom: (row: TableRow) => void;
|
|
48
|
+
export: boolean;
|
|
49
|
+
}
|
|
50
|
+
export interface TableColumn {
|
|
51
|
+
title: string;
|
|
52
|
+
field: string;
|
|
53
|
+
type?: "text" | "number" | "date" | "datetime" | "time" | "checkbox" | "select" | "action";
|
|
54
|
+
format?: string;
|
|
55
|
+
width?: string;
|
|
56
|
+
align?: "left" | "center" | "right";
|
|
57
|
+
sortable?: boolean | Array<string>;
|
|
58
|
+
editable?: boolean;
|
|
59
|
+
options?: any[];
|
|
60
|
+
custom?: (row: any) => any;
|
|
61
|
+
render?: (row: any) => any;
|
|
62
|
+
}
|
|
63
|
+
export interface TableRow {
|
|
64
|
+
id: string | number;
|
|
65
|
+
[key: string]: any;
|
|
66
|
+
}
|
|
67
|
+
export interface TableAction {
|
|
68
|
+
title: string;
|
|
69
|
+
icon: string;
|
|
70
|
+
onClick: (row: TableRow) => void;
|
|
71
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const InputLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const TextAreaField: import("styled-components").StyledComponent<"textarea", any, {}, never>;
|
|
3
|
+
export declare const InputContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const ErrorMessage: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const InputLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const InputField: import("styled-components").StyledComponent<"input", any, {}, never>;
|
|
3
|
+
export declare const InputContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const ErrorMessage: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function moneyfy(number: number | bigint, currency: string): string;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export interface TxnDetsProps {
|
|
2
|
+
requestedBy: string;
|
|
3
|
+
requestDate: string;
|
|
4
|
+
amount: {
|
|
5
|
+
baseAmount: number;
|
|
6
|
+
baseFlag: string;
|
|
7
|
+
baseCurr: string;
|
|
8
|
+
exchAmount: number;
|
|
9
|
+
exchFlag: string;
|
|
10
|
+
exchCurr: string;
|
|
11
|
+
exchRate: number;
|
|
12
|
+
};
|
|
13
|
+
provider: {
|
|
14
|
+
name: string;
|
|
15
|
+
logo?: string;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface TxnDetsWPymntProps {
|
|
2
|
+
requestedBy: string;
|
|
3
|
+
requestDate: string;
|
|
4
|
+
amount: {
|
|
5
|
+
baseAmount: number;
|
|
6
|
+
baseFlag: string;
|
|
7
|
+
baseCurr: string;
|
|
8
|
+
exchAmount: number;
|
|
9
|
+
exchFlag: string;
|
|
10
|
+
exchCurr: string;
|
|
11
|
+
exchRate: number;
|
|
12
|
+
};
|
|
13
|
+
provider: {
|
|
14
|
+
name: string;
|
|
15
|
+
logo?: string;
|
|
16
|
+
};
|
|
17
|
+
paymentDets: {
|
|
18
|
+
payeeName: string;
|
|
19
|
+
bankCountry: string;
|
|
20
|
+
bankCountryFlag: string;
|
|
21
|
+
bankName: string;
|
|
22
|
+
paymentRemarks: string;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const ActionsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const ActionsListContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const ActionItem: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const NoActionsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|