@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.
Files changed (218) hide show
  1. package/package.json +3 -3
  2. package/types/components/ActionFailed/ActionFailed.d.ts +4 -0
  3. package/types/components/ActionFailed/style.d.ts +2 -0
  4. package/types/components/ActionFailed/type.d.ts +4 -0
  5. package/types/components/ActionSuccess/ActionSuccess.d.ts +4 -0
  6. package/types/components/ActionSuccess/style.d.ts +2 -0
  7. package/types/components/ActionSuccess/type.d.ts +4 -0
  8. package/types/components/AddBankAccount/request.d.ts +10 -0
  9. package/types/components/AddBroker/request.d.ts +10 -0
  10. package/types/components/AddUserContent/helpers.d.ts +1 -0
  11. package/types/components/AddUserContent/request.d.ts +10 -0
  12. package/types/components/AppActionsTable/AppActionsTable.d.ts +4 -0
  13. package/types/components/AppActionsTable/style.d.ts +4 -0
  14. package/types/components/AppActionsTable/type.d.ts +15 -0
  15. package/types/components/AppFormsTable/AppFormsTable.d.ts +4 -0
  16. package/types/components/AppFormsTable/style.d.ts +4 -0
  17. package/types/components/AppFormsTable/type.d.ts +13 -0
  18. package/types/components/AppModulesTable/AppModulesTable.d.ts +4 -0
  19. package/types/components/AppModulesTable/style.d.ts +4 -0
  20. package/types/components/AppModulesTable/type.d.ts +13 -0
  21. package/types/components/AuditLog/AuditLog.d.ts +4 -0
  22. package/types/components/AuditLog/style.d.ts +4 -0
  23. package/types/components/AuditLog/type.d.ts +8 -0
  24. package/types/components/BankAccounts/BankAccounts.d.ts +4 -0
  25. package/types/components/BankAccounts/style.d.ts +4 -0
  26. package/types/components/BankAccounts/type.d.ts +16 -0
  27. package/types/components/BankSelector/BankSelector.d.ts +4 -0
  28. package/types/components/BankSelector/style.d.ts +4 -0
  29. package/types/components/BankSelector/type.d.ts +16 -0
  30. package/types/components/BreadcrumbBar/BreadcrumbBar.d.ts +4 -0
  31. package/types/components/BreadcrumbBar/style.d.ts +1 -0
  32. package/types/components/BreadcrumbBar/type.d.ts +7 -0
  33. package/types/components/BrokersTable/BrokersTable.d.ts +4 -0
  34. package/types/components/BrokersTable/style.d.ts +5 -0
  35. package/types/components/BrokersTable/type.d.ts +19 -0
  36. package/types/components/Button/Button.d.ts +4 -0
  37. package/types/components/Button/index.d.ts +1 -0
  38. package/types/components/Button/style.d.ts +1 -0
  39. package/types/components/Button/type.d.ts +7 -0
  40. package/types/components/ButtonOutline/OutlineButton.d.ts +4 -0
  41. package/types/components/ButtonOutline/index.d.ts +1 -0
  42. package/types/components/ButtonOutline/style.d.ts +1 -0
  43. package/types/components/ButtonOutline/type.d.ts +8 -0
  44. package/types/components/Chart/Chart.d.ts +4 -0
  45. package/types/components/Chart/helpers.d.ts +1 -0
  46. package/types/components/Chart/style.d.ts +6 -0
  47. package/types/components/Chart/type.d.ts +13 -0
  48. package/types/components/ChartMedium/ChartMedium.d.ts +4 -0
  49. package/types/components/ChartMedium/helpers.d.ts +1 -0
  50. package/types/components/ChartMedium/style.d.ts +6 -0
  51. package/types/components/ChartMedium/type.d.ts +13 -0
  52. package/types/components/ChartSmall/ChartSmall.d.ts +4 -0
  53. package/types/components/ChartSmall/helpers.d.ts +1 -0
  54. package/types/components/ChartSmall/style.d.ts +6 -0
  55. package/types/components/ChartSmall/type.d.ts +13 -0
  56. package/types/components/CookieConsent/CookieConsent.d.ts +4 -0
  57. package/types/components/CookieConsent/style.d.ts +6 -0
  58. package/types/components/CookieConsent/type.d.ts +5 -0
  59. package/types/components/CountrySelector/CountrySelector.d.ts +4 -0
  60. package/types/components/CountrySelector/style.d.ts +7 -0
  61. package/types/components/CountrySelector/type.d.ts +15 -0
  62. package/types/components/CurrencyPairs/CurrencyPairsTable.d.ts +4 -0
  63. package/types/components/CurrencyPairs/style.d.ts +4 -0
  64. package/types/components/CurrencyPairs/type.d.ts +19 -0
  65. package/types/components/DataTable/style.d.ts +1 -0
  66. package/types/components/DataTable/type.d.ts +68 -0
  67. package/types/components/DatePicker/DatePicker.d.ts +4 -0
  68. package/types/components/DatePicker/style.d.ts +4 -0
  69. package/types/components/DatePicker/type.d.ts +8 -0
  70. package/types/components/DatePickerOld/style.d.ts +12 -0
  71. package/types/components/DatePickerOld/type.d.ts +63 -0
  72. package/types/components/DateRangePicker/style.d.ts +5 -0
  73. package/types/components/DateRangePicker/type.d.ts +9 -0
  74. package/types/components/DisplayField/style.d.ts +1 -0
  75. package/types/components/DisplayField/type.d.ts +4 -0
  76. package/types/components/DropdownList/DropdownList.d.ts +4 -0
  77. package/types/components/DropdownList/style.d.ts +7 -0
  78. package/types/components/DropdownList/type.d.ts +15 -0
  79. package/types/components/Dropshadows/DropShadows.d.ts +4 -0
  80. package/types/components/Dropshadows/style.d.ts +1 -0
  81. package/types/components/Dropshadows/type.d.ts +4 -0
  82. package/types/components/EditUserContent/helpers.d.ts +1 -0
  83. package/types/components/EditUserContent/request.d.ts +10 -0
  84. package/types/components/ExchangeRates/ExchangeRates.d.ts +4 -0
  85. package/types/components/ExchangeRates/style.d.ts +3 -0
  86. package/types/components/ExchangeRates/type.d.ts +11 -0
  87. package/types/components/Footer/Footer.d.ts +3 -0
  88. package/types/components/Footer/style.d.ts +6 -0
  89. package/types/components/Header/type.d.ts +10 -0
  90. package/types/components/Indices/Indices.d.ts +4 -0
  91. package/types/components/Indices/style.d.ts +5 -0
  92. package/types/components/Indices/type.d.ts +9 -0
  93. package/types/components/LPRequestTable/LPRequestTable.d.ts +4 -0
  94. package/types/components/LPRequestTable/helpers.d.ts +1 -0
  95. package/types/components/LPRequestTable/style.d.ts +4 -0
  96. package/types/components/LPRequestTable/type.d.ts +29 -0
  97. package/types/components/LPSideNav/LPSideNav.d.ts +9 -0
  98. package/types/components/LPSideNav/style.d.ts +7 -0
  99. package/types/components/LPSideNav/type.d.ts +18 -0
  100. package/types/components/LPTopBar/LPTopBar.d.ts +4 -0
  101. package/types/components/LPTopBar/style.d.ts +19 -0
  102. package/types/components/LPTopBar/type.d.ts +19 -0
  103. package/types/components/LoadingShimmer/LoadingShimmer.d.ts +4 -0
  104. package/types/components/LoadingShimmer/style.d.ts +2 -0
  105. package/types/components/LoadingShimmer/type.d.ts +5 -0
  106. package/types/components/LoadingSpinner/LoadingSpinner.d.ts +7 -0
  107. package/types/components/MarketData/MarketData.d.ts +4 -0
  108. package/types/components/MarketData/style.d.ts +8 -0
  109. package/types/components/MarketData/type.d.ts +9 -0
  110. package/types/components/MarketMovers/MarketMovers.d.ts +4 -0
  111. package/types/components/MarketMovers/style.d.ts +5 -0
  112. package/types/components/MarketMovers/type.d.ts +12 -0
  113. package/types/components/MenuBar/MenuBar.d.ts +4 -0
  114. package/types/components/MenuBar/style.d.ts +2 -0
  115. package/types/components/MenuBar/type.d.ts +8 -0
  116. package/types/components/NewsCard/NewsCard.d.ts +4 -0
  117. package/types/components/NewsCard/style.d.ts +6 -0
  118. package/types/components/NewsCard/type.d.ts +10 -0
  119. package/types/components/NewsFilterBar/NewsFilterBar.d.ts +4 -0
  120. package/types/components/NewsFilterBar/style.d.ts +2 -0
  121. package/types/components/NewsFilterBar/type.d.ts +13 -0
  122. package/types/components/NewsSourceTag/NewsSourceTag.d.ts +4 -0
  123. package/types/components/NewsSourceTag/style.d.ts +1 -0
  124. package/types/components/NewsSourceTag/type.d.ts +5 -0
  125. package/types/components/NewsTitleBar/NewsTitleBar.d.ts +4 -0
  126. package/types/components/NewsTitleBar/style.d.ts +1 -0
  127. package/types/components/NewsTitleBar/type.d.ts +4 -0
  128. package/types/components/OffersCard/helpers.d.ts +1 -0
  129. package/types/components/OffersCard/style.d.ts +13 -0
  130. package/types/components/OffersCard/type.d.ts +28 -0
  131. package/types/components/Pagination/index.d.ts +9 -0
  132. package/types/components/Pagination/style.d.ts +2 -0
  133. package/types/components/PasswordField/PasswordField.d.ts +4 -0
  134. package/types/components/PasswordField/style.d.ts +5 -0
  135. package/types/components/PasswordField/type.d.ts +7 -0
  136. package/types/components/PaymentMethodsTable/PaymentMethods.d.ts +4 -0
  137. package/types/components/PaymentMethodsTable/style.d.ts +4 -0
  138. package/types/components/PaymentMethodsTable/type.d.ts +15 -0
  139. package/types/components/PopupModal/style.d.ts +5 -0
  140. package/types/components/PopupModal/type.d.ts +9 -0
  141. package/types/components/ProvidersContent/request.d.ts +10 -0
  142. package/types/components/ProvidersTable/ProvidersTable.d.ts +4 -0
  143. package/types/components/ProvidersTable/style.d.ts +4 -0
  144. package/types/components/ProvidersTable/type.d.ts +18 -0
  145. package/types/components/RateHistory/RateHistory.d.ts +4 -0
  146. package/types/components/RateHistory/style.d.ts +6 -0
  147. package/types/components/RateHistory/type.d.ts +12 -0
  148. package/types/components/ReportsTable/helpers.d.ts +1 -0
  149. package/types/components/ReportsTable/style.d.ts +4 -0
  150. package/types/components/ReportsTable/type.d.ts +24 -0
  151. package/types/components/RequestForm/RequestForm.d.ts +4 -0
  152. package/types/components/RequestForm/style.d.ts +2 -0
  153. package/types/components/RequestForm/type.d.ts +18 -0
  154. package/types/components/Ribbon/Ribbon.d.ts +4 -0
  155. package/types/components/Ribbon/style.d.ts +2 -0
  156. package/types/components/Ribbon/type.d.ts +7 -0
  157. package/types/components/SSXBar/style.d.ts +1 -0
  158. package/types/components/SearchBar/SearchBar.d.ts +4 -0
  159. package/types/components/SearchBar/style.d.ts +3 -0
  160. package/types/components/SearchBar/type.d.ts +5 -0
  161. package/types/components/SearchResultsBar/SearchResultsBar.d.ts +4 -0
  162. package/types/components/SearchResultsBar/style.d.ts +1 -0
  163. package/types/components/SearchResultsBar/type.d.ts +5 -0
  164. package/types/components/SideModal/SideModal.d.ts +4 -0
  165. package/types/components/SideModal/style.d.ts +6 -0
  166. package/types/components/SideModal/type.d.ts +8 -0
  167. package/types/components/SmallNewsCard/SmallNewsCard.d.ts +4 -0
  168. package/types/components/SmallNewsCard/style.d.ts +5 -0
  169. package/types/components/SmallNewsCard/type.d.ts +9 -0
  170. package/types/components/StatusBadge/StatusBadge.d.ts +4 -0
  171. package/types/components/StatusBadge/style.d.ts +1 -0
  172. package/types/components/StatusBadge/type.d.ts +5 -0
  173. package/types/components/StocksTicker/StocksTicker.d.ts +4 -0
  174. package/types/components/StocksTicker/style.d.ts +2 -0
  175. package/types/components/StocksTicker/type.d.ts +10 -0
  176. package/types/components/SystemConfigTable/SystemConfigTable.d.ts +4 -0
  177. package/types/components/SystemConfigTable/style.d.ts +4 -0
  178. package/types/components/SystemConfigTable/type.d.ts +10 -0
  179. package/types/components/Tab/Tab.d.ts +4 -0
  180. package/types/components/Tab/style.d.ts +3 -0
  181. package/types/components/Tab/type.d.ts +11 -0
  182. package/types/components/Table/helpers.d.ts +6 -0
  183. package/types/components/Table/index.d.ts +1 -0
  184. package/types/components/Table/style.d.ts +1 -0
  185. package/types/components/Table/table.d.ts +4 -0
  186. package/types/components/Table/type.d.ts +71 -0
  187. package/types/components/TextArea/TextArea.d.ts +4 -0
  188. package/types/components/TextArea/style.d.ts +4 -0
  189. package/types/components/TextArea/type.d.ts +7 -0
  190. package/types/components/TextField/TextField.d.ts +4 -0
  191. package/types/components/TextField/style.d.ts +4 -0
  192. package/types/components/TextField/type.d.ts +7 -0
  193. package/types/components/TransactionDetails/TransactionDetails.d.ts +4 -0
  194. package/types/components/TransactionDetails/helpers.d.ts +1 -0
  195. package/types/components/TransactionDetails/style.d.ts +2 -0
  196. package/types/components/TransactionDetails/type.d.ts +17 -0
  197. package/types/components/TransactionDetailsWithPayment/TransactionDetailsWithPayment.d.ts +4 -0
  198. package/types/components/TransactionDetailsWithPayment/style.d.ts +2 -0
  199. package/types/components/TransactionDetailsWithPayment/type.d.ts +24 -0
  200. package/types/components/UpdateUserActions/UpdateUserActions.d.ts +4 -0
  201. package/types/components/UpdateUserActions/style.d.ts +5 -0
  202. package/types/components/UpdateUserActions/type.d.ts +16 -0
  203. package/types/components/UserActions/UserActions.d.ts +4 -0
  204. package/types/components/UserActions/style.d.ts +5 -0
  205. package/types/components/UserActions/type.d.ts +20 -0
  206. package/types/components/UserRolesTable/UserRolesTable.d.ts +4 -0
  207. package/types/components/UserRolesTable/style.d.ts +4 -0
  208. package/types/components/UserRolesTable/type.d.ts +13 -0
  209. package/types/components/UsersTable/UsersTable.d.ts +4 -0
  210. package/types/components/UsersTable/style.d.ts +4 -0
  211. package/types/components/UsersTable/type.d.ts +12 -0
  212. package/types/components/WidgetTitle/WidgetTitle.d.ts +4 -0
  213. package/types/components/WidgetTitle/style.d.ts +1 -0
  214. package/types/components/WidgetTitle/type.d.ts +4 -0
  215. package/types/components/index.d.ts +60 -0
  216. package/types/index.d.ts +1 -0
  217. package/types/theme.d.ts +58 -0
  218. 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.5",
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": "dist/index.d.ts",
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,4 @@
1
+ /// <reference types="react" />
2
+ import { ActionFailedProps } from "./type";
3
+ export declare const ActionFailed: (props: ActionFailedProps) => JSX.Element;
4
+ export default ActionFailed;
@@ -0,0 +1,2 @@
1
+ export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const TextArea: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,4 @@
1
+ export interface ActionFailedProps {
2
+ headingText?: string;
3
+ subText?: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { ActionSuccessProps } from "./type";
3
+ declare const ActionSuccess: (props: ActionSuccessProps) => JSX.Element;
4
+ export default ActionSuccess;
@@ -0,0 +1,2 @@
1
+ export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const TextArea: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,4 @@
1
+ export interface ActionSuccessProps {
2
+ headingText?: string;
3
+ subText?: string;
4
+ }
@@ -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
+ /// <reference types="react" />
2
+ import { AppActionsProps } from "./type";
3
+ declare const AppActionsTable: (props: AppActionsProps) => JSX.Element;
4
+ export default AppActionsTable;
@@ -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
+ /// <reference types="react" />
2
+ import { AppFormsProps } from "./type";
3
+ declare const AppFormsTable: (props: AppFormsProps) => JSX.Element;
4
+ export default AppFormsTable;
@@ -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,13 @@
1
+ export interface AppFormsProps {
2
+ forms: {
3
+ formName: string;
4
+ formCode: string;
5
+ userType: string;
6
+ }[];
7
+ callback: (a: {
8
+ formName: string;
9
+ formCode: string;
10
+ userType: string;
11
+ }) => void;
12
+ srchActive?: boolean;
13
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { AppModulesProps } from "./type";
3
+ declare const AppModulesTable: (props: AppModulesProps) => JSX.Element;
4
+ export default AppModulesTable;
@@ -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,13 @@
1
+ export interface AppModulesProps {
2
+ modules: {
3
+ moduleName: string;
4
+ moduleCode: string;
5
+ remarks: string;
6
+ }[];
7
+ callback: (a: {
8
+ moduleName: string;
9
+ moduleCode: string;
10
+ remarks: string;
11
+ }) => void;
12
+ srchActive?: boolean;
13
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { AuditProps } from "./type";
3
+ declare const AuditLog: (props: AuditProps) => JSX.Element;
4
+ export default AuditLog;
@@ -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,8 @@
1
+ export interface AuditProps {
2
+ logDetails: {
3
+ timestamp: string;
4
+ user: string;
5
+ logDescription: string;
6
+ reference?: string;
7
+ }[];
8
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { BankAcctsProps } from "./type";
3
+ declare const BankAccounts: (props: BankAcctsProps) => JSX.Element;
4
+ export default BankAccounts;
@@ -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
+ /// <reference types="react" />
2
+ import { BankSelectorProps } from "./type";
3
+ declare const BankSelector: (props: BankSelectorProps) => JSX.Element;
4
+ export default BankSelector;
@@ -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,4 @@
1
+ /// <reference types="react" />
2
+ import { BreadcrumbType } from "./type";
3
+ declare const BreadcrumbBar: (props: BreadcrumbType) => JSX.Element;
4
+ export default BreadcrumbBar;
@@ -0,0 +1 @@
1
+ export declare const BreadcrumbContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ export interface BreadcrumbType extends React.HTMLAttributes<any> {
3
+ pages: {
4
+ label: string;
5
+ url?: string;
6
+ }[];
7
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { BrokersProps } from "./type";
3
+ declare const BrokersTable: (props: BrokersProps) => JSX.Element;
4
+ export default BrokersTable;
@@ -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,4 @@
1
+ /// <reference types="react" />
2
+ import { ButtonProps } from "./type";
3
+ declare const Button: (props: ButtonProps) => JSX.Element;
4
+ export default Button;
@@ -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,7 @@
1
+ import React from "react";
2
+ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
3
+ variant?: 'primary' | 'error' | 'warning' | 'success';
4
+ size: 'lg' | 'md' | 'sm';
5
+ disabled?: boolean;
6
+ children: any;
7
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { OutlineButtonProps } from "./type";
3
+ declare const OutlineButton: (props: OutlineButtonProps) => JSX.Element;
4
+ export default OutlineButton;
@@ -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,4 @@
1
+ /// <reference types="react" />
2
+ import { ChartProps } from "./type";
3
+ declare const Chart: (props: ChartProps) => JSX.Element;
4
+ export default Chart;
@@ -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,4 @@
1
+ /// <reference types="react" />
2
+ import { ChartProps } from "./type";
3
+ declare const ChartMedium: (props: ChartProps) => JSX.Element;
4
+ export default ChartMedium;
@@ -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,4 @@
1
+ /// <reference types="react" />
2
+ import { ChartProps } from "./type";
3
+ declare const ChartSmall: (props: ChartProps) => JSX.Element;
4
+ export default ChartSmall;
@@ -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,4 @@
1
+ /// <reference types="react" />
2
+ import { CookieConsentProps } from "./type";
3
+ declare const CookieConsent: (props: CookieConsentProps) => JSX.Element;
4
+ export default CookieConsent;
@@ -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,5 @@
1
+ export interface CookieConsentProps {
2
+ acceptFxn: () => void;
3
+ declineFxn: () => void;
4
+ closeFxn?: () => void;
5
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { SelectorProps } from "./type";
3
+ declare const CountrySelector: (props: SelectorProps) => JSX.Element;
4
+ export default CountrySelector;
@@ -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
+ /// <reference types="react" />
2
+ import { CurrencyPairsProps } from "./type";
3
+ declare const CurrencyPairsTable: (props: CurrencyPairsProps) => JSX.Element;
4
+ export default CurrencyPairsTable;
@@ -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
+ /// <reference types="react" />
2
+ import { DatePickerProps } from "./type";
3
+ declare const DatePicker: (props: DatePickerProps) => JSX.Element;
4
+ export default DatePicker;
@@ -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>;