@tap-payments/os-micro-frontend-shared 0.1.240 → 0.1.241-test.2

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 (80) hide show
  1. package/build/components/ActionMenu/style.d.ts +1 -1
  2. package/build/components/AppWindowWrapper/AppWindow/style.d.ts +2 -2
  3. package/build/components/Calender/style.d.ts +4 -4
  4. package/build/components/Chip/style.d.ts +1 -2
  5. package/build/components/ColorPicker/style.d.ts +2 -2
  6. package/build/components/ConfirmDialog/styles.d.ts +1 -1
  7. package/build/components/CountBadge/style.d.ts +1 -2
  8. package/build/components/CountryFlag/CountryFlag.js +1 -1
  9. package/build/components/Dialog/style.d.ts +1 -2
  10. package/build/components/DropdownButton/constants.d.ts +2 -2
  11. package/build/components/DropdownButton/style.d.ts +2 -2
  12. package/build/components/ErrorBoundary/style.d.ts +1 -1
  13. package/build/components/FileUpload/style.d.ts +1 -1
  14. package/build/components/FlippingCard/style.d.ts +1 -2
  15. package/build/components/ImageWrapper/ImageWrapper.d.ts +1 -2
  16. package/build/components/InputBase/SelectBase/style.d.ts +1 -1
  17. package/build/components/Inputs/FileInput/style.d.ts +1 -1
  18. package/build/components/JSONViewer/style.d.ts +2 -3
  19. package/build/components/LeftPeekRightExpandingChip/style.d.ts +3 -4
  20. package/build/components/MultiSelectStatusButton/style.d.ts +1 -1
  21. package/build/components/RangeCalender/components/QuickFilters/style.d.ts +1 -1
  22. package/build/components/RangeCalender/components/RangeDatepicker/style.d.ts +1 -1
  23. package/build/components/RangeCalender/style.d.ts +3 -3
  24. package/build/components/RightLeftExpandingCenterChip/style.d.ts +13 -14
  25. package/build/components/SearchButton/styles.d.ts +4 -5
  26. package/build/components/StatusButton/style.d.ts +2 -2
  27. package/build/components/StatusIcons/AuthIcons/style.d.ts +2 -3
  28. package/build/components/StatusIcons/AuthorizationAutoIcons/style.d.ts +1 -2
  29. package/build/components/StatusIcons/ChargeStatusIcon/style.d.ts +6 -7
  30. package/build/components/StatusIcons/SourceIcons/style.d.ts +1 -2
  31. package/build/components/TableCells/CustomCells/ActionCell/hooks/useActionCell.d.ts +1 -1
  32. package/build/components/TableCells/CustomCells/ActionCell/style.d.ts +2 -3
  33. package/build/components/TableCells/CustomCells/AmountCell/AmountCell.js +2 -4
  34. package/build/components/TableCells/CustomCells/AmountCell/style.d.ts +0 -1
  35. package/build/components/TableCells/CustomCells/AmountCell/style.js +0 -6
  36. package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.d.ts +1 -2
  37. package/build/components/TableCells/CustomCells/AuthenticationCell/style.d.ts +2 -3
  38. package/build/components/TableCells/CustomCells/AuthenticationStatusCell/style.d.ts +5 -6
  39. package/build/components/TableCells/CustomCells/AuthenticationTypeCell/style.d.ts +5 -6
  40. package/build/components/TableCells/CustomCells/BalanceCell/style.d.ts +1 -2
  41. package/build/components/TableCells/CustomCells/ChannelsCell/style.d.ts +1 -2
  42. package/build/components/TableCells/CustomCells/CheckoutStatusCell/style.d.ts +1 -2
  43. package/build/components/TableCells/CustomCells/CurrencyCell/CurrencyCell.js +2 -3
  44. package/build/components/TableCells/CustomCells/CurrencyCell/style.d.ts +0 -2
  45. package/build/components/TableCells/CustomCells/CurrencyCell/style.js +0 -10
  46. package/build/components/TableCells/CustomCells/DestinationStatusCell/style.d.ts +5 -6
  47. package/build/components/TableCells/CustomCells/DueDateCell/style.d.ts +1 -2
  48. package/build/components/TableCells/CustomCells/IDButton/style.d.ts +2 -3
  49. package/build/components/TableCells/CustomCells/IntentsStatusCell/style.d.ts +1 -2
  50. package/build/components/TableCells/CustomCells/InvoiceStatusCell/style.d.ts +1 -2
  51. package/build/components/TableCells/CustomCells/PayoutStatusCell/style.d.ts +5 -6
  52. package/build/components/TableCells/CustomCells/ProductsCell/style.d.ts +1 -2
  53. package/build/components/TableCells/CustomCells/ReferenceCell/style.d.ts +1 -2
  54. package/build/components/TableCells/CustomCells/RefundChargeCell/style.d.ts +2 -3
  55. package/build/components/TableCells/CustomCells/RefundStatusCell/style.d.ts +1 -2
  56. package/build/components/TableCells/CustomCells/SalesChannelCell/style.d.ts +1 -2
  57. package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +1 -2
  58. package/build/components/TableCells/CustomCells/SourceCell/style.d.ts +1 -2
  59. package/build/components/TableCells/CustomCells/StatusCell/style.d.ts +6 -7
  60. package/build/components/TableCells/CustomCells/TokenStatusCell/style.d.ts +5 -6
  61. package/build/components/TableCells/CustomCells/style.d.ts +1 -3
  62. package/build/components/TableCells/CustomCells/style.js +0 -4
  63. package/build/components/VirtualTables/components/ColumnFilter/Inputs/style.d.ts +1 -1
  64. package/build/components/VirtualTables/components/ColumnFilter/style.d.ts +2 -2
  65. package/build/components/VirtualTables/components/ErrorList/styles.d.ts +1 -1
  66. package/build/components/VirtualTables/components/style.d.ts +1 -2
  67. package/build/components/Window/style.d.ts +2 -2
  68. package/build/constants/assets.js +2 -2
  69. package/build/constants/table/cell/terminalsTableCellWidth.d.ts +3 -3
  70. package/build/constants/table/cell/terminalsTableCellWidth.js +3 -3
  71. package/build/types/apps.d.ts +2 -1
  72. package/build/types/brand.d.ts +1 -1
  73. package/build/types/column.d.ts +1 -1
  74. package/build/types/common.d.ts +7 -0
  75. package/build/types/common.js +1 -0
  76. package/build/types/entity.d.ts +20 -2
  77. package/build/types/index.d.ts +1 -0
  78. package/build/types/index.js +1 -0
  79. package/build/types/user.d.ts +1 -4
  80. package/package.json +3 -3
@@ -45,9 +45,9 @@ export declare const terminalsTableCellWidth: {
45
45
  readonly sheet: "80px";
46
46
  };
47
47
  readonly address: {
48
- readonly default: "120px";
49
- readonly text: "120px";
50
- readonly sheet: "120px";
48
+ readonly default: "160px";
49
+ readonly text: "160px";
50
+ readonly sheet: "160px";
51
51
  };
52
52
  readonly status: {
53
53
  readonly default: "80px";
@@ -45,9 +45,9 @@ export const terminalsTableCellWidth = {
45
45
  sheet: '80px',
46
46
  },
47
47
  address: {
48
- default: '120px',
49
- text: '120px',
50
- sheet: '120px',
48
+ default: '160px',
49
+ text: '160px',
50
+ sheet: '160px',
51
51
  },
52
52
  status: {
53
53
  default: '80px',
@@ -1,11 +1,12 @@
1
1
  import { ColumnsView } from './column';
2
- import { SegmentCountry, SelectedBrand, SelectedCountry, TextAndLang } from './user';
2
+ import { SegmentCountry, SelectedBrand, SelectedCountry } from './user';
3
3
  import { BusinessMerchant } from './merchant';
4
4
  import type { i18n } from 'i18next';
5
5
  import { Theme } from '@mui/material';
6
6
  import { CalenderMode } from './theme';
7
7
  import { Timezone } from './appConfig';
8
8
  import { Brand, Entity, TableMode } from './index.js';
9
+ import { TextAndLang } from './common';
9
10
  export interface AccountAppPayload {
10
11
  disabledAccountDataFetching?: boolean;
11
12
  isAccountDetailsOpen: boolean;
@@ -1,4 +1,4 @@
1
- import { TextAndLang } from './user';
1
+ import { TextAndLang } from './common';
2
2
  import { Entity, EntityDetails } from './entity';
3
3
  export declare enum SalesChannelTypes {
4
4
  MOBILE_APP = "mobile_app",
@@ -1,5 +1,5 @@
1
1
  import type { ReactNode } from 'react';
2
- import { TextAndLang } from './user';
2
+ import { TextAndLang } from './common';
3
3
  import { SxProps, Theme } from '@mui/material/styles';
4
4
  export interface ColumnsView {
5
5
  name: TextAndLang[];
@@ -0,0 +1,7 @@
1
+ export interface TextAndLang {
2
+ lang: string;
3
+ text: string;
4
+ }
5
+ export interface LangMap {
6
+ [key: string]: string;
7
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -1,8 +1,26 @@
1
1
  import { Merchant } from './merchant';
2
- import { TextAndLang } from './user';
2
+ import { TextAndLang, LangMap } from './common';
3
3
  export interface Branch {
4
4
  id: string;
5
- name: TextAndLang[];
5
+ business_entity_id: string;
6
+ virtual?: boolean;
7
+ address?: Partial<{
8
+ country: string;
9
+ city: string;
10
+ area: string;
11
+ block: string;
12
+ avenue: string;
13
+ street: string;
14
+ building: string;
15
+ floor: string;
16
+ unit: string;
17
+ line1: string;
18
+ line2: string;
19
+ postal_code: string;
20
+ primary: boolean;
21
+ }>;
22
+ brands?: string[];
23
+ name?: LangMap;
6
24
  }
7
25
  export interface Entity {
8
26
  id: string;
@@ -25,3 +25,4 @@ export * from './account';
25
25
  export * from './day';
26
26
  export * from './tsUtils';
27
27
  export * from './appEvents';
28
+ export * from './common';
@@ -25,3 +25,4 @@ export * from './account';
25
25
  export * from './day';
26
26
  export * from './tsUtils';
27
27
  export * from './appEvents';
28
+ export * from './common';
@@ -3,10 +3,7 @@ import { Brand } from './brand';
3
3
  import { Entity } from './entity';
4
4
  import { Merchant } from './merchant';
5
5
  import { Country } from './appConfig';
6
- export interface TextAndLang {
7
- lang: string;
8
- text: string;
9
- }
6
+ import { TextAndLang } from './common';
10
7
  export interface SegmentCountry {
11
8
  id: string;
12
9
  code: string;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@tap-payments/os-micro-frontend-shared",
3
3
  "description": "Shared components and utilities for Tap Payments micro frontends",
4
- "version": "0.1.240",
5
- "testVersion": 0,
4
+ "version": "0.1.241-test.2",
5
+ "testVersion": 2,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",
@@ -163,4 +163,4 @@
163
163
  "publishConfig": {
164
164
  "registry": "https://registry.npmjs.org/"
165
165
  }
166
- }
166
+ }