@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.
Files changed (95) hide show
  1. package/dist/index.es.js +61 -60
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/index.js +1161 -1023
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +12 -11
  6. package/dist/index.min.js.map +1 -1
  7. package/package.json +3 -1
  8. package/types/components/CookieConsent/CookieConsent.d.ts +3 -0
  9. package/types/components/CookieConsent/type.d.ts +9 -0
  10. package/types/components/CountrySelector/CountrySelector.d.ts +3 -0
  11. package/types/components/CountrySelector/type.d.ts +24 -0
  12. package/types/components/CurrencyPairs/CurrencyPairsTable.d.ts +3 -0
  13. package/types/components/CurrencyPairs/type.d.ts +6 -0
  14. package/types/components/DatePicker/DatePicker.d.ts +3 -0
  15. package/types/components/DatePicker/type.d.ts +18 -0
  16. package/types/components/DateRangePicker/DateRangePicker.d.ts +3 -0
  17. package/types/components/DateRangePicker/type.d.ts +16 -0
  18. package/types/components/DropdownList/DropdownList.d.ts +3 -0
  19. package/types/components/DropdownList/type.d.ts +21 -0
  20. package/types/components/ExchangeRates/ExchangeRates.d.ts +4 -0
  21. package/types/components/ExchangeRates/type.d.ts +15 -0
  22. package/types/components/Indices/Indices.d.ts +3 -0
  23. package/types/components/Indices/type.d.ts +9 -0
  24. package/types/components/LPRequestTable/LPRequestTable.d.ts +3 -0
  25. package/types/components/LPRequestTable/type.d.ts +15 -0
  26. package/types/components/LPSideNav/LPSideNav.d.ts +1 -2
  27. package/types/components/LPSideNav/type.d.ts +9 -0
  28. package/types/components/LPTopBar/LPTopBar.d.ts +3 -0
  29. package/types/components/LPTopBar/type.d.ts +15 -0
  30. package/types/components/LoadingShimmer/LoadingShimmer.d.ts +3 -0
  31. package/types/components/LoadingShimmer/type.d.ts +9 -0
  32. package/types/components/LoadingSpinner/LoadingSpinner.d.ts +6 -0
  33. package/types/components/MarketData/MarketData.d.ts +3 -0
  34. package/types/components/MarketData/type.d.ts +3 -0
  35. package/types/components/MarketMovers/MarketMovers.d.ts +3 -0
  36. package/types/components/MarketMovers/type.d.ts +6 -0
  37. package/types/components/MenuBar/MenuBar.d.ts +3 -0
  38. package/types/components/MenuBar/type.d.ts +6 -0
  39. package/types/components/NewsCard/NewsCard.d.ts +3 -0
  40. package/types/components/NewsCard/type.d.ts +24 -0
  41. package/types/components/NewsFilterBar/NewsFilterBar.d.ts +3 -0
  42. package/types/components/NewsFilterBar/type.d.ts +12 -0
  43. package/types/components/NewsSourceTag/NewsSourceTag.d.ts +3 -0
  44. package/types/components/NewsSourceTag/type.d.ts +9 -0
  45. package/types/components/NewsTitleBar/NewsTitleBar.d.ts +3 -0
  46. package/types/components/NewsTitleBar/type.d.ts +3 -0
  47. package/types/components/OffersCard/type.d.ts +12 -0
  48. package/types/components/PasswordField/PasswordField.d.ts +3 -0
  49. package/types/components/PasswordField/type.d.ts +15 -0
  50. package/types/components/PaymentMethodsTable/PaymentMethods.d.ts +3 -0
  51. package/types/components/PaymentMethodsTable/type.d.ts +6 -0
  52. package/types/components/PopupModal/PopupModal.d.ts +3 -0
  53. package/types/components/PopupModal/type.d.ts +21 -0
  54. package/types/components/ProvidersTable/ProvidersTable.d.ts +3 -0
  55. package/types/components/ProvidersTable/type.d.ts +6 -0
  56. package/types/components/RateHistory/RateHistory.d.ts +3 -0
  57. package/types/components/RateHistory/type.d.ts +3 -0
  58. package/types/components/ReportsTable/type.d.ts +6 -0
  59. package/types/components/RequestForm/RequestForm.d.ts +3 -0
  60. package/types/components/RequestForm/type.d.ts +9 -0
  61. package/types/components/Ribbon/Ribbon.d.ts +3 -0
  62. package/types/components/Ribbon/type.d.ts +6 -0
  63. package/types/components/SearchBar/SearchBar.d.ts +3 -0
  64. package/types/components/SearchBar/type.d.ts +6 -0
  65. package/types/components/SearchResultsBar/SearchResultsBar.d.ts +3 -0
  66. package/types/components/SearchResultsBar/type.d.ts +9 -0
  67. package/types/components/Selector/types.d.ts +6 -0
  68. package/types/components/SmallNewsCard/SmallNewsCard.d.ts +3 -0
  69. package/types/components/SmallNewsCard/type.d.ts +21 -0
  70. package/types/components/StatusBadge/StatusBadge.d.ts +3 -0
  71. package/types/components/StatusBadge/type.d.ts +9 -0
  72. package/types/components/StocksTicker/StocksTicker.d.ts +3 -0
  73. package/types/components/StocksTicker/type.d.ts +3 -0
  74. package/types/components/SystemConfigTable/SystemConfigTable.d.ts +3 -0
  75. package/types/components/SystemConfigTable/type.d.ts +12 -1
  76. package/types/components/Tab/Tab.d.ts +3 -0
  77. package/types/components/Tab/type.d.ts +12 -0
  78. package/types/components/TextArea/TextArea.d.ts +3 -0
  79. package/types/components/TextArea/type.d.ts +12 -0
  80. package/types/components/TextField/TextField.d.ts +3 -0
  81. package/types/components/TextField/type.d.ts +12 -0
  82. package/types/components/TransactionDetails/TransactionDetails.d.ts +3 -0
  83. package/types/components/TransactionDetails/type.d.ts +18 -0
  84. package/types/components/TransactionDetailsWithPayment/TransactionDetailsWithPayment.d.ts +3 -0
  85. package/types/components/TransactionDetailsWithPayment/type.d.ts +15 -0
  86. package/types/components/UpdateUserActions/UpdateUserActions.d.ts +3 -0
  87. package/types/components/UpdateUserActions/type.d.ts +15 -0
  88. package/types/components/UserActions/UserActions.d.ts +3 -0
  89. package/types/components/UserActions/type.d.ts +18 -0
  90. package/types/components/UserRolesTable/UserRolesTable.d.ts +3 -0
  91. package/types/components/UserRolesTable/type.d.ts +6 -0
  92. package/types/components/UsersTable/UsersTable.d.ts +3 -0
  93. package/types/components/UsersTable/type.d.ts +13 -1
  94. package/types/components/WidgetTitle/WidgetTitle.d.ts +3 -0
  95. 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
  /// <reference types="react" />
2
2
  import { UserTableType } from "./type";
3
+ /**
4
+ * Table displaying all users in the LP application
5
+ */
3
6
  declare const UsersTable: (props: UserTableType) => JSX.Element;
4
7
  export default UsersTable;
@@ -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
- callback: any;
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;
@@ -1,4 +1,7 @@
1
1
  import React from "react";
2
2
  export interface WidgetTitleProps extends React.HTMLAttributes<any> {
3
+ /**
4
+ * Title of the widget
5
+ */
3
6
  title: string;
4
7
  }