@secondstaxorg/sscomp 1.1.4 → 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 (224) hide show
  1. package/dist/index.es.js +3853 -0
  2. package/dist/index.es.js.map +1 -0
  3. package/dist/index.js +26182 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/index.min.js +3853 -0
  6. package/dist/index.min.js.map +1 -0
  7. package/package.json +4 -3
  8. package/types/components/ActionFailed/ActionFailed.d.ts +4 -0
  9. package/types/components/ActionFailed/style.d.ts +2 -0
  10. package/types/components/ActionFailed/type.d.ts +4 -0
  11. package/types/components/ActionSuccess/ActionSuccess.d.ts +4 -0
  12. package/types/components/ActionSuccess/style.d.ts +2 -0
  13. package/types/components/ActionSuccess/type.d.ts +4 -0
  14. package/types/components/AddBankAccount/request.d.ts +10 -0
  15. package/types/components/AddBroker/request.d.ts +10 -0
  16. package/types/components/AddUserContent/helpers.d.ts +1 -0
  17. package/types/components/AddUserContent/request.d.ts +10 -0
  18. package/types/components/AppActionsTable/AppActionsTable.d.ts +4 -0
  19. package/types/components/AppActionsTable/style.d.ts +4 -0
  20. package/types/components/AppActionsTable/type.d.ts +15 -0
  21. package/types/components/AppFormsTable/AppFormsTable.d.ts +4 -0
  22. package/types/components/AppFormsTable/style.d.ts +4 -0
  23. package/types/components/AppFormsTable/type.d.ts +13 -0
  24. package/types/components/AppModulesTable/AppModulesTable.d.ts +4 -0
  25. package/types/components/AppModulesTable/style.d.ts +4 -0
  26. package/types/components/AppModulesTable/type.d.ts +13 -0
  27. package/types/components/AuditLog/AuditLog.d.ts +4 -0
  28. package/types/components/AuditLog/style.d.ts +4 -0
  29. package/types/components/AuditLog/type.d.ts +8 -0
  30. package/types/components/BankAccounts/BankAccounts.d.ts +4 -0
  31. package/types/components/BankAccounts/style.d.ts +4 -0
  32. package/types/components/BankAccounts/type.d.ts +16 -0
  33. package/types/components/BankSelector/BankSelector.d.ts +4 -0
  34. package/types/components/BankSelector/style.d.ts +4 -0
  35. package/types/components/BankSelector/type.d.ts +16 -0
  36. package/types/components/BreadcrumbBar/BreadcrumbBar.d.ts +4 -0
  37. package/types/components/BreadcrumbBar/style.d.ts +1 -0
  38. package/types/components/BreadcrumbBar/type.d.ts +7 -0
  39. package/types/components/BrokersTable/BrokersTable.d.ts +4 -0
  40. package/types/components/BrokersTable/style.d.ts +5 -0
  41. package/types/components/BrokersTable/type.d.ts +19 -0
  42. package/types/components/Button/Button.d.ts +4 -0
  43. package/types/components/Button/index.d.ts +1 -0
  44. package/types/components/Button/style.d.ts +1 -0
  45. package/types/components/Button/type.d.ts +7 -0
  46. package/types/components/ButtonOutline/OutlineButton.d.ts +4 -0
  47. package/types/components/ButtonOutline/index.d.ts +1 -0
  48. package/types/components/ButtonOutline/style.d.ts +1 -0
  49. package/types/components/ButtonOutline/type.d.ts +8 -0
  50. package/types/components/Chart/Chart.d.ts +4 -0
  51. package/types/components/Chart/helpers.d.ts +1 -0
  52. package/types/components/Chart/style.d.ts +6 -0
  53. package/types/components/Chart/type.d.ts +13 -0
  54. package/types/components/ChartMedium/ChartMedium.d.ts +4 -0
  55. package/types/components/ChartMedium/helpers.d.ts +1 -0
  56. package/types/components/ChartMedium/style.d.ts +6 -0
  57. package/types/components/ChartMedium/type.d.ts +13 -0
  58. package/types/components/ChartSmall/ChartSmall.d.ts +4 -0
  59. package/types/components/ChartSmall/helpers.d.ts +1 -0
  60. package/types/components/ChartSmall/style.d.ts +6 -0
  61. package/types/components/ChartSmall/type.d.ts +13 -0
  62. package/types/components/CookieConsent/CookieConsent.d.ts +4 -0
  63. package/types/components/CookieConsent/style.d.ts +6 -0
  64. package/types/components/CookieConsent/type.d.ts +5 -0
  65. package/types/components/CountrySelector/CountrySelector.d.ts +4 -0
  66. package/types/components/CountrySelector/style.d.ts +7 -0
  67. package/types/components/CountrySelector/type.d.ts +15 -0
  68. package/types/components/CurrencyPairs/CurrencyPairsTable.d.ts +4 -0
  69. package/types/components/CurrencyPairs/style.d.ts +4 -0
  70. package/types/components/CurrencyPairs/type.d.ts +19 -0
  71. package/types/components/DataTable/style.d.ts +1 -0
  72. package/types/components/DataTable/type.d.ts +68 -0
  73. package/types/components/DatePicker/DatePicker.d.ts +4 -0
  74. package/types/components/DatePicker/style.d.ts +4 -0
  75. package/types/components/DatePicker/type.d.ts +8 -0
  76. package/types/components/DatePickerOld/style.d.ts +12 -0
  77. package/types/components/DatePickerOld/type.d.ts +63 -0
  78. package/types/components/DateRangePicker/style.d.ts +5 -0
  79. package/types/components/DateRangePicker/type.d.ts +9 -0
  80. package/types/components/DisplayField/style.d.ts +1 -0
  81. package/types/components/DisplayField/type.d.ts +4 -0
  82. package/types/components/DropdownList/DropdownList.d.ts +4 -0
  83. package/types/components/DropdownList/style.d.ts +7 -0
  84. package/types/components/DropdownList/type.d.ts +15 -0
  85. package/types/components/Dropshadows/DropShadows.d.ts +4 -0
  86. package/types/components/Dropshadows/style.d.ts +1 -0
  87. package/types/components/Dropshadows/type.d.ts +4 -0
  88. package/types/components/EditUserContent/helpers.d.ts +1 -0
  89. package/types/components/EditUserContent/request.d.ts +10 -0
  90. package/types/components/ExchangeRates/ExchangeRates.d.ts +4 -0
  91. package/types/components/ExchangeRates/style.d.ts +3 -0
  92. package/types/components/ExchangeRates/type.d.ts +11 -0
  93. package/types/components/Footer/Footer.d.ts +3 -0
  94. package/types/components/Footer/style.d.ts +6 -0
  95. package/types/components/Header/type.d.ts +10 -0
  96. package/types/components/Indices/Indices.d.ts +4 -0
  97. package/types/components/Indices/style.d.ts +5 -0
  98. package/types/components/Indices/type.d.ts +9 -0
  99. package/types/components/LPRequestTable/LPRequestTable.d.ts +4 -0
  100. package/types/components/LPRequestTable/helpers.d.ts +1 -0
  101. package/types/components/LPRequestTable/style.d.ts +4 -0
  102. package/types/components/LPRequestTable/type.d.ts +29 -0
  103. package/types/components/LPSideNav/LPSideNav.d.ts +9 -0
  104. package/types/components/LPSideNav/style.d.ts +7 -0
  105. package/types/components/LPSideNav/type.d.ts +18 -0
  106. package/types/components/LPTopBar/LPTopBar.d.ts +4 -0
  107. package/types/components/LPTopBar/style.d.ts +19 -0
  108. package/types/components/LPTopBar/type.d.ts +19 -0
  109. package/types/components/LoadingShimmer/LoadingShimmer.d.ts +4 -0
  110. package/types/components/LoadingShimmer/style.d.ts +2 -0
  111. package/types/components/LoadingShimmer/type.d.ts +5 -0
  112. package/types/components/LoadingSpinner/LoadingSpinner.d.ts +7 -0
  113. package/types/components/MarketData/MarketData.d.ts +4 -0
  114. package/types/components/MarketData/style.d.ts +8 -0
  115. package/types/components/MarketData/type.d.ts +9 -0
  116. package/types/components/MarketMovers/MarketMovers.d.ts +4 -0
  117. package/types/components/MarketMovers/style.d.ts +5 -0
  118. package/types/components/MarketMovers/type.d.ts +12 -0
  119. package/types/components/MenuBar/MenuBar.d.ts +4 -0
  120. package/types/components/MenuBar/style.d.ts +2 -0
  121. package/types/components/MenuBar/type.d.ts +8 -0
  122. package/types/components/NewsCard/NewsCard.d.ts +4 -0
  123. package/types/components/NewsCard/style.d.ts +6 -0
  124. package/types/components/NewsCard/type.d.ts +10 -0
  125. package/types/components/NewsFilterBar/NewsFilterBar.d.ts +4 -0
  126. package/types/components/NewsFilterBar/style.d.ts +2 -0
  127. package/types/components/NewsFilterBar/type.d.ts +13 -0
  128. package/types/components/NewsSourceTag/NewsSourceTag.d.ts +4 -0
  129. package/types/components/NewsSourceTag/style.d.ts +1 -0
  130. package/types/components/NewsSourceTag/type.d.ts +5 -0
  131. package/types/components/NewsTitleBar/NewsTitleBar.d.ts +4 -0
  132. package/types/components/NewsTitleBar/style.d.ts +1 -0
  133. package/types/components/NewsTitleBar/type.d.ts +4 -0
  134. package/types/components/OffersCard/helpers.d.ts +1 -0
  135. package/types/components/OffersCard/style.d.ts +13 -0
  136. package/types/components/OffersCard/type.d.ts +28 -0
  137. package/types/components/Pagination/index.d.ts +9 -0
  138. package/types/components/Pagination/style.d.ts +2 -0
  139. package/types/components/PasswordField/PasswordField.d.ts +4 -0
  140. package/types/components/PasswordField/style.d.ts +5 -0
  141. package/types/components/PasswordField/type.d.ts +7 -0
  142. package/types/components/PaymentMethodsTable/PaymentMethods.d.ts +4 -0
  143. package/types/components/PaymentMethodsTable/style.d.ts +4 -0
  144. package/types/components/PaymentMethodsTable/type.d.ts +15 -0
  145. package/types/components/PopupModal/style.d.ts +5 -0
  146. package/types/components/PopupModal/type.d.ts +9 -0
  147. package/types/components/ProvidersContent/request.d.ts +10 -0
  148. package/types/components/ProvidersTable/ProvidersTable.d.ts +4 -0
  149. package/types/components/ProvidersTable/style.d.ts +4 -0
  150. package/types/components/ProvidersTable/type.d.ts +18 -0
  151. package/types/components/RateHistory/RateHistory.d.ts +4 -0
  152. package/types/components/RateHistory/style.d.ts +6 -0
  153. package/types/components/RateHistory/type.d.ts +12 -0
  154. package/types/components/ReportsTable/helpers.d.ts +1 -0
  155. package/types/components/ReportsTable/style.d.ts +4 -0
  156. package/types/components/ReportsTable/type.d.ts +24 -0
  157. package/types/components/RequestForm/RequestForm.d.ts +4 -0
  158. package/types/components/RequestForm/style.d.ts +2 -0
  159. package/types/components/RequestForm/type.d.ts +18 -0
  160. package/types/components/Ribbon/Ribbon.d.ts +4 -0
  161. package/types/components/Ribbon/style.d.ts +2 -0
  162. package/types/components/Ribbon/type.d.ts +7 -0
  163. package/types/components/SSXBar/style.d.ts +1 -0
  164. package/types/components/SearchBar/SearchBar.d.ts +4 -0
  165. package/types/components/SearchBar/style.d.ts +3 -0
  166. package/types/components/SearchBar/type.d.ts +5 -0
  167. package/types/components/SearchResultsBar/SearchResultsBar.d.ts +4 -0
  168. package/types/components/SearchResultsBar/style.d.ts +1 -0
  169. package/types/components/SearchResultsBar/type.d.ts +5 -0
  170. package/types/components/SideModal/SideModal.d.ts +4 -0
  171. package/types/components/SideModal/style.d.ts +6 -0
  172. package/types/components/SideModal/type.d.ts +8 -0
  173. package/types/components/SmallNewsCard/SmallNewsCard.d.ts +4 -0
  174. package/types/components/SmallNewsCard/style.d.ts +5 -0
  175. package/types/components/SmallNewsCard/type.d.ts +9 -0
  176. package/types/components/StatusBadge/StatusBadge.d.ts +4 -0
  177. package/types/components/StatusBadge/style.d.ts +1 -0
  178. package/types/components/StatusBadge/type.d.ts +5 -0
  179. package/types/components/StocksTicker/StocksTicker.d.ts +4 -0
  180. package/types/components/StocksTicker/style.d.ts +2 -0
  181. package/types/components/StocksTicker/type.d.ts +10 -0
  182. package/types/components/SystemConfigTable/SystemConfigTable.d.ts +4 -0
  183. package/types/components/SystemConfigTable/style.d.ts +4 -0
  184. package/types/components/SystemConfigTable/type.d.ts +10 -0
  185. package/types/components/Tab/Tab.d.ts +4 -0
  186. package/types/components/Tab/style.d.ts +3 -0
  187. package/types/components/Tab/type.d.ts +11 -0
  188. package/types/components/Table/helpers.d.ts +6 -0
  189. package/types/components/Table/index.d.ts +1 -0
  190. package/types/components/Table/style.d.ts +1 -0
  191. package/types/components/Table/table.d.ts +4 -0
  192. package/types/components/Table/type.d.ts +71 -0
  193. package/types/components/TextArea/TextArea.d.ts +4 -0
  194. package/types/components/TextArea/style.d.ts +4 -0
  195. package/types/components/TextArea/type.d.ts +7 -0
  196. package/types/components/TextField/TextField.d.ts +4 -0
  197. package/types/components/TextField/style.d.ts +4 -0
  198. package/types/components/TextField/type.d.ts +7 -0
  199. package/types/components/TransactionDetails/TransactionDetails.d.ts +4 -0
  200. package/types/components/TransactionDetails/helpers.d.ts +1 -0
  201. package/types/components/TransactionDetails/style.d.ts +2 -0
  202. package/types/components/TransactionDetails/type.d.ts +17 -0
  203. package/types/components/TransactionDetailsWithPayment/TransactionDetailsWithPayment.d.ts +4 -0
  204. package/types/components/TransactionDetailsWithPayment/style.d.ts +2 -0
  205. package/types/components/TransactionDetailsWithPayment/type.d.ts +24 -0
  206. package/types/components/UpdateUserActions/UpdateUserActions.d.ts +4 -0
  207. package/types/components/UpdateUserActions/style.d.ts +5 -0
  208. package/types/components/UpdateUserActions/type.d.ts +16 -0
  209. package/types/components/UserActions/UserActions.d.ts +4 -0
  210. package/types/components/UserActions/style.d.ts +5 -0
  211. package/types/components/UserActions/type.d.ts +20 -0
  212. package/types/components/UserRolesTable/UserRolesTable.d.ts +4 -0
  213. package/types/components/UserRolesTable/style.d.ts +4 -0
  214. package/types/components/UserRolesTable/type.d.ts +13 -0
  215. package/types/components/UsersTable/UsersTable.d.ts +4 -0
  216. package/types/components/UsersTable/style.d.ts +4 -0
  217. package/types/components/UsersTable/type.d.ts +12 -0
  218. package/types/components/WidgetTitle/WidgetTitle.d.ts +4 -0
  219. package/types/components/WidgetTitle/style.d.ts +1 -0
  220. package/types/components/WidgetTitle/type.d.ts +4 -0
  221. package/types/components/index.d.ts +60 -0
  222. package/types/index.d.ts +1 -0
  223. package/types/theme.d.ts +58 -0
  224. package/types/utils.d.ts +7 -0
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ interface PaginationProps {
3
+ itemsPerPage: number;
4
+ totalItems: number;
5
+ returnedPageNum: (a: number) => void;
6
+ currPageNum: number;
7
+ }
8
+ declare const Pagination: (props: PaginationProps) => JSX.Element;
9
+ export default Pagination;
@@ -0,0 +1,2 @@
1
+ export declare const NumberButton: import("styled-components").StyledComponent<"button", any, {}, never>;
2
+ export declare const PaginationContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { PasswordFieldProps } from "./type";
3
+ declare const PasswordField: (props: PasswordFieldProps) => JSX.Element;
4
+ export default PasswordField;
@@ -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,7 @@
1
+ export interface PasswordFieldProps {
2
+ label?: string;
3
+ subtext?: string;
4
+ disabled?: boolean;
5
+ errMsg?: string;
6
+ setValue: (a: string) => void;
7
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { PaymentMethodsProps } from "./type";
3
+ declare const PaymentMethodsTable: (props: PaymentMethodsProps) => JSX.Element;
4
+ export default PaymentMethodsTable;
@@ -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,9 @@
1
+ export interface PopupModalProps {
2
+ title: string;
3
+ content: string;
4
+ primaryAction: () => void;
5
+ primaryBtnText: string;
6
+ secondaryAction?: () => void;
7
+ secondaryBtnText?: string;
8
+ closeFxn: () => void;
9
+ }
@@ -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 { ProvidersProps } from "./type";
3
+ declare const ProvidersTable: (props: ProvidersProps) => JSX.Element;
4
+ export default ProvidersTable;
@@ -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,4 @@
1
+ /// <reference types="react" />
2
+ import { RateHistoryProps } from "./type";
3
+ declare const RateHistory: (props: RateHistoryProps) => JSX.Element;
4
+ export default RateHistory;
@@ -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,12 @@
1
+ export interface RateHistoryProps {
2
+ ratePairs: {
3
+ baseFlag: string;
4
+ baseCurrency: string;
5
+ exchangeFlag: string;
6
+ exchangeCurrency: string;
7
+ baseRate: number;
8
+ exchangeRate: number;
9
+ startDate: string;
10
+ endDate: string;
11
+ }[];
12
+ }
@@ -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,4 @@
1
+ /// <reference types="react" />
2
+ import { RequestFormProps } from "./type";
3
+ declare const RequestForm: (props: RequestFormProps) => JSX.Element;
4
+ export default RequestForm;
@@ -0,0 +1,2 @@
1
+ export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const FormField: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -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,4 @@
1
+ /// <reference types="react" />
2
+ import { LinksType } from "./type";
3
+ declare const Ribbon: (props: LinksType) => JSX.Element;
4
+ export default Ribbon;
@@ -0,0 +1,2 @@
1
+ export declare const RibbonContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const RibbonItem: import("styled-components").StyledComponent<"a", any, {}, never>;
@@ -0,0 +1,7 @@
1
+ export interface LinksType {
2
+ links: {
3
+ label: string;
4
+ url: string;
5
+ }[];
6
+ bgColor: 'dark' | 'light';
7
+ }
@@ -0,0 +1 @@
1
+ export declare const SSXBarContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { SearchProps } from "./type";
3
+ declare const SearchBar: (props: SearchProps) => JSX.Element;
4
+ export default SearchBar;
@@ -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,5 @@
1
+ import React from "react";
2
+ export interface SearchProps extends React.HTMLAttributes<any> {
3
+ value?: string;
4
+ submitFxn: Function;
5
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { NewsBarProps } from "./type";
3
+ declare const SearchResultsBar: (props: NewsBarProps) => JSX.Element;
4
+ export default SearchResultsBar;
@@ -0,0 +1 @@
1
+ export declare const TitleBarContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,5 @@
1
+ export interface NewsBarProps {
2
+ title: string;
3
+ totalRes?: number;
4
+ resultsDisplayed?: number;
5
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { SideModalProps } from "./type";
3
+ declare const SideModal: (props: SideModalProps) => JSX.Element;
4
+ export default SideModal;
@@ -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,8 @@
1
+ /// <reference types="react" />
2
+ export interface SideModalProps {
3
+ disabledNav?: boolean;
4
+ modalTitle?: string;
5
+ modalSubText?: string;
6
+ closeModal: any;
7
+ children: JSX.Element;
8
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { SmallNewsCardProps } from "./type";
3
+ declare const SmallNewsCard: (props: SmallNewsCardProps) => JSX.Element;
4
+ export default SmallNewsCard;
@@ -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,9 @@
1
+ export interface SmallNewsCardProps {
2
+ id: string;
3
+ title: string;
4
+ featuredImgUrl: string;
5
+ source: string;
6
+ date: string;
7
+ sourceCountryFlagUrl: string;
8
+ storyUrl: string;
9
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { statusProps } from "./type";
3
+ declare const StatusBadge: (props: statusProps) => JSX.Element;
4
+ export default StatusBadge;
@@ -0,0 +1 @@
1
+ export declare const Badge: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,5 @@
1
+ export interface statusProps {
2
+ status: 'default' | 'warning' | 'primary' | 'neutral' | 'success' | 'error';
3
+ label: string;
4
+ width?: number;
5
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { StocksType } from "./type";
3
+ declare const StocksTicker: (props: StocksType) => JSX.Element;
4
+ export default StocksTicker;
@@ -0,0 +1,2 @@
1
+ export declare const TickerTrack: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const TickerItem: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,10 @@
1
+ export interface StocksType {
2
+ stocksData: {
3
+ symbolName: string;
4
+ symbolShortName: string;
5
+ market: string;
6
+ price: string | null;
7
+ changeValue: string | null;
8
+ changePercent: string | null;
9
+ }[];
10
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { SystemConfigProps } from "./type";
3
+ declare const SystemConfigTable: (props: SystemConfigProps) => JSX.Element;
4
+ export default SystemConfigTable;
@@ -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,10 @@
1
+ export interface SystemConfigProps {
2
+ configs: {
3
+ configCode: string;
4
+ configName: string;
5
+ configValue: string;
6
+ remarks: string;
7
+ }[];
8
+ callback: any;
9
+ srchActive?: boolean;
10
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { TabType } from "./type";
3
+ declare const Tab: (props: TabType) => JSX.Element;
4
+ export default Tab;
@@ -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,4 @@
1
+ /// <reference types="react" />
2
+ import { TableProps } from "./type";
3
+ declare const Table: (props: TableProps) => JSX.Element;
4
+ export default Table;
@@ -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
+ /// <reference types="react" />
2
+ import { TextAreaProps } from "./type";
3
+ declare const TextArea: (props: TextAreaProps) => JSX.Element;
4
+ export default TextArea;
@@ -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,7 @@
1
+ import React from "react";
2
+ export interface TextAreaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
3
+ label?: string;
4
+ subtext?: string;
5
+ errMsg?: string;
6
+ initialVal?: string | number;
7
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { TextFieldProps } from "./type";
3
+ declare const TextField: (props: TextFieldProps) => JSX.Element;
4
+ export default TextField;
@@ -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,7 @@
1
+ import React from "react";
2
+ export interface TextFieldProps extends React.InputHTMLAttributes<HTMLInputElement> {
3
+ label?: string;
4
+ subtext?: string;
5
+ errMsg?: string;
6
+ initialVal?: string | number;
7
+ }
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { TxnDetsProps } from "./type";
3
+ declare const TransactionDetails: (props: TxnDetsProps) => JSX.Element;
4
+ export default TransactionDetails;
@@ -0,0 +1 @@
1
+ export declare function moneyfy(number: number | bigint, currency: string): string;
@@ -0,0 +1,2 @@
1
+ export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const FieldSection: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -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,4 @@
1
+ /// <reference types="react" />
2
+ import { TxnDetsWPymntProps } from "./type";
3
+ declare const TransactionDetailsWithPayment: (props: TxnDetsWPymntProps) => JSX.Element;
4
+ export default TransactionDetailsWithPayment;
@@ -0,0 +1,2 @@
1
+ export declare const Container: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const FieldSection: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -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,4 @@
1
+ /// <reference types="react" />
2
+ import { UpdateUserActionsProps } from "./type";
3
+ declare const UpdateUserActions: (props: UpdateUserActionsProps) => JSX.Element;
4
+ export default UpdateUserActions;