@controleonline/ui-common 1.2.109 → 1.2.110
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.
- package/package.json +1 -1
- package/src/react/components/CategoryForm.js +539 -539
- package/src/react/components/DefaultProvider.native.js +2 -2
- package/src/react/components/DefaultProvider.web.js +2 -2
- package/src/react/components/integrations/IntegrationHero/index.js +1 -1
- package/src/react/components/integrations/IntegrationHero/styles.js +2 -2
- package/src/react/components/integrations/IntegrationTabs/index.js +1 -1
- package/src/react/components/integrations/IntegrationTabs/styles.js +1 -1
- package/src/react/pages/Connections.js +2 -2
- package/src/react/pages/Connections.styles.js +72 -72
- package/src/react/pages/Devices/detail/DeviceDetailHeader.js +1 -1
- package/src/react/pages/Devices/detail/DeviceDetailMovementSections.js +1 -1
- package/src/react/pages/Devices/detail/useDeviceDetailStateA.js +2 -2
- package/src/react/pages/Devices/detail/useDeviceDetailStateB.js +2 -2
- package/src/react/pages/Devices/deviceTypes/DeviceGroupCard.js +1 -1
- package/src/react/pages/Devices/deviceTypes/shared.js +2 -2
- package/src/react/pages/Devices.js +2 -2
- package/src/react/pages/Devices.styles.js +353 -353
- package/src/react/pages/Food99IntegrationPage/components/Food99CatalogTab.js +219 -219
- package/src/react/pages/Food99IntegrationPage/components/Food99OverviewTab.js +134 -134
- package/src/react/pages/Food99IntegrationPage/components/Food99PreviewModal.js +173 -173
- package/src/react/pages/Food99IntegrationPage/components/Food99QuickWalletModal.js +1 -1
- package/src/react/pages/Food99IntegrationPage/components/Food99SettingsTab.js +306 -306
- package/src/react/pages/Food99IntegrationPage/components/Food99StoreTab.js +417 -417
- package/src/react/pages/Food99IntegrationPage/index.js +1530 -1530
- package/src/react/pages/Food99IntegrationPage/styles.js +792 -792
- package/src/react/pages/IFoodIntegrationPage/components/IFoodOperationsTab.js +267 -267
- package/src/react/pages/IFoodIntegrationPage/components/IFoodOverviewTab.js +118 -118
- package/src/react/pages/IFoodIntegrationPage/components/IFoodPreviewModal.js +101 -101
- package/src/react/pages/IFoodIntegrationPage/components/IFoodStoreTab.js +150 -150
- package/src/react/pages/IFoodIntegrationPage/index.js +1298 -1298
- package/src/react/pages/Imports.js +1 -1
- package/src/react/pages/Imports.styles.js +223 -223
- package/src/react/pages/IntegrationConfigPage.js +2 -2
- package/src/react/pages/Integrations.js +299 -299
- package/src/react/pages/Integrations.styles.js +130 -130
- package/src/react/pages/LinkedInIntegrationPage.js +2 -2
- package/src/react/pages/ManagerOrderNotificationsPage.js +642 -642
- package/src/react/pages/MarketplaceIntegrationPage/components/MarketplaceProductCard.js +205 -205
- package/src/react/pages/MercadoLivreIntegrationPage.js +2 -2
- package/src/react/pages/PrinterDeviceDetailPage.js +1915 -1915
- package/src/react/pages/PrinterDeviceFormPage.js +2 -2
- package/src/react/pages/WhatsAppConnectionPage.js +2 -2
- package/src/react/pages/WhatsAppConnectionPage.styles.js +8 -5
- package/src/react/pages/WhatsAppProviderForm.js +1 -1
- package/src/react/utils/fileUrl.js +1 -1
|
@@ -15,8 +15,8 @@ import {Picker} from '@react-native-picker/picker';
|
|
|
15
15
|
import Icon from 'react-native-vector-icons/Feather';
|
|
16
16
|
import {useStore} from '@store';
|
|
17
17
|
import StateStore from '@controleonline/ui-common/src/react/components/StateStore';
|
|
18
|
-
import {resolveThemePalette, withOpacity} from '@controleonline
|
|
19
|
-
import {colors} from '@controleonline
|
|
18
|
+
import {resolveThemePalette, withOpacity} from '@controleonline/ui-layout/src/styles/branding';
|
|
19
|
+
import {colors} from '@controleonline/ui-layout/src/styles/colors';
|
|
20
20
|
import {getNetworkDeviceProfile} from '@controleonline/ui-common/src/react/utils/networkDeviceProfiles';
|
|
21
21
|
import {
|
|
22
22
|
buildNetworkCameraConfigs,
|
|
@@ -10,12 +10,12 @@ import Icon from 'react-native-vector-icons/Feather';
|
|
|
10
10
|
import QRCode from 'react-native-qrcode-svg';
|
|
11
11
|
|
|
12
12
|
import { useStore } from '@store';
|
|
13
|
-
import { colors } from '@controleonline
|
|
13
|
+
import { colors } from '@controleonline/ui-layout/src/styles/colors';
|
|
14
14
|
import { createStyles } from './WhatsAppConnectionPage.styles';
|
|
15
15
|
import {
|
|
16
16
|
resolveThemePalette,
|
|
17
17
|
withOpacity,
|
|
18
|
-
} from '@controleonline
|
|
18
|
+
} from '@controleonline/ui-layout/src/styles/branding';
|
|
19
19
|
import DefaultTable from '@controleonline/ui-default/src/react/components/table/DefaultTable';
|
|
20
20
|
import WhatsAppProviderForm from './WhatsAppProviderForm';
|
|
21
21
|
import {
|
|
@@ -289,29 +289,32 @@ const styles = StyleSheet.create({
|
|
|
289
289
|
feedbackText: {
|
|
290
290
|
fontSize: 13,
|
|
291
291
|
lineHeight: 18,
|
|
292
|
-
color:
|
|
292
|
+
color: '#0F172A',
|
|
293
293
|
},
|
|
294
294
|
selectedHint: {
|
|
295
295
|
fontSize: 13,
|
|
296
296
|
fontWeight: '600',
|
|
297
|
-
color:
|
|
297
|
+
color: '#64748B',
|
|
298
298
|
marginBottom: 8,
|
|
299
299
|
},
|
|
300
300
|
statusLine: {
|
|
301
301
|
marginTop: 10,
|
|
302
302
|
fontSize: 13,
|
|
303
|
-
color:
|
|
303
|
+
color: '#64748B',
|
|
304
304
|
},
|
|
305
305
|
previewName: {
|
|
306
306
|
fontSize: 15,
|
|
307
307
|
fontWeight: '700',
|
|
308
|
-
color:
|
|
308
|
+
color: '#0F172A',
|
|
309
309
|
},
|
|
310
310
|
previewMeta: {
|
|
311
311
|
marginTop: 4,
|
|
312
312
|
fontSize: 12,
|
|
313
|
-
color:
|
|
313
|
+
color: '#64748B',
|
|
314
314
|
},
|
|
315
315
|
});
|
|
316
316
|
|
|
317
|
+
export const createStyles = (_palette) => styles;
|
|
318
|
+
|
|
317
319
|
export default styles;
|
|
320
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ActivityIndicator, Text, TextInput, TouchableOpacity, View } from 'react-native';
|
|
3
3
|
import Icon from 'react-native-vector-icons/Feather';
|
|
4
|
-
import { withOpacity } from '@controleonline
|
|
4
|
+
import { withOpacity } from '@controleonline/ui-layout/src/styles/branding';
|
|
5
5
|
import { PROVIDER_OFFICIAL, PROVIDER_UNOFFICIAL } from './whatsAppConnectionHelpers';
|
|
6
6
|
|
|
7
7
|
export default function WhatsAppProviderForm({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {env as APP_ENV} from '@env';
|
|
2
2
|
import {filterApiHeaders, isTrustedApiUrl} from '../../utils/trustedApiUrl';
|
|
3
|
-
import {buildAssetUrl} from '@controleonline
|
|
3
|
+
import {buildAssetUrl} from '@controleonline/ui-layout/src/styles/branding';
|
|
4
4
|
import {
|
|
5
5
|
resolveAppDomain,
|
|
6
6
|
resolveCompanyDomain,
|