@axelor/aos-mobile-stock 7.0.8 → 7.0.9
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/lib/components/molecules/index.d.ts +0 -1
- package/lib/components/molecules/index.js +0 -1
- package/lib/components/molecules/index.js.map +1 -1
- package/lib/i18n/en.json +0 -1
- package/lib/i18n/fr.json +0 -1
- package/package.json +3 -3
- package/lib/components/molecules/CarrierCard/CarrierCard.d.ts +0 -6
- package/lib/components/molecules/CarrierCard/CarrierCard.js +0 -46
- package/lib/components/molecules/CarrierCard/CarrierCard.js.map +0 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export { default as CarrierCard } from "./CarrierCard/CarrierCard";
|
|
2
1
|
export { default as LocationsMoveCard } from "./LocationsMoveCard/LocationsMoveCard";
|
|
3
2
|
export { default as ProductCardDetails } from "./ProductCardDetails/ProductCardDetails";
|
|
4
3
|
export { default as StockCorrectionCard } from "./StockCorrectionCard/StockCorrectionCard";
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
* You should have received a copy of the GNU Affero General Public License
|
|
16
16
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
17
|
*/
|
|
18
|
-
export { default as CarrierCard } from './CarrierCard/CarrierCard';
|
|
19
18
|
export { default as LocationsMoveCard } from './LocationsMoveCard/LocationsMoveCard';
|
|
20
19
|
export { default as ProductCardDetails } from './ProductCardDetails/ProductCardDetails';
|
|
21
20
|
export { default as StockCorrectionCard } from './StockCorrectionCard/StockCorrectionCard';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/molecules/index.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,OAAO,IAAI,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/molecules/index.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAC,OAAO,IAAI,iBAAiB,EAAC,MAAM,uCAAuC,CAAC;AACnF,OAAO,EAAC,OAAO,IAAI,kBAAkB,EAAC,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAC,OAAO,IAAI,mBAAmB,EAAC,MAAM,2CAA2C,CAAC"}
|
package/lib/i18n/en.json
CHANGED
|
@@ -86,7 +86,6 @@
|
|
|
86
86
|
"Stock_ErrorProduct": "This is not the right product.",
|
|
87
87
|
"Stock_ErrorTrackingNumber": "This is not the right tracking number.",
|
|
88
88
|
"Stock_Customer": "Customer",
|
|
89
|
-
"Stock_Carrier": "Carrier",
|
|
90
89
|
"Stock_Supplier": "Supplier",
|
|
91
90
|
"Stock_SupplierCatalog": "Supplier catalog",
|
|
92
91
|
"Stock_OriginalAdress": "Original address",
|
package/lib/i18n/fr.json
CHANGED
|
@@ -86,7 +86,6 @@
|
|
|
86
86
|
"Stock_ErrorProduct": "Ce n'est pas le bon produit.",
|
|
87
87
|
"Stock_ErrorTrackingNumber": "Ce n'est pas le bon numéro de suivi.",
|
|
88
88
|
"Stock_Customer": "Client",
|
|
89
|
-
"Stock_Carrier": "Transporteur",
|
|
90
89
|
"Stock_Supplier": "Fournisseur",
|
|
91
90
|
"Stock_SupplierCatalog": "Catalogue fournisseur",
|
|
92
91
|
"Stock_OriginalAdress": "Adresse d'origine",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@axelor/aos-mobile-stock",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.9",
|
|
4
4
|
"author": "Axelor",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"publishConfig": {
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"react-i18next": "^11.18.6"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@axelor/aos-mobile-ui": "7.0.
|
|
32
|
-
"@axelor/aos-mobile-core": "7.0.
|
|
31
|
+
"@axelor/aos-mobile-ui": "7.0.9",
|
|
32
|
+
"@axelor/aos-mobile-core": "7.0.9",
|
|
33
33
|
"@reduxjs/toolkit": "^1.8.5"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Axelor Business Solutions
|
|
3
|
-
*
|
|
4
|
-
* Copyright (C) 2023 Axelor (<http://axelor.com>).
|
|
5
|
-
*
|
|
6
|
-
* This program is free software: you can redistribute it and/or modify
|
|
7
|
-
* it under the terms of the GNU Affero General Public License, version 3,
|
|
8
|
-
* as published by the Free Software Foundation.
|
|
9
|
-
*
|
|
10
|
-
* This program is distributed in the hope that it will be useful,
|
|
11
|
-
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
-
* GNU Affero General Public License for more details.
|
|
14
|
-
*
|
|
15
|
-
* You should have received a copy of the GNU Affero General Public License
|
|
16
|
-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
17
|
-
*/
|
|
18
|
-
import React from 'react';
|
|
19
|
-
import { StyleSheet, TouchableOpacity } from 'react-native';
|
|
20
|
-
import { Card, Icon, Text } from '@axelor/aos-mobile-ui';
|
|
21
|
-
import { useTranslator } from '@axelor/aos-mobile-core';
|
|
22
|
-
const CarrierCard = ({ style, onPress }) => {
|
|
23
|
-
const I18n = useTranslator();
|
|
24
|
-
return (<TouchableOpacity onPress={onPress} activeOpacity={0.9}>
|
|
25
|
-
<Card style={[styles.container, style]}>
|
|
26
|
-
<Icon name="truck"/>
|
|
27
|
-
<Text style={styles.text}>{I18n.t('Stock_Carrier')}</Text>
|
|
28
|
-
<Icon name="chevron-right"/>
|
|
29
|
-
</Card>
|
|
30
|
-
</TouchableOpacity>);
|
|
31
|
-
};
|
|
32
|
-
const styles = StyleSheet.create({
|
|
33
|
-
container: {
|
|
34
|
-
width: '60%',
|
|
35
|
-
flexDirection: 'row',
|
|
36
|
-
justifyContent: 'space-between',
|
|
37
|
-
alignItems: 'center',
|
|
38
|
-
paddingLeft: 15,
|
|
39
|
-
paddingRight: 15,
|
|
40
|
-
},
|
|
41
|
-
text: {
|
|
42
|
-
marginHorizontal: '5%',
|
|
43
|
-
},
|
|
44
|
-
});
|
|
45
|
-
export default CarrierCard;
|
|
46
|
-
//# sourceMappingURL=CarrierCard.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CarrierCard.js","sourceRoot":"","sources":["../../../../src/components/molecules/CarrierCard/CarrierCard.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,UAAU,EAAE,gBAAgB,EAAC,MAAM,cAAc,CAAC;AAC1D,OAAO,EAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAC,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAC,aAAa,EAAC,MAAM,yBAAyB,CAAC;AAOtD,MAAM,WAAW,GAAG,CAAC,EAAC,KAAK,EAAE,OAAO,EAAmB,EAAE,EAAE;IACzD,MAAM,IAAI,GAAG,aAAa,EAAE,CAAC;IAE7B,OAAO,CACL,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,aAAa,CAAC,CAAC,GAAG,CAAC,CACrD;MAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,EAAE,KAAK,CAAC,CAAC,CACrC;QAAA,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,EAClB;QAAA,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CACzD;QAAA,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,EAC5B;MAAA,EAAE,IAAI,CACR;IAAA,EAAE,gBAAgB,CAAC,CACpB,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,MAAM,GAAG,UAAU,CAAC,MAAM,CAAC;IAC/B,SAAS,EAAE;QACT,KAAK,EAAE,KAAK;QACZ,aAAa,EAAE,KAAK;QACpB,cAAc,EAAE,eAAe;QAC/B,UAAU,EAAE,QAAQ;QACpB,WAAW,EAAE,EAAE;QACf,YAAY,EAAE,EAAE;KACjB;IACD,IAAI,EAAE;QACJ,gBAAgB,EAAE,IAAI;KACvB;CACF,CAAC,CAAC;AAEH,eAAe,WAAW,CAAC"}
|