contentoh-components-library 21.3.58 → 21.3.60
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/.env.development +2 -0
- package/dist/components/molecules/CarouselImagesLogin/index.js +1 -1
- package/dist/components/molecules/HeaderTop/index.js +68 -11
- package/dist/components/organisms/Chat/Chat.stories.js +21 -1
- package/dist/components/organisms/Chat/ContainerItems/index.js +19 -3
- package/dist/components/organisms/Chat/ContainerItems/styles.js +1 -1
- package/dist/components/organisms/Chat/ContentChat/index.js +343 -191
- package/dist/components/organisms/Chat/Footer/index.js +48 -39
- package/dist/components/organisms/Chat/index.js +48 -3
- package/dist/components/organisms/FullProductNameHeader/index.js +2 -2
- package/dist/components/organisms/SideModal/SideModal.stories.js +42 -0
- package/dist/components/organisms/SideModal/index.js +61 -0
- package/dist/components/organisms/SideModal/styles.js +18 -0
- package/dist/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +172 -127
- package/dist/components/pages/ProviderProductEdition/index.js +188 -129
- package/dist/components/pages/ProviderProductEdition/styles.js +1 -1
- package/dist/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +61 -71
- package/dist/components/pages/RetailerProductEdition/index.js +267 -274
- package/dist/components/pages/RetailerProductEdition/styles.js +1 -1
- package/dist/components/pages/RetailerProductEdition/utils.js +61 -2
- package/package.json +1 -1
- package/src/components/molecules/CarouselImagesLogin/index.js +1 -1
- package/src/components/molecules/HeaderTop/index.js +52 -6
- package/src/components/organisms/Chat/Chat.stories.js +21 -0
- package/src/components/organisms/Chat/ContainerItems/index.js +18 -2
- package/src/components/organisms/Chat/ContainerItems/styles.js +10 -2
- package/src/components/organisms/Chat/ContentChat/index.js +81 -6
- package/src/components/organisms/Chat/Footer/index.js +11 -0
- package/src/components/organisms/Chat/index.js +47 -3
- package/src/components/organisms/FullProductNameHeader/index.js +1 -1
- package/src/components/organisms/SideModal/SideModal.stories.js +23 -0
- package/src/components/organisms/SideModal/index.js +41 -0
- package/src/components/organisms/SideModal/styles.js +21 -0
- package/src/components/pages/ProviderProductEdition/ProviderProductEdition.stories.js +177 -130
- package/src/components/pages/ProviderProductEdition/index.js +105 -55
- package/src/components/pages/ProviderProductEdition/styles.js +5 -1
- package/src/components/pages/RetailerProductEdition/RetailerProductEdition.stories.js +6 -23
- package/src/components/pages/RetailerProductEdition/index.js +111 -135
- package/src/components/pages/RetailerProductEdition/styles.js +4 -0
- package/src/components/pages/RetailerProductEdition/utils.js +37 -0
|
@@ -7,16 +7,12 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
});
|
|
8
8
|
exports.default = exports.RetailerProductEditionDefault = void 0;
|
|
9
9
|
|
|
10
|
-
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/defineProperty"));
|
|
11
|
-
|
|
12
10
|
var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/esm/objectSpread2"));
|
|
13
11
|
|
|
14
12
|
var _index = require("./index");
|
|
15
13
|
|
|
16
14
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
15
|
|
|
18
|
-
var _productSelected;
|
|
19
|
-
|
|
20
16
|
var _default = {
|
|
21
17
|
title: "Components/pages/RetailerProductEdition",
|
|
22
18
|
component: _index.RetailerProductEdition
|
|
@@ -35,82 +31,76 @@ RetailerProductEditionDefault.args = {
|
|
|
35
31
|
"Ficha técnica": false,
|
|
36
32
|
Imágenes: false
|
|
37
33
|
},
|
|
38
|
-
token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.
|
|
39
|
-
productSelected:
|
|
40
|
-
orderId:
|
|
34
|
+
token: "eyJraWQiOiJkQWJkZCtlclwvTlwveVRQUWNvUlVyOCtrNUd2M1hMM2N1MWUzQ09zWExVRnc9IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiI5YTIxMzEyOC02NDgyLTRjMTYtY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cZuJ5jKA",
|
|
35
|
+
productSelected: {
|
|
36
|
+
orderId: 14606,
|
|
41
37
|
status: "RA",
|
|
42
38
|
datasheet_status: "RA",
|
|
43
39
|
prio: "none",
|
|
44
|
-
version:
|
|
40
|
+
version: 3,
|
|
45
41
|
description_status: "RA",
|
|
46
42
|
images_status: "RA",
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
43
|
+
statusByRetailer: {
|
|
44
|
+
4: {
|
|
45
|
+
datasheet: "RA/AC",
|
|
46
|
+
description: "RA/AC",
|
|
47
|
+
images: "RA/AC"
|
|
48
|
+
},
|
|
49
|
+
5: {
|
|
50
|
+
datasheet: "RA/AC",
|
|
51
|
+
description: "RA/AC",
|
|
52
|
+
images: "RA/AC"
|
|
53
|
+
},
|
|
54
|
+
6: {
|
|
55
|
+
description: "RA/AC",
|
|
56
|
+
images: "RA/AC",
|
|
57
|
+
datasheet: "RA/AC"
|
|
58
|
+
},
|
|
59
|
+
12: {
|
|
60
|
+
datasheet: "RA/AC",
|
|
61
|
+
description: "RA/AC",
|
|
62
|
+
images: "RA/AC"
|
|
63
|
+
},
|
|
64
|
+
17: {
|
|
65
|
+
datasheet: "RA/AC",
|
|
66
|
+
description: "RA/AC",
|
|
67
|
+
images: "RA/AC"
|
|
68
|
+
}
|
|
69
69
|
},
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
70
|
+
article: {
|
|
71
|
+
category: "Puertas y Ventanas|Molduras|Molduras Madera Blanda",
|
|
72
|
+
company_name: "Demo",
|
|
73
|
+
country: "México",
|
|
74
|
+
id_category: "2366",
|
|
75
|
+
id_datasheet_especialist: null,
|
|
76
|
+
id_datasheet_facilitator: null,
|
|
77
|
+
id_description_especialist: null,
|
|
78
|
+
id_description_facilitator: null,
|
|
79
|
+
id_images_especialist: null,
|
|
80
|
+
id_images_facilitator: null,
|
|
81
|
+
id_order: 15160,
|
|
82
|
+
id_article: 39290,
|
|
83
|
+
id_auditor: 37,
|
|
84
|
+
name: "MOLDURA MARCO MODER 11X4X244 CM",
|
|
85
|
+
timestamp: "2023-04-19T21:36:02.000Z",
|
|
86
|
+
upc: "100030"
|
|
74
87
|
},
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
country: "México",
|
|
84
|
-
id_category: "2366",
|
|
85
|
-
id_datasheet_especialist: null,
|
|
86
|
-
id_datasheet_facilitator: null,
|
|
87
|
-
id_description_especialist: null,
|
|
88
|
-
id_description_facilitator: null,
|
|
89
|
-
id_images_especialist: null,
|
|
90
|
-
id_images_facilitator: null,
|
|
91
|
-
id_order: 15160,
|
|
92
|
-
id_article: 39290,
|
|
93
|
-
id_auditor: 37,
|
|
94
|
-
name: "MOLDURA MARCO MODER 11X4X244 CM",
|
|
95
|
-
timestamp: "2023-04-19T21:36:02.000Z",
|
|
96
|
-
upc: "100030"
|
|
97
|
-
}), (0, _defineProperty2.default)(_productSelected, "retailers", [{
|
|
98
|
-
id: 58,
|
|
99
|
-
name: "The Home Depot Golden"
|
|
100
|
-
}, {
|
|
101
|
-
id: 68,
|
|
102
|
-
name: "The Home Depot Merchants"
|
|
103
|
-
}]), (0, _defineProperty2.default)(_productSelected, "statusByRetailer", {
|
|
104
|
-
58: {
|
|
105
|
-
datasheet: "RA",
|
|
106
|
-
description: "RA",
|
|
107
|
-
images: "RA"
|
|
108
|
-
}
|
|
109
|
-
}), _productSelected),
|
|
88
|
+
retailers: [{
|
|
89
|
+
id: 58,
|
|
90
|
+
name: "The Home Depot Golden"
|
|
91
|
+
}, {
|
|
92
|
+
id: 68,
|
|
93
|
+
name: "The Home Depot Merchants"
|
|
94
|
+
}]
|
|
95
|
+
},
|
|
110
96
|
location: {
|
|
111
97
|
product: {
|
|
112
|
-
articleId:
|
|
113
|
-
versionId:
|
|
98
|
+
articleId: 354,
|
|
99
|
+
versionId: 3
|
|
100
|
+
},
|
|
101
|
+
state: {
|
|
102
|
+
withChat: true,
|
|
103
|
+
chatType: "product_status"
|
|
114
104
|
}
|
|
115
105
|
},
|
|
116
106
|
user: {
|