@controleonline/ui-common 1.2.133 → 1.2.135

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 (52) hide show
  1. package/.release/rc-manifest.json +12 -6
  2. package/package.json +1 -1
  3. package/src/react/components/CategoryForm.js +539 -539
  4. package/src/react/components/DefaultProvider.native.js +2 -2
  5. package/src/react/components/DefaultProvider.web.js +2 -2
  6. package/src/react/components/integrations/IntegrationHero/index.js +1 -1
  7. package/src/react/components/integrations/IntegrationHero/styles.js +2 -2
  8. package/src/react/components/integrations/IntegrationTabs/index.js +1 -1
  9. package/src/react/components/integrations/IntegrationTabs/styles.js +1 -1
  10. package/src/react/pages/Connections.styles.js +72 -72
  11. package/src/react/pages/Devices/detail/DeviceDetailHeader.js +1 -1
  12. package/src/react/pages/Devices/detail/DeviceDetailMovementSections.js +1 -1
  13. package/src/react/pages/Devices/detail/useDeviceDetailStateA.js +2 -2
  14. package/src/react/pages/Devices/detail/useDeviceDetailStateB.js +2 -2
  15. package/src/react/pages/Devices/deviceTypes/DeviceGroupCard.js +1 -1
  16. package/src/react/pages/Devices/deviceTypes/shared.js +2 -2
  17. package/src/react/pages/Devices.js +2 -2
  18. package/src/react/pages/Devices.styles.js +353 -353
  19. package/src/react/pages/Food99IntegrationPage/components/Food99CatalogTab.js +219 -219
  20. package/src/react/pages/Food99IntegrationPage/components/Food99OverviewTab.js +134 -134
  21. package/src/react/pages/Food99IntegrationPage/components/Food99PreviewModal.js +173 -173
  22. package/src/react/pages/Food99IntegrationPage/components/Food99QuickWalletModal.js +1 -1
  23. package/src/react/pages/Food99IntegrationPage/components/Food99SettingsTab.js +306 -306
  24. package/src/react/pages/Food99IntegrationPage/components/Food99StoreTab.js +417 -417
  25. package/src/react/pages/Food99IntegrationPage/index.js +1530 -1530
  26. package/src/react/pages/Food99IntegrationPage/styles.js +792 -792
  27. package/src/react/pages/IFoodIntegrationPage/components/IFoodOperationsTab.js +267 -267
  28. package/src/react/pages/IFoodIntegrationPage/components/IFoodOverviewTab.js +118 -118
  29. package/src/react/pages/IFoodIntegrationPage/components/IFoodPreviewModal.js +101 -101
  30. package/src/react/pages/IFoodIntegrationPage/components/IFoodStoreTab.js +150 -150
  31. package/src/react/pages/IFoodIntegrationPage/index.js +1298 -1298
  32. package/src/react/pages/Imports.js +1 -1
  33. package/src/react/pages/Imports.styles.js +223 -223
  34. package/src/react/pages/IntegrationConfigPage.js +2 -2
  35. package/src/react/pages/Integrations.js +2 -15
  36. package/src/react/pages/Integrations.styles.js +130 -130
  37. package/src/react/pages/LinkedInIntegrationPage.js +2 -2
  38. package/src/react/pages/ManagerOrderNotificationsPage.js +642 -642
  39. package/src/react/pages/MarketplaceIntegrationPage/components/MarketplaceProductCard.js +205 -205
  40. package/src/react/pages/MercadoLivreIntegrationPage.js +2 -2
  41. package/src/react/pages/PrinterDeviceDetailPage.js +1915 -1915
  42. package/src/react/pages/PrinterDeviceFormPage.js +2 -2
  43. package/src/react/pages/WhatsAppConnectionPage.js +51 -0
  44. package/src/react/pages/WhatsAppConnectionPage.styles.js +315 -279
  45. package/src/react/pages/WhatsAppProviderForm.js +39 -1
  46. package/src/react/pages/whatsAppConnectionHelpers.js +38 -10
  47. package/src/react/pages/whatsAppEmbeddedSignup.js +133 -0
  48. package/src/react/router/__tests__/publicRoutes.test.js +12 -0
  49. package/src/react/router/publicRoutes.js +3 -0
  50. package/src/react/utils/fileUrl.js +1 -1
  51. package/src/store/connections/customActions.js +51 -14
  52. package/src/store/connections/index.js +109 -105
@@ -1,353 +1,353 @@
1
- import { Platform, StyleSheet } from 'react-native';
2
- import { colors } from '@controleonline/../../src/styles/colors';
3
- import { withOpacity } from '@controleonline/../../src/styles/branding';
4
-
5
- const buildCardShadow = palette =>
6
- Platform.select({
7
- ios: {
8
- shadowColor: palette.text,
9
- shadowOffset: { width: 0, height: 4 },
10
- shadowOpacity: 0.06,
11
- shadowRadius: 12,
12
- },
13
- android: { elevation: 2 },
14
- web: { boxShadow: `0 4px 12px ${withOpacity(palette.text, 0.06)}` },
15
- });
16
-
17
- export const createStyles = (palette = colors) => {
18
- const cardShadow = buildCardShadow(palette);
19
- const cardBackground = palette.cardBackground || palette.white;
20
- const cardBorder = palette.cardBorder || palette.border;
21
- const cardText = palette.cardText || palette.text;
22
- const selectedBackground =
23
- palette.cardSelectedBackground || withOpacity(palette.primary, 0.07);
24
- const selectedBorder = palette.cardSelectedBorder || palette.primary;
25
- const selectedText = palette.cardSelectedText || cardText;
26
- const selectedBadgeBackground =
27
- palette.badgeSelectedBackground || withOpacity(palette.primary, 0.14);
28
- const selectedBadgeText =
29
- palette.badgeSelectedText || selectedText || palette.primary;
30
- return StyleSheet.create({
31
- container: {
32
- flex: 1,
33
- paddingHorizontal: 16,
34
- paddingTop: 14,
35
- },
36
-
37
- summaryRow: {
38
- flexDirection: 'row',
39
- gap: 10,
40
- marginBottom: 14,
41
- },
42
- summaryCard: {
43
- flex: 1,
44
- backgroundColor: cardBackground,
45
- borderColor: cardBorder,
46
- borderWidth: 1,
47
- borderRadius: 14,
48
- paddingHorizontal: 12,
49
- paddingVertical: 10,
50
- ...cardShadow,
51
- },
52
- summaryLabel: {
53
- fontSize: 11,
54
- fontWeight: '700',
55
- textTransform: 'uppercase',
56
- color: palette.textSecondary,
57
- marginBottom: 4,
58
- letterSpacing: 0.3,
59
- },
60
- summaryValue: {
61
- fontSize: 22,
62
- fontWeight: '800',
63
- color: palette.text,
64
- },
65
- createPrinterBtn: {
66
- minHeight: 46,
67
- borderRadius: 14,
68
- alignItems: 'center',
69
- justifyContent: 'center',
70
- flexDirection: 'row',
71
- gap: 8,
72
- marginBottom: 8,
73
- ...cardShadow,
74
- },
75
- createPrinterBtnText: {
76
- fontSize: 14,
77
- fontWeight: '800',
78
- color: palette.white,
79
- },
80
- printerActionBlock: {
81
- marginBottom: 12,
82
- },
83
- helperText: {
84
- fontSize: 12,
85
- color: palette.textSecondary,
86
- fontWeight: '600',
87
- lineHeight: 18,
88
- },
89
- filtersBlock: {
90
- marginBottom: 14,
91
- },
92
- filtersLabel: {
93
- fontSize: 11,
94
- fontWeight: '700',
95
- color: palette.textSecondary,
96
- textTransform: 'uppercase',
97
- letterSpacing: 0.4,
98
- marginBottom: 8,
99
- },
100
- loadingBox: {
101
- flexDirection: 'row',
102
- gap: 8,
103
- alignItems: 'center',
104
- marginBottom: 10,
105
- },
106
- loadingText: {
107
- fontSize: 12,
108
- color: palette.textSecondary,
109
- fontWeight: '600',
110
- },
111
- tabContent: {
112
- flex: 1,
113
- },
114
- tabList: {
115
- flex: 1,
116
- },
117
- listMetaRow: {
118
- flexDirection: 'row',
119
- alignItems: 'center',
120
- justifyContent: 'space-between',
121
- marginBottom: 10,
122
- },
123
- listMetaTitle: {
124
- fontSize: 14,
125
- fontWeight: '800',
126
- color: palette.text,
127
- },
128
- listMetaText: {
129
- fontSize: 12,
130
- fontWeight: '700',
131
- color: palette.textSecondary,
132
- },
133
- inlineMessageBox: {
134
- marginBottom: 10,
135
- borderRadius: 14,
136
- paddingHorizontal: 12,
137
- paddingVertical: 10,
138
- backgroundColor: withOpacity(palette.error, 0.12),
139
- borderWidth: 1,
140
- borderColor: withOpacity(palette.error, 0.3),
141
- },
142
- inlineMessageText: {
143
- fontSize: 12,
144
- fontWeight: '600',
145
- color: palette.error,
146
- lineHeight: 18,
147
- },
148
-
149
- listContent: {
150
- gap: 10,
151
- flexGrow: 1,
152
- paddingBottom: 24,
153
- },
154
- listContentEmpty: {
155
- justifyContent: 'center',
156
- },
157
- listFooterLoader: {
158
- flexDirection: 'row',
159
- gap: 8,
160
- alignItems: 'center',
161
- justifyContent: 'center',
162
- paddingTop: 6,
163
- paddingBottom: 18,
164
- },
165
-
166
- deviceCard: {
167
- backgroundColor: cardBackground,
168
- borderColor: cardBorder,
169
- borderWidth: 1,
170
- borderRadius: 16,
171
- padding: 14,
172
- flexDirection: 'row',
173
- alignItems: 'center',
174
- justifyContent: 'space-between',
175
- ...cardShadow,
176
- },
177
- deviceCardCurrent: {
178
- backgroundColor: selectedBackground,
179
- borderColor: selectedBorder,
180
- borderWidth: 2,
181
- },
182
- cardLeft: {
183
- flexDirection: 'row',
184
- alignItems: 'center',
185
- gap: 12,
186
- flex: 1,
187
- },
188
- cardTextWrap: {
189
- flex: 1,
190
- },
191
- currentDeviceBadge: {
192
- alignItems: 'center',
193
- alignSelf: 'flex-start',
194
- backgroundColor: selectedBadgeBackground,
195
- borderColor: selectedBorder,
196
- borderRadius: 999,
197
- borderWidth: 1,
198
- flexDirection: 'row',
199
- gap: 4,
200
- marginBottom: 5,
201
- paddingHorizontal: 7,
202
- paddingVertical: 3,
203
- },
204
- currentDeviceBadgeText: {
205
- color: selectedBadgeText,
206
- fontSize: 9,
207
- fontWeight: '800',
208
- letterSpacing: 0.2,
209
- textTransform: 'uppercase',
210
- },
211
- iconBox: {
212
- width: 40,
213
- height: 40,
214
- borderRadius: 10,
215
- alignItems: 'center',
216
- justifyContent: 'center',
217
- },
218
- deviceTitle: {
219
- fontSize: 15,
220
- fontWeight: '700',
221
- color: cardText,
222
- },
223
- deviceSub: {
224
- fontSize: 11,
225
- color: palette.textSecondary,
226
- marginTop: 2,
227
- },
228
- deviceMetaRow: {
229
- flexDirection: 'row',
230
- flexWrap: 'wrap',
231
- gap: 6,
232
- marginTop: 8,
233
- },
234
- deviceMetaChip: {
235
- borderRadius: 999,
236
- backgroundColor: palette.border,
237
- paddingHorizontal: 8,
238
- paddingVertical: 4,
239
- },
240
- deviceMetaChipText: {
241
- fontSize: 10,
242
- fontWeight: '700',
243
- color: palette.textSecondary,
244
- },
245
- deviceConfigRow: {
246
- alignItems: 'center',
247
- flexDirection: 'row',
248
- flexWrap: 'wrap',
249
- gap: 7,
250
- marginTop: 10,
251
- },
252
- deviceConfigChip: {
253
- alignItems: 'center',
254
- borderRadius: 999,
255
- borderWidth: 1,
256
- flexDirection: 'row',
257
- gap: 5,
258
- minHeight: 32,
259
- paddingHorizontal: 10,
260
- paddingVertical: 6,
261
- },
262
- deviceConfigChipActive: {
263
- borderWidth: 2,
264
- },
265
- deviceConfigChipText: {
266
- fontSize: 10,
267
- fontWeight: '800',
268
- letterSpacing: 0.2,
269
- textTransform: 'uppercase',
270
- },
271
- deviceConfigChipActiveText: {
272
- color: selectedText,
273
- fontSize: 9,
274
- fontWeight: '800',
275
- textTransform: 'uppercase',
276
- },
277
- deviceConfigCreateChip: {
278
- alignItems: 'center',
279
- backgroundColor: palette.buttonBackground || palette.primary,
280
- borderColor: palette.buttonBorder || palette.primary,
281
- borderRadius: 999,
282
- borderWidth: 1,
283
- flexDirection: 'row',
284
- gap: 6,
285
- minHeight: 32,
286
- paddingHorizontal: 11,
287
- paddingVertical: 6,
288
- },
289
- deviceConfigCreateChipText: {
290
- color: palette.buttonText || palette.white,
291
- fontSize: 10,
292
- fontWeight: '800',
293
- },
294
- cardRight: {
295
- flexDirection: 'row',
296
- alignItems: 'center',
297
- },
298
- badge: {
299
- flexDirection: 'row',
300
- alignItems: 'center',
301
- gap: 5,
302
- borderRadius: 999,
303
- borderWidth: 1,
304
- paddingHorizontal: 9,
305
- paddingVertical: 4,
306
- },
307
- dot: {
308
- width: 6,
309
- height: 6,
310
- borderRadius: 3,
311
- },
312
- badgeText: {
313
- fontSize: 11,
314
- fontWeight: '700',
315
- textTransform: 'uppercase',
316
- letterSpacing: 0.3,
317
- },
318
- chevronIcon: {
319
- marginLeft: 8,
320
- },
321
-
322
- currentPdvSetupButtonDisabled: {
323
- opacity: 0.6,
324
- },
325
-
326
- emptyBox: {
327
- alignItems: 'center',
328
- backgroundColor: cardBackground,
329
- borderColor: cardBorder,
330
- borderWidth: 1,
331
- borderRadius: 16,
332
- padding: 32,
333
- ...cardShadow,
334
- },
335
- emptyIcon: {
336
- marginBottom: 12,
337
- },
338
- emptyTitle: {
339
- fontSize: 16,
340
- fontWeight: '700',
341
- color: palette.text,
342
- marginBottom: 4,
343
- },
344
- emptySub: {
345
- fontSize: 12,
346
- color: palette.textSecondary,
347
- textAlign: 'center',
348
- },
349
- });
350
- };
351
-
352
- const styles = createStyles(colors);
353
- export default styles;
1
+ import { Platform, StyleSheet } from 'react-native';
2
+ import { colors } from '@controleonline/ui-layout/src/styles/colors';
3
+ import { withOpacity } from '@controleonline/ui-layout/src/styles/branding';
4
+
5
+ const buildCardShadow = palette =>
6
+ Platform.select({
7
+ ios: {
8
+ shadowColor: palette.text,
9
+ shadowOffset: { width: 0, height: 4 },
10
+ shadowOpacity: 0.06,
11
+ shadowRadius: 12,
12
+ },
13
+ android: { elevation: 2 },
14
+ web: { boxShadow: `0 4px 12px ${withOpacity(palette.text, 0.06)}` },
15
+ });
16
+
17
+ export const createStyles = (palette = colors) => {
18
+ const cardShadow = buildCardShadow(palette);
19
+ const cardBackground = palette.cardBackground || palette.white;
20
+ const cardBorder = palette.cardBorder || palette.border;
21
+ const cardText = palette.cardText || palette.text;
22
+ const selectedBackground =
23
+ palette.cardSelectedBackground || withOpacity(palette.primary, 0.07);
24
+ const selectedBorder = palette.cardSelectedBorder || palette.primary;
25
+ const selectedText = palette.cardSelectedText || cardText;
26
+ const selectedBadgeBackground =
27
+ palette.badgeSelectedBackground || withOpacity(palette.primary, 0.14);
28
+ const selectedBadgeText =
29
+ palette.badgeSelectedText || selectedText || palette.primary;
30
+ return StyleSheet.create({
31
+ container: {
32
+ flex: 1,
33
+ paddingHorizontal: 16,
34
+ paddingTop: 14,
35
+ },
36
+
37
+ summaryRow: {
38
+ flexDirection: 'row',
39
+ gap: 10,
40
+ marginBottom: 14,
41
+ },
42
+ summaryCard: {
43
+ flex: 1,
44
+ backgroundColor: cardBackground,
45
+ borderColor: cardBorder,
46
+ borderWidth: 1,
47
+ borderRadius: 14,
48
+ paddingHorizontal: 12,
49
+ paddingVertical: 10,
50
+ ...cardShadow,
51
+ },
52
+ summaryLabel: {
53
+ fontSize: 11,
54
+ fontWeight: '700',
55
+ textTransform: 'uppercase',
56
+ color: palette.textSecondary,
57
+ marginBottom: 4,
58
+ letterSpacing: 0.3,
59
+ },
60
+ summaryValue: {
61
+ fontSize: 22,
62
+ fontWeight: '800',
63
+ color: palette.text,
64
+ },
65
+ createPrinterBtn: {
66
+ minHeight: 46,
67
+ borderRadius: 14,
68
+ alignItems: 'center',
69
+ justifyContent: 'center',
70
+ flexDirection: 'row',
71
+ gap: 8,
72
+ marginBottom: 8,
73
+ ...cardShadow,
74
+ },
75
+ createPrinterBtnText: {
76
+ fontSize: 14,
77
+ fontWeight: '800',
78
+ color: palette.white,
79
+ },
80
+ printerActionBlock: {
81
+ marginBottom: 12,
82
+ },
83
+ helperText: {
84
+ fontSize: 12,
85
+ color: palette.textSecondary,
86
+ fontWeight: '600',
87
+ lineHeight: 18,
88
+ },
89
+ filtersBlock: {
90
+ marginBottom: 14,
91
+ },
92
+ filtersLabel: {
93
+ fontSize: 11,
94
+ fontWeight: '700',
95
+ color: palette.textSecondary,
96
+ textTransform: 'uppercase',
97
+ letterSpacing: 0.4,
98
+ marginBottom: 8,
99
+ },
100
+ loadingBox: {
101
+ flexDirection: 'row',
102
+ gap: 8,
103
+ alignItems: 'center',
104
+ marginBottom: 10,
105
+ },
106
+ loadingText: {
107
+ fontSize: 12,
108
+ color: palette.textSecondary,
109
+ fontWeight: '600',
110
+ },
111
+ tabContent: {
112
+ flex: 1,
113
+ },
114
+ tabList: {
115
+ flex: 1,
116
+ },
117
+ listMetaRow: {
118
+ flexDirection: 'row',
119
+ alignItems: 'center',
120
+ justifyContent: 'space-between',
121
+ marginBottom: 10,
122
+ },
123
+ listMetaTitle: {
124
+ fontSize: 14,
125
+ fontWeight: '800',
126
+ color: palette.text,
127
+ },
128
+ listMetaText: {
129
+ fontSize: 12,
130
+ fontWeight: '700',
131
+ color: palette.textSecondary,
132
+ },
133
+ inlineMessageBox: {
134
+ marginBottom: 10,
135
+ borderRadius: 14,
136
+ paddingHorizontal: 12,
137
+ paddingVertical: 10,
138
+ backgroundColor: withOpacity(palette.error, 0.12),
139
+ borderWidth: 1,
140
+ borderColor: withOpacity(palette.error, 0.3),
141
+ },
142
+ inlineMessageText: {
143
+ fontSize: 12,
144
+ fontWeight: '600',
145
+ color: palette.error,
146
+ lineHeight: 18,
147
+ },
148
+
149
+ listContent: {
150
+ gap: 10,
151
+ flexGrow: 1,
152
+ paddingBottom: 24,
153
+ },
154
+ listContentEmpty: {
155
+ justifyContent: 'center',
156
+ },
157
+ listFooterLoader: {
158
+ flexDirection: 'row',
159
+ gap: 8,
160
+ alignItems: 'center',
161
+ justifyContent: 'center',
162
+ paddingTop: 6,
163
+ paddingBottom: 18,
164
+ },
165
+
166
+ deviceCard: {
167
+ backgroundColor: cardBackground,
168
+ borderColor: cardBorder,
169
+ borderWidth: 1,
170
+ borderRadius: 16,
171
+ padding: 14,
172
+ flexDirection: 'row',
173
+ alignItems: 'center',
174
+ justifyContent: 'space-between',
175
+ ...cardShadow,
176
+ },
177
+ deviceCardCurrent: {
178
+ backgroundColor: selectedBackground,
179
+ borderColor: selectedBorder,
180
+ borderWidth: 2,
181
+ },
182
+ cardLeft: {
183
+ flexDirection: 'row',
184
+ alignItems: 'center',
185
+ gap: 12,
186
+ flex: 1,
187
+ },
188
+ cardTextWrap: {
189
+ flex: 1,
190
+ },
191
+ currentDeviceBadge: {
192
+ alignItems: 'center',
193
+ alignSelf: 'flex-start',
194
+ backgroundColor: selectedBadgeBackground,
195
+ borderColor: selectedBorder,
196
+ borderRadius: 999,
197
+ borderWidth: 1,
198
+ flexDirection: 'row',
199
+ gap: 4,
200
+ marginBottom: 5,
201
+ paddingHorizontal: 7,
202
+ paddingVertical: 3,
203
+ },
204
+ currentDeviceBadgeText: {
205
+ color: selectedBadgeText,
206
+ fontSize: 9,
207
+ fontWeight: '800',
208
+ letterSpacing: 0.2,
209
+ textTransform: 'uppercase',
210
+ },
211
+ iconBox: {
212
+ width: 40,
213
+ height: 40,
214
+ borderRadius: 10,
215
+ alignItems: 'center',
216
+ justifyContent: 'center',
217
+ },
218
+ deviceTitle: {
219
+ fontSize: 15,
220
+ fontWeight: '700',
221
+ color: cardText,
222
+ },
223
+ deviceSub: {
224
+ fontSize: 11,
225
+ color: palette.textSecondary,
226
+ marginTop: 2,
227
+ },
228
+ deviceMetaRow: {
229
+ flexDirection: 'row',
230
+ flexWrap: 'wrap',
231
+ gap: 6,
232
+ marginTop: 8,
233
+ },
234
+ deviceMetaChip: {
235
+ borderRadius: 999,
236
+ backgroundColor: palette.border,
237
+ paddingHorizontal: 8,
238
+ paddingVertical: 4,
239
+ },
240
+ deviceMetaChipText: {
241
+ fontSize: 10,
242
+ fontWeight: '700',
243
+ color: palette.textSecondary,
244
+ },
245
+ deviceConfigRow: {
246
+ alignItems: 'center',
247
+ flexDirection: 'row',
248
+ flexWrap: 'wrap',
249
+ gap: 7,
250
+ marginTop: 10,
251
+ },
252
+ deviceConfigChip: {
253
+ alignItems: 'center',
254
+ borderRadius: 999,
255
+ borderWidth: 1,
256
+ flexDirection: 'row',
257
+ gap: 5,
258
+ minHeight: 32,
259
+ paddingHorizontal: 10,
260
+ paddingVertical: 6,
261
+ },
262
+ deviceConfigChipActive: {
263
+ borderWidth: 2,
264
+ },
265
+ deviceConfigChipText: {
266
+ fontSize: 10,
267
+ fontWeight: '800',
268
+ letterSpacing: 0.2,
269
+ textTransform: 'uppercase',
270
+ },
271
+ deviceConfigChipActiveText: {
272
+ color: selectedText,
273
+ fontSize: 9,
274
+ fontWeight: '800',
275
+ textTransform: 'uppercase',
276
+ },
277
+ deviceConfigCreateChip: {
278
+ alignItems: 'center',
279
+ backgroundColor: palette.buttonBackground || palette.primary,
280
+ borderColor: palette.buttonBorder || palette.primary,
281
+ borderRadius: 999,
282
+ borderWidth: 1,
283
+ flexDirection: 'row',
284
+ gap: 6,
285
+ minHeight: 32,
286
+ paddingHorizontal: 11,
287
+ paddingVertical: 6,
288
+ },
289
+ deviceConfigCreateChipText: {
290
+ color: palette.buttonText || palette.white,
291
+ fontSize: 10,
292
+ fontWeight: '800',
293
+ },
294
+ cardRight: {
295
+ flexDirection: 'row',
296
+ alignItems: 'center',
297
+ },
298
+ badge: {
299
+ flexDirection: 'row',
300
+ alignItems: 'center',
301
+ gap: 5,
302
+ borderRadius: 999,
303
+ borderWidth: 1,
304
+ paddingHorizontal: 9,
305
+ paddingVertical: 4,
306
+ },
307
+ dot: {
308
+ width: 6,
309
+ height: 6,
310
+ borderRadius: 3,
311
+ },
312
+ badgeText: {
313
+ fontSize: 11,
314
+ fontWeight: '700',
315
+ textTransform: 'uppercase',
316
+ letterSpacing: 0.3,
317
+ },
318
+ chevronIcon: {
319
+ marginLeft: 8,
320
+ },
321
+
322
+ currentPdvSetupButtonDisabled: {
323
+ opacity: 0.6,
324
+ },
325
+
326
+ emptyBox: {
327
+ alignItems: 'center',
328
+ backgroundColor: cardBackground,
329
+ borderColor: cardBorder,
330
+ borderWidth: 1,
331
+ borderRadius: 16,
332
+ padding: 32,
333
+ ...cardShadow,
334
+ },
335
+ emptyIcon: {
336
+ marginBottom: 12,
337
+ },
338
+ emptyTitle: {
339
+ fontSize: 16,
340
+ fontWeight: '700',
341
+ color: palette.text,
342
+ marginBottom: 4,
343
+ },
344
+ emptySub: {
345
+ fontSize: 12,
346
+ color: palette.textSecondary,
347
+ textAlign: 'center',
348
+ },
349
+ });
350
+ };
351
+
352
+ const styles = createStyles(colors);
353
+ export default styles;