@secondstaxorg/sscomp 1.8.99 → 1.9.1

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 (49) hide show
  1. package/dist/index.es.js +1 -1
  2. package/dist/index.es.js.map +1 -1
  3. package/dist/index.js +138 -77
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/package.json +1 -1
  8. package/types/components/AppActionsTable/type.d.ts +3 -0
  9. package/types/components/AppFormsTable/type.d.ts +3 -0
  10. package/types/components/AppModulesTable/type.d.ts +3 -0
  11. package/types/components/BankAccounts/type.d.ts +3 -0
  12. package/types/components/BidsCards/type.d.ts +3 -0
  13. package/types/components/BrokersTable/type.d.ts +3 -0
  14. package/types/components/CookieConsent/type.d.ts +3 -0
  15. package/types/components/CountrySelector/type.d.ts +3 -0
  16. package/types/components/CurrencyPairs/type.d.ts +3 -0
  17. package/types/components/DatePicker/type.d.ts +3 -0
  18. package/types/components/DateRangePicker/type.d.ts +11 -0
  19. package/types/components/DocumentViewer/type.d.ts +3 -0
  20. package/types/components/DropdownList/type.d.ts +3 -0
  21. package/types/components/ExchangeRates/type.d.ts +3 -0
  22. package/types/components/FileUpload/type.d.ts +3 -0
  23. package/types/components/Indices/type.d.ts +3 -0
  24. package/types/components/LPRequestTable/type.d.ts +3 -0
  25. package/types/components/MarketData/type.d.ts +3 -0
  26. package/types/components/MarketMovers/type.d.ts +3 -0
  27. package/types/components/NewsFilterBar/type.d.ts +3 -0
  28. package/types/components/NumberField/type.d.ts +3 -0
  29. package/types/components/OffersCard/type.d.ts +3 -0
  30. package/types/components/Pagination/type.d.ts +3 -0
  31. package/types/components/PasswordField/type.d.ts +3 -0
  32. package/types/components/PaymentMethodsTable/type.d.ts +3 -0
  33. package/types/components/PhoneInput/type.d.ts +3 -0
  34. package/types/components/ProvidersTable/type.d.ts +3 -0
  35. package/types/components/RateHistory/type.d.ts +3 -0
  36. package/types/components/ReportsTable/type.d.ts +3 -0
  37. package/types/components/RequestForm/type.d.ts +3 -0
  38. package/types/components/SearchResultsBar/type.d.ts +3 -0
  39. package/types/components/Selector/types.d.ts +3 -0
  40. package/types/components/SideModal/type.d.ts +3 -0
  41. package/types/components/SignatureField/type.d.ts +3 -0
  42. package/types/components/TextArea/type.d.ts +3 -0
  43. package/types/components/TextField/type.d.ts +3 -0
  44. package/types/components/TransactionDetails/type.d.ts +3 -0
  45. package/types/components/TransactionDetailsWithPayment/type.d.ts +3 -0
  46. package/types/components/UpdateUserActions/type.d.ts +3 -0
  47. package/types/components/UserActions/type.d.ts +3 -0
  48. package/types/components/UserRolesTable/type.d.ts +3 -0
  49. package/types/components/UsersTable/type.d.ts +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondstaxorg/sscomp",
3
- "version": "1.8.99",
3
+ "version": "1.9.01",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -17,6 +17,9 @@ export interface AppActionsProps {
17
17
  clearanceLevel: number;
18
18
  actionCode: string;
19
19
  }) => void;
20
+ /**
21
+ * Specify custom label for text displayed throughout component
22
+ */
20
23
  labelOverrides?: {
21
24
  title?: string;
22
25
  description?: string;
@@ -15,6 +15,9 @@ export interface AppFormsProps {
15
15
  formCode: string;
16
16
  userType: string;
17
17
  }) => void;
18
+ /**
19
+ * Specify custom label for text displayed throughout component
20
+ */
18
21
  labelOverrides?: {
19
22
  formName?: string;
20
23
  formCode?: string;
@@ -15,6 +15,9 @@ export interface AppModulesProps {
15
15
  moduleCode: string;
16
16
  remarks: string;
17
17
  }) => void;
18
+ /**
19
+ * Specify custom label for text displayed throughout component
20
+ */
18
21
  labelOverrides?: {
19
22
  moduleName?: string;
20
23
  moduleCode?: string;
@@ -20,6 +20,9 @@ export interface BankAcctsProps {
20
20
  * A boolean to disable the action buttons for each bank account when an action such as getting the details of one of them is still in progress.
21
21
  */
22
22
  loading: boolean;
23
+ /**
24
+ * Specify custom label for text displayed throughout component
25
+ */
23
26
  labelOverrides?: {
24
27
  acctName?: string;
25
28
  currency?: string;
@@ -12,6 +12,9 @@ export interface BidsProps {
12
12
  providerId: string;
13
13
  rate: number;
14
14
  }[];
15
+ /**
16
+ * Specify custom label for text displayed throughout component
17
+ */
15
18
  labelOverrides?: {
16
19
  selected?: string;
17
20
  };
@@ -21,6 +21,9 @@ export interface BrokersProps {
21
21
  country: string;
22
22
  countryFlag?: string;
23
23
  }) => void;
24
+ /**
25
+ * Specify custom label for text displayed throughout component
26
+ */
24
27
  labelOverrides?: {
25
28
  name?: string;
26
29
  email?: string;
@@ -11,6 +11,9 @@ export interface CookieConsentProps {
11
11
  * Function that should be run to close the dialogue
12
12
  */
13
13
  closeFxn?: () => void;
14
+ /**
15
+ * Specify custom label for text displayed throughout component
16
+ */
14
17
  labelOverrides?: {
15
18
  title?: string;
16
19
  message?: string;
@@ -43,6 +43,9 @@ export interface SelectorProps {
43
43
  * Array containing list of items to be bubbled up to the top above all others
44
44
  */
45
45
  priorityOptions?: string[];
46
+ /**
47
+ * Specify custom label for text displayed throughout component
48
+ */
46
49
  labelOverrides?: {
47
50
  search?: string;
48
51
  };
@@ -21,6 +21,9 @@ export interface CurrencyPairsProps {
21
21
  exchangeFlag: string;
22
22
  pairName: string;
23
23
  }) => void;
24
+ /**
25
+ * Specify custom label for text displayed throughout component
26
+ */
24
27
  labelOverrides?: {
25
28
  pairCode?: string;
26
29
  baseCurrency?: string;
@@ -47,6 +47,9 @@ export interface DatePickerProps {
47
47
  * Specify whether the component is a readonly field
48
48
  */
49
49
  readonly?: boolean;
50
+ /**
51
+ * Specify custom label for text displayed throughout component
52
+ */
50
53
  labelOverrides?: {
51
54
  errMsg?: string;
52
55
  daysOfWeek?: string[];
@@ -35,6 +35,17 @@ export interface DateRangePickerProps {
35
35
  * Specify to disable past dates
36
36
  */
37
37
  disablePastDays?: boolean;
38
+ /**
39
+ * When true, the input field for the picker is hidden. In that case, `triggerId` must be provided
40
+ */
41
+ hidePickerInput?: boolean;
42
+ /**
43
+ * Allows to use another element to trigger and display the picker calendar. This only has an effect when `hidePickerInput` is true
44
+ */
45
+ triggerClass?: string;
46
+ /**
47
+ * Specify custom label for text displayed throughout component
48
+ */
38
49
  labelOverrides?: {
39
50
  reset?: string;
40
51
  apply?: string;
@@ -12,6 +12,9 @@ export interface PDFViewerProps {
12
12
  * Callback function to close the viewer
13
13
  */
14
14
  closeBtnFn?: (a: boolean) => void;
15
+ /**
16
+ * Specify custom label for text displayed throughout component
17
+ */
15
18
  labelOverrides?: {
16
19
  nextFile?: string;
17
20
  prevFile?: string;
@@ -49,6 +49,9 @@ export interface DropdownProps {
49
49
  * Specify whether the component is a readonly field
50
50
  */
51
51
  readonly?: boolean;
52
+ /**
53
+ * Specify custom label for text displayed throughout component
54
+ */
52
55
  labelOverrides?: {
53
56
  search?: string;
54
57
  requiredField?: string;
@@ -23,6 +23,9 @@ export interface ExchangeRatesProps {
23
23
  rate: number;
24
24
  currFlag: string;
25
25
  }[];
26
+ /**
27
+ * Specify custom label for text displayed throughout component
28
+ */
26
29
  labelOverrides?: {
27
30
  lastUpdated?: string;
28
31
  source?: string;
@@ -23,6 +23,9 @@ export interface FileUploadProps {
23
23
  * Maximum file size acceptable in Kilobytes
24
24
  **/
25
25
  maxFileSize?: number;
26
+ /**
27
+ * Specify custom label for text displayed throughout component
28
+ */
26
29
  labelOverrides?: {
27
30
  requiredField?: string;
28
31
  acceptedFiles?: string;
@@ -15,6 +15,9 @@ export interface IndicesType {
15
15
  * Date when the data was last updated
16
16
  */
17
17
  lastUpdated: string;
18
+ /**
19
+ * Specify custom label for text displayed throughout component
20
+ */
18
21
  labelOverrides?: {
19
22
  lastUpdated?: string;
20
23
  source?: string;
@@ -47,6 +47,9 @@ export interface RequestsProps {
47
47
  * Boolean to display a column in the table for the broker
48
48
  */
49
49
  showBroker?: boolean;
50
+ /**
51
+ * Specify custom label for text displayed throughout component
52
+ */
50
53
  labelOverrides?: {
51
54
  provider?: string;
52
55
  broker?: string;
@@ -3,6 +3,9 @@ export interface MarketDataProps {
3
3
  * Array of data to be displayed in the cards
4
4
  */
5
5
  marketData: MarketDataItem[];
6
+ /**
7
+ * Specify custom label for text displayed throughout component
8
+ */
6
9
  labelOverrides?: {
7
10
  lastUpdated?: string;
8
11
  };
@@ -15,6 +15,9 @@ export interface MarketMoversProps {
15
15
  * Date when the data was last updated
16
16
  */
17
17
  lastUpdated: string;
18
+ /**
19
+ * Specify custom label for text displayed throughout component
20
+ */
18
21
  labelOverrides?: {
19
22
  gainers?: string;
20
23
  losers?: string;
@@ -26,6 +26,9 @@ export interface NewsFilterProps extends React.HTMLAttributes<any> {
26
26
  * Theme of the component whether to be in light mode or dark
27
27
  */
28
28
  theme: 'light' | 'dark';
29
+ /**
30
+ * Specify custom label for text displayed throughout component
31
+ */
29
32
  labelOverrides?: {
30
33
  title?: string;
31
34
  selectCountryPlaceholder?: string;
@@ -56,6 +56,9 @@ export interface NumberFieldProps extends Omit<React.ComponentPropsWithoutRef<'i
56
56
  * Specify the acceptable range of value
57
57
  */
58
58
  valueRange?: [number, number];
59
+ /**
60
+ * Specify custom label for text displayed throughout component
61
+ */
59
62
  labelOverrides?: {
60
63
  rangeErrMsg?: string;
61
64
  requiredFieldMsg?: string;
@@ -37,6 +37,9 @@ export interface OffersProps {
37
37
  * Boolean to specify whether there's data available
38
38
  */
39
39
  dataAvailable: boolean;
40
+ /**
41
+ * Specify custom label for text displayed throughout component
42
+ */
40
43
  labelOverrides?: {
41
44
  bestRates?: string;
42
45
  recommended?: string;
@@ -15,6 +15,9 @@ export interface PaginationProps {
15
15
  * Callback function that returns the set of items that have been paginated based on the number of items per page
16
16
  */
17
17
  paginatedItems: (arr: []) => void;
18
+ /**
19
+ * Specify custom label for text displayed throughout component
20
+ */
18
21
  labelOverrides?: {
19
22
  of?: string;
20
23
  goTo?: string;
@@ -21,6 +21,9 @@ export interface PasswordFieldProps extends React.InputHTMLAttributes<HTMLInputE
21
21
  */
22
22
  placeholder?: string;
23
23
  width?: number;
24
+ /**
25
+ * Specify custom label for text displayed throughout component
26
+ */
24
27
  labelOverrides?: {
25
28
  requiredFieldMsg?: string;
26
29
  };
@@ -17,6 +17,9 @@ export interface PaymentMethodsProps {
17
17
  pymtModeShortName: string;
18
18
  remarks: string;
19
19
  }) => void;
20
+ /**
21
+ * Specify custom label for text displayed throughout component
22
+ */
20
23
  labelOverrides?: {
21
24
  code?: string;
22
25
  name?: string;
@@ -46,6 +46,9 @@ export interface PhoneInputProps {
46
46
  * Specify whether the component is a readonly field
47
47
  */
48
48
  readonly?: boolean;
49
+ /**
50
+ * Specify custom label for text displayed throughout component
51
+ */
49
52
  labelOverrides?: {
50
53
  selectCountryCodeMsg?: string;
51
54
  requiredFieldMsg?: string;
@@ -7,6 +7,9 @@ export interface ProvidersProps {
7
7
  * Callback function to receive the selected provider when clicked
8
8
  */
9
9
  callback: (a: providersType) => void;
10
+ /**
11
+ * Specify custom label for text displayed throughout component
12
+ */
10
13
  labelOverrides?: {
11
14
  name?: string;
12
15
  email?: string;
@@ -12,6 +12,9 @@ export interface RateHistoryProps {
12
12
  startDate: string;
13
13
  endDate: string;
14
14
  }[];
15
+ /**
16
+ * Specify custom label for text displayed throughout component
17
+ */
15
18
  labelOverrides?: {
16
19
  to?: string;
17
20
  emptyMsg?: string;
@@ -27,6 +27,9 @@ export interface ReportsProps {
27
27
  currencyFlag: string;
28
28
  dateAdded: string;
29
29
  }) => void;
30
+ /**
31
+ * Specify custom label for text displayed throughout component
32
+ */
30
33
  labelOverrides?: {
31
34
  clientId?: string;
32
35
  symbol?: string;
@@ -24,6 +24,9 @@ export interface RequestFormProps {
24
24
  quantity: number;
25
25
  baseCurrency: string;
26
26
  }) => void;
27
+ /**
28
+ * Specify custom label for text displayed throughout component
29
+ */
27
30
  labelOverrides?: {
28
31
  symbol?: string;
29
32
  price?: string;
@@ -11,6 +11,9 @@ export interface NewsBarProps {
11
11
  * Number of items from the total that are being displayed
12
12
  */
13
13
  resultsDisplayed?: number;
14
+ /**
15
+ * Specify custom label for text displayed throughout component
16
+ */
14
17
  labelOverrides?: {
15
18
  searchTerm?: string;
16
19
  showingResMsg?: string;
@@ -62,6 +62,9 @@ export interface SelectorProps {
62
62
  * Specify whether the component is a readonly field
63
63
  */
64
64
  readonly?: boolean;
65
+ /**
66
+ * Specify custom label for text displayed throughout component
67
+ */
65
68
  labelOverrides?: {
66
69
  otherSpecify?: string;
67
70
  selectOptionMsg?: string;
@@ -8,6 +8,9 @@ export interface SideModalProps {
8
8
  children: JSX.Element;
9
9
  navAreaText?: string;
10
10
  navButtonAction?: () => void;
11
+ /**
12
+ * Specify custom label for text displayed throughout component
13
+ */
11
14
  labelOverrides?: {
12
15
  goBack?: string;
13
16
  };
@@ -6,6 +6,9 @@ export interface SignatureProps {
6
6
  previewUrl?: string;
7
7
  disableTypeField?: boolean;
8
8
  disableUploadField?: boolean;
9
+ /**
10
+ * Specify custom label for text displayed throughout component
11
+ */
9
12
  labelOverrides?: {
10
13
  uploadSignature?: string;
11
14
  nothingSelected?: string;
@@ -24,6 +24,9 @@ export interface TextAreaProps extends React.TextareaHTMLAttributes<HTMLTextArea
24
24
  * Specify whether the component is a readonly field
25
25
  */
26
26
  readonly?: boolean;
27
+ /**
28
+ * Specify custom label for text displayed throughout component
29
+ */
27
30
  labelOverrides?: {
28
31
  errMsg?: string;
29
32
  };
@@ -17,6 +17,9 @@ export interface TextFieldProps extends React.InputHTMLAttributes<HTMLInputEleme
17
17
  */
18
18
  initialVal?: string | number;
19
19
  width?: number | 'fit-content' | '100%';
20
+ /**
21
+ * Specify custom label for text displayed throughout component
22
+ */
20
23
  labelOverrides?: {
21
24
  errMsg?: string;
22
25
  };
@@ -40,6 +40,9 @@ export interface TxnDetsProps {
40
40
  acctName: string;
41
41
  acctCurr: string;
42
42
  };
43
+ /**
44
+ * Specify custom label for text displayed throughout component
45
+ */
43
46
  labelOverrides?: {
44
47
  clientId?: string;
45
48
  requestedBy?: string;
@@ -36,6 +36,9 @@ export interface TxnDetsWPymntProps {
36
36
  bankName: string;
37
37
  paymentRemarks: string;
38
38
  };
39
+ /**
40
+ * Specify custom label for text displayed throughout component
41
+ */
39
42
  labelOverrides?: {
40
43
  amount?: string;
41
44
  provider?: string;
@@ -28,6 +28,9 @@ export interface UpdateUserActionsProps {
28
28
  added: [];
29
29
  removed: [];
30
30
  }) => void;
31
+ /**
32
+ * Specify custom label for text displayed throughout component
33
+ */
31
34
  labelOverrides?: {
32
35
  noActionsAvailable?: string;
33
36
  noActionsAdded?: string;
@@ -35,6 +35,9 @@ export interface UserActionsProps {
35
35
  added: [];
36
36
  removed: [];
37
37
  }) => void;
38
+ /**
39
+ * Specify custom label for text displayed throughout component
40
+ */
38
41
  labelOverrides?: {
39
42
  noActionsAvailable?: string;
40
43
  noActionsAdded?: string;
@@ -15,6 +15,9 @@ export interface UserRolesProps {
15
15
  roleCode: string;
16
16
  clearanceLevel: number;
17
17
  }) => void;
18
+ /**
19
+ * Specify custom label for text displayed throughout component
20
+ */
18
21
  labelOverrides?: {
19
22
  name?: string;
20
23
  code?: string;
@@ -20,6 +20,9 @@ export interface UserTableType {
20
20
  role: string;
21
21
  status: string;
22
22
  }) => void;
23
+ /**
24
+ * Specify custom label for text displayed throughout component
25
+ */
23
26
  labelOverrides?: {
24
27
  name?: string;
25
28
  organisation?: string;