ordering-ui-admin-external 1.25.0 → 1.25.1
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/_bundles/{ordering-ui-admin.f2522b983a000252b407.js → ordering-ui-admin.bb3d2f1a6bc2f5d19b6c.js} +2 -2
- package/_modules/components/Stores/ImporterHelpContent/index.js +1 -1
- package/_modules/components/Stores/ImportersButton/index.js +2 -2
- package/package.json +1 -1
- package/src/components/Stores/ImporterHelpContent/index.js +17 -17
- package/src/components/Stores/ImportersButton/index.js +2 -2
- /package/_bundles/{ordering-ui-admin.f2522b983a000252b407.js.LICENSE.txt → ordering-ui-admin.bb3d2f1a6bc2f5d19b6c.js.LICENSE.txt} +0 -0
|
@@ -18,6 +18,6 @@ var ImporterHelpContent = function ImporterHelpContent(props) {
|
|
|
18
18
|
var _useLanguage = (0, _orderingComponentsAdminExternal.useLanguage)(),
|
|
19
19
|
_useLanguage2 = _slicedToArray(_useLanguage, 2),
|
|
20
20
|
t = _useLanguage2[1];
|
|
21
|
-
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles.SubjectTitle, null, t('HOW_TO_USE_IMPORTER', 'How to use the importer?')), /*#__PURE__*/_react.default.createElement(_styles.TitleContent, null,
|
|
21
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_styles.SubjectTitle, null, t('HOW_TO_USE_IMPORTER', 'How to use the importer?')), /*#__PURE__*/_react.default.createElement(_styles.TitleContent, null, t('HOW_TO_USE_IMPORTER_CONTENT', 'Follow the next steps to use our Importer system.')), /*#__PURE__*/_react.default.createElement(_styles.TitleWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.TitleHeader, null, /*#__PURE__*/_react.default.createElement(_styles.TitleNumber, null, t('IMPORTER_INSTRUCTIONS_1_NUM', '1.')), t('IMPORTER_INSTRUCTIONS_1', 'Select your importer.')), /*#__PURE__*/_react.default.createElement(_styles.TitleContent, null, t('IMPORTER_INSTRUCTIONS_1_CONTENT', 'Using our list of default importers, you can select the importer that you require according to your needs.'))), /*#__PURE__*/_react.default.createElement(_styles.TitleWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.TitleHeader, null, /*#__PURE__*/_react.default.createElement(_styles.TitleNumber, null, t('IMPORTER_INSTRUCTIONS_2_NUM', '2.')), t('IMPORTER_INSTRUCTIONS_2', 'Download the Sample CSV.')), /*#__PURE__*/_react.default.createElement(_styles.TitleContent, null, t('IMPORTER_INSTRUCTIONS_2_CONTENT', 'Download the CSV that is inside of our default importers list and your importer selection to be able to edit it.'))), /*#__PURE__*/_react.default.createElement(_styles.TitleWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.TitleHeader, null, /*#__PURE__*/_react.default.createElement(_styles.TitleNumber, null, t('IMPORTER_INSTRUCTIONS_3_NUM', '3.')), t('IMPORTER_INSTRUCTIONS_3', 'Prepare your importer.')), /*#__PURE__*/_react.default.createElement(_styles.TitleContent, null, t('IMPORTER_INSTRUCTIONS_3_CONTENT', 'Using our list of default importers, you can have an idea of the required fields to import/update according to your needs. Please consider that all importers start with 0(this is considered the first column) to N number of columns.'))), /*#__PURE__*/_react.default.createElement(_styles.TitleWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.TitleHeader, null, /*#__PURE__*/_react.default.createElement(_styles.TitleNumber, null, t('IMPORTER_INSTRUCTIONS_4_NUM', '4.')), t('IMPORTER_INSTRUCTIONS_4', 'Prepare your CSV file.')), /*#__PURE__*/_react.default.createElement(_styles.TitleContent, null, t('IMPORTER_INSTRUCTIONS_4_CONTENT', 'Verify that your CSV file has the same fields of your importer and in the same order, please consider that like the importer, this needs to stars with 0(the first column) to N number of columns.'))), /*#__PURE__*/_react.default.createElement(_styles.TitleWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.TitleHeader, null, /*#__PURE__*/_react.default.createElement(_styles.TitleNumber, null, t('IMPORTER_INSTRUCTIONS_5_NUM', '5.')), t('IMPORTER_INSTRUCTIONS_5', 'Import fields.')), /*#__PURE__*/_react.default.createElement(_styles.TitleContent, null, t('IMPORTER_INSTRUCTIONS_5_CONTENT', 'Open your recently created importer and verify that has the same fields and order of your CSV file.'))), /*#__PURE__*/_react.default.createElement(_styles.TitleWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.TitleHeader, null, /*#__PURE__*/_react.default.createElement(_styles.TitleNumber, null, t('IMPORTER_INSTRUCTIONS_6_NUM', '6.')), t('IMPORTER_INSTRUCTIONS_6', 'Update existing importer fields.')), /*#__PURE__*/_react.default.createElement(_styles.TitleContent, null, t('IMPORTER_INSTRUCTIONS_6_CONTENT', 'Open the importer that you want to use to update fields of your dashboard. You can use the same CSV file to import new fields and update already created fields.'))), /*#__PURE__*/_react.default.createElement(_styles.TitleWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.TitleHeader, null, /*#__PURE__*/_react.default.createElement(_styles.TitleNumber, null, t('IMPORTER_INSTRUCTIONS_7_NUM', '7.')), t('IMPORTER_INSTRUCTIONS_7', 'Upload your CSV.')), /*#__PURE__*/_react.default.createElement(_styles.TitleContent, null, t('IMPORTER_INSTRUCTIONS_8_CONTENT', 'Select your recently created importer from the importer list and upload your edited CSV file with the upload button.'))), /*#__PURE__*/_react.default.createElement(_styles.TitleWrapper, null, /*#__PURE__*/_react.default.createElement(_styles.TitleHeader, null, /*#__PURE__*/_react.default.createElement(_styles.TitleNumber, null, t('IMPORTER_INSTRUCTIONS_8_NUM', '8.')), t('IMPORTER_INSTRUCTIONS_8', 'Verify the import.')), /*#__PURE__*/_react.default.createElement(_styles.TitleContent, null, t('IMPORTER_INSTRUCTIONS_8_CONTENT', 'Wait until the import process ends and verify the changes in the section that you select to use your importer.'))));
|
|
22
22
|
};
|
|
23
23
|
exports.ImporterHelpContent = ImporterHelpContent;
|
|
@@ -37,7 +37,7 @@ var ImportersButton = function ImportersButton(props) {
|
|
|
37
37
|
extraOpen = _useState4[0],
|
|
38
38
|
setExtraOpen = _useState4[1];
|
|
39
39
|
var handleOpenImporters = function handleOpenImporters() {
|
|
40
|
-
setOpenSidebar('importer');
|
|
40
|
+
setOpenSidebar && setOpenSidebar('importer');
|
|
41
41
|
setOpenImporters(true);
|
|
42
42
|
history.replace("".concat(location.pathname, "?header=importers"));
|
|
43
43
|
};
|
|
@@ -57,7 +57,7 @@ var ImportersButton = function ImportersButton(props) {
|
|
|
57
57
|
onClick: handleOpenImporters
|
|
58
58
|
}, t('IMPORTERS', 'Importers'), /*#__PURE__*/_react.default.createElement(_reactBootstrapIcons.Upload, null))), openImporters && /*#__PURE__*/_react.default.createElement(_Shared.SideBar, {
|
|
59
59
|
defaultSideBarWidth: extraOpen ? 1000 : 500,
|
|
60
|
-
moveDistance: extraOpen ? 500 :
|
|
60
|
+
moveDistance: extraOpen ? 500 : 20,
|
|
61
61
|
open: openImporters,
|
|
62
62
|
onClose: handleCloseImporters,
|
|
63
63
|
showExpandIcon: true
|
package/package.json
CHANGED
|
@@ -14,38 +14,38 @@ export const ImporterHelpContent = (props) => {
|
|
|
14
14
|
return (
|
|
15
15
|
<>
|
|
16
16
|
<SubjectTitle>{t('HOW_TO_USE_IMPORTER', 'How to use the importer?')}</SubjectTitle>
|
|
17
|
-
<TitleContent>Follow the next steps to use our Importer system
|
|
17
|
+
<TitleContent>{t('HOW_TO_USE_IMPORTER_CONTENT', 'Follow the next steps to use our Importer system.')}</TitleContent>
|
|
18
18
|
<TitleWrapper>
|
|
19
|
-
<TitleHeader><TitleNumber>1
|
|
20
|
-
<TitleContent>Using our list of default importers, you can select the importer that you require according to your needs
|
|
19
|
+
<TitleHeader><TitleNumber>{t('IMPORTER_INSTRUCTIONS_1_NUM', '1.')}</TitleNumber>{t('IMPORTER_INSTRUCTIONS_1', 'Select your importer.')}</TitleHeader>
|
|
20
|
+
<TitleContent>{t('IMPORTER_INSTRUCTIONS_1_CONTENT', 'Using our list of default importers, you can select the importer that you require according to your needs.')}</TitleContent>
|
|
21
21
|
</TitleWrapper>
|
|
22
22
|
<TitleWrapper>
|
|
23
|
-
<TitleHeader><TitleNumber>2
|
|
24
|
-
<TitleContent>Download the CSV that is inside of our default importers list and your importer selection to be able to edit it
|
|
23
|
+
<TitleHeader><TitleNumber>{t('IMPORTER_INSTRUCTIONS_2_NUM', '2.')}</TitleNumber>{t('IMPORTER_INSTRUCTIONS_2', 'Download the Sample CSV.')}</TitleHeader>
|
|
24
|
+
<TitleContent>{t('IMPORTER_INSTRUCTIONS_2_CONTENT', 'Download the CSV that is inside of our default importers list and your importer selection to be able to edit it.')}</TitleContent>
|
|
25
25
|
</TitleWrapper>
|
|
26
26
|
<TitleWrapper>
|
|
27
|
-
<TitleHeader><TitleNumber>3
|
|
28
|
-
<TitleContent>Using our list of default importers, you can have an idea of the required fields to import/update according to your needs. Please consider that all importers start with 0(this is considered the first column) to N number of columns
|
|
27
|
+
<TitleHeader><TitleNumber>{t('IMPORTER_INSTRUCTIONS_3_NUM', '3.')}</TitleNumber>{t('IMPORTER_INSTRUCTIONS_3', 'Prepare your importer.')}</TitleHeader>
|
|
28
|
+
<TitleContent>{t('IMPORTER_INSTRUCTIONS_3_CONTENT', 'Using our list of default importers, you can have an idea of the required fields to import/update according to your needs. Please consider that all importers start with 0(this is considered the first column) to N number of columns.')}</TitleContent>
|
|
29
29
|
</TitleWrapper>
|
|
30
30
|
<TitleWrapper>
|
|
31
|
-
<TitleHeader><TitleNumber>4
|
|
32
|
-
<TitleContent>Verify that your CSV file has the same fields of your importer and in the same order, please consider that like the importer, this needs to stars with 0(the first column) to N number of columns
|
|
31
|
+
<TitleHeader><TitleNumber>{t('IMPORTER_INSTRUCTIONS_4_NUM', '4.')}</TitleNumber>{t('IMPORTER_INSTRUCTIONS_4', 'Prepare your CSV file.')}</TitleHeader>
|
|
32
|
+
<TitleContent>{t('IMPORTER_INSTRUCTIONS_4_CONTENT', 'Verify that your CSV file has the same fields of your importer and in the same order, please consider that like the importer, this needs to stars with 0(the first column) to N number of columns.')}</TitleContent>
|
|
33
33
|
</TitleWrapper>
|
|
34
34
|
<TitleWrapper>
|
|
35
|
-
<TitleHeader><TitleNumber>5
|
|
36
|
-
<TitleContent>Open your recently created importer and verify that has the same fields and order of your CSV file
|
|
35
|
+
<TitleHeader><TitleNumber>{t('IMPORTER_INSTRUCTIONS_5_NUM', '5.')}</TitleNumber>{t('IMPORTER_INSTRUCTIONS_5', 'Import fields.')}</TitleHeader>
|
|
36
|
+
<TitleContent>{t('IMPORTER_INSTRUCTIONS_5_CONTENT', 'Open your recently created importer and verify that has the same fields and order of your CSV file.')}</TitleContent>
|
|
37
37
|
</TitleWrapper>
|
|
38
38
|
<TitleWrapper>
|
|
39
|
-
<TitleHeader><TitleNumber>6
|
|
40
|
-
<TitleContent>Open the importer that you want to use to update fields of your dashboard. You can use the same CSV file to import new fields and update already created fields
|
|
39
|
+
<TitleHeader><TitleNumber>{t('IMPORTER_INSTRUCTIONS_6_NUM', '6.')}</TitleNumber>{t('IMPORTER_INSTRUCTIONS_6', 'Update existing importer fields.')}</TitleHeader>
|
|
40
|
+
<TitleContent>{t('IMPORTER_INSTRUCTIONS_6_CONTENT', 'Open the importer that you want to use to update fields of your dashboard. You can use the same CSV file to import new fields and update already created fields.')}</TitleContent>
|
|
41
41
|
</TitleWrapper>
|
|
42
42
|
<TitleWrapper>
|
|
43
|
-
<TitleHeader><TitleNumber>7
|
|
44
|
-
<TitleContent>Select your recently created importer from the importer list and upload your edited CSV file with the upload button
|
|
43
|
+
<TitleHeader><TitleNumber>{t('IMPORTER_INSTRUCTIONS_7_NUM', '7.')}</TitleNumber>{t('IMPORTER_INSTRUCTIONS_7', 'Upload your CSV.')}</TitleHeader>
|
|
44
|
+
<TitleContent>{t('IMPORTER_INSTRUCTIONS_8_CONTENT', 'Select your recently created importer from the importer list and upload your edited CSV file with the upload button.')}</TitleContent>
|
|
45
45
|
</TitleWrapper>
|
|
46
46
|
<TitleWrapper>
|
|
47
|
-
<TitleHeader><TitleNumber>8
|
|
48
|
-
<TitleContent>Wait until the import process ends and verify the changes in the section that you select to use your importer
|
|
47
|
+
<TitleHeader><TitleNumber>{t('IMPORTER_INSTRUCTIONS_8_NUM', '8.')}</TitleNumber>{t('IMPORTER_INSTRUCTIONS_8', 'Verify the import.')}</TitleHeader>
|
|
48
|
+
<TitleContent>{t('IMPORTER_INSTRUCTIONS_8_CONTENT', 'Wait until the import process ends and verify the changes in the section that you select to use your importer.')}</TitleContent>
|
|
49
49
|
</TitleWrapper>
|
|
50
50
|
</>
|
|
51
51
|
)
|
|
@@ -16,7 +16,7 @@ export const ImportersButton = (props) => {
|
|
|
16
16
|
const [extraOpen, setExtraOpen] = useState(false)
|
|
17
17
|
|
|
18
18
|
const handleOpenImporters = () => {
|
|
19
|
-
setOpenSidebar('importer')
|
|
19
|
+
setOpenSidebar && setOpenSidebar('importer')
|
|
20
20
|
setOpenImporters(true)
|
|
21
21
|
|
|
22
22
|
history.replace(`${location.pathname}?header=importers`)
|
|
@@ -49,7 +49,7 @@ export const ImportersButton = (props) => {
|
|
|
49
49
|
{openImporters && (
|
|
50
50
|
<SideBar
|
|
51
51
|
defaultSideBarWidth={extraOpen ? 1000 : 500}
|
|
52
|
-
moveDistance={extraOpen ? 500 :
|
|
52
|
+
moveDistance={extraOpen ? 500 : 20}
|
|
53
53
|
open={openImporters}
|
|
54
54
|
onClose={handleCloseImporters}
|
|
55
55
|
showExpandIcon
|