@tap-payments/os-micro-frontend-shared 0.1.96 → 0.1.97-test.20

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.
@@ -29,7 +29,6 @@ export const LeftExpandIcon = styled(motion.span)(({ theme }) => ({
29
29
  fontSize: '10px',
30
30
  lineHeight: 1,
31
31
  color: theme.palette.text.secondary,
32
- fontWeight: 'bold',
33
32
  userSelect: 'none',
34
33
  }));
35
34
  export const RightExpandIcon = styled(motion.span)(({ theme }) => ({
@@ -44,7 +43,6 @@ export const RightExpandIcon = styled(motion.span)(({ theme }) => ({
44
43
  fontSize: '10px',
45
44
  lineHeight: 1,
46
45
  color: theme.palette.text.secondary,
47
- fontWeight: 'bold',
48
46
  userSelect: 'none',
49
47
  }));
50
48
  export const ExpandedSection = styled(motion.div)(({ side }) => (Object.assign(Object.assign(Object.assign({ position: 'absolute', display: 'flex', alignItems: 'center' }, (side === 'left' ? { right: '100%', flexDirection: 'row-reverse', transformOrigin: 'right center' } : {})), (side === 'right' ? { left: '100%', flexDirection: 'row', transformOrigin: 'left center' } : {})), { top: '50%', transform: 'translateY(-50%)', gap: 0, pointerEvents: 'auto', overflow: 'visible' })));
@@ -12,6 +12,20 @@ export declare const SERVICE_COMMON_FUNCTIONS: {
12
12
  code: string;
13
13
  };
14
14
  };
15
+ export declare const BUSINESS_FUNCTIONS: {
16
+ updateEntity: {
17
+ code: string;
18
+ };
19
+ updateBrand: {
20
+ code: string;
21
+ };
22
+ updateUsers: {
23
+ code: string;
24
+ };
25
+ createUsers: {
26
+ code: string;
27
+ };
28
+ };
15
29
  export declare const APP_CODES: {
16
30
  tokens: {
17
31
  code: string;
@@ -84,6 +98,18 @@ export declare const APP_CODES: {
84
98
  merchant: {
85
99
  code: string;
86
100
  functions: {
101
+ updateEntity: {
102
+ code: string;
103
+ };
104
+ updateBrand: {
105
+ code: string;
106
+ };
107
+ updateUsers: {
108
+ code: string;
109
+ };
110
+ createUsers: {
111
+ code: string;
112
+ };
87
113
  view: {
88
114
  code: string;
89
115
  };
@@ -101,6 +127,18 @@ export declare const APP_CODES: {
101
127
  retailer: {
102
128
  code: string;
103
129
  functions: {
130
+ updateEntity: {
131
+ code: string;
132
+ };
133
+ updateBrand: {
134
+ code: string;
135
+ };
136
+ updateUsers: {
137
+ code: string;
138
+ };
139
+ createUsers: {
140
+ code: string;
141
+ };
104
142
  view: {
105
143
  code: string;
106
144
  };
@@ -14,6 +14,20 @@ export const SERVICE_COMMON_FUNCTIONS = {
14
14
  code: 'REPORTS',
15
15
  },
16
16
  };
17
+ export const BUSINESS_FUNCTIONS = {
18
+ updateEntity: {
19
+ code: 'UPDATE ENTITY',
20
+ },
21
+ updateBrand: {
22
+ code: 'UPDATE BRAND',
23
+ },
24
+ updateUsers: {
25
+ code: 'UPDATE USERS',
26
+ },
27
+ createUsers: {
28
+ code: 'CREATE USERS',
29
+ },
30
+ };
17
31
  export const APP_CODES = {
18
32
  tokens: {
19
33
  code: 'TOKEN',
@@ -40,11 +54,11 @@ export const APP_CODES = {
40
54
  services: {
41
55
  merchant: {
42
56
  code: 'MERCHANT',
43
- functions: Object.assign({}, SERVICE_COMMON_FUNCTIONS),
57
+ functions: Object.assign(Object.assign({}, SERVICE_COMMON_FUNCTIONS), BUSINESS_FUNCTIONS),
44
58
  },
45
59
  retailer: {
46
60
  code: 'RETAILER',
47
- functions: Object.assign({}, SERVICE_COMMON_FUNCTIONS),
61
+ functions: Object.assign(Object.assign({}, SERVICE_COMMON_FUNCTIONS), BUSINESS_FUNCTIONS),
48
62
  },
49
63
  },
50
64
  },
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.96",
5
- "testVersion": 0,
4
+ "version": "0.1.97-test.20",
5
+ "testVersion": 20,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",
@@ -136,4 +136,4 @@
136
136
  "publishConfig": {
137
137
  "registry": "https://registry.npmjs.org/"
138
138
  }
139
- }
139
+ }