@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
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@secondstaxorg/sscomp",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/"
|
|
6
6
|
},
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
"description": "A react component library for secondstax",
|
|
12
12
|
"main": "dist/index.min.js",
|
|
13
13
|
"module": "dist/index.es.js",
|
|
14
|
-
"types": "
|
|
14
|
+
"types": "types/index.d.ts",
|
|
15
15
|
"files": [
|
|
16
|
-
"dist"
|
|
16
|
+
"dist","types"
|
|
17
17
|
],
|
|
18
18
|
"scripts": {
|
|
19
19
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
@@ -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,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 @@
|
|
|
1
|
+
export declare function ucFirstAll(str: string): any;
|
|
@@ -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,15 @@
|
|
|
1
|
+
export interface AppActionsProps {
|
|
2
|
+
actions: {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
clearanceLevel: number;
|
|
6
|
+
actionCode: string;
|
|
7
|
+
}[];
|
|
8
|
+
callback: (a: {
|
|
9
|
+
title: string;
|
|
10
|
+
description: string;
|
|
11
|
+
clearanceLevel: number;
|
|
12
|
+
actionCode: string;
|
|
13
|
+
}) => void;
|
|
14
|
+
srchActive?: boolean;
|
|
15
|
+
}
|
|
@@ -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,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,4 @@
|
|
|
1
|
+
export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const LogTimeline: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const TimelineDot: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const LogContent: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const BankAcctsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const AcctDets: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const ActionButtons: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface BankAcctsProps {
|
|
2
|
+
acctDets: {
|
|
3
|
+
acctNumber: number;
|
|
4
|
+
bankName: string;
|
|
5
|
+
acctName: string;
|
|
6
|
+
currency: string;
|
|
7
|
+
swiftCode: string;
|
|
8
|
+
isActive: boolean;
|
|
9
|
+
isMainAccount: boolean;
|
|
10
|
+
bankLogo?: string;
|
|
11
|
+
editFxn: (a?: any) => void;
|
|
12
|
+
deactivateFxn: (a?: any) => void;
|
|
13
|
+
reactivateFxn: (a?: any) => void;
|
|
14
|
+
}[];
|
|
15
|
+
loading: boolean;
|
|
16
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const MapContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const Dets: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const AccountInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface BankSelectorProps {
|
|
2
|
+
bankAcct: {
|
|
3
|
+
bankLogo?: string;
|
|
4
|
+
acctNo: number;
|
|
5
|
+
bankName: string;
|
|
6
|
+
acctName: string;
|
|
7
|
+
currency: string;
|
|
8
|
+
}[];
|
|
9
|
+
selectedBank: (a: {
|
|
10
|
+
bankLogo?: string;
|
|
11
|
+
acctNo: number;
|
|
12
|
+
bankName: string;
|
|
13
|
+
acctName: string;
|
|
14
|
+
currency: string;
|
|
15
|
+
}) => void;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BreadcrumbContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,5 @@
|
|
|
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>;
|
|
5
|
+
export declare const BrokerCountry: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export interface BrokersProps {
|
|
2
|
+
brokers: {
|
|
3
|
+
brokerId: string;
|
|
4
|
+
name: string;
|
|
5
|
+
email: string;
|
|
6
|
+
phone: string;
|
|
7
|
+
country: string;
|
|
8
|
+
countryFlag?: string;
|
|
9
|
+
}[];
|
|
10
|
+
callback: (a: {
|
|
11
|
+
brokerId: string;
|
|
12
|
+
name: string;
|
|
13
|
+
email: string;
|
|
14
|
+
phone: string;
|
|
15
|
+
country: string;
|
|
16
|
+
countryFlag?: string;
|
|
17
|
+
}) => void;
|
|
18
|
+
srchActive?: boolean;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Button } from './Button';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ButtonComp: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Outline } from './OutlineButton';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const OutlineButtonComp: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface OutlineButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
+
variant?: 'primary' | 'error' | 'warning' | 'success';
|
|
4
|
+
size: 'lg' | 'md' | 'sm';
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
children: any;
|
|
7
|
+
withBg?: boolean;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function dayDiff(rateDate: string): "today, " | "yesterday, " | "" | undefined;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const ChartContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const GraphArea: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const TextArea: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const ExchangeCurr: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const RateInfo: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
6
|
+
export declare const RateDate: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface ChartProps {
|
|
2
|
+
ratesData: {
|
|
3
|
+
baseCurrency: string;
|
|
4
|
+
exchCurrency: string;
|
|
5
|
+
rate: string;
|
|
6
|
+
currDate: string;
|
|
7
|
+
rateChange: number;
|
|
8
|
+
}[];
|
|
9
|
+
exchCurrFlag: string;
|
|
10
|
+
exchCurrName: string;
|
|
11
|
+
exchCurrCode: string;
|
|
12
|
+
baseCurrCode: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function dayDiff(rateDate: string): "today, " | "yesterday, " | "" | undefined;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const ChartContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const GraphArea: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const TextArea: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const ExchangeCurr: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const RateInfo: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
6
|
+
export declare const RateDate: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface ChartProps {
|
|
2
|
+
ratesData: {
|
|
3
|
+
baseCurrency: string;
|
|
4
|
+
exchCurrency: string;
|
|
5
|
+
rate: string;
|
|
6
|
+
currDate: string;
|
|
7
|
+
rateChange: number;
|
|
8
|
+
}[];
|
|
9
|
+
exchCurrFlag: string;
|
|
10
|
+
exchCurrName: string;
|
|
11
|
+
exchCurrCode: string;
|
|
12
|
+
baseCurrCode: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function dayDiff(rateDate: string): "today, " | "yesterday, " | "" | undefined;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const ChartContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const GraphArea: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const TextArea: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const ExchangeCurr: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const RateInfo: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
6
|
+
export declare const RateDate: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface ChartProps {
|
|
2
|
+
ratesData: {
|
|
3
|
+
baseCurrency: string;
|
|
4
|
+
exchCurrency: string;
|
|
5
|
+
rate: string;
|
|
6
|
+
currDate: string;
|
|
7
|
+
rateChange: number;
|
|
8
|
+
}[];
|
|
9
|
+
exchCurrFlag: string;
|
|
10
|
+
exchCurrName: string;
|
|
11
|
+
exchCurrCode: string;
|
|
12
|
+
baseCurrCode: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const ConsentContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const ConsentNotice: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const ConsentHeading: import("styled-components").StyledComponent<"h5", any, {}, never>;
|
|
4
|
+
export declare const ConsentDesc: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
5
|
+
export declare const ConsentButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
6
|
+
export declare const ConsentButtonsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const DropdownContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const LabelContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const DropdownField: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const DropdownIcon: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const OptionsList: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const DropdownOption: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export declare const DropdownOptionAlt: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface SelectorProps {
|
|
2
|
+
options: {
|
|
3
|
+
optionName: string;
|
|
4
|
+
optionShortName: string;
|
|
5
|
+
optionFlag?: string;
|
|
6
|
+
subName?: string;
|
|
7
|
+
}[];
|
|
8
|
+
selectedOption: (a: any) => void;
|
|
9
|
+
initialText?: string;
|
|
10
|
+
initialFlag?: string;
|
|
11
|
+
label?: string;
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
searchable?: boolean;
|
|
14
|
+
sectionTitle?: string;
|
|
15
|
+
}
|
|
@@ -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,19 @@
|
|
|
1
|
+
export interface CurrencyPairsProps {
|
|
2
|
+
pairs: {
|
|
3
|
+
pairCode: string;
|
|
4
|
+
baseCurrency: string;
|
|
5
|
+
baseFlag: string;
|
|
6
|
+
exchangeCurrency: string;
|
|
7
|
+
exchangeFlag: string;
|
|
8
|
+
pairName: string;
|
|
9
|
+
}[];
|
|
10
|
+
callback: (a: {
|
|
11
|
+
pairCode: string;
|
|
12
|
+
baseCurrency: string;
|
|
13
|
+
baseFlag: string;
|
|
14
|
+
exchangeCurrency: string;
|
|
15
|
+
exchangeFlag: string;
|
|
16
|
+
pairName: string;
|
|
17
|
+
}) => void;
|
|
18
|
+
srchActive?: boolean;
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TableStyled: import("styled-components").StyledComponent<"table", any, {}, never>;
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
}
|
|
39
|
+
export interface ActionOptions {
|
|
40
|
+
edit: boolean;
|
|
41
|
+
delete: boolean;
|
|
42
|
+
add: boolean;
|
|
43
|
+
view: boolean;
|
|
44
|
+
custom: (row: TableRow) => void;
|
|
45
|
+
export: boolean;
|
|
46
|
+
}
|
|
47
|
+
export interface TableColumn {
|
|
48
|
+
title: string;
|
|
49
|
+
field: string;
|
|
50
|
+
type?: "text" | "number" | "date" | "datetime" | "time" | "checkbox" | "select" | "action";
|
|
51
|
+
format?: string;
|
|
52
|
+
width?: string;
|
|
53
|
+
align?: "left" | "center" | "right";
|
|
54
|
+
sortable?: boolean | Array<string>;
|
|
55
|
+
editable?: boolean;
|
|
56
|
+
options?: any[];
|
|
57
|
+
custom?: (row: any) => any;
|
|
58
|
+
render?: (row: any) => any;
|
|
59
|
+
}
|
|
60
|
+
export interface TableRow {
|
|
61
|
+
id: string | number;
|
|
62
|
+
[key: string]: any;
|
|
63
|
+
}
|
|
64
|
+
export interface TableAction {
|
|
65
|
+
title: string;
|
|
66
|
+
icon: string;
|
|
67
|
+
onClick: (row: TableRow) => void;
|
|
68
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const InputLabel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const DatePickerContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const InputField: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const CalendarContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|