contentoh-components-library 21.1.80 → 21.1.83
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/dist/components/atoms/AsignationOption/index.js +2 -2
- package/dist/components/atoms/InputFormatter/index.js +3 -3
- package/dist/components/atoms/ProductPercentCard/Percent.stories.js +1 -1
- package/dist/components/atoms/ProductPercentCard/styles.js +1 -1
- package/dist/components/atoms/ProgressBar/styles.js +1 -1
- package/dist/components/atoms/Status/Status.stories.js +31 -0
- package/dist/components/atoms/Status/index.js +23 -0
- package/dist/components/atoms/Status/styles.js +20 -0
- package/dist/components/molecules/AssignedWork/AssignedWork.stories.js +1 -1
- package/dist/components/molecules/AssignedWork/styles.js +1 -1
- package/dist/components/molecules/ProductNameHeader/index.js +2 -2
- package/dist/components/molecules/StatusAsignationInfo/index.js +8 -4
- package/dist/components/organisms/FullProductNameHeader/index.js +1 -1
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +2 -6
- package/dist/components/pages/ProviderProductEdition/index.js +433 -433
- package/dist/components/pages/RetailerProductEdition/index.js +220 -205
- package/dist/global-files/customHooks.js +0 -1
- package/dist/global-files/data.js +8 -8
- package/dist/index.js +1 -14
- package/package.json +1 -1
- package/src/components/atoms/AsignationOption/index.js +2 -2
- package/src/components/atoms/InputFormatter/index.js +8 -3
- package/src/components/atoms/ProductPercentCard/Percent.stories.js +11 -12
- package/src/components/atoms/ProductPercentCard/styles.js +9 -9
- package/src/components/atoms/ProgressBar/styles.js +7 -8
- package/src/components/atoms/Status/Status.stories.js +14 -0
- package/src/components/atoms/Status/index.js +13 -0
- package/src/components/atoms/{StatusTag → Status}/styles.js +7 -10
- package/src/components/molecules/AssignedWork/AssignedWork.stories.js +8 -8
- package/src/components/molecules/AssignedWork/styles.js +9 -10
- package/src/components/molecules/ProductNameHeader/index.js +2 -2
- package/src/components/molecules/StatusAsignationInfo/index.js +6 -2
- package/src/components/organisms/FullProductNameHeader/index.js +2 -2
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +2 -3
- package/src/components/pages/ProviderProductEdition/index.js +233 -250
- package/src/components/pages/RetailerProductEdition/index.js +150 -174
- package/src/global-files/customHooks.js +0 -1
- package/src/global-files/data.js +8 -8
- package/src/index.js +1 -2
- package/src/components/atoms/StatusTag/index.js +0 -37
|
@@ -20,7 +20,6 @@ var useCloseModal = function useCloseModal(id) {
|
|
|
20
20
|
var closeModal = function closeModal(e) {
|
|
21
21
|
e.stopPropagation();
|
|
22
22
|
e.preventDefault();
|
|
23
|
-
console.log(e.target);
|
|
24
23
|
|
|
25
24
|
if (!e.target.closest("#".concat(id)) && showModal) {
|
|
26
25
|
document.removeEventListener("click", closeModal, false);
|
|
@@ -280,18 +280,18 @@ var getNewStatus = function getNewStatus(statusArray) {
|
|
|
280
280
|
statusArray.forEach(function (element) {
|
|
281
281
|
return lookupString += element + "/";
|
|
282
282
|
});
|
|
283
|
-
if (lookupString.includes("
|
|
283
|
+
if (lookupString.includes("RCA")) return "RCA";
|
|
284
|
+
if (lookupString.includes("RC")) return "RC";
|
|
284
285
|
if (lookupString.includes("RA")) return "RA";
|
|
285
286
|
if (lookupString.includes("RP")) return "RP";
|
|
286
|
-
if (lookupString.includes("
|
|
287
|
-
if (lookupString.includes("
|
|
288
|
-
if (lookupString.includes("
|
|
289
|
-
if (lookupString.includes("
|
|
290
|
-
if (lookupString.includes("
|
|
287
|
+
if (lookupString.includes("ACA")) return "ACA";
|
|
288
|
+
if (lookupString.includes("PA")) return "PA";
|
|
289
|
+
if (lookupString.includes("CA")) return "CA";
|
|
290
|
+
if (lookupString.includes("IE")) return "IE";
|
|
291
|
+
if (lookupString.includes("AC")) return "AC";
|
|
291
292
|
if (lookupString.includes("AA")) return "AA";
|
|
292
293
|
if (lookupString.includes("AP")) return "AP";
|
|
293
|
-
if (lookupString.includes("
|
|
294
|
-
if (lookupString.includes("RECEIVED")) return "RECEIVED";
|
|
294
|
+
if (lookupString.includes("R")) return "R";
|
|
295
295
|
if (lookupString.includes("NA")) return "NA";
|
|
296
296
|
return new Error("Status not found");
|
|
297
297
|
};
|
package/dist/index.js
CHANGED
|
@@ -264,7 +264,7 @@ Object.keys(_index20).forEach(function (key) {
|
|
|
264
264
|
});
|
|
265
265
|
});
|
|
266
266
|
|
|
267
|
-
var _index21 = require("./components/atoms/
|
|
267
|
+
var _index21 = require("./components/atoms/Status/index");
|
|
268
268
|
|
|
269
269
|
Object.keys(_index21).forEach(function (key) {
|
|
270
270
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -784,19 +784,6 @@ Object.keys(_OnboardPlan).forEach(function (key) {
|
|
|
784
784
|
});
|
|
785
785
|
});
|
|
786
786
|
|
|
787
|
-
var _RegistrationLoginFirstStep = require("./components/pages/RegistrationLoginFirstStep");
|
|
788
|
-
|
|
789
|
-
Object.keys(_RegistrationLoginFirstStep).forEach(function (key) {
|
|
790
|
-
if (key === "default" || key === "__esModule") return;
|
|
791
|
-
if (key in exports && exports[key] === _RegistrationLoginFirstStep[key]) return;
|
|
792
|
-
Object.defineProperty(exports, key, {
|
|
793
|
-
enumerable: true,
|
|
794
|
-
get: function get() {
|
|
795
|
-
return _RegistrationLoginFirstStep[key];
|
|
796
|
-
}
|
|
797
|
-
});
|
|
798
|
-
});
|
|
799
|
-
|
|
800
787
|
var _RegistrationLoginSecondStep = require("./components/pages/RegistrationLoginSecondStep");
|
|
801
788
|
|
|
802
789
|
Object.keys(_RegistrationLoginSecondStep).forEach(function (key) {
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ import requesToProvider from "../../../assets/images/asignationOptions/requestTo
|
|
|
6
6
|
import requestToTeam from "../../../assets/images/asignationOptions/requestToTeam.svg";
|
|
7
7
|
import availableIcon from "../../../assets/images/asignationOptions/availableIcon.svg";
|
|
8
8
|
import { getNewStatus } from "../../../global-files/data";
|
|
9
|
-
import {
|
|
9
|
+
import { Status } from "../Status";
|
|
10
10
|
|
|
11
11
|
export const AsignationOption = ({
|
|
12
12
|
profileImage,
|
|
@@ -51,7 +51,7 @@ export const AsignationOption = ({
|
|
|
51
51
|
{asignationType && iconsAsignation[asignationType]}
|
|
52
52
|
{services && (
|
|
53
53
|
<div className="status-container">
|
|
54
|
-
<
|
|
54
|
+
<Status statusType={getStatus()} />
|
|
55
55
|
</div>
|
|
56
56
|
)}
|
|
57
57
|
{active && <div className="green-circle"></div>}
|
|
@@ -22,7 +22,10 @@ export const InputFormatter = ({
|
|
|
22
22
|
const maxLength = maxChar ? maxChar : 999;
|
|
23
23
|
|
|
24
24
|
const getValue = (value) => {
|
|
25
|
-
let temp = value
|
|
25
|
+
let temp = value
|
|
26
|
+
.replace(/\n/gm, "<br>")
|
|
27
|
+
.replace(/&/gm, "&")
|
|
28
|
+
.replace(/ /gm, " ");
|
|
26
29
|
return temp;
|
|
27
30
|
};
|
|
28
31
|
|
|
@@ -37,7 +40,8 @@ export const InputFormatter = ({
|
|
|
37
40
|
return value
|
|
38
41
|
.replace(/<\/p><p>/gm, "\n")
|
|
39
42
|
.replace(/<\/?br>|<\/?p>/gm, "")
|
|
40
|
-
.replace(/&/gm, "&")
|
|
43
|
+
.replace(/&/gm, "&")
|
|
44
|
+
.replace(/ /gm, " ");
|
|
41
45
|
};
|
|
42
46
|
|
|
43
47
|
const onChange = (valueInput, delta, user, h) => {
|
|
@@ -48,7 +52,8 @@ export const InputFormatter = ({
|
|
|
48
52
|
.replace(/<li.*?>/gm, " - ")
|
|
49
53
|
.replace(/<\/li>/gm, "\n")
|
|
50
54
|
.replace(/<\/p><p>/gm, "\n")
|
|
51
|
-
.replaceAll(/<\/?(?!\/?strong).*?>/gm, "")
|
|
55
|
+
.replaceAll(/<\/?(?!\/?strong).*?>/gm, "")
|
|
56
|
+
.replace(/ /gm, " ");
|
|
52
57
|
setInputValue(valueInput);
|
|
53
58
|
value = unformattedText;
|
|
54
59
|
} else {
|
|
@@ -3,18 +3,18 @@ import { ProductPercentCard } from "./index";
|
|
|
3
3
|
const status = [
|
|
4
4
|
"-",
|
|
5
5
|
"Pr",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
6
|
+
"R",
|
|
7
|
+
"AS",
|
|
8
|
+
"CA",
|
|
9
|
+
"IE",
|
|
10
|
+
"AC",
|
|
11
11
|
"AA",
|
|
12
12
|
"AP",
|
|
13
|
-
"
|
|
13
|
+
"ACA",
|
|
14
14
|
"RA",
|
|
15
|
-
"RF",
|
|
16
|
-
"RP",
|
|
17
15
|
"RC",
|
|
16
|
+
"RP",
|
|
17
|
+
"RCA",
|
|
18
18
|
"Ex",
|
|
19
19
|
];
|
|
20
20
|
|
|
@@ -29,13 +29,12 @@ export default {
|
|
|
29
29
|
},
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
-
const Template = (args) => <ProductPercentCard {...args}/>;
|
|
32
|
+
const Template = (args) => <ProductPercentCard {...args} />;
|
|
33
33
|
|
|
34
|
-
export const ProductPercentCardDefault = Template.bind
|
|
34
|
+
export const ProductPercentCardDefault = Template.bind({});
|
|
35
35
|
|
|
36
36
|
ProductPercentCardDefault.args = {
|
|
37
37
|
statusType: "-",
|
|
38
38
|
productsInStatus: 0,
|
|
39
39
|
totalProcucts: 0,
|
|
40
|
-
|
|
41
|
-
};
|
|
40
|
+
};
|
|
@@ -8,8 +8,8 @@ export const Container = styled.div`
|
|
|
8
8
|
height: 83px;
|
|
9
9
|
padding: 10px;
|
|
10
10
|
|
|
11
|
-
&.status-
|
|
12
|
-
&.status-
|
|
11
|
+
&.status-PA,
|
|
12
|
+
&.status-RC {
|
|
13
13
|
border: 1px solid ${GlobalColors.reception};
|
|
14
14
|
.span {
|
|
15
15
|
color: ${GlobalColors.reception};
|
|
@@ -22,19 +22,19 @@ export const Container = styled.div`
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
&.status-
|
|
26
|
-
&.status-
|
|
27
|
-
&.status-
|
|
25
|
+
&.status-AS,
|
|
26
|
+
&.status-CA,
|
|
27
|
+
&.status-IE {
|
|
28
28
|
border: 1px solid ${GlobalColors.in_progress};
|
|
29
29
|
.span {
|
|
30
30
|
color: ${GlobalColors.in_progress};
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
&.status-
|
|
34
|
+
&.status-AC,
|
|
35
35
|
&.status-AA,
|
|
36
36
|
&.status-AP,
|
|
37
|
-
&.status-
|
|
37
|
+
&.status-ACA {
|
|
38
38
|
border: 1px solid ${GlobalColors.finished};
|
|
39
39
|
.span {
|
|
40
40
|
color: ${GlobalColors.finished};
|
|
@@ -42,9 +42,9 @@ export const Container = styled.div`
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
&.status-RA,
|
|
45
|
-
&.status-
|
|
45
|
+
&.status-RC,
|
|
46
46
|
&.status-RP,
|
|
47
|
-
&.status-
|
|
47
|
+
&.status-RCA {
|
|
48
48
|
border: 1px solid #d74ded;
|
|
49
49
|
.span {
|
|
50
50
|
color: #d74ded;
|
|
@@ -16,27 +16,26 @@ export const Container = styled.div`
|
|
|
16
16
|
? GlobalColors.s4
|
|
17
17
|
: GlobalColors.white};
|
|
18
18
|
|
|
19
|
-
&.status-
|
|
20
|
-
&.status-P {
|
|
19
|
+
&.status-CA {
|
|
21
20
|
background-color: ${GlobalColors.in_progress};
|
|
22
21
|
}
|
|
23
22
|
|
|
24
|
-
&.status-
|
|
25
|
-
&.status-
|
|
23
|
+
&.status-R,
|
|
24
|
+
&.status-AS {
|
|
26
25
|
background-color: ${GlobalColors.reception};
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
&.status-AA,
|
|
30
29
|
&.status-AP,
|
|
31
|
-
&.status-
|
|
32
|
-
&.status-
|
|
30
|
+
&.status-ACA,
|
|
31
|
+
&.status-AC {
|
|
33
32
|
background-color: ${GlobalColors.finished};
|
|
34
33
|
}
|
|
35
34
|
|
|
36
35
|
&.status-RA,
|
|
37
|
-
&.status-
|
|
36
|
+
&.status-RC,
|
|
38
37
|
&.status-RP,
|
|
39
|
-
&.status-
|
|
38
|
+
&.status-RCA {
|
|
40
39
|
background-color: ${GlobalColors.rejected_status};
|
|
41
40
|
}
|
|
42
41
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Status } from "./index";
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
title: "Components/atoms/Status",
|
|
5
|
+
component: Status,
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
const Template = (args) => <Status {...args} />;
|
|
9
|
+
|
|
10
|
+
export const StatusDefault = Template.bind({});
|
|
11
|
+
StatusDefault.args = {
|
|
12
|
+
statusType: "IE",
|
|
13
|
+
ovalForm: false,
|
|
14
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Container } from "./styles";
|
|
2
|
+
|
|
3
|
+
export const Status = ({ statusType, ovalForm }) => {
|
|
4
|
+
return (
|
|
5
|
+
<Container
|
|
6
|
+
className={`status-${statusType.replace(/\/.*/, "")} ${
|
|
7
|
+
ovalForm && "oval-form"
|
|
8
|
+
}`}
|
|
9
|
+
>
|
|
10
|
+
<p>{statusType}</p>
|
|
11
|
+
</Container>
|
|
12
|
+
);
|
|
13
|
+
};
|
|
@@ -16,30 +16,27 @@ export const Container = styled.div`
|
|
|
16
16
|
line-height: 20px;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
&.status-
|
|
20
|
-
&.status-
|
|
21
|
-
&.status-IN_PROGRESS,
|
|
22
|
-
&.status-QF {
|
|
19
|
+
&.status-CA,
|
|
20
|
+
&.status-IE {
|
|
23
21
|
background-color: ${GlobalColors.in_progress};
|
|
24
22
|
}
|
|
25
23
|
|
|
26
|
-
&.status-
|
|
27
|
-
&.status-
|
|
28
|
-
&.status-Rc {
|
|
24
|
+
&.status-R,
|
|
25
|
+
&.status-AS {
|
|
29
26
|
background-color: ${GlobalColors.reception};
|
|
30
27
|
}
|
|
31
28
|
|
|
32
29
|
&.status-AA,
|
|
33
30
|
&.status-AP,
|
|
34
31
|
&.status-AC,
|
|
35
|
-
&.status-
|
|
32
|
+
&.status-ACA {
|
|
36
33
|
background-color: ${GlobalColors.finished};
|
|
37
34
|
}
|
|
38
35
|
|
|
39
36
|
&.status-RA,
|
|
40
|
-
&.status-
|
|
37
|
+
&.status-RC,
|
|
41
38
|
&.status-RP,
|
|
42
|
-
&.status-
|
|
39
|
+
&.status-RCA {
|
|
43
40
|
background-color: ${GlobalColors.rejected_status};
|
|
44
41
|
}
|
|
45
42
|
|
|
@@ -5,18 +5,18 @@ import assignedImage2 from "../../../assets/images/componentAssigned/assignedIma
|
|
|
5
5
|
const status = [
|
|
6
6
|
"-",
|
|
7
7
|
"Pr",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
8
|
+
"R",
|
|
9
|
+
"AS",
|
|
10
|
+
"CA",
|
|
11
|
+
"IE",
|
|
12
|
+
"AC",
|
|
13
13
|
"AA",
|
|
14
14
|
"AP",
|
|
15
|
-
"
|
|
15
|
+
"ACA",
|
|
16
16
|
"RA",
|
|
17
|
-
"RF",
|
|
18
|
-
"RP",
|
|
19
17
|
"RC",
|
|
18
|
+
"RP",
|
|
19
|
+
"RCA",
|
|
20
20
|
"Ex",
|
|
21
21
|
];
|
|
22
22
|
|
|
@@ -9,8 +9,8 @@ export const Container = styled.div`
|
|
|
9
9
|
padding-bottom: 5px;
|
|
10
10
|
position: relative;
|
|
11
11
|
|
|
12
|
-
&.status-
|
|
13
|
-
&.status-
|
|
12
|
+
&.status-PA,
|
|
13
|
+
&.status-R {
|
|
14
14
|
border: 1px solid ${GlobalColors.reception};
|
|
15
15
|
.header-and-paragraph {
|
|
16
16
|
color: ${GlobalColors.reception};
|
|
@@ -23,19 +23,19 @@ export const Container = styled.div`
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
&.status-
|
|
27
|
-
&.status-
|
|
28
|
-
&.status-
|
|
26
|
+
&.status-AA,
|
|
27
|
+
&.status-CA,
|
|
28
|
+
&.status-IE {
|
|
29
29
|
border: 1px solid ${GlobalColors.in_progress};
|
|
30
30
|
.header-and-paragraph {
|
|
31
31
|
color: ${GlobalColors.in_progress};
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
&.status-
|
|
35
|
+
&.status-AC,
|
|
36
36
|
&.status-AA,
|
|
37
37
|
&.status-AP,
|
|
38
|
-
&.status-
|
|
38
|
+
&.status-ACA {
|
|
39
39
|
border: 1px solid ${GlobalColors.finished};
|
|
40
40
|
.header-and-paragraph {
|
|
41
41
|
color: ${GlobalColors.finished};
|
|
@@ -43,9 +43,9 @@ export const Container = styled.div`
|
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
&.status-RA,
|
|
46
|
-
&.status-
|
|
46
|
+
&.status-RC,
|
|
47
47
|
&.status-RP,
|
|
48
|
-
&.status-
|
|
48
|
+
&.status-RCA {
|
|
49
49
|
border: 1px solid #d74ded;
|
|
50
50
|
.header-and-paragraph {
|
|
51
51
|
color: #d74ded;
|
|
@@ -56,7 +56,6 @@ export const Container = styled.div`
|
|
|
56
56
|
border: 1px solid ${GlobalColors.exported};
|
|
57
57
|
.header-and-paragraph {
|
|
58
58
|
color: ${GlobalColors.exported};
|
|
59
|
-
|
|
60
59
|
}
|
|
61
60
|
}
|
|
62
61
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Container } from "./styles";
|
|
2
2
|
import { ScreenHeader } from "../../atoms/ScreenHeader/index";
|
|
3
|
-
import {
|
|
3
|
+
import { Status } from "../../atoms/Status/index";
|
|
4
4
|
import { ProgressBar } from "../../atoms/ProgressBar/index";
|
|
5
5
|
import { PriorityFlag } from "../../atoms/PriorityFlag/index";
|
|
6
6
|
|
|
@@ -14,7 +14,7 @@ export const ProductNameHeader = ({
|
|
|
14
14
|
return (
|
|
15
15
|
<Container>
|
|
16
16
|
<ScreenHeader headerType={"product-name-header"} text={productName} />
|
|
17
|
-
<
|
|
17
|
+
<Status statusType={statusType} />
|
|
18
18
|
<ProgressBar percent={percent} progressBarType={statusType} />
|
|
19
19
|
<PriorityFlag priority={priority} />
|
|
20
20
|
<ScreenHeader headerType={"date-header"} text={date} />
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Container } from "./styles";
|
|
2
2
|
import { ScreenHeader } from "../../atoms/ScreenHeader/index";
|
|
3
3
|
import { Avatar } from "../../atoms/Avatar";
|
|
4
|
-
import { StatusTag } from "../../atoms/
|
|
4
|
+
import { Status as StatusTag } from "../../atoms/Status/index";
|
|
5
5
|
import { Button } from "../../atoms/GeneralButton";
|
|
6
6
|
import { useEffect, useState } from "react";
|
|
7
7
|
import { AsignationOption } from "../../atoms/AsignationOption/index";
|
|
@@ -76,7 +76,11 @@ export const StatusAsignationInfo = ({
|
|
|
76
76
|
/>
|
|
77
77
|
<Button
|
|
78
78
|
buttonType={"general circular-button version-button"}
|
|
79
|
-
onClick={
|
|
79
|
+
onClick={(e) => {
|
|
80
|
+
e.stopPropagation();
|
|
81
|
+
e.preventDefault();
|
|
82
|
+
setShowVersionSelector(true);
|
|
83
|
+
}}
|
|
80
84
|
label={`V${version}`}
|
|
81
85
|
/>
|
|
82
86
|
{status !== "-" && <StatusTag statusType={status} ovalForm={true} />}
|
|
@@ -26,7 +26,7 @@ export const FullProductNameHeader = ({
|
|
|
26
26
|
const element = [];
|
|
27
27
|
servicesData.forEach((sd) => {
|
|
28
28
|
if (sd.id_retailer === rt.id) {
|
|
29
|
-
element.push(sd.status ? sd.status : "
|
|
29
|
+
element.push(sd.status ? sd.status : "R");
|
|
30
30
|
} else element.push("NA");
|
|
31
31
|
rt["services"] = element;
|
|
32
32
|
});
|
|
@@ -81,4 +81,4 @@ export const FullProductNameHeader = ({
|
|
|
81
81
|
</div>
|
|
82
82
|
</Container>
|
|
83
83
|
);
|
|
84
|
-
};
|
|
84
|
+
};
|
|
@@ -12,8 +12,8 @@ export const ProviderProductEditionDefault = Template.bind({});
|
|
|
12
12
|
ProviderProductEditionDefault.args = {
|
|
13
13
|
tabsSections: {
|
|
14
14
|
Descripción: true,
|
|
15
|
-
"Ficha técnica":
|
|
16
|
-
Imágenes:
|
|
15
|
+
"Ficha técnica": true,
|
|
16
|
+
Imágenes: true,
|
|
17
17
|
},
|
|
18
18
|
token:
|
|
19
19
|
"eyJraWQiOiJEV3owZnNieXg2MXNFcVduN3RCXC81bVhod3ZNbFZIOTgwUnZcL3RjT0lKdEk9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI5ZTQ0OGMwZS0xOGVkLTRlYWYtOWY4OC0zYjMxOTdkNGEyZmQiLCJjb2duaXRvOmdyb3VwcyI6WyJ1c3VhcmlvX2NvbnRlbnRvaCJdLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiaXNzIjoiaHR0cHM6XC9cL2NvZ25pdG8taWRwLnVzLWVhc3QtMS5hbWF6b25hd3MuY29tXC91cy1lYXN0LTFfbFN6UVo0WjdSIiwicGhvbmVfbnVtYmVyX3ZlcmlmaWVkIjpmYWxzZSwiY29nbml0bzp1c2VybmFtZSI6IjllNDQ4YzBlLTE4ZWQtNGVhZi05Zjg4LTNiMzE5N2Q0YTJmZCIsImF1ZCI6IjUyZDlza2tkY2c4cWpwODhvb2sxdXNlNm1rIiwiZXZlbnRfaWQiOiI5ODg5YTFhYi1mMTljLTRiNzQtYjQ5Ni0xZDM3YzZjY2U3YmQiLCJ0b2tlbl91c2UiOiJpZCIsImF1dGhfdGltZSI6MTY1NjQzMTQ5OCwibmFtZSI6IkdlcnNvbiBNYXJ0w61uZXoiLCJwaG9uZV9udW1iZXIiOiIrNTIxMjMxMjMxMjMiLCJleHAiOjE2NTY0MzUwOTgsImlhdCI6MTY1NjQzMTQ5OCwiZW1haWwiOiJnbWFydGluZXpAY29udGVudG9oLmNvbSJ9.qMBMYKxcaQrXT-3373y3K4eX73vgRApuFsT9-FVl9AuP_BKy51nHReEvwWHO4SMVpFxf3eHoQhUHG2PTl8qlvnoXlLqfCdgJEnq5DMFIOqcs_WzUHfb3k4r3y66DMzPwQI0aEk35ZYsAvkxd9m6Ax9fwJBuMCpb3jf7Az0SBpDvUgT7iRvS2b09UTwkW3ZIxfnaUE4uoqacoTUm7239AjuNe5Qh3UZl0rVvZ-mnh3SmAcNpxl-RtUEdcw4gO0MbIch39gIJ_1CcvBxXR2tVSUILZWfbpXI2ubA_sQZ0VJy5kWpe4pYF5beJISZ7sZ0Fzrv2ftE7poEtueYloftRfng",
|
|
@@ -96,7 +96,6 @@ ProviderProductEditionDefault.args = {
|
|
|
96
96
|
],
|
|
97
97
|
},
|
|
98
98
|
location: {
|
|
99
|
-
product: { articleId: 109485, versionId: 3 },
|
|
100
99
|
state: { origin: "Contentoh" },
|
|
101
100
|
},
|
|
102
101
|
user: {
|