@secondstaxorg/sscomp 1.4.5 → 1.4.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/dist/index.es.js +61 -60
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1161 -1023
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +12 -11
- package/dist/index.min.js.map +1 -1
- package/package.json +3 -1
- package/types/components/CookieConsent/CookieConsent.d.ts +3 -0
- package/types/components/CookieConsent/type.d.ts +9 -0
- package/types/components/CountrySelector/CountrySelector.d.ts +3 -0
- package/types/components/CountrySelector/type.d.ts +24 -0
- package/types/components/CurrencyPairs/CurrencyPairsTable.d.ts +3 -0
- package/types/components/CurrencyPairs/type.d.ts +6 -0
- package/types/components/DatePicker/DatePicker.d.ts +3 -0
- package/types/components/DatePicker/type.d.ts +18 -0
- package/types/components/DateRangePicker/DateRangePicker.d.ts +3 -0
- package/types/components/DateRangePicker/type.d.ts +16 -0
- package/types/components/DropdownList/DropdownList.d.ts +3 -0
- package/types/components/DropdownList/type.d.ts +21 -0
- package/types/components/ExchangeRates/ExchangeRates.d.ts +4 -0
- package/types/components/ExchangeRates/type.d.ts +15 -0
- package/types/components/Indices/Indices.d.ts +3 -0
- package/types/components/Indices/type.d.ts +9 -0
- package/types/components/LPRequestTable/LPRequestTable.d.ts +3 -0
- package/types/components/LPRequestTable/type.d.ts +15 -0
- package/types/components/LPSideNav/LPSideNav.d.ts +1 -2
- package/types/components/LPSideNav/type.d.ts +9 -0
- package/types/components/LPTopBar/LPTopBar.d.ts +3 -0
- package/types/components/LPTopBar/type.d.ts +15 -0
- package/types/components/LoadingShimmer/LoadingShimmer.d.ts +3 -0
- package/types/components/LoadingShimmer/type.d.ts +9 -0
- package/types/components/LoadingSpinner/LoadingSpinner.d.ts +6 -0
- package/types/components/MarketData/MarketData.d.ts +3 -0
- package/types/components/MarketData/type.d.ts +3 -0
- package/types/components/MarketMovers/MarketMovers.d.ts +3 -0
- package/types/components/MarketMovers/type.d.ts +6 -0
- package/types/components/MenuBar/MenuBar.d.ts +3 -0
- package/types/components/MenuBar/type.d.ts +6 -0
- package/types/components/NewsCard/NewsCard.d.ts +3 -0
- package/types/components/NewsCard/type.d.ts +24 -0
- package/types/components/NewsFilterBar/NewsFilterBar.d.ts +3 -0
- package/types/components/NewsFilterBar/type.d.ts +12 -0
- package/types/components/NewsSourceTag/NewsSourceTag.d.ts +3 -0
- package/types/components/NewsSourceTag/type.d.ts +9 -0
- package/types/components/NewsTitleBar/NewsTitleBar.d.ts +3 -0
- package/types/components/NewsTitleBar/type.d.ts +3 -0
- package/types/components/OffersCard/type.d.ts +12 -0
- package/types/components/PasswordField/PasswordField.d.ts +3 -0
- package/types/components/PasswordField/type.d.ts +15 -0
- package/types/components/PaymentMethodsTable/PaymentMethods.d.ts +3 -0
- package/types/components/PaymentMethodsTable/type.d.ts +6 -0
- package/types/components/PopupModal/PopupModal.d.ts +3 -0
- package/types/components/PopupModal/type.d.ts +21 -0
- package/types/components/ProvidersTable/ProvidersTable.d.ts +3 -0
- package/types/components/ProvidersTable/type.d.ts +6 -0
- package/types/components/RateHistory/RateHistory.d.ts +3 -0
- package/types/components/RateHistory/type.d.ts +3 -0
- package/types/components/ReportsTable/type.d.ts +6 -0
- package/types/components/RequestForm/RequestForm.d.ts +3 -0
- package/types/components/RequestForm/type.d.ts +9 -0
- package/types/components/Ribbon/Ribbon.d.ts +3 -0
- package/types/components/Ribbon/type.d.ts +6 -0
- package/types/components/SearchBar/SearchBar.d.ts +3 -0
- package/types/components/SearchBar/type.d.ts +6 -0
- package/types/components/SearchResultsBar/SearchResultsBar.d.ts +3 -0
- package/types/components/SearchResultsBar/type.d.ts +9 -0
- package/types/components/Selector/types.d.ts +6 -0
- package/types/components/SmallNewsCard/SmallNewsCard.d.ts +3 -0
- package/types/components/SmallNewsCard/type.d.ts +21 -0
- package/types/components/StatusBadge/StatusBadge.d.ts +3 -0
- package/types/components/StatusBadge/type.d.ts +9 -0
- package/types/components/StocksTicker/StocksTicker.d.ts +3 -0
- package/types/components/StocksTicker/type.d.ts +3 -0
- package/types/components/SystemConfigTable/SystemConfigTable.d.ts +3 -0
- package/types/components/SystemConfigTable/type.d.ts +12 -1
- package/types/components/Tab/Tab.d.ts +3 -0
- package/types/components/Tab/type.d.ts +12 -0
- package/types/components/TextArea/TextArea.d.ts +3 -0
- package/types/components/TextArea/type.d.ts +12 -0
- package/types/components/TextField/TextField.d.ts +3 -0
- package/types/components/TextField/type.d.ts +12 -0
- package/types/components/TransactionDetails/TransactionDetails.d.ts +3 -0
- package/types/components/TransactionDetails/type.d.ts +18 -0
- package/types/components/TransactionDetailsWithPayment/TransactionDetailsWithPayment.d.ts +3 -0
- package/types/components/TransactionDetailsWithPayment/type.d.ts +15 -0
- package/types/components/UpdateUserActions/UpdateUserActions.d.ts +3 -0
- package/types/components/UpdateUserActions/type.d.ts +15 -0
- package/types/components/UserActions/UserActions.d.ts +3 -0
- package/types/components/UserActions/type.d.ts +18 -0
- package/types/components/UserRolesTable/UserRolesTable.d.ts +3 -0
- package/types/components/UserRolesTable/type.d.ts +6 -0
- package/types/components/UsersTable/UsersTable.d.ts +3 -0
- package/types/components/UsersTable/type.d.ts +13 -1
- package/types/components/WidgetTitle/WidgetTitle.d.ts +3 -0
- package/types/components/WidgetTitle/type.d.ts +3 -0
|
@@ -1,18 +1,36 @@
|
|
|
1
1
|
export interface UserActionsProps {
|
|
2
|
+
/**
|
|
3
|
+
* Options that are available to be added for the user
|
|
4
|
+
*/
|
|
2
5
|
availableOptions: {
|
|
3
6
|
optionName: string;
|
|
4
7
|
optionId: string;
|
|
5
8
|
}[];
|
|
9
|
+
/**
|
|
10
|
+
* Options that are currently available to the user under their account on the LP application
|
|
11
|
+
*/
|
|
6
12
|
currentOptions: {
|
|
7
13
|
optionName: string;
|
|
8
14
|
optionId: string;
|
|
9
15
|
}[];
|
|
16
|
+
/**
|
|
17
|
+
* Options that are currently available to them that can be removed
|
|
18
|
+
*/
|
|
10
19
|
supplementaryOptions: {
|
|
11
20
|
optionName: string;
|
|
12
21
|
optionId: string;
|
|
13
22
|
}[];
|
|
23
|
+
/**
|
|
24
|
+
* Title for the available options
|
|
25
|
+
*/
|
|
14
26
|
titleAvailable?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Title for the current options
|
|
29
|
+
*/
|
|
15
30
|
titleCurrent?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Callback function containing options that were added or removed for the user
|
|
33
|
+
*/
|
|
16
34
|
selOptions: (a: {
|
|
17
35
|
added: [];
|
|
18
36
|
removed: [];
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { UserRolesProps } from "./type";
|
|
3
|
+
/**
|
|
4
|
+
* Table listing the user roles that can be assigned to users in the LP application
|
|
5
|
+
*/
|
|
3
6
|
declare const UserRolesTable: (props: UserRolesProps) => JSX.Element;
|
|
4
7
|
export default UserRolesTable;
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
export interface UserRolesProps {
|
|
2
|
+
/**
|
|
3
|
+
* Array containing all the roles to be displayed in the table
|
|
4
|
+
*/
|
|
2
5
|
roles: {
|
|
3
6
|
roleName: string;
|
|
4
7
|
roleCode: string;
|
|
5
8
|
clearanceLevel: number;
|
|
6
9
|
}[];
|
|
10
|
+
/**
|
|
11
|
+
* Callback function that passes out the selected item when clicked
|
|
12
|
+
*/
|
|
7
13
|
callback: (a: {
|
|
8
14
|
roleName: string;
|
|
9
15
|
roleCode: string;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export interface UserTableType {
|
|
2
|
+
/**
|
|
3
|
+
* Array containing all users and their accompanying information to be listed in the table
|
|
4
|
+
*/
|
|
2
5
|
users: {
|
|
3
6
|
name: string;
|
|
4
7
|
organisation: string;
|
|
@@ -7,6 +10,15 @@ export interface UserTableType {
|
|
|
7
10
|
status: string;
|
|
8
11
|
userId: string;
|
|
9
12
|
}[];
|
|
10
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Callback function that passes out the selected item as an object when clicked
|
|
15
|
+
*/
|
|
16
|
+
callback: (a: {
|
|
17
|
+
name: string;
|
|
18
|
+
organisation: string;
|
|
19
|
+
email: string;
|
|
20
|
+
role: string;
|
|
21
|
+
status: string;
|
|
22
|
+
}) => void;
|
|
11
23
|
srchActive?: boolean;
|
|
12
24
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { WidgetTitleProps } from "./type";
|
|
3
|
+
/**
|
|
4
|
+
* Component that displays the title of a widget on the right side of the news application
|
|
5
|
+
*/
|
|
3
6
|
declare const WidgetTitle: (props: WidgetTitleProps) => JSX.Element;
|
|
4
7
|
export default WidgetTitle;
|