@tap-payments/auth-jsconnect 2.10.0-development → 2.10.0-sandbox

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 (120) hide show
  1. package/build/@types/index.d.ts +0 -1
  2. package/build/@types/index.js +0 -1
  3. package/build/api/auth.d.ts +1 -9
  4. package/build/api/index.d.ts +1 -8
  5. package/build/api/index.js +1 -3
  6. package/build/app/rootReducer.d.ts +0 -1
  7. package/build/app/rootReducer.js +1 -3
  8. package/build/app/store.d.ts +0 -2
  9. package/build/components/Tooltip/Tooltip.js +1 -1
  10. package/build/constants/app.d.ts +2 -11
  11. package/build/constants/app.js +1 -109
  12. package/build/constants/assets.d.ts +0 -4
  13. package/build/constants/assets.js +1 -5
  14. package/build/constants/flows.d.ts +0 -14
  15. package/build/constants/flows.js +0 -14
  16. package/build/constants/validation.d.ts +0 -1
  17. package/build/constants/validation.js +0 -1
  18. package/build/features/app/tax/taxStore.js +1 -1
  19. package/build/features/featuresScreens.d.ts +0 -1
  20. package/build/features/featuresScreens.js +0 -62
  21. package/build/features/shared/Button/Button.js +1 -1
  22. package/build/features/shared/SuccessScreen/SuccessScreen.d.ts +1 -3
  23. package/build/features/shared/SuccessScreen/SuccessScreen.js +2 -2
  24. package/build/hooks/useAppDispatch.d.ts +0 -1
  25. package/build/index.d.ts +2 -3
  26. package/build/index.js +2 -4
  27. package/build/theme/palette.js +0 -12
  28. package/build/theme/typography.js +0 -4
  29. package/build/utils/common.js +3 -3
  30. package/package.json +2 -2
  31. package/build/@types/terminal.d.ts +0 -116
  32. package/build/@types/terminal.js +0 -1
  33. package/build/api/terminal.d.ts +0 -23
  34. package/build/api/terminal.js +0 -60
  35. package/build/components/DeviceCard/DeviceCard.d.ts +0 -18
  36. package/build/components/DeviceCard/DeviceCard.js +0 -103
  37. package/build/components/DeviceCard/index.d.ts +0 -3
  38. package/build/components/DeviceCard/index.js +0 -2
  39. package/build/features/app/terminal/terminalStore.d.ts +0 -106
  40. package/build/features/app/terminal/terminalStore.js +0 -635
  41. package/build/features/shared/PushNotification/PushNotification.d.ts +0 -11
  42. package/build/features/shared/PushNotification/PushNotification.js +0 -34
  43. package/build/features/shared/PushNotification/index.d.ts +0 -2
  44. package/build/features/shared/PushNotification/index.js +0 -2
  45. package/build/features/terminal/Terminal.d.ts +0 -14
  46. package/build/features/terminal/Terminal.js +0 -95
  47. package/build/features/terminal/index.d.ts +0 -1
  48. package/build/features/terminal/index.js +0 -1
  49. package/build/features/terminal/screens/LinkNewTerminal/LinkNewTerminal.d.ts +0 -3
  50. package/build/features/terminal/screens/LinkNewTerminal/LinkNewTerminal.js +0 -68
  51. package/build/features/terminal/screens/LinkNewTerminal/index.d.ts +0 -2
  52. package/build/features/terminal/screens/LinkNewTerminal/index.js +0 -2
  53. package/build/features/terminal/screens/LinkNewTerminal/styles.d.ts +0 -10
  54. package/build/features/terminal/screens/LinkNewTerminal/styles.js +0 -28
  55. package/build/features/terminal/screens/LinkedSuccess/LinkedSuccess.d.ts +0 -3
  56. package/build/features/terminal/screens/LinkedSuccess/LinkedSuccess.js +0 -50
  57. package/build/features/terminal/screens/LinkedSuccess/index.d.ts +0 -2
  58. package/build/features/terminal/screens/LinkedSuccess/index.js +0 -2
  59. package/build/features/terminal/screens/LinkedTerminalInfo/LinkedTerminalInfo.d.ts +0 -3
  60. package/build/features/terminal/screens/LinkedTerminalInfo/LinkedTerminalInfo.js +0 -50
  61. package/build/features/terminal/screens/LinkedTerminalInfo/index.d.ts +0 -2
  62. package/build/features/terminal/screens/LinkedTerminalInfo/index.js +0 -2
  63. package/build/features/terminal/screens/Loading/Loading.d.ts +0 -4
  64. package/build/features/terminal/screens/Loading/Loading.js +0 -10
  65. package/build/features/terminal/screens/Loading/index.d.ts +0 -2
  66. package/build/features/terminal/screens/Loading/index.js +0 -2
  67. package/build/features/terminal/screens/NoTerminalLinked/NoTerminalLinked.d.ts +0 -3
  68. package/build/features/terminal/screens/NoTerminalLinked/NoTerminalLinked.js +0 -57
  69. package/build/features/terminal/screens/NoTerminalLinked/index.d.ts +0 -2
  70. package/build/features/terminal/screens/NoTerminalLinked/index.js +0 -2
  71. package/build/features/terminal/screens/NoTerminalLinked/styles.d.ts +0 -36
  72. package/build/features/terminal/screens/NoTerminalLinked/styles.js +0 -34
  73. package/build/features/terminal/screens/OperatorError/OperatorError.d.ts +0 -5
  74. package/build/features/terminal/screens/OperatorError/OperatorError.js +0 -9
  75. package/build/features/terminal/screens/OperatorError/index.d.ts +0 -2
  76. package/build/features/terminal/screens/OperatorError/index.js +0 -2
  77. package/build/features/terminal/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +0 -3
  78. package/build/features/terminal/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +0 -21
  79. package/build/features/terminal/screens/ResetPasswordSuccess/index.d.ts +0 -2
  80. package/build/features/terminal/screens/ResetPasswordSuccess/index.js +0 -2
  81. package/build/features/terminal/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +0 -3
  82. package/build/features/terminal/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +0 -31
  83. package/build/features/terminal/screens/SuccessWithFlowButtons/index.d.ts +0 -2
  84. package/build/features/terminal/screens/SuccessWithFlowButtons/index.js +0 -2
  85. package/build/features/terminal/screens/TerminalDeviceList/DeviceList.d.ts +0 -9
  86. package/build/features/terminal/screens/TerminalDeviceList/DeviceList.js +0 -20
  87. package/build/features/terminal/screens/TerminalDeviceList/Header.d.ts +0 -6
  88. package/build/features/terminal/screens/TerminalDeviceList/Header.js +0 -23
  89. package/build/features/terminal/screens/TerminalDeviceList/TerminalDeviceList.d.ts +0 -3
  90. package/build/features/terminal/screens/TerminalDeviceList/TerminalDeviceList.js +0 -129
  91. package/build/features/terminal/screens/TerminalDeviceList/index.d.ts +0 -2
  92. package/build/features/terminal/screens/TerminalDeviceList/index.js +0 -2
  93. package/build/features/terminal/screens/TerminalDeviceList/styles.d.ts +0 -71
  94. package/build/features/terminal/screens/TerminalDeviceList/styles.js +0 -56
  95. package/build/features/terminal/screens/UnlinkedSuccess/UnlinkedSuccess.d.ts +0 -3
  96. package/build/features/terminal/screens/UnlinkedSuccess/UnlinkedSuccess.js +0 -52
  97. package/build/features/terminal/screens/UnlinkedSuccess/index.d.ts +0 -2
  98. package/build/features/terminal/screens/UnlinkedSuccess/index.js +0 -2
  99. package/build/features/terminal/screens/UnlinkedTerminalInfo/TerminalList.d.ts +0 -9
  100. package/build/features/terminal/screens/UnlinkedTerminalInfo/TerminalList.js +0 -16
  101. package/build/features/terminal/screens/UnlinkedTerminalInfo/UnlinkedTerminalInfo.d.ts +0 -3
  102. package/build/features/terminal/screens/UnlinkedTerminalInfo/UnlinkedTerminalInfo.js +0 -94
  103. package/build/features/terminal/screens/UnlinkedTerminalInfo/index.d.ts +0 -2
  104. package/build/features/terminal/screens/UnlinkedTerminalInfo/index.js +0 -2
  105. package/build/features/terminal/screens/UnlinkedTerminalInfo/styles.d.ts +0 -74
  106. package/build/features/terminal/screens/UnlinkedTerminalInfo/styles.js +0 -98
  107. package/build/features/terminal/screens/Verify/OTPInput.d.ts +0 -7
  108. package/build/features/terminal/screens/Verify/OTPInput.js +0 -51
  109. package/build/features/terminal/screens/Verify/Verify.d.ts +0 -5
  110. package/build/features/terminal/screens/Verify/Verify.js +0 -85
  111. package/build/features/terminal/screens/Verify/index.d.ts +0 -2
  112. package/build/features/terminal/screens/Verify/index.js +0 -2
  113. package/build/features/terminal/screens/Verify/validation.d.ts +0 -8
  114. package/build/features/terminal/screens/Verify/validation.js +0 -4
  115. package/build/features/terminal/screens/shared/index.d.ts +0 -2
  116. package/build/features/terminal/screens/shared/index.js +0 -2
  117. package/build/features/terminal/screens/shared/styles.d.ts +0 -72
  118. package/build/features/terminal/screens/shared/styles.js +0 -50
  119. package/build/features/terminal/screens/shared/utils.d.ts +0 -7
  120. package/build/features/terminal/screens/shared/utils.js +0 -24
@@ -1,50 +0,0 @@
1
- var __assign = (this && this.__assign) || function () {
2
- __assign = Object.assign || function(t) {
3
- for (var s, i = 1, n = arguments.length; i < n; i++) {
4
- s = arguments[i];
5
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
- t[p] = s[p];
7
- }
8
- return t;
9
- };
10
- return __assign.apply(this, arguments);
11
- };
12
- import Box from '@mui/material/Box';
13
- import { alpha, styled } from '@mui/material/styles';
14
- import Typography from '@mui/material/Typography';
15
- export var Container = styled(Box)(function () { return ({
16
- display: 'flex',
17
- flexDirection: 'column',
18
- width: '100%'
19
- }); });
20
- export var LinkNewTerminalContainer = styled(Container)(function (_a) {
21
- var spacing = _a.theme.spacing;
22
- return ({
23
- gap: spacing(1)
24
- });
25
- });
26
- export var TextTypography = styled(Typography)(function (_a) {
27
- var _b = _a.theme, palette = _b.palette, typography = _b.typography;
28
- return (__assign(__assign({}, typography.caption), { color: alpha(palette.text.primary, 0.6) }));
29
- });
30
- export var LinkWithText = styled(TextTypography)(function (_a) {
31
- var spacing = _a.theme.spacing;
32
- return ({
33
- paddingBlock: spacing(1)
34
- });
35
- });
36
- export var LinkTerminalText = styled(TextTypography)(function (_a) {
37
- var spacing = _a.theme.spacing;
38
- return ({
39
- paddingInline: spacing(2.625)
40
- });
41
- });
42
- export var QRCodeDescription = styled(Box)(function (_a) {
43
- var _b = _a.theme, palette = _b.palette, spacing = _b.spacing, typography = _b.typography;
44
- return (__assign(__assign({ backgroundColor: palette.common.white, borderWidth: spacing(0.125, 0, 0.125, 0), borderStyle: 'solid', borderColor: palette.divider, padding: spacing(1.5, 2.5, 1.5, 2.5), marginTop: spacing(1), color: palette.text.primary }, typography.body1), { fontWeight: typography.fontWeightLight }));
45
- });
46
- export var SuccessContainerStyled = styled(Container)(function () { return ({
47
- justifyContent: 'space-between',
48
- alignItems: 'center',
49
- pointerEvents: 'auto'
50
- }); });
@@ -1,7 +0,0 @@
1
- import { TerminalDeviceInfo, TerminalInfo } from '../../../../@types';
2
- export declare const getPairedWith: (device: TerminalDeviceInfo) => string | undefined;
3
- export declare const getId: (device: TerminalDeviceInfo) => string;
4
- export declare const getIdLabel: (device: TerminalDeviceInfo) => "terminal_device_id" | "terminal_serial_number";
5
- export declare const getTerminalId: (terminal: TerminalInfo) => string;
6
- export declare const getTerminalName: (terminal: TerminalInfo) => string;
7
- export declare const getTerminalIdLabel: (terminal: TerminalInfo) => "terminal_device_id" | "terminal_id";
@@ -1,24 +0,0 @@
1
- export var getPairedWith = function (device) {
2
- var _a, _b, _c, _d;
3
- return (_c = (_b = (_a = device === null || device === void 0 ? void 0 : device.terminal) === null || _a === void 0 ? void 0 : _a.device) === null || _b === void 0 ? void 0 : _b.display_name) !== null && _c !== void 0 ? _c : (_d = device === null || device === void 0 ? void 0 : device.terminal) === null || _d === void 0 ? void 0 : _d.name.en;
4
- };
5
- export var getId = function (device) {
6
- var _a, _b, _c;
7
- return (_c = (_b = (_a = device === null || device === void 0 ? void 0 : device.terminal) === null || _a === void 0 ? void 0 : _a.device) === null || _b === void 0 ? void 0 : _b.id) !== null && _c !== void 0 ? _c : device.serial_number;
8
- };
9
- export var getIdLabel = function (device) {
10
- var _a, _b;
11
- return ((_b = (_a = device === null || device === void 0 ? void 0 : device.terminal) === null || _a === void 0 ? void 0 : _a.device) === null || _b === void 0 ? void 0 : _b.id) ? 'terminal_device_id' : 'terminal_serial_number';
12
- };
13
- export var getTerminalId = function (terminal) {
14
- var _a, _b;
15
- return (_b = (_a = terminal === null || terminal === void 0 ? void 0 : terminal.device) === null || _a === void 0 ? void 0 : _a.id) !== null && _b !== void 0 ? _b : terminal.legacy_id;
16
- };
17
- export var getTerminalName = function (terminal) {
18
- var _a, _b, _c;
19
- return (_b = (_a = terminal === null || terminal === void 0 ? void 0 : terminal.device) === null || _a === void 0 ? void 0 : _a.display_name) !== null && _b !== void 0 ? _b : (_c = terminal === null || terminal === void 0 ? void 0 : terminal.name) === null || _c === void 0 ? void 0 : _c.en;
20
- };
21
- export var getTerminalIdLabel = function (terminal) {
22
- var _a;
23
- return ((_a = terminal === null || terminal === void 0 ? void 0 : terminal.device) === null || _a === void 0 ? void 0 : _a.id) ? 'terminal_device_id' : 'terminal_id';
24
- };